Home
last modified time | relevance | path

Searched refs:elem (Results 276 - 300 of 625) sorted by relevance

1...<<11121314151617181920>>...25

/third_party/rust/crates/serde/serde_derive_internals/src/
H A Dattr.rs1644 // Whether the type looks like it might be `std::borrow::Cow<T>` where elem="T".
1666 fn is_cow(ty: &syn::Type, elem: fn(&syn::Type) -> bool) -> bool { in is_cow()
1688 (syn::GenericArgument::Lifetime(_), syn::GenericArgument::Type(arg)) => elem(arg), in is_cow()
1693 fn is_option(ty: &syn::Type, elem: fn(&syn::Type) -> bool) -> bool { in is_option()
1715 syn::GenericArgument::Type(arg) => elem(arg), in is_option()
1720 // Whether the type looks like it might be `&T` where elem="T". This can have
1740 fn is_reference(ty: &syn::Type, elem: fn(&syn::Type) -> bool) -> bool { in is_reference()
1742 syn::Type::Reference(ty) => ty.mutability.is_none() && elem(&ty.elem), in is_reference()
1753 syn::Type::Slice(ty) => is_primitive_type(&ty.elem, "u in is_slice_u8()
[all...]
/third_party/rust/crates/serde/serde_derive/src/internals/
H A Dattr.rs1644 // Whether the type looks like it might be `std::borrow::Cow<T>` where elem="T".
1666 fn is_cow(ty: &syn::Type, elem: fn(&syn::Type) -> bool) -> bool { in is_cow()
1688 (syn::GenericArgument::Lifetime(_), syn::GenericArgument::Type(arg)) => elem(arg), in is_cow()
1693 fn is_option(ty: &syn::Type, elem: fn(&syn::Type) -> bool) -> bool { in is_option()
1715 syn::GenericArgument::Type(arg) => elem(arg), in is_option()
1720 // Whether the type looks like it might be `&T` where elem="T". This can have
1740 fn is_reference(ty: &syn::Type, elem: fn(&syn::Type) -> bool) -> bool { in is_reference()
1742 syn::Type::Reference(ty) => ty.mutability.is_none() && elem(&ty.elem), in is_reference()
1753 syn::Type::Slice(ty) => is_primitive_type(&ty.elem, "u in is_slice_u8()
[all...]
/third_party/mesa3d/src/mapi/
H A Dstub.c62 stub_compare(const void *key, const void *elem) in stub_compare() argument
65 const struct mapi_stub *stub = (const struct mapi_stub *) elem; in stub_compare()
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
H A Dtr_dump.c567 trace_dump_writes("<elem>"); in trace_dump_elem_begin()
575 trace_dump_writes("</elem>"); in trace_dump_elem_end()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dvkconventions.py111 for elem in MAIN_RE.findall(structname):
112 word = elem[0]
/third_party/python/Lib/test/
H A Dtest_contains.py77 for elem in container:
78 self.assertIn(elem, container)
H A Dtest_collections.py1605 for elem in container:
1606 self.assertIn(elem, container)
1677 for elem in elements:
1678 if elem not in self.data:
1679 self.data.append(elem)
1680 def __contains__(self, elem):
1681 return elem in self.data
2076 elem, cnt = c.popitem()
2077 self.assertNotIn(elem, c)
2218 for elem i
[all...]
H A Dtest_set.py275 for elem in dup:
276 newt = elem
285 for elem in s:
286 elem.cycle = s
287 elem.sub = elem
288 elem.set = set([elem])
327 self.assertEqual(sum(elem.hash_count for elem i
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
H A Dexamples_test.cc31 auto elem = objs[absl::Uniform(gen, 0u, objs.size())]; in TEST() local
32 Use(elem); in TEST()
/third_party/vulkan-headers/registry/
H A Dvkconventions.py111 for elem in MAIN_RE.findall(structname):
112 word = elem[0]
/third_party/node/deps/openssl/openssl/ssl/
H A Dssl_conf.c158 static int ssl_set_option_list(const char *elem, int len, void *usr) in ssl_set_option_list() argument
168 if (elem == NULL) in ssl_set_option_list()
171 if (*elem == '+') { in ssl_set_option_list()
172 elem++; in ssl_set_option_list()
175 } else if (*elem == '-') { in ssl_set_option_list()
176 elem++; in ssl_set_option_list()
182 if (ssl_match_option(cctx, tbl, elem, len, onoff)) in ssl_set_option_list()
/third_party/openssl/ssl/
H A Dssl_conf.c158 static int ssl_set_option_list(const char *elem, int len, void *usr) in ssl_set_option_list() argument
168 if (elem == NULL) in ssl_set_option_list()
171 if (*elem == '+') { in ssl_set_option_list()
172 elem++; in ssl_set_option_list()
175 } else if (*elem == '-') { in ssl_set_option_list()
176 elem++; in ssl_set_option_list()
182 if (ssl_match_option(cctx, tbl, elem, len, onoff)) in ssl_set_option_list()
/third_party/python/Lib/xml/dom/
H A Dminidom.py426 elem = self.ownerElement
427 if elem is not None:
428 del elem._attrs[self.nodeName]
429 del elem._attrsNS[(self.namespaceURI, self.localName)]
432 elem._magic_id_nodes -= 1
442 elem = self.ownerElement
443 if doc is None or elem is None:
446 info = doc._get_elem_info(elem)
456 elem = self.ownerElement
457 if doc is None or elem i
[all...]
/third_party/ltp/metadata/
H A Ddata_storage.h147 struct data_hash_elem *elem = &hash->elems[hash->elems_used++]; in data_node_hash_add() local
149 elem->node = payload; in data_node_hash_add()
150 elem->id = strdup(id); in data_node_hash_add()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp79 const MDNode *elem = NMD->getOperand(i); in cacheAnnotationFromMD() local
82 mdconst::dyn_extract_or_null<GlobalValue>(elem->getOperand(0)); in cacheAnnotationFromMD()
90 cacheAnnotationFromMD(elem, tmp); in cacheAnnotationFromMD()
/third_party/ffmpeg/libavutil/
H A Dmem.h611 * @param[in] elem Element to add
614 void av_dynarray_add(void *tab_ptr, int *nb_ptr, void *elem);
627 int av_dynarray_add_nofree(void *tab_ptr, int *nb_ptr, void *elem);
H A Dmem.c323 int av_dynarray_add_nofree(void *tab_ptr, int *nb_ptr, void *elem) in av_dynarray_add_nofree() argument
329 tab[*nb_ptr] = elem; in av_dynarray_add_nofree()
337 void av_dynarray_add(void *tab_ptr, int *nb_ptr, void *elem) in av_dynarray_add() argument
343 tab[*nb_ptr] = elem; in av_dynarray_add()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_split_per_member_structs.c51 const struct glsl_type *elem = in member_type() local
54 return glsl_array_type(elem, glsl_get_length(type), 0); in member_type()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
H A DRewriteOutArgs.cpp21 T elem; member
29 if (x == entry.elem) in find()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMUnwindOpAsm.cpp37 void EmitByte(uint8_t elem) { in EmitByte() argument
38 Vec[Pos] = elem; in EmitByte()
/third_party/skia/third_party/externals/tint/tools/src/list/
H A Dlist.go60 // New returns a new list of element type elem for n items type
61 func New(elem reflect.Type, count int) List {
62 slice := reflect.SliceOf(elem)
/third_party/curl/src/
H A Dtool_urlglob.c510 curl_off_t elem; in glob_cleanup() local
518 for(elem = glob->pattern[i].content.Set.size - 1; in glob_cleanup()
519 elem >= 0; in glob_cleanup()
520 --elem) { in glob_cleanup()
521 Curl_safefree(glob->pattern[i].content.Set.elements[elem]); in glob_cleanup()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Draw_hash_set_probe_benchmark.cc177 ElemFn elem; in CollectMeanProbeLengths() local
178 using Key = decltype(elem()); in CollectMeanProbeLengths()
182 while (t.size() < min_max_sizes.min_load) t.insert(elem()); in CollectMeanProbeLengths()
187 t.insert(elem()); in CollectMeanProbeLengths()
191 while (t.size() < min_max_sizes.max_load) t.insert(elem()); in CollectMeanProbeLengths()
/third_party/alsa-lib/modules/mixer/simple/python/
H A Dcommon.py201 for elem in ELEMS:
202 if elem.name == val[0] and elem.index == val[1]:
203 felem = elem
/third_party/icu/icu4c/source/i18n/
H A Dtznames.cpp87 const UHashElement* elem; in sweepCache() local
90 while ((elem = uhash_nextElement(gTimeZoneNamesCache, &pos)) != 0) { in sweepCache()
91 TimeZoneNamesCacheEntry *entry = (TimeZoneNamesCacheEntry *)elem->value.pointer; in sweepCache()
94 uhash_removeElement(gTimeZoneNamesCache, elem); in sweepCache()

Completed in 25 milliseconds

1...<<11121314151617181920>>...25