/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | control_dependence.cpp | 114 const BasicBlock* entry = spvtest::GetBasicBlock(fn, 10); in TEST() local 115 EXPECT_EQ(entry, fn->entry().get()) in TEST() 116 << "The entry node is not the expected one"; in TEST() 267 const BasicBlock* entry = spvtest::GetBasicBlock(fn, 1); in TEST() local 268 EXPECT_EQ(entry, fn->entry().get()) in TEST() 269 << "The entry node is not the expected one"; in TEST()
|
/third_party/skia/src/ports/ |
H A D | SkOSFile_posix.cpp | 182 dirent* entry; in next() local 184 while ((entry = ::readdir(self.fDIR)) != nullptr) { in next() 191 str.append(entry->d_name); in next() 199 if (!(s.st_mode & S_IFDIR) && issuffixfor(self.fSuffix, entry->d_name)) { in next() 205 if (entry) { // we broke out with a file in next() 207 name->set(entry->d_name); in next()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | D3D12CachingTests.cpp | 54 auto entry = mCache.find(keyStr); variable 55 if (entry == mCache.end()) { 58 if (valueSize >= entry->second.size()) { 59 memcpy(value, entry->second.data(), entry->second.size()); 62 return entry->second.size();
|
/third_party/spirv-tools/source/diff/ |
H A D | lcs.h | 84 DiffMatchEntry& entry = table_[index.src_offset][index.dst_offset]; in MarkMatched() local 85 assert(!entry.valid); in MarkMatched() 87 entry.best_match_length = best_match_length & 0x3FFFFFFF; in MarkMatched() 88 assert(entry.best_match_length == best_match_length); in MarkMatched() 89 entry.matched = matched; in MarkMatched() 90 entry.valid = true; in MarkMatched() 103 // Use for the recursive algorithm to know if the contents of this entry are 160 // corresponding entry will be updated. in CalculateLCS() 173 // `current` again afterwards, so its corresponding entry will be updated. in CalculateLCS()
|
/third_party/spirv-tools/test/opt/ |
H A D | control_dependence.cpp | 114 const BasicBlock* entry = spvtest::GetBasicBlock(fn, 10); in TEST() local 115 EXPECT_EQ(entry, fn->entry().get()) in TEST() 116 << "The entry node is not the expected one"; in TEST() 267 const BasicBlock* entry = spvtest::GetBasicBlock(fn, 1); in TEST() local 268 EXPECT_EQ(entry, fn->entry().get()) in TEST() 269 << "The entry node is not the expected one"; in TEST()
|
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/ |
H A D | hc_file.c | 197 struct dirent *entry = NULL; in HcFileGetSubFileName() local 202 while ((entry = readdir(dir)) != NULL) { in HcFileGetSubFileName() 203 if ((strcmp(entry->d_name, ".") == 0) || (strcmp(entry->d_name, "..") == 0)) { in HcFileGetSubFileName() 207 if (!StringSetPointer(&subFileName, entry->d_name)) { in HcFileGetSubFileName()
|
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/ |
H A D | hc_file_posix.c | 198 struct dirent *entry = NULL; in HcFileGetSubFileName() local 203 while ((entry = readdir(dir)) != NULL) { in HcFileGetSubFileName() 204 if ((strcmp(entry->d_name, ".") == 0) || (strcmp(entry->d_name, "..") == 0)) { in HcFileGetSubFileName() 208 if (!StringSetPointer(&subFileName, entry->d_name)) { in HcFileGetSubFileName()
|
/third_party/eudev/src/udev/ |
H A D | udev-builtin-hwdb.c | 37 struct udev_list_entry *entry; in udev_builtin_hwdb_lookup() local 53 udev_list_entry_foreach(entry, list) { in udev_builtin_hwdb_lookup() 54 if (filter && fnmatch(filter, udev_list_entry_get_name(entry), FNM_NOESCAPE) != 0) in udev_builtin_hwdb_lookup() 58 udev_list_entry_get_name(entry), in udev_builtin_hwdb_lookup() 59 udev_list_entry_get_value(entry)) < 0) in udev_builtin_hwdb_lookup()
|
/third_party/mesa3d/src/amd/registers/ |
H A D | parseheader.py | 116 for entry in self.__enumentries: 117 if name == entry.name: 120 entry = Object(name=name, value=value) 122 entry.comment = comment 123 self.__enumentries.append(entry)
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ir_function_detect_recursion.cpp | 173 hash_entry *entry = _mesa_hash_table_search(this->function_hash, sig); in get_function() local 174 if (entry == NULL) { in get_function() 178 f = (function *) entry->data; in get_function() 264 hash_entry *entry = _mesa_hash_table_search(visitor->function_hash, key); in remove_unlinked_functions() local 265 _mesa_hash_table_remove(visitor->function_hash, entry); in remove_unlinked_functions()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_context.c | 44 hash_table_foreach(vc4->jobs, entry) { in vc4_flush() 45 struct vc4_job *job = entry->data; in vc4_flush() 106 struct hash_entry *entry = _mesa_hash_table_search(vc4->write_jobs, in vc4_invalidate_resource() local 108 if (!entry) in vc4_invalidate_resource() 111 struct vc4_job *job = entry->data; in vc4_invalidate_resource()
|
/third_party/toybox/lib/ |
H A D | dirtree.c | 138 struct dirent *entry; in dirtree_recurse() local 157 while ((entry = readdir(dir))) { in dirtree_recurse() 158 if ((flags&DIRTREE_PROC) && !isdigit(*entry->d_name)) continue; in dirtree_recurse() 159 if (!(new = dirtree_add_node(node, entry->d_name, flags))) continue; in dirtree_recurse() 161 new->st.st_mode = entry->d_type<<12; in dirtree_recurse()
|
/third_party/toybox/porting/liteos_a/lib/ |
H A D | dirtree.c | 145 struct dirent *entry; in dirtree_recurse() local 164 while ((entry = readdir(dir))) { in dirtree_recurse() 165 if ((flags&DIRTREE_PROC) && !isdigit(*entry->d_name)) continue; in dirtree_recurse() 166 if (!(new = dirtree_add_node(node, entry->d_name, flags))) continue; in dirtree_recurse() 168 new->st.st_mode = entry->d_type<<12; in dirtree_recurse()
|
/third_party/backends/backend/ |
H A D | gt68xx_low.c | 216 GT68xx_USB_Device_Entry *entry; in gt68xx_find_usb_device_entry() local 218 for (entry = gt68xx_usb_device_list; entry->model; ++entry) in gt68xx_find_usb_device_entry() 220 if (vendor == entry->vendor && product == entry->product) in gt68xx_find_usb_device_entry() 221 return entry; in gt68xx_find_usb_device_entry() 232 GT68xx_USB_Device_Entry *entry; in gt68xx_device_identify() local 244 entry = gt68xx_find_usb_device_entry (vendor, product); in gt68xx_device_identify() 246 if (entry) in gt68xx_device_identify() 340 GT68xx_USB_Device_Entry *entry; gt68xx_device_get_model() local [all...] |
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
H A D | usbd_generic_epfile.c | 120 req = list_first_entry(&epfile->req_list, struct generic_request, entry); in generic_epfile_do_submit() 121 list_del_init(&req->entry); in generic_epfile_do_submit() 149 list_add_tail(&cur_req->entry, &epfile->comp_list); in generic_epfile_req_complete() 193 list_add_tail(&cur_req->entry, &epfile->comp_list); in generic_epfile_submit_request() 221 list_for_each_entry_safe(req_iter, tmp, &epfile->req_list, entry) in generic_epfile_cancel_pending_request() 225 list_del_init(&req_iter->entry); in generic_epfile_cancel_pending_request() 242 list_add_tail(&req_iter->entry, &epfile->comp_list); in generic_epfile_cancel_pending_request() 261 list_for_each_entry_safe(req_iter, tmp, &epfile->comp_list, entry) in generic_epfile_request_status() 269 list_for_each_entry_safe(req_iter, tmp, &epfile->req_list, entry) in generic_epfile_request_status() 344 req = list_first_entry(&epfile->comp_list, struct generic_request, entry); in generic_epfile_handle_read() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | TrieMapTest.java | 120 for (Entry<String, Integer> entry : unicodeTestMap.entrySet()) { in TestByteConversion() 121 String source = entry.getKey(); in TestByteConversion() 144 for (Entry<String, Integer> entry : testmap.entrySet()) { in checkGet() 145 Integer value = entry.getValue(); in checkGet() 146 String key = entry.getKey(); in checkGet() 180 for (Entry<String, Integer> entry : map.entrySet()) { in timeIteration() 181 String key = entry.getKey(); in timeIteration() 182 Integer value = entry.getValue(); in timeIteration() 198 for (Entry<CharSequence, Integer> entry : trieMap) { in timeIteration() 199 CharSequence key = entry in timeIteration() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | TrieMapTest.java | 117 for (Entry<String, Integer> entry : unicodeTestMap.entrySet()) { in TestByteConversion() 118 String source = entry.getKey(); in TestByteConversion() 141 for (Entry<String, Integer> entry : testmap.entrySet()) { in checkGet() 142 Integer value = entry.getValue(); in checkGet() 143 String key = entry.getKey(); in checkGet() 177 for (Entry<String, Integer> entry : map.entrySet()) { in timeIteration() 178 String key = entry.getKey(); in timeIteration() 179 Integer value = entry.getValue(); in timeIteration() 195 for (Entry<CharSequence, Integer> entry : trieMap) { in timeIteration() 196 CharSequence key = entry in timeIteration() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | ucol_res.cpp | 284 // for the entry with the default type. in loadFromBundle() 286 // for the entry with an empty type. in loadFromBundle() 373 const CollationCacheEntry *entry = getCacheEntry(errorCode); in loadFromCollations() local 374 return makeCacheEntry(validLocale, entry, errorCode); in loadFromCollations() 451 const CollationCacheEntry *entry = new CollationCacheEntry(validLocale, t.getAlias()); in loadFromData() local 452 if(entry == NULL) { in loadFromData() 459 entry->addRef(); in loadFromData() 460 return entry; in loadFromData() 466 const CollationCacheEntry *entry = NULL; in getCacheEntry() local 467 cache->get(key, this, entry, errorCod in getCacheEntry() 490 CollationCacheEntry *entry = new CollationCacheEntry(loc, entryFromCache->tailoring); makeCacheEntry() local [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | ucol_res.cpp | 294 // for the entry with the default type. in loadFromBundle() 296 // for the entry with an empty type. in loadFromBundle() 383 const CollationCacheEntry *entry = getCacheEntry(errorCode); in loadFromCollations() local 384 return makeCacheEntry(validLocale, entry, errorCode); in loadFromCollations() 461 const CollationCacheEntry *entry = new CollationCacheEntry(validLocale, t.getAlias()); in loadFromData() local 462 if(entry == nullptr) { in loadFromData() 469 entry->addRef(); in loadFromData() 470 return entry; in loadFromData() 476 const CollationCacheEntry *entry = nullptr; in getCacheEntry() local 477 cache->get(key, this, entry, errorCod in getCacheEntry() 500 CollationCacheEntry *entry = new CollationCacheEntry(loc, entryFromCache->tailoring); makeCacheEntry() local [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | shader_compiler_test.cc | 197 %entry = OpLabel in TEST_F() 369 for (const auto& entry : iter->second) { in TEST_F() 370 max_binding = std::max(max_binding, entry.binding); in TEST_F() 372 entry.kind == Pipeline::ShaderInfo::DescriptorMapEntry::Kind::POD_UBO; in TEST_F() 388 for (const auto& entry : iter->second) { in TEST_F() 389 max_binding = std::max(max_binding, entry.binding); in TEST_F() 391 entry.kind == Pipeline::ShaderInfo::DescriptorMapEntry::Kind::POD_UBO; in TEST_F() 421 for (const auto& entry : iter->second) { in TEST_F() 422 if (entry.binding == 0) { in TEST_F() 423 EXPECT_EQ(entry in TEST_F() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | ucol_res.cpp | 284 // for the entry with the default type. in loadFromBundle() 286 // for the entry with an empty type. in loadFromBundle() 373 const CollationCacheEntry *entry = getCacheEntry(errorCode); in loadFromCollations() local 374 return makeCacheEntry(validLocale, entry, errorCode); in loadFromCollations() 451 const CollationCacheEntry *entry = new CollationCacheEntry(validLocale, t.getAlias()); in loadFromData() local 452 if(entry == NULL) { in loadFromData() 459 entry->addRef(); in loadFromData() 460 return entry; in loadFromData() 466 const CollationCacheEntry *entry = NULL; in getCacheEntry() local 467 cache->get(key, this, entry, errorCod in getCacheEntry() 490 CollationCacheEntry *entry = new CollationCacheEntry(loc, entryFromCache->tailoring); makeCacheEntry() local [all...] |
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/resolver/ |
H A D | resolve.go | 92 entry := &sem.EnumEntry{ 97 entry.IsInternal = true 105 if err := r.globals.declare(entry, e.Source); err != nil { 108 s.Entries = append(s.Entries, entry) 211 entry := enum.FindEntry(ast.Name) 212 if entry == nil { 215 m.Options = append(m.Options, entry) 346 if entry, ok := target.(*sem.EnumEntry); ok { 347 // The target resolved to an enum entry. 360 matcher, ok := r.enumEntryMatchers[entry] [all...] |
/third_party/mesa3d/src/compiler/ |
H A D | glsl_types.cpp | 509 hash_free_type_function(struct hash_entry *entry) in hash_free_type_function() argument 511 glsl_type *type = (glsl_type *) entry->data; in hash_free_type_function() 514 free((void*)entry->key); in hash_free_type_function() 699 const struct hash_entry *entry = in get_instance() local 701 if (entry == NULL) { in get_instance() 708 entry = _mesa_hash_table_insert(explicit_matrix_types, in get_instance() 712 assert(((glsl_type *) entry->data)->base_type == base_type); in get_instance() 713 assert(((glsl_type *) entry->data)->vector_elements == rows); in get_instance() 714 assert(((glsl_type *) entry->data)->matrix_columns == columns); in get_instance() 715 assert(((glsl_type *) entry in get_instance() 1252 const struct hash_entry *entry = _mesa_hash_table_search(array_types, key); get_array_instance() local 1464 const struct hash_entry *entry = _mesa_hash_table_search(struct_types, get_struct_instance() local 1504 const struct hash_entry *entry = _mesa_hash_table_search(interface_types, get_interface_instance() local 1537 const struct hash_entry *entry = _mesa_hash_table_search(subroutine_types, get_subroutine_instance() local 1593 struct hash_entry *entry = _mesa_hash_table_search(function_types, &key); get_function_instance() local [all...] |
/third_party/NuttX/fs/nfs/ |
H A D | nfs_adapter.c | 97 #define NFS_DIR_ENTRY_MALLOC(entry) \ 100 entry = (struct entry3 *)malloc(sizeof(struct entry3)); \ 101 if (entry == NULL) \ 107 (void)memset_s(entry, sizeof(struct entry3), 0, sizeof(struct entry3)); \ 111 #define NFS_DIR_ENTRY_FREE(entry) \ 114 free(entry->contents); \ 115 entry->contents = NULL; \ 116 free(entry); \ 117 entry = NULL; \ 972 struct entry3 *entry in vfs_nfs_readdir() local [all...] |
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_descriptor_set.c | 1489 list_for_each_entry_safe(struct dzn_descriptor_heap_pool_entry, entry, &pool->free_heaps, link) { in dzn_descriptor_heap_pool_finish() 1490 list_del(&entry->link); in dzn_descriptor_heap_pool_finish() 1491 dzn_descriptor_heap_finish(&entry->heap); in dzn_descriptor_heap_pool_finish() 1492 vk_free(pool->alloc, entry); in dzn_descriptor_heap_pool_finish() 1546 list_for_each_entry_safe(struct dzn_descriptor_heap_pool_entry, entry, &pool->free_heaps, link) { in dzn_descriptor_heap_pool_alloc_slots() 1547 if (entry->heap.desc_count >= heap_desc_count) { in dzn_descriptor_heap_pool_alloc_slots() 1548 new_heap = entry; in dzn_descriptor_heap_pool_alloc_slots() 1549 list_del(&entry->link); in dzn_descriptor_heap_pool_alloc_slots() 1956 struct dzn_descriptor_update_template_entry *entry = entries; in dzn_descriptor_update_template_create() local 1972 entry in dzn_descriptor_update_template_create() 2054 const struct dzn_descriptor_update_template_entry *entry = &templ->entries[e]; dzn_UpdateDescriptorSetWithTemplate() local [all...] |