/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnProgramBuilder.cpp | 282 wgpu::BindGroupLayoutEntry entry; in Build() local 283 entry.binding = GrSPIRVUniformHandler::kUniformBinding; in Build() 284 entry.visibility = wgpu::ShaderStage::Vertex | wgpu::ShaderStage::Fragment; in Build() 285 entry.buffer.type = wgpu::BufferBindingType::Uniform; in Build() 286 uniformLayoutEntries.push_back(std::move(entry)); in Build() 299 wgpu::BindGroupLayoutEntry entry; in Build() local 300 entry.binding = binding++; in Build() 301 entry.visibility = wgpu::ShaderStage::Fragment; in Build() 302 entry.sampler.type = wgpu::SamplerBindingType::Filtering; in Build() 303 textureLayoutEntries.push_back(std::move(entry)); in Build() 306 wgpu::BindGroupLayoutEntry entry; Build() local [all...] |
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
H A D | sfdriver.c | 490 TT_Name entry, in get_win_string() 504 if ( FT_QALLOC( result, entry->stringLength / 2 + 1 ) ) in get_win_string() 507 if ( FT_STREAM_SEEK( entry->stringOffset ) || in get_win_string() 508 FT_FRAME_ENTER( entry->stringLength ) ) in get_win_string() 514 for ( len = entry->stringLength / 2; len > 0; len--, p += 2 ) in get_win_string() 538 entry->stringLength = 0; in get_win_string() 539 entry->stringOffset = 0; in get_win_string() 540 FT_FREE( entry->string ); in get_win_string() 549 TT_Name entry, in get_apple_string() 563 if ( FT_QALLOC( result, entry in get_apple_string() 488 get_win_string( FT_Memory memory, FT_Stream stream, TT_Name entry, char_type_func char_type, FT_Bool report_invalid_characters ) get_win_string() argument 547 get_apple_string( FT_Memory memory, FT_Stream stream, TT_Name entry, char_type_func char_type, FT_Bool report_invalid_characters ) get_apple_string() argument [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | copy_prop_arrays.cpp | 158 access_ids.begin(), [](const AccessChainEntry& entry) { in BuildNewAccessChain() 159 assert(entry.is_result_id && "Constants needs to be built first."); in BuildNewAccessChain() 160 return entry.result_id; in BuildNewAccessChain() 455 const AccessChainEntry& entry, uint32_t value) const { 456 if (!entry.is_result_id) { 457 return entry.immediate == value; 462 const_mgr->FindDeclaredConstant(entry.result_id); 836 [&const_mgr](const AccessChainEntry& entry) { 837 if (entry.is_result_id) { 839 const_mgr->FindDeclaredConstant(entry [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_drawpixels.c | 505 struct drawpix_cache_entry *entry = &st->drawpix_cache.entries[i]; in search_drawpixels_cache() local 507 if (width == entry->width && in search_drawpixels_cache() 508 height == entry->height && in search_drawpixels_cache() 509 format == entry->format && in search_drawpixels_cache() 510 type == entry->type && in search_drawpixels_cache() 511 pixels == entry->user_pointer && in search_drawpixels_cache() 512 entry->image) { in search_drawpixels_cache() 513 assert(entry->texture); in search_drawpixels_cache() 516 if (memcmp(pixels, entry->image, width * height * bpp) == 0) { in search_drawpixels_cache() 518 pipe_resource_reference(&pt, entry in search_drawpixels_cache() 550 const struct drawpix_cache_entry *entry = &st->drawpix_cache.entries[i]; find_oldest_drawpixels_cache_entry() local 578 struct drawpix_cache_entry *entry = cache_drawpixels_image() local 1948 struct drawpix_cache_entry *entry = &st->drawpix_cache.entries[i]; st_destroy_drawpix() local [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | compile-i386.c | 996 struct expression *entry, **list; in sort_array() local 1003 list = malloc(sizeof(entry) * elem); in sort_array() 1013 FOR_EACH_PTR(expr->expr_list, entry) { in sort_array() 1014 if ((entry->type == EXPR_POS) || (entry->type == EXPR_VALUE)) { in sort_array() 1015 /* add entry to list[], in sorted order */ in sort_array() 1017 list[0] = entry; in sort_array() 1021 if (sort_array_cmp(entry, list[i]) <= 0) in sort_array() 1033 (sorted - i) * sizeof(entry)); in sort_array() 1034 list[i] = entry; in sort_array() 1053 struct expression *entry; emit_array() local 2290 struct expression *entry; x86_initializer_expr() local [all...] |
/device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core/src/node/ |
H A D | rk_codec_node.cpp | 115 camera_metadata_item_t entry; in ConfigJpegOrientation() local 116 int ret = FindCameraMetadataItem(data, OHOS_JPEG_ORIENTATION, &entry); in ConfigJpegOrientation() 117 if (ret != 0 || entry.data.i32 == nullptr) { in ConfigJpegOrientation() 123 int32_t ohosRotation = *entry.data.i32; in ConfigJpegOrientation() 139 camera_metadata_item_t entry; in ConfigJpegQuality() local 140 int ret = FindCameraMetadataItem(data, OHOS_JPEG_QUALITY, &entry); in ConfigJpegQuality() 150 CAMERA_LOGI("OHOS_JPEG_QUALITY is = %{public}d", static_cast<int>(entry.data.u8[0])); in ConfigJpegQuality() 151 if (*entry.data.i32 == OHOS_CAMERA_JPEG_LEVEL_LOW) { in ConfigJpegQuality() 153 } else if (*entry.data.i32 == OHOS_CAMERA_JPEG_LEVEL_MIDDLE) { in ConfigJpegQuality() 155 } else if (*entry in ConfigJpegQuality() [all...] |
/device/board/hihope/rk3568/camera/vdi_impl/v4l2/pipeline_core/src/node/ |
H A D | rk_codec_node.cpp | 116 camera_metadata_item_t entry; in ConfigJpegOrientation() local 117 int ret = FindCameraMetadataItem(data, OHOS_JPEG_ORIENTATION, &entry); in ConfigJpegOrientation() 118 if (ret != 0 || entry.data.i32 == nullptr) { in ConfigJpegOrientation() 124 int32_t ohosRotation = *entry.data.i32; in ConfigJpegOrientation() 140 camera_metadata_item_t entry; in ConfigJpegQuality() local 141 int ret = FindCameraMetadataItem(data, OHOS_JPEG_QUALITY, &entry); in ConfigJpegQuality() 151 CAMERA_LOGI("OHOS_JPEG_QUALITY is = %{public}d", static_cast<int>(entry.data.u8[0])); in ConfigJpegQuality() 152 if (*entry.data.i32 == OHOS_CAMERA_JPEG_LEVEL_LOW) { in ConfigJpegQuality() 154 } else if (*entry.data.i32 == OHOS_CAMERA_JPEG_LEVEL_MIDDLE) { in ConfigJpegQuality() 156 } else if (*entry in ConfigJpegQuality() [all...] |
/third_party/rust/crates/cxx/gen/build/src/ |
H A D | lib.rs | 330 match header_dirs_index.entry(dir.path.clone()) { in make_this_crate() 331 Entry::Vacant(entry) => { in make_this_crate() 332 entry.insert(this_crate.header_dirs.len()); in make_this_crate() 338 Entry::Occupied(entry) => { in make_this_crate() 339 let index = *entry.get(); in make_this_crate() 441 while let Some(Ok(entry)) = entries.next() { in best_effort_copy_headers() 442 let file_name = entry.file_name(); in best_effort_copy_headers() 446 match entry.file_type() { in best_effort_copy_headers() 448 let src = entry.path(); in best_effort_copy_headers() 456 let src = entry in best_effort_copy_headers() [all...] |
/third_party/selinux/libsepol/src/ |
H A D | optimize.c | 199 static int is_avrule_redundant(avtab_ptr_t entry, avtab_t *tab, in is_avrule_redundant() argument 209 if (!(entry->key.specified & (AVTAB_AV|AVTAB_XPERMS))) in is_avrule_redundant() 212 s_idx = entry->key.source_type - 1; in is_avrule_redundant() 213 t_idx = entry->key.target_type - 1; in is_avrule_redundant() 215 key.target_class = entry->key.target_class; in is_avrule_redundant() 216 key.specified = entry->key.specified; in is_avrule_redundant() 218 d1 = &entry->datum; in is_avrule_redundant() 248 static int is_avrule_with_attr(avtab_ptr_t entry, policydb_t *p) in is_avrule_with_attr() argument 250 unsigned int s_idx = entry->key.source_type - 1; in is_avrule_with_attr() 251 unsigned int t_idx = entry in is_avrule_with_attr() [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | playlog.c | 164 void freeclusterentry(struct STORE *entry) in freeclusterentry() argument 166 if (!entry) { in freeclusterentry() 173 (long long)entry->lcn, in freeclusterentry() 175 if (entry->upper) in freeclusterentry() 176 freeclusterentry(entry->upper); in freeclusterentry() 177 if (entry->lower) in freeclusterentry() 178 freeclusterentry(entry->lower); in freeclusterentry() 179 free(entry); in freeclusterentry() 729 static int resize_attribute(MFT_RECORD *entry, ATTR_RECORD *attr, INDEX_ROOT *index, in resize_attribute() argument 746 if (entry) { in resize_attribute() 770 adjust_instance(const ATTR_RECORD *attr, MFT_RECORD *entry, int increment) adjust_instance() argument 1019 MFT_RECORD *entry; add_resident() local 1100 MFT_RECORD *entry; expand_resident() local 1183 MFT_RECORD *entry; insert_resident() local 1265 MFT_RECORD *entry; remove_resident() local 1350 MFT_RECORD *entry; delete_resident() local 1409 MFT_RECORD *entry; shrink_resident() local 1929 MFT_RECORD *entry; redo_add_root_index() local 2220 MFT_RECORD *entry; redo_delete_root_index() local 2475 MFT_RECORD *entry; redo_update_mapping() local 3000 MFT_RECORD *entry; undo_add_root_index() local 3174 MFT_RECORD *entry; undo_delete_root_index() local 3479 MFT_RECORD *entry; undo_sizes() local 3614 MFT_RECORD *entry; undo_update_mapping() local 4284 MFT_RECORD *entry; play_one_redo() local 4675 MFT_RECORD *entry; play_one_undo() local [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_autotune.c | 20 * - For each renderpass we create tu_renderpass_result entry which 23 * tu_renderpass_history entry which aggregate results for a 185 struct hash_entry *entry = in get_history() local 187 if (entry) { in get_history() 188 struct tu_renderpass_history *history = entry->data; in get_history() 312 struct hash_entry *entry = in tu_autotune_on_submit() local 314 if (!entry) { in tu_autotune_on_submit() 323 history = (struct tu_renderpass_history *) entry->data; in tu_autotune_on_submit() 356 hash_table_foreach(at->ht, entry) { in tu_autotune_on_submit() 357 struct tu_renderpass_history *history = entry in tu_autotune_on_submit() [all...] |
/third_party/mesa3d/src/freedreno/drm/msm/ |
H A D | msm_ringbuffer.c | 141 struct hash_entry *entry; in append_bo() local 143 entry = _mesa_hash_table_search_pre_hashed(submit->bo_table, hash, bo); in append_bo() 144 if (entry) { in append_bo() 146 idx = (uint32_t)(uintptr_t)entry->data; in append_bo() 286 set_foreach (msm_submit->ring_set, entry) { in msm_submit_flush() 287 struct fd_ringbuffer *ring = (void *)entry->key; in msm_submit_flush() 302 set_foreach (msm_submit->ring_set, entry) { in msm_submit_flush() 303 struct fd_ringbuffer *ring = (void *)entry->key; in msm_submit_flush() 385 unref_rings(struct set_entry *entry) in unref_rings() argument 387 struct fd_ringbuffer *ring = (void *)entry in unref_rings() [all...] |
/third_party/mesa3d/src/util/ |
H A D | disk_cache_os.c | 209 if (dir_ent->d_type == DT_REG) { /* If the entry is a regular file */ in choose_lru_file_matching() 232 struct lru_file *entry = NULL; in choose_lru_file_matching() local 234 entry = list_first_entry(lru_file_list, struct lru_file, node); in choose_lru_file_matching() 236 if (!entry|| sb.st_atime < entry->lru_atime) { in choose_lru_file_matching() 243 entry = calloc(1, sizeof(struct lru_file)); in choose_lru_file_matching() 248 char *tmp = realloc(entry->lru_name, len + 1); in choose_lru_file_matching() 258 if (sb.st_atime < entry->lru_atime) { in choose_lru_file_matching() 265 list_addtail(&entry->node, list_node); in choose_lru_file_matching() 273 entry in choose_lru_file_matching() [all...] |
/third_party/node/deps/v8/src/heap/base/ |
H A D | worklist.h | 212 void Push(EntryType entry); 213 void Pop(EntryType* entry); 242 void Worklist<EntryType, SegmentSize>::Segment::Push(EntryType entry) { in Push() argument 244 entries_[index_++] = entry; in Push() 248 void Worklist<EntryType, SegmentSize>::Segment::Pop(EntryType* entry) { in Pop() argument 250 *entry = entries_[--index_]; in Pop() 292 void Push(EntryType entry); 293 bool Pop(EntryType* entry); 391 void Worklist<EntryType, SegmentSize>::Local::Push(EntryType entry) { in Push() argument 395 push_segment()->Push(entry); in Push() 399 Pop(EntryType* entry) Pop() argument [all...] |
/third_party/spirv-tools/source/ |
H A D | binary.cpp | 119 // new entry on to the operands vector. Otherwise returns an error code and 682 spv_operand_desc entry; 683 if (grammar_.lookupOperand(type, word, &entry)) { 689 spvPushOperandTypes(entry->operandTypes, expected_operands); 693 spv_operand_desc entry; 694 if (grammar_.lookupOperand(type, word, &entry)) { 704 spvPushOperandTypes(entry->operandTypes, expected_operands); 737 spv_operand_desc entry; 738 if (grammar_.lookupOperand(type, mask, &entry)) { 745 spvPushOperandTypes(entry [all...] |
/third_party/python/Modules/ |
H A D | readline.c | 582 /* _py_free_history_entry: Utility function to free a history entry. */ 586 /* Readline version >= 5.0 introduced a timestamp field into the history entry 592 _py_free_history_entry(HIST_ENTRY *entry) in _py_free_history_entry() argument 594 histdata_t data = free_history_entry(entry); in _py_free_history_entry() 603 _py_free_history_entry(HIST_ENTRY *entry) in _py_free_history_entry() argument 605 if (entry->line) in _py_free_history_entry() 606 free((void *)entry->line); in _py_free_history_entry() 607 if (entry->data) in _py_free_history_entry() 608 free(entry->data); in _py_free_history_entry() 609 free(entry); in _py_free_history_entry() 627 HIST_ENTRY *entry; readline_remove_history_item_impl() local [all...] |
/test/xts/acts/distributeddatamgr/kvStoretest/kvStorejstest/hap/entry/src/ohosTest/js/test/ |
H A D | SingleKvStoreCallbackJsunit.test.js | 45 var entry = { 52 entries.push(entry); 979 var entry = { 986 entries.push(entry); 1019 var entry = { 1026 entries.push(entry); 1059 var entry = { 1066 entries.push(entry); 1099 var entry = { 1106 entries.push(entry); [all...] |
H A D | DeviceKvStoreCallbackJsunit.test.js | 46 var entry = { 53 entries.push(entry); 1020 var entry = { 1027 entries.push(entry); 1060 var entry = { 1067 entries.push(entry); 1100 var entry = { 1107 entries.push(entry); 1140 var entry = { 1147 entries.push(entry); [all...] |
/third_party/mesa3d/src/compiler/glsl/glcpp/ |
H A D | glcpp-parse.y | 301 struct hash_entry *entry; 347 entry = _mesa_hash_table_search (parser->defines, $3); 348 if (entry) { 349 _mesa_hash_table_remove (parser->defines, entry); 458 struct hash_entry *entry = 460 macro_t *macro = entry ? entry->data : NULL; 464 struct hash_entry *entry = 466 macro_t *macro = entry ? entry [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | libkvazaar.c | 106 AVDictionaryEntry *entry = NULL; in libkvazaar_init() local 107 while ((entry = av_dict_get(dict, "", entry, AV_DICT_IGNORE_SUFFIX))) { in libkvazaar_init() 108 if (!api->config_parse(cfg, entry->key, entry->value)) { in libkvazaar_init() 110 entry->key, entry->value); in libkvazaar_init()
|
H A D | dnxhddata.c | 1090 const CIDEntry *entry = ff_dnxhd_get_cid_table(cid); in ff_dnxhd_get_frame_size() local 1091 if (!entry) in ff_dnxhd_get_frame_size() 1093 return entry->frame_size; in ff_dnxhd_get_frame_size() 1098 const CIDEntry *entry = ff_dnxhd_get_cid_table(cid); in ff_dnxhd_get_hr_frame_size() local 1101 if (!entry) in ff_dnxhd_get_hr_frame_size() 1104 result = ((h + 15) / 16) * ((w + 15) / 16) * (int64_t)entry->packet_scale.num / entry->packet_scale.den; in ff_dnxhd_get_hr_frame_size()
|
/third_party/libuv/src/win/ |
H A D | thread.c | 91 void (*entry)(void* arg); member 108 ctx.entry(ctx.arg); in uv__thread_start() 114 int uv_thread_create(uv_thread_t *tid, void (*entry)(void *arg), void *arg) { in uv_thread_create() 117 return uv_thread_create_ex(tid, ¶ms, entry, arg); in uv_thread_create() 122 void (*entry)(void *arg), in uv_thread_create_ex() 148 ctx->entry = entry; in uv_thread_create_ex()
|
/third_party/libexif/contrib/c++/ |
H A D | exif.hxx | 24 #include <libexif/exif-entry.h> 59 // construct an empty entry, FIXME: is this needed in the public API? 64 // construct an entry for the given tag 79 Entry(ExifEntry *entry) in Entry() 80 : entry_(entry) in Entry() 412 "Exif::Content: numeric entry index out of range"); in operator []() 423 void add(Entry &entry) in add() 425 exif_content_add_entry(content_, entry.entry_); in add() 428 void remove(Entry &entry) in remove() 430 exif_content_remove_entry(content_, entry in remove() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | graph-reducer.cc | 149 NodeState& entry = stack_.top(); in ReduceTop() local 150 Node* node = entry.node; in ReduceTop() 158 int start = entry.input_index < node_inputs.count() ? entry.input_index : 0; in ReduceTop() 162 entry.input_index = i + 1; in ReduceTop() 169 entry.input_index = i + 1; in ReduceTop() 196 entry.input_index = i + 1; in ReduceTop()
|
/third_party/node/deps/v8/src/base/ |
H A D | threaded-list.h | 156 Iterator& operator=(T* entry) { in operator =() argument 158 *TLTraits::next(entry) = next; in operator =() 159 *entry_ = entry; in operator =() 175 explicit Iterator(T** entry) : entry_(entry) {} in Iterator() argument 208 explicit ConstIterator(T* const* entry) : entry_(entry) {} in ConstIterator() argument
|