/third_party/skia/src/gpu/ |
H A D | GrThreadSafeCache.cpp | 87 // This entry and all the remaining ones in the list will be newer than 'purgeTime' in dropUniqueRefsOlderThan() 102 void GrThreadSafeCache::makeExistingEntryMRU(Entry* entry) { in makeExistingEntryMRU() argument 103 SkASSERT(fUniquelyKeyedEntryList.isInList(entry)); in makeExistingEntryMRU() 105 entry->fLastAccess = GrStdSteadyClock::now(); in makeExistingEntryMRU() 106 fUniquelyKeyedEntryList.remove(entry); in makeExistingEntryMRU() 107 fUniquelyKeyedEntryList.addToHead(entry); in makeExistingEntryMRU() 147 Entry* entry; in getEntry() local 150 entry = fFreeEntryList; in getEntry() 151 fFreeEntryList = entry->fNext; in getEntry() 152 entry in getEntry() 162 makeNewEntryMRU(Entry* entry) makeNewEntryMRU() argument 171 Entry* entry; getEntry() local [all...] |
/third_party/FreeBSD/sbin/fsck_msdosfs/ |
H A D | fat.c | 359 struct fat32_cache_entry *entry) in fat_flush_fat32_cache_entry() 367 if (!entry->dirty) in fat_flush_fat32_cache_entry() 370 writesize = fat_get_iosize(fat, entry->addr); in fat_flush_fat32_cache_entry() 372 fat_addr = fat->fat32_offset + entry->addr; in fat_flush_fat32_cache_entry() 374 (size_t)write(fd, entry->chunk, writesize) != writesize) { in fat_flush_fat32_cache_entry() 379 entry->dirty = false; in fat_flush_fat32_cache_entry() 388 struct fat32_cache_entry *entry, *first; in fat_get_fat32_cache_entry() local 399 TAILQ_FOREACH(entry, &fat->fat32_cache_head, entries) { in fat_get_fat32_cache_entry() 400 if (entry->addr == addr) { in fat_get_fat32_cache_entry() 402 entry in fat_get_fat32_cache_entry() 358 fat_flush_fat32_cache_entry(struct fat_descriptor *fat, struct fat32_cache_entry *entry) fat_flush_fat32_cache_entry() argument 444 struct fat32_cache_entry *entry; fat_get_fat32_cached_ptr() local 700 struct fat32_cache_entry *entry; _readfat() local 1195 struct fat32_cache_entry *entry; writefat() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/src/threading/ |
H A D | parallel_task_queue.cpp | 102 Entry entry(taskIdentifier, std::move(task)); in SubmitAfter() 103 entry.dependencies.push_back(afterIdentifier); in SubmitAfter() 105 tasks_.push_back(std::move(entry)); in SubmitAfter() 117 [afterIdentifier](const TaskQueue::Entry& entry) { return entry.identifier == afterIdentifier; }); in SubmitAfter() 119 Entry entry(taskIdentifier, std::move(task)); in SubmitAfter() 120 entry.dependencies.insert(entry.dependencies.cend(), afterIdentifiers.begin(), afterIdentifiers.end()); in SubmitAfter() 122 tasks_.push_back(std::move(entry)); in SubmitAfter() 151 Entry& entry in QueueTasks() local [all...] |
/third_party/elfutils/libdw/ |
H A D | fde.c | 66 intern_fde (Dwarf_CFI *cache, const Dwarf_FDE *entry) in intern_fde() argument 68 /* Look up the new entry's CIE. */ in intern_fde() 69 struct dwarf_cie *cie = __libdw_find_cie (cache, entry->CIE_pointer); in intern_fde() 80 fde->instructions = entry->start; in intern_fde() 81 fde->instructions_end = entry->end; in intern_fde() 121 /* Add the new entry to the search tree. */ in intern_fde() 145 Dwarf_CFI_Entry entry; in __libdw_fde_by_offset() local 149 offset, &next_offset, &entry); in __libdw_fde_by_offset() 158 if (unlikely (dwarf_cfi_cie_p (&entry))) in __libdw_fde_by_offset() 162 struct dwarf_fde *fde = intern_fde (cache, &entry in __libdw_fde_by_offset() 282 Dwarf_CFI_Entry entry; __libdw_find_fde() local [all...] |
/third_party/spirv-tools/source/ |
H A D | assembly_grammar.cpp | 65 spv_operand_desc entry = nullptr; in spvTextParseMaskOperand() local 67 end - begin, &entry)) { in spvTextParseMaskOperand() 70 value |= entry->value; in spvTextParseMaskOperand() 182 spv_operand_desc entry = {}; in filterCapsAgainstTargetEnv() local 185 &entry)) { in filterCapsAgainstTargetEnv() 188 if ((version >= entry->minVersion && version <= entry->lastVersion) || in filterCapsAgainstTargetEnv() 189 entry->numExtensions > 0u || entry->numCapabilities > 0u) { in filterCapsAgainstTargetEnv() 226 [name](const SpecConstantOpcodeEntry& entry) { in lookupSpecConstantOpcode() [all...] |
/third_party/libexif/libexif/ |
H A D | exif-entry.h | 1 /*! \file exif-entry.h 44 /*! EXIF tag for this entry */ 47 /*! Type of data in this entry */ 50 /*! Number of elements in the array, if this is an array entry. 54 /*! Pointer to the raw EXIF data for this entry. It is allocated 65 /*! #ExifContent containing this entry. 96 * \param[in] entry #ExifEntry 100 void exif_entry_ref (ExifEntry *entry); 103 * When the reference count drops to zero, free the entry. 105 * \param[in] entry #ExifEntr [all...] |
/third_party/skia/third_party/externals/brotli/scripts/ |
H A D | fix-win-bazel-build.py | 17 for entry in manifest: 18 entry = entry.strip() variable 19 if not entry.startswith("org_brotli_java"): 21 if entry.startswith('org_brotli_java/external'): 23 (alias, space, link) = entry.partition(' ')
|
/third_party/rust/crates/rustix/tests/fs/ |
H A D | dir.rs | 24 for entry in dir { in test_dir() 25 let entry = entry.unwrap(); in test_dir() 26 if entry.file_name() == rustix::cstr!(".") { in test_dir() 28 } else if entry.file_name() == rustix::cstr!("..") { in test_dir() 30 } else if entry.file_name() == rustix::cstr!("Cargo.toml") { in test_dir()
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
H A D | js_input_method_engine_setting.cpp | 576 auto entry = GetEntry(type); in OnInputStart() local 577 if (entry == nullptr) { in OnInputStart() 585 auto task = [entry]() { in OnInputStart() 603 JsCallbackHandler::Traverse(entry->vecCopy, { 2, paramGetter }); in OnInputStart() 611 auto entry = GetEntry(type); in OnKeyboardStatus() local 612 if (entry == nullptr) { in OnKeyboardStatus() 621 auto task = [entry]() { JsCallbackHandler::Traverse(entry->vecCopy); }; in OnKeyboardStatus() 628 auto entry = GetEntry(type); in OnInputStop() local 629 if (entry in OnInputStop() 644 auto entry = GetEntry(type, [&windowId](UvEntry &entry) { entry.windowid = windowId; }); OnSetCallingWindow() local 672 auto entry = GetEntry(type, [&property](UvEntry &entry) { entry.subProperty = property; }); OnSetSubtype() local 743 auto entry = GetEntry(type, [&privateCommand](UvEntry &entry) { entry.privateCommand = privateCommand; }); ReceivePrivateCommand() local 775 UvEntry *entry = nullptr; GetUVwork() local 812 std::shared_ptr<UvEntry> entry = nullptr; GetEntry() local [all...] |
/base/startup/init/services/param/manager/ |
H A D | param_manager.c | 74 ParamNode *entry = (ParamNode *)GetTrieNode(workSpace, current->dataIndex);
in ProcessParamTraversal() local 75 if (entry == NULL) {
in ProcessParamTraversal() 78 if ((strcmp("#", context->prefix) != 0) && (strncmp(entry->data, context->prefix, strlen(context->prefix)) != 0)) {
in ProcessParamTraversal() 137 ParamNode *entry = (ParamNode *)GetTrieNode(workSpace, current->dataIndex);
in DumpTrieDataNodeTraversal() local 138 if (entry != NULL) {
in DumpTrieDataNodeTraversal() 140 entry->commitId, entry->keyLength, entry->valueLength, entry->data);
in DumpTrieDataNodeTraversal() 428 ParamNode *entry in AddParam() local 452 ParamNode *entry = (ParamNode *)GetTrieNode(workSpace, *dataIndex); UpdateParam() local 508 ParamNode *entry = (ParamNode *)GetTrieNode(workSpace, node->dataIndex); WriteParam() local 622 ParamNode *entry = NULL; ReadParamName() local 695 ParamTrieNode *entry = NULL; CheckParamPermission() local 714 ReadParamValue(ParamNode *entry, char *value, uint32_t *length) ReadParamValue() argument 761 ParamTrieNode *entry = NULL; SystemFindParameter() local 783 ParamNode *entry = (ParamNode *)GetTrieNodeByHandle(handle); SystemGetParameterCommitId() local [all...] |
/third_party/rust/crates/regex/src/ |
H A D | compile.rs | 24 entry: InstPtr, 144 let mut dotstar_patch = Patch { hole: Hole::None, entry: 0 }; in compile_one() 149 self.compiled.start = dotstar_patch.entry; in compile_one() 155 self.fill(dotstar_patch.hole, patch.entry); in compile_one() 157 self.compiled.start = patch.entry; in compile_one() 175 let mut dotstar_patch = Patch { hole: Hole::None, entry: 0 }; in compile_many() 178 self.compiled.start = dotstar_patch.entry; in compile_many() 188 let Patch { hole, entry } = in compile_many() 193 prev_hole = self.fill_split(split, Some(entry), None); in compile_many() 196 let Patch { hole, entry } in compile_many() [all...] |
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | unordered_map.h | 354 if (auto entry = detach_entry(key)) { in erase() 355 release(entry); in erase() 367 auto entry = get_entry(ind, v.first); in insert() local 368 if (entry) { in insert() 369 return { iterator { *this, entry }, false }; in insert() 376 auto entry = get_entry(ind, v.first); in insert() local 377 if (entry) { in insert() 378 return { iterator { *this, entry }, false }; in insert() 657 auto entry = get_entry(ind, key); in detach_entry() local 658 if (entry) { in detach_entry() 767 auto entry = base::get_entry(ind, v.first); insert() local 779 auto entry = base::get_entry(ind, v.first); insert() local 791 auto entry = base::get_entry(ind, key); insert_or_assign() local [all...] |
/third_party/node/src/ |
H A D | node_blob.cc | 101 Local<Value> entry; in New() local 102 if (!ary->Get(env->context(), n).ToLocal(&entry)) in New() 104 CHECK(entry->IsArrayBufferView() || Blob::HasInstance(env, entry)); in New() 105 if (entry->IsArrayBufferView()) { in New() 106 Local<ArrayBufferView> view = entry.As<ArrayBufferView>(); in New() 115 ASSIGN_OR_RETURN_UNWRAP(&blob, entry); in New() 162 for (const auto& entry : entries()) { in GetArrayBuffer() 163 unsigned char* src = static_cast<unsigned char*>(entry.store->Data()); in GetArrayBuffer() 164 src += entry in GetArrayBuffer() 453 auto entry = data_objects_.find(uuid); get_data_object() local [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | string-table.cc | 105 void Set(InternalIndex index, String entry) { in Set() argument 106 slot(index).Release_Store(entry); in Set() 167 // Returns probe entry. 258 for (InternalIndex entry = FirstProbe(hash, capacity_);; in FindEntry() 259 entry = NextProbe(entry, count++, capacity_)) { in FindEntry() 262 Object element = Get(isolate, entry); in FindEntry() 266 if (KeyIsMatch(isolate, key, string)) return entry; in FindEntry() 274 for (InternalIndex entry = FirstProbe(hash, capacity_);; in FindInsertionEntry() 275 entry in FindInsertionEntry() 522 InternalIndex entry = current_data->FindEntry(isolate, key, key->hash()); LookupKey() local 673 InternalIndex entry = string_table_data->FindEntry(isolate, &key, key.hash()); TryStringToIndexOrLookupExisting() local [all...] |
/third_party/elfio/elfio/ |
H A D | elfio_relocation.hpp | 418 T entry; in generic_add_entry() local 419 entry.r_offset = decltype( entry.r_offset )( offset ); in generic_add_entry() 420 entry.r_info = decltype( entry.r_info )( info ); in generic_add_entry() 421 entry.r_offset = convertor( entry.r_offset ); in generic_add_entry() 422 entry.r_info = convertor( entry.r_info ); in generic_add_entry() 424 relocation_section->append_data( reinterpret_cast<char*>( &entry ), in generic_add_entry() 435 T entry; generic_add_entry() local [all...] |
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
H A D | list.h | 90 __list_del_entry(struct list_head *entry) in __list_del_entry() argument 93 __list_del(entry->prev, entry->next); in __list_del_entry() 97 list_del(struct list_head *entry) in list_del() argument 100 __list_del(entry->prev, entry->next); in list_del() 131 list_del_init(struct list_head *entry) in list_del_init() argument 134 list_del(entry); in list_del_init() 135 INIT_LIST_HEAD(entry); in list_del_init() 228 list_move_tail(struct list_head *entry, struc argument 236 list_rotate_to_front(struct list_head *entry, struct list_head *head) list_rotate_to_front() argument 398 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) __list_cut_position() argument 410 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) list_cut_position() argument [all...] |
/base/powermgr/powermgr_lite/frameworks/src/mini/ |
H A D | power_manage.c | 57 void InitIdentity(RunningLockEntry *entry) in InitIdentity() argument 59 if (entry == NULL) { in InitIdentity() 62 entry->identity.pid = 0; in InitIdentity() 63 entry->identity.token = (uint64_t)(uintptr_t)entry; in InitIdentity() 66 BOOL AcquireRunningLockEntry(RunningLockEntry *entry, int32_t timeoutMs) in AcquireRunningLockEntry() argument 71 ret = intf->AcquireRunningLockEntryFunc((IUnknown *)intf, entry, timeoutMs); in AcquireRunningLockEntry() 76 BOOL ReleaseRunningLockEntry(RunningLockEntry *entry) in ReleaseRunningLockEntry() argument 81 ret = intf->ReleaseRunningLockEntryFunc((IUnknown *)intf, entry); in ReleaseRunningLockEntry()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
H A D | distributed_data_change_listener.cpp | 66 for (const auto& entry : inserts) { in OnChange() 67 unique_ptr<KeyInfo> keyInfo = KeyInfo::ParseInfo(entry.key.ToString()); in OnChange() 70 HILOGI("insertEntries Key:%{public}s, Value:%{public}s", keyStr.c_str(), entry.value.ToString().c_str()); in OnChange() 81 for (const auto& entry : deletes) { in OnChange() 82 unique_ptr<KeyInfo> keyInfo = KeyInfo::ParseInfo(entry.key.ToString()); in OnChange() 85 HILOGI("deleteEntries Key:%{public}s, Value:%{public}s", keyStr.c_str(), entry.value.ToString().c_str()); in OnChange() 92 for (const auto& entry : updates) { in OnChange() 93 unique_ptr<KeyInfo> keyInfo = KeyInfo::ParseInfo(entry.key.ToString()); in OnChange() 96 HILOGI("updateEntries Key:%{public}s, Value:%{public}s", keyStr.c_str(), entry.value.ToString().c_str()); in OnChange()
|
/third_party/node/deps/v8/tools/heap-stats/ |
H A D | model.js | 60 let entry = sorted_data[name] = data[name]; 61 max = Math.max(max, entry.overall); 66 Object.entries(data_set.instance_type_data).forEach(([name, entry]) => { 68 name, entry, data_set.bucket_sizes, 'histogram', ' overall'); 70 name, entry, data_set.bucket_sizes, 'over_allocated_histogram', 77 checkHistogram(type, entry, bucket_sizes, histogram, overallProperty) { 79 for (let i = 1; i < entry[histogram].length; i++) { 80 sum += entry[histogram][i] * bucket_sizes[i - 1]; 82 const overall = entry[overallProperty];
|
/third_party/node/deps/v8/src/compiler/ |
H A D | value-numbering-reducer.cc | 34 // Allocate the initial entries and insert the first entry. in Reduce() 50 Node* entry = entries_[i]; in Reduce() 51 if (!entry) { in Reduce() 53 // Reuse dead entry that we discovered on the way. in Reduce() 56 // Have to insert a new entry. in Reduce() 67 if (entry == node) { in Reduce() 89 // Opportunistically clean-up the duplicate entry if we're at the end in Reduce() 102 // Overwrite the colliding entry with the actual entry. in Reduce() 104 // Opportunistically clean-up the duplicate entry i in Reduce() 167 Node* const entry = entries_[j]; Grow() local [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/ |
H A D | HorizontalMetricsTable.java | 71 public int hMetricAdvanceWidth(int entry) { in hMetricAdvanceWidth() argument 72 if (entry > this.numHMetrics) { in hMetricAdvanceWidth() 77 (entry * Offset.hMetricsSize.offset) + Offset.hMetricsAdvanceWidth.offset; in hMetricAdvanceWidth() 81 public int hMetricLSB(int entry) { in hMetricLSB() argument 82 if (entry > this.numHMetrics) { in hMetricLSB() 87 (entry * Offset.hMetricsSize.offset) + Offset.hMetricsLeftSideBearing.offset; in hMetricLSB() 91 public int lsbTableEntry(int entry) { in lsbTableEntry() argument 92 if (entry > this.numberOfLSBs()) { in lsbTableEntry() 97 (this.numHMetrics * Offset.hMetricsSize.offset) + (entry * Offset.LeftSideBearingSize.offset); in lsbTableEntry()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/ |
H A D | horizontal_metrics_table.cc | 34 int32_t HorizontalMetricsTable::HMetricAdvanceWidth(int32_t entry) { in HMetricAdvanceWidth() argument 35 if (entry > num_hmetrics_) { in HMetricAdvanceWidth() 41 int32_t offset = Offset::kHMetricsStart + (entry * Offset::kHMetricsSize) + in HMetricAdvanceWidth() 46 int32_t HorizontalMetricsTable::HMetricLSB(int32_t entry) { in HMetricLSB() argument 47 if (entry > num_hmetrics_) { in HMetricLSB() 53 int32_t offset = Offset::kHMetricsStart + (entry * Offset::kHMetricsSize) + in HMetricLSB() 58 int32_t HorizontalMetricsTable::LsbTableEntry(int32_t entry) { in LsbTableEntry() argument 59 if (entry > num_hmetrics_) { in LsbTableEntry() 65 int32_t offset = Offset::kHMetricsStart + (entry * Offset::kHMetricsSize) + in LsbTableEntry()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsinfo.c | 754 ATTR_LIST_ENTRY *entry; in ntfs_dump_attr_list() local 777 entry = (ATTR_LIST_ENTRY *) value; in ntfs_dump_attr_list() 778 for (;(u8 *)entry < (u8 *) value + l; entry = (ATTR_LIST_ENTRY *) in ntfs_dump_attr_list() 779 ((u8 *) entry + le16_to_cpu(entry->length))) { in ntfs_dump_attr_list() 782 (unsigned int)le32_to_cpu(entry->type)); in ntfs_dump_attr_list() 784 (unsigned)le16_to_cpu(entry->length), in ntfs_dump_attr_list() 785 (unsigned)le16_to_cpu(entry->length)); in ntfs_dump_attr_list() 787 (unsigned)entry in ntfs_dump_attr_list() 1490 ntfs_dump_index_key(INDEX_ENTRY *entry, INDEX_ATTR_TYPE type) ntfs_dump_index_key() argument 1552 ntfs_dump_index_data(INDEX_ENTRY *entry, INDEX_ATTR_TYPE type) ntfs_dump_index_data() argument 1675 ntfs_dump_index_entries(INDEX_ENTRY *entry, INDEX_ATTR_TYPE type) ntfs_dump_index_entries() argument 1836 INDEX_ENTRY *entry; ntfs_dump_attr_index_root() local 1895 INDEX_ENTRY *entry; ntfs_dump_index_block() local [all...] |
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A D | mock_single_kv_store.cpp | 52 Entry entry; in InsertDataToDoCallback() local 53 entry.key = key; in InsertDataToDoCallback() 54 entry.value = value; in InsertDataToDoCallback() 58 insertEntries.push_back(entry); in InsertDataToDoCallback() 69 Entry entry; in UpdateDataToDoCallback() local 70 entry.key = key; in UpdateDataToDoCallback() 71 entry.value = value; in UpdateDataToDoCallback() 75 updateEntries.push_back(entry); in UpdateDataToDoCallback() 88 Entry entry; in DeleteDataToDoCallback() local 89 entry in DeleteDataToDoCallback() 107 Entry entry; GetEntries() local [all...] |
/third_party/mesa3d/src/drm-shim/ |
H A D | device.c | 143 static void handle_delete_fxn(struct hash_entry *entry) in handle_delete_fxn() argument 145 drm_shim_bo_put(entry->data); in handle_delete_fxn() 150 struct hash_entry *entry = in drm_shim_fd_unregister() local 152 if (!entry) in drm_shim_fd_unregister() 154 struct shim_fd *shim_fd = entry->data; in drm_shim_fd_unregister() 155 _mesa_hash_table_remove(shim_device.fd_map, entry); in drm_shim_fd_unregister() 170 struct hash_entry *entry = in drm_shim_fd_lookup() local 173 if (!entry) in drm_shim_fd_lookup() 175 return entry->data; in drm_shim_fd_lookup() 244 struct hash_entry *entry in drm_shim_ioctl_gem_close() local 346 struct hash_entry *entry = drm_shim_bo_lookup() local [all...] |