Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/
Dsparse_image_warp_test.py48 locs = sparse_image_warp._get_boundary_locations(image_height, image_width,
50 num_points = locs.shape[0]
52 locs = [(locs[i, 0], locs[i, 1]) for i in range(num_points)]
55 self.assertIn((i, j), locs, '{},{} not in the locations'.format(i, j))
59 self.assertIn((i, j), locs, '{},{} not in the locations'.format(i, j))
63 self.assertIn((i, j), locs, '{},{} not in the locations'.format(i, j))
/external/icu/icu4c/source/test/intltest/
Dnmfmapts.cpp313 StringEnumeration* locs = NumberFormat::getAvailableLocales(); in testRegistration() local
319 for (res = locs->snext(status); res; res = locs->snext(status)) { in testRegistration()
386 for (res = locs->snext(status); res; res = locs->snext(status)) { in testRegistration()
390 locs->reset(status); // now in synch again, we hope in testRegistration()
391 for (res = locs->snext(status); res; res = locs->snext(status)) { in testRegistration()
395 delete locs; in testRegistration()
Dincaltst.cpp99 const char *locs [40] = { "en_US_VALLEYGIRL", in TestTypes() local
128 for(j=0;locs[j];j++) { in TestTypes()
129 logln(UnicodeString("Creating calendar of locale ") + locs[j]); in TestTypes()
131 c = Calendar::createInstance(locs[j], status); in TestTypes()
132 CHECK(status, "creating '" + UnicodeString(locs[j]) + "' calendar"); in TestTypes()
136 …dataerrln(UnicodeString(locs[j]) + UnicodeString("Calendar type ") + c->getType() + " instead of "… in TestTypes()
/external/python/cpython2/Lib/test/
Dtest_inspect.py689 def assertEqualCallArgs(self, func, call_params_string, locs=None): argument
690 locs = dict(locs or {}, func=func)
691 r1 = eval('func(%s)' % call_params_string, None, locs)
693 locs)
696 def assertEqualException(self, func, call_param_string, locs=None): argument
697 locs = dict(locs or {}, func=func)
699 eval('func(%s)' % call_param_string, None, locs)
706 locs)
891 def assertEqualCallArgs(self, func, call_params_string, locs=None): argument
893 *self._getAssertEqualParams(func, call_params_string, locs))
[all …]
/external/elfutils/tests/
Dvarlocs.c460 int locs = dwarf_getlocation_addr (&attrval, addr, in print_expr() local
462 if (locs == 0) in print_expr()
464 else if (locs == 1) in print_expr()
469 ", locs (%d): %s", addr, locs, dwarf_errmsg (-1)); in print_expr()
500 int locs = dwarf_getlocation_addr (&attrval, addr, in print_expr() local
502 if (locs == 0) in print_expr()
504 else if (locs == 1) in print_expr()
509 ", locs (%d): %s", addr, locs, dwarf_errmsg (-1)); in print_expr()
851 int locs = dwarf_getlocation_addr (&attr, begin, in print_varlocs() local
854 assert (locs == 1); in print_varlocs()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DStandardCodesTest.java59 Set<String> locs; in TestGetLocaleCoverageLocales() local
61 locs = sc.getLocaleCoverageLocales(org, in TestGetLocaleCoverageLocales()
63 for (String loc : locs) { in TestGetLocaleCoverageLocales()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_target_nv50.cpp562 recordLocation(uint16_t *locs, uint8_t *masks, in recordLocation() argument
568 case TGSI_SEMANTIC_POSITION: locs[SV_POSITION] = addr; break; in recordLocation()
569 case TGSI_SEMANTIC_INSTANCEID: locs[SV_INSTANCE_ID] = addr; break; in recordLocation()
570 case TGSI_SEMANTIC_VERTEXID: locs[SV_VERTEX_ID] = addr; break; in recordLocation()
571 case TGSI_SEMANTIC_PRIMID: locs[SV_PRIMITIVE_ID] = addr; break; in recordLocation()
572 case TGSI_SEMANTIC_LAYER: locs[SV_LAYER] = addr; break; in recordLocation()
573 case TGSI_SEMANTIC_VIEWPORT_INDEX: locs[SV_VIEWPORT_INDEX] = addr; break; in recordLocation()
/external/llvm/lib/Target/PowerPC/
DPPCCCState.h34 SmallVectorImpl<CCValAssign> &locs, LLVMContext &C) in PPCCCState() argument
35 : CCState(CC, isVarArg, MF, locs, C) {} in PPCCCState()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCCCState.h34 SmallVectorImpl<CCValAssign> &locs, LLVMContext &C) in PPCCCState() argument
35 : CCState(CC, isVarArg, MF, locs, C) {} in PPCCCState()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DCompactDecimalFormatTest.java594 ULocale[] locs = new ULocale[] { in TestLongShortFallback() local
611 for (int i=0; i<locs.length; i++) { in TestLongShortFallback()
612 ULocale loc = locs[i]; in TestLongShortFallback()
627 ULocale[] locs = ULocale.getAvailableLocales(); in TestLocales() local
628 for (ULocale loc : locs) { in TestLocales()
653 …ULocale[] locs = {new ULocale("en"), new ULocale("it"), new ULocale("en_US_POSIX"), new ULocale("e… in TestLocaleGroupingForLargeNumbers() local
655 for (int i=0; i<locs.length; i++) { in TestLocaleGroupingForLargeNumbers()
656 ULocale loc = locs[i]; in TestLocaleGroupingForLargeNumbers()
/external/elfutils/libdw/
Ddwarf_getlocation.c150 struct loc_block_s **found = tfind (&fake, &attr->cu->locs, loc_compare); in dwarf_getlocation_implicit_value()
190 struct loc_s **found = tfind (&fake, &attr->cu->locs, loc_compare); in check_constant_offset()
214 found = tsearch (newp, &attr->cu->locs, loc_compare); in check_constant_offset()
655 &cu->locs, block, in getlocation()
799 Dwarf_Addr address, const Elf_Data *locs, Dwarf_Op **expr, in getlocations_addr() argument
805 const unsigned char *readp = locs->d_buf + offset; in getlocations_addr()
806 const unsigned char *readendp = locs->d_buf + locs->d_size; in getlocations_addr()
861 return readp - (unsigned char *) locs->d_buf; in getlocations_addr()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormatParseInfoTree.java73 Map<FieldDescriptor, List<TextFormatParseLocation>> locs = in TextFormatParseInfoTree() local
76 locs.put(kv.getKey(), Collections.unmodifiableList(kv.getValue())); in TextFormatParseInfoTree()
78 this.locationsFromField = Collections.unmodifiableMap(locs); in TextFormatParseInfoTree()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DCompactDecimalFormatTest.java591 ULocale[] locs = new ULocale[] { in TestLongShortFallback() local
608 for (int i=0; i<locs.length; i++) { in TestLongShortFallback()
609 ULocale loc = locs[i]; in TestLongShortFallback()
624 ULocale[] locs = ULocale.getAvailableLocales(); in TestLocales() local
625 for (ULocale loc : locs) { in TestLocales()
650 …ULocale[] locs = {new ULocale("en"), new ULocale("it"), new ULocale("en_US_POSIX"), new ULocale("e… in TestLocaleGroupingForLargeNumbers() local
652 for (int i=0; i<locs.length; i++) { in TestLocaleGroupingForLargeNumbers()
653 ULocale loc = locs[i]; in TestLocaleGroupingForLargeNumbers()
/external/fonttools/Lib/fontTools/varLib/
Dmodels.py433 locs = [s.location for s in doc.sources]
435 pprint(locs)
438 locs = [s.location for s in doc.sources]
439 pprint(locs)
442 locs = [dict(zip(axes, (float(v) for v in s.split(',')))) for s in args]
444 model = VariationModel(locs)
/external/compiler-rt/lib/tsan/rtl/
Dtsan_debugging.cc74 *loc_count = rep->locs.Size(); in __tsan_get_report_data()
114 CHECK_LT(idx, rep->locs.Size()); in __tsan_get_report_loc()
115 ReportLocation *loc = rep->locs[idx]; in __tsan_get_report_loc()
Dtsan_report.cc58 , locs(MBlockReportLoc) in ReportDesc()
342 for (uptr i = 0; i < rep->locs.Size(); i++) in PrintReport()
343 PrintLocation(rep->locs[i]); in PrintReport()
434 for (uptr i = 0; i < rep->locs.Size(); i++) in PrintReport()
435 PrintLocation(rep->locs[i]); in PrintReport()
/external/llvm/lib/Target/SystemZ/
DSystemZCallingConv.h42 SmallVectorImpl<CCValAssign> &locs, LLVMContext &C) in SystemZCCState() argument
43 : CCState(CC, isVarArg, MF, locs, C) {} in SystemZCCState()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZCallingConv.h42 SmallVectorImpl<CCValAssign> &locs, LLVMContext &C) in SystemZCCState() argument
43 : CCState(CC, isVarArg, MF, locs, C) {} in SystemZCCState()
/external/llvm/lib/Target/Mips/
DMipsCCState.h68 SmallVectorImpl<CCValAssign> &locs, LLVMContext &C,
70 : CCState(CC, isVarArg, MF, locs, C), SpecialCallingConv(SpecialCC) {} in CCState() argument
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DConfigurationV25.java21 private static String localesToResourceQualifier(List<Locale> locs) { in localesToResourceQualifier() argument
23 for (int i = 0; i < locs.size(); i++) { in localesToResourceQualifier()
24 final Locale loc = locs.get(i); in localesToResourceQualifier()
/external/u-boot/tools/
Dmoveconfig.py1500 locs = sym.get_def_locations()
1501 if len(locs) != 1:
1502 return '%d locations' % len(locs)
1503 fname, linenum = locs[0]
1714 locs = sym.get_def_locations()
1715 if len(locs) == 1:
1716 fname, linenum = locs[0]
1726 locs = sym.get_def_locations()
1727 if len(locs) == 1:
1728 fname, linenum = locs[0]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationServiceTest.java329 Locale locs[] = Collator.getAvailableLocales(); in checkAvailable() local
330 if (!assertTrue("getAvailableLocales != null", locs!=null)) return -1; in checkAvailable()
331 checkArray(msg, locs, null); in checkAvailable()
338 return locs.length; in checkAvailable()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationServiceTest.java326 Locale locs[] = Collator.getAvailableLocales(); in checkAvailable() local
327 if (!assertTrue("getAvailableLocales != null", locs!=null)) return -1; in checkAvailable()
328 checkArray(msg, locs, null); in checkAvailable()
335 return locs.length; in checkAvailable()
/external/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h64 DateTimeRoundTripFunction(int locs) in DateTimeRoundTripFunction() argument
66 nLocales = locs; in DateTimeRoundTripFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsCCState.h85 SmallVectorImpl<CCValAssign> &locs, LLVMContext &C,
87 : CCState(CC, isVarArg, MF, locs, C), SpecialCallingConv(SpecialCC) {} in CCState() argument

1234