Home
last modified time | relevance | path

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

12

/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/vts/testcases/target/hal_power/
Dhal_power_basic_test.cpp121 for (unsigned int j = 0; j < list1[i].number_of_voters; j++) { in TEST_F() local
122 EXPECT_LE(list1[i].voters[j].total_time_in_msec_voted_for_since_boot, in TEST_F()
123 list2[i].voters[j].total_time_in_msec_voted_for_since_boot) in TEST_F()
125 EXPECT_LE(list1[i].voters[j].total_number_of_times_voted_since_boot, in TEST_F()
126 list2[i].voters[j].total_number_of_times_voted_since_boot) in TEST_F()
/test/vts/runners/target/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/vts/drivers/hal/libcodecoverage/
DGcdaFile.cpp70 unsigned j; in ReadStringArray() local
73 for (j = 0; j < num_strings; j++) { in ReadStringArray()
75 string_array[j] = (char*)malloc(string_len * sizeof(unsigned)); // xmalloc in ReadStringArray()
77 ((unsigned*)string_array[j])[i] = ReadUnsigned(); in ReadStringArray()
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
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()
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()
/test/mlts/benchmark/jni/
Drun_tflite.cpp359 for (int j = 0; j < outputsCount; ++j) { in benchmark() local
360 getOutputError(data.outputs[j].ptr, data.outputs[j].size, &result, j); in benchmark()
365 for (int j = 0; j < outputsCount; ++j) { in benchmark() local
366 saveInferenceOutput(&result, j); in benchmark()
Dbenchmark_jni.cpp244 for (jsize j = 0;j < expectedOutputsLength; ++j) { in InferenceInOutSequenceList() local
246 … static_cast<jbyteArray>(mEnv->GetObjectArrayElement(expectedOutputs, j)); in InferenceInOutSequenceList()
295 for (jsize j = 0;j < expectedOutputsLength; ++j) { in ~InferenceInOutSequenceList() local
296 …yteArray expectedOutput = static_cast<jbyteArray>(mEnv->GetObjectArrayElement(expectedOutputs, j)); in ~InferenceInOutSequenceList()
298 … expectedOutput, reinterpret_cast<jbyte*>(mData[seq_index][i].outputs[j].ptr), in ~InferenceInOutSequenceList()
/test/vts/drivers/resource/hidl_handle_driver/
DVtsHidlHandleDriver.cpp60 for (int j = 0; j < i; j++) { in CreateFileHandle() local
61 close(native_handle->data[j]); in CreateFileHandle()
/test/vts-testcase/hal/usb/gadget/V1_0/host/src/com/android/tests/usbgadget/
DHalUsbGadgetV1_0HostTest.java75 for (int j = 0; j < devDescriptors[0].bNumConfigurations; j++) { in checkProtocol()
77 int success = mUsb.libusb_get_config_descriptor(device, j, configRef); in checkProtocol()
/test/vts-testcase/hal/usb/gadget/V1_2/host/src/com/android/usb/gadget/vts/
DVtsHalUsbGadgetV1_2HostTest.java89 for (int j = 0; j < devDescriptors[0].bNumConfigurations; j++) { in checkProtocol()
91 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/runners/target/gtest/
Dgtest_main.cpp516 for (size_t j = 0; j < testcase.TestCount(); ++j) { in OnTestIterationEndXmlPrint() local
517 if (testcase.GetTestResult(j) != TEST_SUCCESS) { in OnTestIterationEndXmlPrint()
520 elapsed_time_list[i] += testcase.GetTestTime(j); in OnTestIterationEndXmlPrint()
548 for (size_t j = 0; j < testcase.TestCount(); ++j) { in OnTestIterationEndXmlPrint() local
552 testcase.GetTest(j).GetName().c_str(), in OnTestIterationEndXmlPrint()
553 testcase.GetTestTime(j) / 1e9, testcase.GetName().c_str()); in OnTestIterationEndXmlPrint()
554 if (testcase.GetTestResult(j) == TEST_SUCCESS) { in OnTestIterationEndXmlPrint()
558 const std::string& test_output = testcase.GetTest(j).GetTestOutput(); in OnTestIterationEndXmlPrint()
/test/cts-root/tools/cts-root-tradefed/etc/
Dcts-root-tradefed98 for j in ${CTS_ROOT_ROOT}/android-cts_root/testcases/*.jar; do
99 JAR_PATH=${JAR_PATH}:$j
/test/catbox/tools/catbox-tradefed/etc/
Dcatbox-tradefed108 for j in ${CATBOX_ROOT}/android-catbox/testcases/*.jar; do
109 JAR_PATH=${JAR_PATH}:$j
/test/app_compat/csuite/tools/csuite-tradefed/src/scripts/
Dcsuite-tradefed117 for j in ${CSUITE_ROOT}/android-csuite/testcases/*.jar; do
118 JAR_PATH=${JAR_PATH}:$j
/test/mts/tools/mts-tradefed/etc/
Dmts-tradefed111 for j in ${MTS_ROOT}/android-mts/testcases/*.jar; do
112 JAR_PATH=${JAR_PATH}:$j
/test/vts/utils/python/coverage/
Dgcno_parser_test.py104 j = 0
107 func.blocks[src_block_index].exit_arcs[j].src_block.index,
110 func.blocks[src_block_index].exit_arcs[j].dst_block.index, i)
114 j += 1
/test/vts/tools/vts-core-tradefed/etc/
Dvts-tradefed129 for j in $(find ${VTS_ROOT}/android-vts/testcases -type f -name '*.jar'); do
130 JAR_PATH=${JAR_PATH}:$j
/test/vts-testcase/kernel/api/bpf_native_test/
DBpfTest.cpp95 uint64_t j = 0; in workerThread() local
116 std::string id = android::base::StringPrintf("msg: %" PRIu64 "\n", j); in workerThread()
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_coverage.jsp130 var rows = srcLines.forEach(function(line, j) {
131 var count = coverageVectors[j];
143 row.append('<td class="line_no">' + String(j+1) + '</td>');
Dshow_table.jsp199 return row.map(function(cell, j) {
200 if (j == 0) return cell;
207 return row.map(function(cell, j) {
208 if (j == 0) return cell;
/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.…

12