/third_party/mesa3d/src/intel/common/ |
H A D | intel_measure.c | 425 const uint64_t prev_end_ts = rb->results[rb->head].end_ts; in intel_measure_push_result() 428 if (++rb->head == config.buffer_size) in intel_measure_push_result() 429 rb->head = 0; in intel_measure_push_result() 430 if (rb->head == rb->tail) { in intel_measure_push_result() 444 &rb->results[rb->head]; in intel_measure_push_result() 463 unsigned head = rb->head; in ringbuffer_size() local 464 if (head < rb->tail) in ringbuffer_size() 465 head += config.buffer_size; in ringbuffer_size() 466 return head in ringbuffer_size() [all...] |
/third_party/node/deps/npm/node_modules/lru-cache/dist/commonjs/ |
H A D | index.js | 216 #head; 246 get head() { 247 return c.#head; 337 this.#head = 0; 554 if (i === this.#head) { 565 for (let i = this.#head; true;) { 939 const val = this.#valList[this.#head]; 962 const head = this.#head; 963 const k = this.#keyList[head]; [all...] |
/third_party/node/deps/npm/node_modules/lru-cache/dist/esm/ |
H A D | index.js | 213 #head; 243 get head() { 244 return c.#head; 334 this.#head = 0; 551 if (i === this.#head) { 562 for (let i = this.#head; true;) { 936 const val = this.#valList[this.#head]; 959 const head = this.#head; 960 const k = this.#keyList[head]; [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/ |
H A D | hcc_host.c | 332 hi_s32 hcc_host_proc_rx_queue_impl(oal_netbuf_head_stru *head, void *handler, int32_t type) argument 343 netbuf_head = head; 458 static hi_void hcc_restore_assemble_netbuf_list(hcc_handler_stru *hcc_handler, oal_netbuf_head_stru *head) argument 471 oal_netbuf_splice_sync(head, assembled_head); 475 static hi_s32 hcc_send_assemble_reset(hcc_handler_stru *hcc_handler, oal_netbuf_head_stru *head) argument 484 hcc_restore_assemble_netbuf_list(hcc_handler, head); 545 oal_io_print1("alloc head room failed,expand tail len=%d\n", tail_room_len); 555 oal_netbuf_head_stru *head, oal_netbuf_head_stru *next_assembled_head, const oal_netbuf_stru *descr_netbuf, 568 queue_len = oal_netbuf_list_len(head); 584 /* move the netbuf from head queu 554 hcc_build_next_assem_descr(hcc_handler_stru *hcc_handler, hcc_queue_type_enum type, oal_netbuf_head_stru *head, oal_netbuf_head_stru *next_assembled_head, const oal_netbuf_stru *descr_netbuf, hi_u32 remain_len) global() argument 671 hcc_send_data_packet(hcc_handler_stru *hcc_handler, oal_netbuf_head_stru *head, hcc_queue_type_enum type, oal_netbuf_head_stru *next_assembled_head, hcc_send_mode mode, hi_u32 *remain_len) global() argument 834 oal_netbuf_head_stru *head = HI_NULL; global() local 857 hcc_config_frame(oal_netbuf_head_stru *head) global() argument 882 oal_netbuf_head_stru *head = HI_NULL; global() local 1930 oal_netbuf_head_stru *head = HI_NULL; global() local [all...] |
/third_party/skia/third_party/externals/freetype/src/sdf/ |
H A D | ftsdf.c | 948 SDF_Edge* head = NULL; in get_contour_orientation() local 956 head = contour->edges; in get_contour_orientation() 959 while ( head ) in get_contour_orientation() 961 switch ( head->edge_type ) in get_contour_orientation() 964 area += MUL_26D6( ( head->end_pos.x - head->start_pos.x ), in get_contour_orientation() 965 ( head->end_pos.y + head->start_pos.y ) ); in get_contour_orientation() 969 area += MUL_26D6( head->control_a.x - head in get_contour_orientation() 3506 SDF_Contour* head; /* head of the contour list */ sdf_generate_with_overlaps() local [all...] |
/third_party/libwebsockets/lib/system/smd/ |
H A D | smd.c | 89 smd->owner_messages.head) { in lws_smd_dump() 101 lws_start_foreach_dll(struct lws_dll2 *, p, smd->owner_peers.head) { in lws_smd_dump() 127 lws_start_foreach_dll(struct lws_dll2 *, p, ctx->smd.owner_peers.head) { in _lws_smd_msg_assess_peers_interested() 147 smd->owner_peers.head) { in _lws_smd_class_mask_union() 170 smd->owner_peers.head) { in _lws_smd_msg_destroy() 240 lws_start_foreach_dll(struct lws_dll2 *, p, ctx->smd.owner_peers.head) { in _lws_smd_msg_send() 589 ctx->smd.owner_peers.head) { in lws_smd_msg_distribute() 647 ctx->smd.owner_messages.head) { in lws_smd_register() 707 ctx->smd.owner_messages.head) { in lws_smd_message_pending() 723 ctx->smd.owner_peers.head) { in lws_smd_message_pending() [all...] |
/third_party/musl/porting/liteos_a/kernel/src/stdio/ |
H A D | fclose.c | 26 FILE **head = __ofl_lock(); in fclose() 29 if (*head == f) *head = f->next; in fclose()
|
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
H A D | structures.h | 1052 * Insert an element at the head of a DLL. Assumes that head, tail and 1055 * @param head pointer to the head of the DLL (struct ? *) 1059 #define DLL_insert(head,tail,element) do { \ 1060 (element)->next = (head); \ 1065 (head)->prev = element; \ 1066 (head) = (element); } while (0) 1071 * that head, tail and element are structs 1074 * @param head pointe [all...] |
/test/xts/device_attest/services/devattest_ability/src/ |
H A D | devattest_service.cpp | 150 int32_t *head = resultArray; in CopyAttestResult() local 151 attestResultInfo.authResult_ = *head; in CopyAttestResult() 152 head++; in CopyAttestResult() 153 attestResultInfo.softwareResult_ = *head; in CopyAttestResult() 155 attestResultInfo.softwareResultDetail_[i] = *(++head); in CopyAttestResult()
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | nativetypes.py | 18 head = list(islice(nodes, 2)) 20 if not head: 23 if len(head) == 1: 24 out = head[0] 26 out = u''.join([text_type(v) for v in chain(head, nodes)])
|
/third_party/lz4/tests/ |
H A D | test-lz4-abi.py | 24 head = 'v999' variable 79 tags = [head] + get_git_tags() 95 # if not os.path.isfile(dst_liblz4) or tag == head: 96 if tag != head: 131 if tag == head: 149 if tag != head: 161 print('run with CURRENT library version (head)')
|
/test/xts/device_attest_lite/services/core/network/ |
H A D | attest_network.c | 145 ListNode* head = optionList->head; in BuildCoapMsg() local 147 while ((head != NULL) && (index < COAP_MAX_OPTION)) { in BuildCoapMsg() 148 Option* option = (Option*)head->data; in BuildCoapMsg() 152 head = head->next; in BuildCoapMsg() 215 ListNode* head = g_attestNetworkList.head; in ConnectNetWork() local 218 while (head != NULL && currentIndex < MAX_NETWORK_CFG_LIST_SIZE) { in ConnectNetWork() 220 ServerInfo* networkInfo = (ServerInfo*)head in ConnectNetWork() 668 ListNode* head = uriList.head; BuildUriOption() local [all...] |
/third_party/nghttp2/lib/ |
H A D | nghttp2_frame.c | 311 buf = &bufs->head->buf; in frame_pack_headers_shared() 321 if (bufs->head != bufs->cur) { in frame_pack_headers_shared() 328 if (bufs->head != bufs->cur) { in frame_pack_headers_shared() 336 for (ci = bufs->head->next; ci != ce; ci = ci->next) { in frame_pack_headers_shared() 367 assert(bufs->head == bufs->cur); in nghttp2_frame_pack_headers() 436 assert(bufs->head == bufs->cur); in nghttp2_frame_pack_priority() 438 buf = &bufs->head->buf; in nghttp2_frame_pack_priority() 460 assert(bufs->head == bufs->cur); in nghttp2_frame_pack_rst_stream() 462 buf = &bufs->head->buf; in nghttp2_frame_pack_rst_stream() 482 assert(bufs->head in nghttp2_frame_pack_settings() [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_frame.c | 311 buf = &bufs->head->buf; in frame_pack_headers_shared() 321 if (bufs->head != bufs->cur) { in frame_pack_headers_shared() 328 if (bufs->head != bufs->cur) { in frame_pack_headers_shared() 336 for (ci = bufs->head->next; ci != ce; ci = ci->next) { in frame_pack_headers_shared() 367 assert(bufs->head == bufs->cur); in nghttp2_frame_pack_headers() 436 assert(bufs->head == bufs->cur); in nghttp2_frame_pack_priority() 438 buf = &bufs->head->buf; in nghttp2_frame_pack_priority() 460 assert(bufs->head == bufs->cur); in nghttp2_frame_pack_rst_stream() 462 buf = &bufs->head->buf; in nghttp2_frame_pack_rst_stream() 482 assert(bufs->head in nghttp2_frame_pack_settings() [all...] |
/third_party/alsa-utils/alsactl/ |
H A D | init_parse.c | 1008 char *head, *tail, *pos, *cpos, *attr, *rest; in apply_format() local 1040 head = string; in apply_format() 1043 while (head[0] != '\0') { in apply_format() 1044 if (head[0] == '$') { in apply_format() 1046 if (head[1] == '\0') in apply_format() 1048 if (head[1] == '$') { in apply_format() 1049 strlcpy(temp, head+2, sizeof(temp)); in apply_format() 1050 strlcpy(head+1, temp, maxsize); in apply_format() 1051 head++; in apply_format() 1054 head[ in apply_format() [all...] |
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_bufmgr.c | 151 struct list_head head; member 274 if (list_is_linked(&bo->head)) in find_and_ref_external_bo() 275 list_del(&bo->head); in find_and_ref_external_bo() 750 list_addtail(&bo->slab.entry.head, &slab->base.free); in iris_slab_alloc() 881 list_for_each_entry_safe(struct iris_bo, cur, &bucket->head, head) { in alloc_bo_from_cache() 901 list_del(&cur->head); in alloc_bo_from_cache() 1381 list_addtail(&bo->head, &bufmgr->zombie_list); in bo_free() 1399 list_for_each_entry_safe(struct iris_bo, bo, &bucket->head, head) { in cleanup_bo_cache() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/ |
H A D | burn_file.c | 22 hi_upg_common_head head = { 0 }; in loaderboot_get_section_head() local 28 ret = hi_flash_read(addr, sizeof(hi_upg_common_head), (hi_u8 *)(&head)); in loaderboot_get_section_head() 30 boot_msg1("[bootupg get section head]flash read ret:", ret); in loaderboot_get_section_head() 33 ret = hi_flash_read(addr + head.section_offset, sizeof(hi_upg_section_head), (hi_u8 *)section_head); in loaderboot_get_section_head() 35 boot_msg1("[bootupg get section head]flash read ret:", ret); in loaderboot_get_section_head()
|
/third_party/node/deps/v8/third_party/zlib/contrib/optimizations/ |
H A D | slide_hash_neon.h | 44 inline static void ZLIB_INTERNAL neon_slide_hash(Posf *head, Posf *prev, in neon_slide_hash() argument 55 const size_t size = hash_size * sizeof(head[0]); in neon_slide_hash() 59 neon_slide_hash_update(head, hash_size, w_size); in neon_slide_hash()
|
/third_party/node/deps/zlib/contrib/optimizations/ |
H A D | insert_string.h | 44 * Insert string str in the dictionary and set match_head to the previous head 71 ret = s->head[s->ins_h]; in insert_string() 73 ret = s->prev[str & s->w_mask] = s->head[s->ins_h]; in insert_string() 75 s->head[s->ins_h] = str; in insert_string()
|
/third_party/musl/porting/uniproton/kernel/src/stdio/ |
H A D | fclose.c | 26 FILE **head = __ofl_lock();
in __fclose() 29 if (*head == f) *head = f->next;
in __fclose()
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
H A D | fclose.c | 26 FILE **head = __ofl_lock();
in __fclose() 29 if (*head == f) *head = f->next;
in __fclose()
|
/third_party/skia/third_party/externals/zlib/contrib/optimizations/ |
H A D | slide_hash_neon.h | 44 inline static void ZLIB_INTERNAL neon_slide_hash(Posf *head, Posf *prev, in neon_slide_hash() argument 55 const size_t size = hash_size * sizeof(head[0]); in neon_slide_hash() 59 neon_slide_hash_update(head, hash_size, w_size); in neon_slide_hash()
|
/third_party/node/lib/internal/ |
H A D | timers.js | 269 this.head = null; 280 this.head = item; 286 // items and the linked list's head or tail pointers as necessary 296 if (item === this.head) 297 this.head = item._idleNext; 432 const queue = outstandingQueue.head !== null ? 434 let immediate = queue.head; 439 queue.head = queue.tail = null; 455 outstandingQueue.head = immediate = prevImmediate._idleNext; 485 outstandingQueue.head [all...] |
/third_party/skia/third_party/externals/freetype/src/gzip/ |
H A D | ftgzip.c | 213 FT_Byte head[4]; in ft_gzip_check_header() local 217 FT_STREAM_READ( head, 4 ) ) in ft_gzip_check_header() 220 /* head[0] && head[1] are the magic numbers; */ in ft_gzip_check_header() 221 /* head[2] is the method, and head[3] the flags */ in ft_gzip_check_header() 222 if ( head[0] != 0x1F || in ft_gzip_check_header() 223 head[1] != 0x8B || in ft_gzip_check_header() 224 head[2] != Z_DEFLATED || in ft_gzip_check_header() 225 (head[ in ft_gzip_check_header() [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_getaddrinfo.c | 108 ares__append_addrinfo_cname(struct ares_addrinfo_cname **head) in ares__append_addrinfo_cname() argument 111 struct ares_addrinfo_cname *last = *head; in ares__append_addrinfo_cname() 118 *head = tail; in ares__append_addrinfo_cname() 130 void ares__addrinfo_cat_cnames(struct ares_addrinfo_cname **head, in ares__addrinfo_cat_cnames() argument 133 struct ares_addrinfo_cname *last = *head; in ares__addrinfo_cat_cnames() 135 *head = tail; in ares__addrinfo_cat_cnames() 148 ares__append_addrinfo_node(struct ares_addrinfo_node **head) in ares__append_addrinfo_node() argument 151 struct ares_addrinfo_node *last = *head; in ares__append_addrinfo_node() 158 *head = tail; in ares__append_addrinfo_node() 170 void ares__addrinfo_cat_nodes(struct ares_addrinfo_node **head, in ares__addrinfo_cat_nodes() argument [all...] |