Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 25) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/benchmark/util/
DSequenceUtils.java23 for (int j = 1; j <= n; ++j) { in calculateEditDistance()
24 d[0][j] = j; in calculateEditDistance()
28 for (int j = 1; j <= n; ++j) { in calculateEditDistance()
29 int substitutionCost = (seqA[i - 1] == seqB[j - 1]) ? 0 : 1; in calculateEditDistance()
30 d[i][j] = Math.min( in calculateEditDistance()
31 Math.min(d[i - 1][j] + 1, d[i][j - 1] + 1), in calculateEditDistance()
32 d[i - 1][j - 1] + substitutionCost); in calculateEditDistance()
/test/vts-testcase/kernel/encryption/
Daes_256_xts.cpp35 for (int j = 0; j < kAesBlockSize; j++) { in DoXtsMasking() local
36 data[i * kAesBlockSize + j] ^= mask[j]; in DoXtsMasking()
40 for (int j = 0; j < kAesBlockSize; j++) { in DoXtsMasking() local
41 int next_carry = mask[j] >> 7; in DoXtsMasking()
43 mask[j] = (mask[j] << 1) ^ carry; in DoXtsMasking()
Dadiantum.cpp138 int i, j; in XChaCha() local
159 for (j = 0; j < 16; j++) keystream.words[j] = cpu_to_le32(x[j] + state[j]); in XChaCha()
160 for (j = 0; j < std::min(nbytes - i, 64); j++) in XChaCha()
161 dst[i + j] = src[i + j] ^ keystream.bytes[j]; in XChaCha()
/test/app_compat/csuite/harness/src/main/java/com/android/csuite/core/
DBlankScreenDetectorWithSameColorRectangle.java61 for (int j = 0; j < similarityMatrix[0].length; j++) { in maxSameColorRectangle()
62 similarityMatrix[i][j] = 0; in maxSameColorRectangle()
68 for (int j = 0; j < similarityMatrix[0].length; j++) { in maxSameColorRectangle()
70 similarityMatrix[i][j] = 1; in maxSameColorRectangle()
71 } else if (imageMatrix[i][j] == imageMatrix[i - 1][j]) { in maxSameColorRectangle()
72 similarityMatrix[i][j] = similarityMatrix[i - 1][j] + 1; in maxSameColorRectangle()
74 similarityMatrix[i][j] = 1; in maxSameColorRectangle()
136 for (int j = 0; j < pixels[0].length; j++) { in getPixels()
137 pixels[i][j] = image.getRGB(j, i); in getPixels()
/test/vts/vts_hal_hidl_target/
DVtsHalHidlTargetTestEnvBase.cpp59 for (int j = i; j != *argc; j++) { in init() local
60 argv[j] = argv[j + 1]; in init()
/test/mts/tools/mts-tradefed/etc/
Dmts-tradefed93 for j in $(find ${MTS_ROOT}/android-mts/testcases -name '*.jar'); do
94 case "$j" in
99 JAR_PATH=${JAR_PATH}:$j
/test/dittosuite/src/
Dinstruction_set.cpp119 for (int j = 0; j < repeat; ++j) { in CollectResults() local
120 duration[i] += samples[i * repeat + j]; in CollectResults()
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DTestModelsListLoader.java98 for (int j = 0; j < jsonInputOutputs.length(); j++) { in parseJSONModelsList()
99 JSONObject jsonInputOutput = jsonInputOutputs.getJSONObject(j); in parseJSONModelsList()
115 inputOutputs[j] = new InferenceInOutSequence.FromAssets(input, outputs, in parseJSONModelsList()
DInferenceInOutSequence.java106 for (int j = 0; j < mOutputAssetsNames.length; ++j) { in readAssets()
107 int outputSizeBytes = outputs[j].length / sequenceLength; in readAssets()
108 outz[j] = Arrays.copyOfRange(outputs[j], outputSizeBytes * i, in readAssets()
/test/cts-root/tools/cts-root-tradefed/etc/
Dcts-root-tradefed81 for j in ${CTS_ROOT_ROOT}/android-cts_root/testcases/*.jar; do
82 JAR_PATH=${JAR_PATH}:$j
/test/vts-testcase/hal/usb/gadget/V1_0/host/src/com/android/tests/usbgadget/
DHalUsbGadgetV1_0HostTest.java76 for (int j = 0; j < devDescriptors[0].bNumConfigurations; j++) { in checkProtocol()
78 int success = mUsb.libusb_get_config_descriptor(device, j, configRef); in checkProtocol()
/test/app_compat/csuite/tools/csuite-tradefed/src/scripts/
Dcsuite-tradefed99 for j in ${CSUITE_ROOT}/android-csuite/testcases/*.jar; do
100 JAR_PATH=${JAR_PATH}:$j
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DDynamicConfigHandler.java107 for (int j = 0; j < jsonValues.length(); j ++) { in parseJsonToConfigMap()
108 values.add(jsonValues.getString(j)); in parseJsonToConfigMap()
/test/vts-testcase/hal/usb/gadget/V1_2/host/src/com/android/usb/gadget/vts/
DVtsHalUsbGadgetV1_2HostTest.java90 for (int j = 0; j < devDescriptors[0].bNumConfigurations; j++) { in checkProtocol()
92 int success = mUsb.libusb_get_config_descriptor(device, j, configRef); in checkProtocol()
/test/catbox/tools/catbox-tradefed/etc/
Dcatbox-tradefed109 for j in ${CATBOX_ROOT}/android-catbox/testcases/*.jar; do
110 JAR_PATH=${JAR_PATH}:$j
/test/vts/tools/vts-core-tradefed/etc/
Dvts-tradefed112 for j in $(find ${VTS_ROOT}/android-vts/testcases -type f -name '*.jar'); do
113 JAR_PATH=${JAR_PATH}:$j
/test/mlts/benchmark/jni/
Drun_tflite.cpp424 for (int j = 0; j < outputsCount; ++j) { in benchmark() local
425 getOutputError(data.outputs[j].ptr, data.outputs[j].size, &result, j); in benchmark()
430 for (int j = 0; j < outputsCount; ++j) { in benchmark() local
431 saveInferenceOutput(&result, j); in benchmark()
Dbenchmark_jni.cpp246 for (jsize j = 0;j < expectedOutputsLength; ++j) { in InferenceInOutSequenceList() local
248 … static_cast<jbyteArray>(mEnv->GetObjectArrayElement(expectedOutputs, j)); in InferenceInOutSequenceList()
297 for (jsize j = 0;j < expectedOutputsLength; ++j) { in ~InferenceInOutSequenceList() local
298 …yteArray expectedOutput = static_cast<jbyteArray>(mEnv->GetObjectArrayElement(expectedOutputs, j)); in ~InferenceInOutSequenceList()
300 … expectedOutput, reinterpret_cast<jbyte*>(mData[seq_index][i].outputs[j].ptr), in ~InferenceInOutSequenceList()
/test/vts-testcase/hal/usb/gadget/aidl/host/src/com/android/usb/gadget/vts/
DVtsHalUsbGadgetV2_0HostTest.java91 for (int j = 0; j < devDescriptors[0].bNumConfigurations; j++) { in checkProtocol()
93 int success = mUsb.libusb_get_config_descriptor(device, j, configRef); in checkProtocol()
/test/vts-testcase/kernel/bow/
DBowTest.cpp164 int j; in SetState() local
165 std::ifstream(state_file) >> j; in SetState()
166 EXPECT_EQ(i, j); in SetState()
288 for (auto j : free) in FindChanged() local
289 if (j.offset > i) in FindChanged()
292 type = j.type; in FindChanged()
/test/vts-testcase/kernel/api/bpf_native_test/
DBpfTest.cpp97 uint64_t j = 0; in workerThread() local
118 std::string id = android::base::StringPrintf("msg: %" PRIu64 "\n", j); in workerThread()
/test/mlts/models/assets/mobilenet_quantized/
Dcup_v2_1.0_224.output1 …8V|OQZ+(I01DAHVD=7>@N4;HA@F,_XB>I:GPAV8<K�E(S?BF9CGF9,?109Ie5A9<J5/H/G22Jj-ZGB=[#Q5�/,C+y�Be`0.…
/test/mlts/benchmark/results/
DChart.bundle.min.js10j(t,e,i,n){var a=n;"string"==typeof n&&(a=function(){return this[n]()}),t&&(E[t]=a),e&&(E[e[0]]=fu… function in anonymousFunction7577840f0200.N
/test/mlts/models/assets/asr_float/
DLICENSE123 j. Sui Generis Database Rights means rights other than copyright
/test/mlts/models/assets/image_classification/
DLICENSE519 Author: j bizzie (https://www.flickr.com/people/k9d/)