/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | BindingInfo.cpp | 47 void IncrementBindingCounts(BindingCounts* bindingCounts, const BindGroupLayoutEntry& entry) { in IncrementBindingCounts() argument 52 if (entry.buffer.type != wgpu::BufferBindingType::Undefined) { in IncrementBindingCounts() 54 const BufferBindingLayout& buffer = entry.buffer; in IncrementBindingCounts() 82 } else if (entry.sampler.type != wgpu::SamplerBindingType::Undefined) { in IncrementBindingCounts() 84 } else if (entry.texture.sampleType != wgpu::TextureSampleType::Undefined) { in IncrementBindingCounts() 86 } else if (entry.storageTexture.access != wgpu::StorageTextureAccess::Undefined) { in IncrementBindingCounts() 90 FindInChain(entry.nextInChain, &externalTextureBindingLayout); in IncrementBindingCounts() 97 for (SingleShaderStage stage : IterateStages(entry.visibility)) { in IncrementBindingCounts()
|
/third_party/ffmpeg/libavformat/ |
H A D | libssh.c | 339 AVIODirEntry *entry; in libssh_read_dir() local 341 *next = entry = ff_alloc_dir_entry(); in libssh_read_dir() 342 if (!entry) in libssh_read_dir() 357 entry->name = av_strdup(attr->name); in libssh_read_dir() 358 entry->group_id = attr->gid; in libssh_read_dir() 359 entry->user_id = attr->uid; in libssh_read_dir() 360 entry->size = attr->size; in libssh_read_dir() 361 entry->access_timestamp = INT64_C(1000000) * attr->atime; in libssh_read_dir() 362 entry->modification_timestamp = INT64_C(1000000) * attr->mtime; in libssh_read_dir() 363 entry in libssh_read_dir() [all...] |
/third_party/libunwind/libunwind/src/arm/ |
H A D | Gex_tables.c | 284 * Reads the entry from the given cursor and extracts the unwind instructions 293 unw_word_t entry = (unw_word_t) c->pi.unwind_info; in arm_exidx_extract() local 297 /* An ARM unwind entry consists of a prel31 offset to the start of a in arm_exidx_extract() 300 * if bit 31 is one: this is a table entry itself (ARM_EXIDX_COMPACT) in arm_exidx_extract() 302 table entry for this function */ in arm_exidx_extract() 303 if (prel31_to_addr(c->as, c->as_arg, entry, &addr) < 0) in arm_exidx_extract() 306 if ((*c->as->acc.access_mem)(c->as, entry + 4, &data, 0, c->as_arg) < 0) in arm_exidx_extract() 327 if (prel31_to_addr(c->as, c->as_arg, entry + 4, &extbl_data) < 0) in arm_exidx_extract() 392 appropriate unwind entry. */ in arm_search_unwind_table() 395 unw_word_t entry, va in arm_search_unwind_table() local [all...] |
/base/startup/init/services/param/manager/ |
H A D | param_persist.c | 71 ParamNode *entry = (ParamNode *)GetTrieNode(workSpace, current->dataIndex);
in SavePersistParam() local 72 if (entry == NULL) {
in SavePersistParam() 76 if (!IsNeedToSave(entry->data)) {
in SavePersistParam() 80 if ((entry->commitId & PARAM_FLAGS_PERSIST) == 0) {
in SavePersistParam() 84 int ret = memcpy_s(name, PARAM_NAME_LEN_MAX - 1, entry->data, entry->keyLength);
in SavePersistParam() 85 PARAM_CHECK(ret == EOK, return -1, "Failed to read param name %s", entry->data);
in SavePersistParam() 86 name[entry->keyLength] = '\0';
in SavePersistParam() 88 (PERSIST_SAVE_HANDLE)cookie, name, entry->data + entry in SavePersistParam() [all...] |
/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/ |
H A D | codec_node.cpp | 107 camera_metadata_item_t entry; in ConfigJpegOrientation() local 108 int ret = FindCameraMetadataItem(data, OHOS_JPEG_ORIENTATION, &entry); in ConfigJpegOrientation() 109 if (ret != 0 || entry.data.i32 == nullptr) { in ConfigJpegOrientation() 115 int32_t ohosRotation = *entry.data.i32; in ConfigJpegOrientation() 131 camera_metadata_item_t entry; in ConfigJpegQuality() local 132 int ret = FindCameraMetadataItem(data, OHOS_JPEG_QUALITY, &entry); in ConfigJpegQuality() 142 CAMERA_LOGI("OHOS_JPEG_QUALITY is = %{public}d", static_cast<int>(entry.data.u8[0])); in ConfigJpegQuality() 143 if (*entry.data.i32 == OHOS_CAMERA_JPEG_LEVEL_LOW) { in ConfigJpegQuality() 145 } else if (*entry.data.i32 == OHOS_CAMERA_JPEG_LEVEL_MIDDLE) { in ConfigJpegQuality() 147 } else if (*entry in ConfigJpegQuality() [all...] |
/test/xts/device_attest_lite/framework/small/src/client/ |
H A D | attest_framework_client_proxy.c | 179 AttestClientEntry *entry = (AttestClientEntry *)&client[size]; in CreateClient() local 180 if (entry == NULL) { in CreateClient() 185 entry->ver = ((uint16)SERVER_PROXY_VER | (uint16)DEFAULT_VERSION); in CreateClient() 186 entry->ref = 1; in CreateClient() 187 entry->iUnknown.QueryInterface = IUNKNOWN_QueryInterface; in CreateClient() 188 entry->iUnknown.AddRef = IUNKNOWN_AddRef; in CreateClient() 189 entry->iUnknown.Release = IUNKNOWN_Release; in CreateClient() 190 entry->iUnknown.Invoke = NULL; in CreateClient() 191 entry->iUnknown.StartProc = StartProc; in CreateClient() 192 entry in CreateClient() [all...] |
/third_party/gn/src/gn/ |
H A D | command_help.cc | 298 for (const auto& entry : command_map) in RunHelp() 299 all_help_topics.push_back(entry.first); in RunHelp() 306 for (const auto& entry : function_map) in RunHelp() 307 all_help_topics.push_back(entry.first); in RunHelp() 315 for (const auto& entry : builtin_vars) in RunHelp() 316 all_help_topics.push_back(entry.first); in RunHelp() 324 for (const auto& entry : target_vars) in RunHelp() 325 all_help_topics.push_back(entry.first); in RunHelp() 360 for (const auto& entry : random_topics) in RunHelp() 361 all_help_topics.push_back(entry in RunHelp() [all...] |
/third_party/node/deps/v8/third_party/zlib/google/ |
H A D | zip.cc | 206 while (const ZipReader::Entry* const entry = reader.Next()) { in Unzip() 207 if (entry->is_unsafe) { in Unzip() 208 LOG(ERROR) << "Found unsafe entry " << Redact(entry->path) << " in ZIP"; in Unzip() 214 if (options.filter && !options.filter.Run(entry->path)) { in Unzip() 215 VLOG(1) << "Skipped ZIP entry " << Redact(entry->path); in Unzip() 219 if (entry->is_directory) { in Unzip() 221 if (!directory_creator.Run(entry->path)) { in Unzip() 222 LOG(ERROR) << "Cannot create directory " << Redact(entry in Unzip() [all...] |
/third_party/node/deps/zlib/google/ |
H A D | zip.cc | 206 while (const ZipReader::Entry* const entry = reader.Next()) { in Unzip() 207 if (entry->is_unsafe) { in Unzip() 208 LOG(ERROR) << "Found unsafe entry " << Redact(entry->path) << " in ZIP"; in Unzip() 214 if (options.filter && !options.filter.Run(entry->path)) { in Unzip() 215 VLOG(1) << "Skipped ZIP entry " << Redact(entry->path); in Unzip() 219 if (entry->is_directory) { in Unzip() 221 if (!directory_creator.Run(entry->path)) { in Unzip() 222 LOG(ERROR) << "Cannot create directory " << Redact(entry in Unzip() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | osr-optimized-code-cache.cc | 41 int entry = -1; in Insert() local 45 entry = index; in Insert() 50 if (entry == -1) { in Insert() 52 entry = GrowOSRCache(isolate, native_context, &osr_cache); in Insert() 55 // entry. in Insert() 58 // for now choosing to replace the first entry. in Insert() 60 entry = 0; in Insert() 64 osr_cache->InitializeEntry(entry, *shared, *code, osr_offset); in Insert() 251 void OSROptimizedCodeCache::InitializeEntry(int entry, in InitializeEntry() argument 255 Set(entry in InitializeEntry() [all...] |
H A D | literal-objects.cc | 51 InternalIndex entry = descriptor_array_template->Search( in AddToDescriptorArrayTemplate() local 55 if (entry.is_not_found()) { in AddToDescriptorArrayTemplate() 71 int sorted_index = descriptor_array_template->GetDetails(entry).pointer(); in AddToDescriptorArrayTemplate() 75 descriptor_array_template->Set(entry, &d); in AddToDescriptorArrayTemplate() 79 Object raw_accessor = descriptor_array_template->GetStrongValue(entry); in AddToDescriptorArrayTemplate() 87 descriptor_array_template->Set(entry, &d); in AddToDescriptorArrayTemplate() 159 InternalIndex entry = dictionary->FindEntry(isolate, key); in AddToDictionaryTemplate() local 167 if (entry.is_not_found()) { in AddToDictionaryTemplate() 188 isolate, dictionary, key, value_handle, details, &entry); in AddToDictionaryTemplate() 201 : dictionary->DetailsAt(entry) in AddToDictionaryTemplate() [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_program_cache.c | 90 struct hash_entry *entry = in crocus_find_cached_shader() local 95 return entry ? entry->data : NULL; in crocus_find_cached_shader() 103 hash_table_foreach(ice->shaders.cache, entry) { in crocus_find_previous_compile() 104 const struct keybox *keybox = entry->key; in crocus_find_previous_compile() 116 * Look for an existing entry in the cache that has identical assembly code. 126 hash_table_foreach (cache, entry) { in find_existing_assembly() 127 const struct crocus_compiled_shader *existing = entry->data; in find_existing_assembly() 339 hash_table_foreach(ice->shaders.cache, entry) { in crocus_print_program_cache() 340 const struct keybox *keybox = entry in crocus_print_program_cache() [all...] |
/third_party/skia/third_party/externals/brotli/research/ |
H A D | find_opt_references.cc | 92 int left_lcp, entry_type* entry) { in GoLeft() 93 entry->first = left_lcp; in GoLeft() 98 entry->second.push_back(idx - sarray[left_ix]); in GoLeft() 104 int right_ix, int right_lcp, entry_type* entry) { in GoRight() 105 entry->first = right_lcp; in GoRight() 110 entry->second.push_back(idx - sarray[right_ix]); in GoRight() 169 entry_type& entry = entries[idx]; in ProcessEntries() local 170 if (entry.first > long_length) { in ProcessEntries() 173 segments.push_back({idx, idx + entry.first}); in ProcessEntries() 175 segments.back().second = idx + entry in ProcessEntries() 91 GoLeft(sarray_type* sarray, lcp_type* lcp, int idx, int left_ix, int left_lcp, entry_type* entry) GoLeft() argument 103 GoRight(sarray_type* sarray, lcp_type* lcp, int idx, size_t size, int right_ix, int right_lcp, entry_type* entry) GoRight() argument [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | MessageLiteToString.java | 172 Map.Entry<GeneratedMessageLite.ExtensionDescriptor, Object> entry = iter.next(); in reflectivePrintWithIndent() 173 printField(buffer, indent, "[" + entry.getKey().getNumber() + "]", entry.getValue()); in reflectivePrintWithIndent() 224 for (Object entry : list) { in printField() 225 printField(buffer, indent, name, entry); in printField() 231 for (Map.Entry<?, ?> entry : map.entrySet()) { in printField() 232 printField(buffer, indent, name, entry); in printField() 257 Map.Entry<?, ?> entry = (Map.Entry<?, ?>) object; in printField() 258 printField(buffer, indent + 2, "key", entry.getKey()); in printField() 259 printField(buffer, indent + 2, "value", entry in printField() [all...] |
/base/hiviewdfx/hiview/service/ |
H A D | hiview_service.cpp | 98 for (auto const &entry : curPluginMap) {
in DumpPluginInfo() 99 auto const &pluginPtr = entry.second;
in DumpPluginInfo() 137 for (auto const &entry : curPluginMap) {
in DumpLoadedPluginInfo() 138 auto const &pluginName = entry.first;
in DumpLoadedPluginInfo() 139 if (entry.second != nullptr) {
in DumpLoadedPluginInfo() 142 (entry.second->GetType() == Plugin::PluginType::DYNAMIC) ? "True" : "False");
in DumpLoadedPluginInfo() 143 dprintf(fd, "Version:%s ", (entry.second->GetVersion().c_str()));
in DumpLoadedPluginInfo() 146 ((entry.second->GetWorkLoop() == nullptr) ? "Null" : entry.second->GetWorkLoop()->GetName().c_str()));
in DumpLoadedPluginInfo() 156 for (auto const &entry in DumpPluginUsageInfo() [all...] |
/third_party/eudev/src/libudev/ |
H A D | libudev-enumerate.c | 171 struct syspath *entry; in syspath_add() local 191 entry = &udev_enumerate->devices[udev_enumerate->devices_cur]; in syspath_add() 192 entry->syspath = path; in syspath_add() 193 entry->len = strlen(path); in syspath_add() 264 * Get the first entry of the sorted list of device paths. 284 struct syspath *entry = &udev_enumerate->devices[i]; in udev_enumerate_get_list_entry() local 288 entry->len == prev->len && in udev_enumerate_get_list_entry() 289 memcmp(entry->syspath, prev->syspath, entry->len) == 0) in udev_enumerate_get_list_entry() 291 prev = entry; in udev_enumerate_get_list_entry() 330 struct syspath *entry = &udev_enumerate->devices[i]; udev_enumerate_get_list_entry() local [all...] |
/third_party/python/Lib/idlelib/ |
H A D | tree.py | 268 self.entry 299 self.entry = Entry(self.label, bd=0, highlightthickness=1, width=0) 300 self.entry.insert(0, self.label['text']) 301 self.entry.selection_range(0, END) 302 self.entry.pack(ipadx=5) 303 self.entry.focus_set() 304 self.entry.bind("<Return>", self.edit_finish) 305 self.entry.bind("<Escape>", self.edit_cancel) 309 entry = self.entry [all...] |
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/ |
H A D | save_trusted_info.c | 109 TrustedGroupEntry **entry; in GetGroupEntryById() local 110 FOR_EACH_HC_VECTOR(groupEntryVec, index, entry) { in GetGroupEntryById() 111 TrustedGroupEntry *returnEntry = DeepCopyGroupEntry(*entry); in GetGroupEntryById() 128 TrustedGroupEntry *entry = GetGroupEntryById(params->osAccountId, params->groupId); in CheckGroupValidity() 129 if (entry == NULL) { in CheckGroupValidity() 133 DestroyGroupEntry(entry); in CheckGroupValidity() 154 TrustedGroupEntry *entry = GetGroupEntryById(params->osAccountId, params->groupId); in ClientSendTrustedInfoProcEvent() local 155 if (entry == NULL) { in ClientSendTrustedInfoProcEvent() 160 if (DeepCopyString(StringGet(&entry->name), ¶ms->groupName) != HC_SUCCESS) { in ClientSendTrustedInfoProcEvent() 162 DestroyGroupEntry(entry); in ClientSendTrustedInfoProcEvent() 485 TrustedGroupEntry *entry = GetGroupEntryById(params->osAccountId, params->groupId); ServerSendTrustedInfoProcEvent() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-aat-layout-kerx-table.hh | 173 static bool performAction (const Entry<EntryData> &entry) in performAction() 174 { return entry.data.kernActionIndex != 0xFFFF; } in performAction() 176 static unsigned int kernActionIndex (const Entry<EntryData> &entry) in kernActionIndex() 177 { return entry.data.kernActionIndex; } in kernActionIndex() 195 static bool performAction (const Entry<EntryData> &entry) in performAction() 196 { return entry.flags & Offset; } in performAction() 198 static unsigned int kernActionIndex (const Entry<EntryData> &entry) in kernActionIndex() 199 { return entry.flags & Offset; } in kernActionIndex() 231 const Entry<EntryData> &entry) in is_actionable() 232 { return Format1EntryT::performAction (entry); } in is_actionable() [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | gl_nir_link_uniforms.c | 135 struct hash_entry *entry = in update_array_sizes() local 137 if (entry) { in update_array_sizes() 138 ainfo = (struct uniform_array_info *) entry->data; in update_array_sizes() 150 * match the new array size. The number of slots per array entry in update_array_sizes() 166 struct hash_entry *entry = in update_array_sizes() local 168 if (entry) { in update_array_sizes() 170 (struct uniform_array_info *) entry->data; in update_array_sizes() 484 struct hash_entry *entry = in add_var_use_deref() local 486 if (!entry && glsl_type_is_array(deref->var->type)) { in add_var_use_deref() 496 if (entry) in add_var_use_deref() 965 struct hash_entry *entry = find_and_update_named_uniform_storage() local 979 struct hash_entry *entry = prog->data->spirv ? NULL : find_and_update_named_uniform_storage() local 1095 struct type_tree_entry *entry = malloc(sizeof *entry); build_type_tree_for_type() local 1130 free_type_tree(struct type_tree_entry *entry) free_type_tree() argument 1143 hash_free_uniform_name(struct hash_entry *entry) hash_free_uniform_name() argument 1364 struct hash_entry *entry = prog->data->spirv ? NULL : nir_link_uniform() local 1589 struct set_entry *entry = _mesa_set_search(storage_counted, name); gl_nir_link_uniforms() local 1726 struct hash_entry *entry = gl_nir_link_uniforms() local 1749 struct hash_entry *entry = gl_nir_link_uniforms() local 1828 struct hash_entry *entry = gl_nir_link_uniforms() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers.c | 192 struct wpa_dbus_dict_entry entry = { .type = DBUS_TYPE_STRING }; in set_network_properties() local 203 if (!wpa_dbus_dict_get_entry(&iter_dict, &entry)) in set_network_properties() 207 if (entry.type == DBUS_TYPE_ARRAY && in set_network_properties() 208 entry.array_type == DBUS_TYPE_BYTE) { in set_network_properties() 209 if (entry.array_len <= 0) in set_network_properties() 212 size = entry.array_len * 2 + 1; in set_network_properties() 218 (u8 *) entry.bytearray_value, in set_network_properties() 219 entry.array_len); in set_network_properties() 222 } else if (entry.type == DBUS_TYPE_STRING) { in set_network_properties() 223 if (should_quote_opt(entry in set_network_properties() 565 struct wpa_dbus_dict_entry entry; wpas_dbus_handler_create_interface() local 2365 struct wpa_dbus_dict_entry entry; wpas_dbus_handler_tdls_channel_switch() local [all...] |
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/ |
H A D | camera_hdi_test_v1_2.cpp | 318 camera_metadata_item_t entry;
in HWTEST_F() local 319 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_SUPPORTED_COLOR_MODES, &entry);
in HWTEST_F() 323 EXPECT_TRUE(entry.data.u8 != nullptr);
in HWTEST_F() 324 EXPECT_NE(entry.count, 0);
in HWTEST_F() 326 for (uint32_t i = 0; i < entry.count; ++i) {
in HWTEST_F() 329 TranslateXMageAbilityToString(static_cast<camera_xmage_color_type>(entry.data.u8[i])).c_str());
in HWTEST_F() 331 xmageAbilities.push_back(entry.data.u8[i]);
in HWTEST_F() 558 camera_metadata_item_t entry;
in HWTEST_F() local 559 int ret = FindCameraMetadataItem(data, OHOS_ABILITY_AVAILABLE_COLOR_SPACES, &entry);
in HWTEST_F() 560 printf("OHOS_ABILITY_AVAILABLE_COLOR_SPACES value count %d\n", entry in HWTEST_F() 654 camera_metadata_item_t entry; HWTEST_F() local 723 camera_metadata_item_t entry; HWTEST_F() local 742 camera_metadata_item_t entry; HWTEST_F() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-http2-pack-end-stream-flag.js | 37 const entry = entries[n]; 38 if (entry.name !== 'Http2Session') continue; 39 if (entry.detail.type !== 'client') continue; 40 assert.strictEqual(entry.detail.framesReceived, targetFrameCount);
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/ |
H A D | build.rs | 25 for entry in fs::read_dir(dir).unwrap() { in main() 26 let entry = entry.unwrap(); in main() 27 let path = entry.path(); in main()
|
/third_party/rust/crates/bindgen/bindgen-tests/ |
H A D | build.rs | 26 for entry in entries { in main() 27 match entry.path().extension().and_then(OsStr::to_str) { in main() 29 let func = entry in main() 40 entry.path(), in main()
|