Home
last modified time | relevance | path

Searched refs:len (Results 51 – 75 of 104) sorted by relevance

12345

/art/test/testrunner/
Dtestrunner.py337 total_test_count = len(tests)
341 total_test_count *= len(_user_input_variants[variant_type])
346 target_address_combinations += len(uncombinated_target_input_variants)
722 total_output_length += len(progress_info)
723 total_output_length += len(result)
725 test_name_len = len(test_name)
790 if len(device_names) != 0:
909 passed_test_count = total_test_count - len(skipped_tests) - len(failed_tests)
1174 exit_code = 0 if len(failed_tests) == 0 else 1
/art/test/utils/python/testgen/
Dutils.py76 for i in range(len(prev)):
/art/tools/bisection_search/
Dbisection_search.py286 len(all_methods) + 1,
288 if faulty_method_idx == len(all_methods) + 1:
296 len(all_passes) + 1,
301 assert faulty_pass_idx != len(all_passes) + 1, ('Method must fail for some '
Dbisection_test.py93 if len(ordered_args) > 1: # run_passes passed as ordered argument
/art/libartbase/base/
Dutils.cc266 int len = s - thread_name; in SetThreadName() local
267 if (len < 15 || hasAt || !hasDot) { in SetThreadName()
270 s = thread_name + len - 15; in SetThreadName()
Dfile_utils.cc406 size_t len = strlen(str); in EndsWithSlash() local
407 return len > 0 && str[len - 1] == '/'; in EndsWithSlash()
Dmem_map.h408 static void* TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off);
409 static int TargetMUnmap(void* start, size_t len);
/art/tools/checker/common/
Dlogger.py76 longestName = max(longestName, len(var))
79 padding = ' ' * (longestName - len(var))
/art/libartbase/base/unix_file/
Dfd_file.cc628 size_t len = std::min(kBufferSize, static_cast<size_t>(length)); in Compare() local
629 if (!PreadFully(&buffer1[0], len, offset)) { in Compare()
632 if (!other->PreadFully(&buffer2[0], len, offset)) { in Compare()
635 int result = memcmp(&buffer1[0], &buffer2[0], len); in Compare()
639 length -= len; in Compare()
640 offset += len; in Compare()
/art/test/971-iface-super/util-src/
Dgenerate_java.py73 print("Compiled {} files".format(len(files)))
93 while len(ifaces) != 0:
Dgenerate_smali.py547 elif len(self.ifaces) == 0:
557 if not self.is_empty() or len(self.ifaces) == 0:
617 extends = "extends" if len(self.ifaces) else "",
/art/test/968-default-partial-compile-gen/util-src/
Dgenerate_java.py73 print("Compiled {} files".format(len(files)))
90 while len(ifaces) != 0:
/art/test/993-breakpoints/src/art/
DTest993.java285 private static <T> List<List<T>> combinations(List<T> items, int len) { in combinations() argument
286 if (len > items.size()) { in combinations()
287 throw new Error("Bad length" + len + " " + items); in combinations()
289 if (len == 1) { in combinations()
297 for (int rem = 0; rem <= items.size() - len; rem++) { in combinations()
298 for (List<T> others : combinations(items.subList(rem + 1, items.size()), len - 1)) { in combinations()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc75 size_t len = 0; in PrefixLen() local
76 for (; len < a.length() && len < b.length() && a[len] == b[len]; ++len) {} in PrefixLen()
77 return len; in PrefixLen()
/art/sigchainlib/
Dsigchain.cc262 size_t len = sizeof(special_handlers_)/sizeof(*special_handlers_); in RemoveSpecialHandler() local
263 for (size_t i = 0; i < len; ++i) { in RemoveSpecialHandler()
265 for (size_t j = i; j < len - 1; ++j) { in RemoveSpecialHandler()
268 special_handlers_[len - 1].sc_sigaction = nullptr; in RemoveSpecialHandler()
/art/compiler/
Dcommon_compiler_test.cc109 uintptr_t len = limit - base; in MakeExecutable() local
112 int result = mprotect(base_ptr, len, PROT_READ | PROT_WRITE | PROT_EXEC); in MakeExecutable()
115 CHECK(FlushCpuCaches(reinterpret_cast<void*>(base), reinterpret_cast<void*>(base + len))); in MakeExecutable()
/art/tools/dmtracedump/
Dtracedump.cc249 char* htmlEscape(const char* src, char* dest, int32_t len) { in htmlEscape() argument
258 if (nbytes >= len) break; in htmlEscape()
265 if (nbytes >= len) break; in htmlEscape()
272 if (nbytes >= len) break; in htmlEscape()
280 if (nbytes >= len) break; in htmlEscape()
285 if (nbytes >= len) { in htmlEscape()
529 int32_t findNextChar(const char* data, int32_t len, char lookFor) { in findNextChar() argument
532 while (len > 0) { in findNextChar()
536 len--; in findNextChar()
547 int32_t countLinesToToken(const char* data, int32_t len) { in countLinesToToken() argument
[all …]
/art/runtime/interpreter/
Dinterpreter_intrinsics.cc280 int32_t len = (end - start); in MterpStringGetCharsNoCheck() local
283 for (int i = 0; i < len; i++) { in MterpStringGetCharsNoCheck()
288 memcpy(dst, src_16, len * sizeof(uint16_t)); in MterpStringGetCharsNoCheck()
310 int len = str->GetLength(); in MterpStringEquals() local
315 len *= sizeof(uint16_t); in MterpStringEquals()
319 res = (memcmp(bytes1, bytes2, len) == 0); in MterpStringEquals()
/art/tools/build/
Dvar_cache.py133 _debug("Num entries in dict: ", len(_var_cache_dict))
/art/libelffile/dwarf/
Ddebug_info_entry_writer.h176 void WriteStrp(Attribute attrib, const char* str, size_t len, in WriteStrp() argument
180 debug_str->insert(debug_str->end(), str, str + len); in WriteStrp()
/art/compiler/optimizing/
Dintrinsics.cc130 for (int32_t i = 0, len = boot_image_cache->GetLength(); i != len; ++i) { in CheckIntegerCache() local
191 for (int32_t i = 0, len = current_cache->GetLength(); i != len; ++i) { in ComputeIntegerValueOfLocations() local
/art/libdexfile/external/
Ddex_file_supp.cc109 return {ext_method_info.offset, ext_method_info.len, DexString(ext_method_info.name)}; in AbsorbMethodInfo()
/art/test/536-checker-intrinsic-optimization/src/
DMain.java260 int len = s.length(); in $opt$noinline$stringSumChars() local
261 for (int i = 0; i < len; ++i) { in $opt$noinline$stringSumChars()
/art/runtime/
Dart_method.cc117 int32_t len = (obsolete_methods.IsNull() ? 0 : obsolete_methods->GetLength()); in GetObsoleteDexCache() local
118 DCHECK(len == 0 || len == ext->GetObsoleteDexCaches()->GetLength()) in GetObsoleteDexCache()
119 << "len=" << len << " ext->GetObsoleteDexCaches()=" << ext->GetObsoleteDexCaches(); in GetObsoleteDexCache()
123 for (int32_t i = 0; i < len; i++) { in GetObsoleteDexCache()
130 << GetDeclaringClass()->PrettyClass() << " Searched " << len << " caches."; in GetObsoleteDexCache()
/art/tools/
Dtest_presubmit.py102 if len(files) == 0:

12345