Home
last modified time | relevance | path

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

123456

/external/tensorflow/tensorflow/compiler/mlir/utils/
Dname_utils.cc58 llvm::SmallVector<Location, 8> locs; in GetNameFromLoc() local
59 locs.push_back(loc); in GetNameFromLoc()
62 while (!locs.empty()) { in GetNameFromLoc()
63 Location curr_loc = locs.pop_back_val(); in GetNameFromLoc()
74 locs.push_back(call_loc.getCallee()); in GetNameFromLoc()
80 locs.append(reversed_fused_locs.begin(), reversed_fused_locs.end()); in GetNameFromLoc()
/external/llvm-project/mlir/lib/IR/
DLocation.cpp69 Location FusedLoc::get(ArrayRef<Location> locs, Attribute metadata, in get() argument
73 for (auto loc : locs) { in get()
89 locs = decomposedLocs.getArrayRef(); in get()
92 if (locs.empty()) in get()
94 if (locs.size() == 1) in get()
95 return locs.front(); in get()
96 return Base::get(context, locs, metadata); in get()
DLocationDetail.h87 ArrayRef<Location> locs = key.first; in construct() local
89 auto byteSize = totalSizeToAlloc<Location>(locs.size()); in construct()
91 auto result = new (rawMem) FusedLocationStorage(locs.size(), key.second); in construct()
93 std::uninitialized_copy(locs.begin(), locs.end(), in construct()
/external/rust/crates/regex/src/
Dre_trait.rs34 SubCapturesPosIter { idx: 0, locs: self } in iter()
60 locs: &'c Locations, field
67 if self.idx >= self.locs.len() { in next()
70 let x = match self.locs.pos(self.idx) { in next()
134 locs: &mut Locations, in captures_read_at()
256 let mut locs = self.0.re.locations(); in next() localVariable
258 &mut locs, in next()
274 Some(locs) in next()
Dre_unicode.rs313 let mut locs = self.capture_locations(); in captures() localVariable
314 self.captures_read_at(&mut locs, text, 0).map(move |_| Captures { in captures()
316 locs: locs.0, in captures()
672 locs: &mut CaptureLocations, in captures_read()
675 self.captures_read_at(locs, text, 0) in captures_read()
686 locs: &mut CaptureLocations, in captures_read_at()
692 .captures_read_at(&mut locs.0, text, start) in captures_read_at()
704 locs: &mut CaptureLocations, in read_captures_at()
708 self.captures_read_at(locs, text, start) in read_captures_at()
925 locs: re_trait::Locations, field
[all …]
Dre_bytes.rs256 let mut locs = self.capture_locations(); in captures() localVariable
257 self.captures_read_at(&mut locs, text, 0).map(move |_| Captures { in captures()
259 locs: locs.0, in captures()
613 locs: &mut CaptureLocations, in captures_read()
616 self.captures_read_at(locs, text, 0) in captures_read()
627 locs: &mut CaptureLocations, in captures_read_at()
633 .captures_read_at(&mut locs.0, text, start) in captures_read_at()
645 locs: &mut CaptureLocations, in read_captures_at()
649 self.captures_read_at(locs, text, start) in read_captures_at()
724 self.0.next().map(|locs| Captures { in next()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnmfmapts.cpp313 LocalPointer<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()
/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/OpenCL-CTS/test_conformance/spirv_new/
Dtest_op_atomic.cpp69 std::vector<cl_int> locs(num, -1); in test_atomic() local
77 log_error("Atomic inc value is repeated at %d and %d\n", locs[idx], i); in test_atomic()
81 locs[idx] = i; in test_atomic()
/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/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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCCCState.h33 SmallVectorImpl<CCValAssign> &locs, LLVMContext &C) in PPCCCState() argument
34 : CCState(CC, isVarArg, MF, locs, C) {} in PPCCCState()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCCCState.h33 SmallVectorImpl<CCValAssign> &locs, LLVMContext &C) in PPCCCState() argument
34 : CCState(CC, isVarArg, MF, locs, C) {} in PPCCCState()
/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/llvm-project/lldb/utils/lui/
Dsourcewin.py193 locs = {}
215 if path in locs:
216 locs[path].add(line)
218 locs[path] = set([line])
219 return locs
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_debugging.cpp82 *loc_count = rep->locs.Size(); in __tsan_get_report_data()
129 CHECK_LT(idx, rep->locs.Size()); in __tsan_get_report_loc()
130 ReportLocation *loc = rep->locs[idx]; in __tsan_get_report_loc()
146 CHECK_LT(idx, rep->locs.Size()); in __tsan_get_report_loc_object_type()
147 ReportLocation *loc = rep->locs[idx]; in __tsan_get_report_loc_object_type()
/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/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/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_target_nv50.cpp567 recordLocation(uint16_t *locs, uint8_t *masks, in recordLocation() argument
573 case TGSI_SEMANTIC_POSITION: locs[SV_POSITION] = addr; break; in recordLocation()
574 case TGSI_SEMANTIC_INSTANCEID: locs[SV_INSTANCE_ID] = addr; break; in recordLocation()
575 case TGSI_SEMANTIC_VERTEXID: locs[SV_VERTEX_ID] = addr; break; in recordLocation()
576 case TGSI_SEMANTIC_PRIMID: locs[SV_PRIMITIVE_ID] = addr; break; in recordLocation()
577 case TGSI_SEMANTIC_LAYER: locs[SV_LAYER] = addr; break; in recordLocation()
578 case TGSI_SEMANTIC_VIEWPORT_INDEX: locs[SV_VIEWPORT_INDEX] = addr; break; in recordLocation()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormatParseInfoTree.java71 Map<FieldDescriptor, List<TextFormatParseLocation>> locs = in TextFormatParseInfoTree() local
74 locs.put(kv.getKey(), Collections.unmodifiableList(kv.getValue())); in TextFormatParseInfoTree()
76 this.locationsFromField = Collections.unmodifiableMap(locs); in TextFormatParseInfoTree()
/external/elfutils/libdw/
Ddwarf_getlocation.c151 struct loc_block_s **found = tfind (&fake, &attr->cu->locs, loc_compare); in dwarf_getlocation_implicit_value()
194 struct loc_s **found = tfind (&fake, &attr->cu->locs, loc_compare); in is_constant_offset()
218 found = tsearch (newp, &attr->cu->locs, loc_compare); in is_constant_offset()
659 &cu->locs, block, in getlocation()
803 Dwarf_Addr address, const Elf_Data *locs, Dwarf_Op **expr, in getlocations_addr() argument
809 const unsigned char *readp = locs->d_buf + offset; in getlocations_addr()
810 const unsigned char *readendp = locs->d_buf + locs->d_size; in getlocations_addr()
865 return readp - (unsigned char *) locs->d_buf; in getlocations_addr()
/external/fonttools/Lib/fontTools/varLib/
Dmodels.py461 locs = [s.location for s in doc.sources]
463 pprint(locs)
466 locs = [s.location for s in doc.sources]
467 pprint(locs)
470 locs = [dict(zip(axes, (float(v) for v in s.split(',')))) for s in args.locations]
472 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()
/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/llvm-project/llvm/lib/Target/SystemZ/
DSystemZCallingConv.h41 SmallVectorImpl<CCValAssign> &locs, LLVMContext &C) in SystemZCCState() argument
42 : CCState(CC, isVarArg, MF, locs, C) {} in SystemZCCState()

123456