/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | zip_output_unittest.sh | 12 # notice, this list of conditions and the following disclaimer. 14 # copyright notice, this list of conditions and the following disclaimer 63 $UNZIP -t $TEST_TMPDIR/testzip.zip > $TEST_TMPDIR/testzip.list \ 66 grep 'testing: testzip\.pb\.cc *OK$' $TEST_TMPDIR/testzip.list > /dev/null \ 68 grep 'testing: testzip\.pb\.h *OK$' $TEST_TMPDIR/testzip.list > /dev/null \ 70 grep 'testing: testzip_pb2\.py *OK$' $TEST_TMPDIR/testzip.list > /dev/null \ 72 grep -i 'manifest' $TEST_TMPDIR/testzip.list > /dev/null \ 80 $JAR tf $TEST_TMPDIR/testzip.jar > $TEST_TMPDIR/testzip.list \ 88 grep '^test/jar/Foo\.java$' $TEST_TMPDIR/testzip.list > /dev/null \ 90 grep '^test/jar/Bar\.java$' $TEST_TMPDIR/testzip.list > /de [all...] |
/third_party/selinux/libselinux/src/ |
H A D | is_customizable_type.c | 20 char **list = NULL; in customizable_init() local 36 list = in customizable_init() 39 if (list) { in customizable_init() 44 list[i] = strdup(buf); in customizable_init() 45 if (!list[i]) { in customizable_init() 48 free(list[j]); in customizable_init() 49 free(list); in customizable_init() 50 list = NULL; in customizable_init() 59 if (!list) in customizable_init() 61 customizable_list = list; in customizable_init() [all...] |
/kernel/linux/linux-5.10/security/selinux/ |
H A D | netnode.c | 23 #include <linux/list.h> 41 struct list_head list; member 47 struct list_head list; member 121 list_for_each_entry_rcu(node, &sel_netnode_hash[idx].list, list) in sel_netnode_find() 164 list_add_rcu(&node->list, &sel_netnode_hash[idx].list); in sel_netnode_insert() 168 rcu_dereference_protected(sel_netnode_hash[idx].list.prev, in sel_netnode_insert() 170 struct sel_netnode, list); in sel_netnode_insert() 171 list_del_rcu(&tail->list); in sel_netnode_insert() [all...] |
H A D | netport.c | 22 #include <linux/list.h> 40 struct list_head list; member 46 struct list_head list; member 90 list_for_each_entry_rcu(port, &sel_netport_hash[idx].list, list) in sel_netport_find() 112 list_add_rcu(&port->list, &sel_netport_hash[idx].list); in sel_netport_insert() 117 sel_netport_hash[idx].list.prev, in sel_netport_insert() 119 struct sel_netport, list); in sel_netport_insert() 120 list_del_rcu(&tail->list); in sel_netport_insert() [all...] |
/kernel/linux/linux-6.6/security/selinux/ |
H A D | netnode.c | 23 #include <linux/list.h> 41 struct list_head list; member 47 struct list_head list; member 120 list_for_each_entry_rcu(node, &sel_netnode_hash[idx].list, list) in sel_netnode_find() 163 list_add_rcu(&node->list, &sel_netnode_hash[idx].list); in sel_netnode_insert() 168 list_tail_rcu(&sel_netnode_hash[idx].list), in sel_netnode_insert() 170 struct sel_netnode, list); in sel_netnode_insert() 171 list_del_rcu(&tail->list); in sel_netnode_insert() [all...] |
H A D | netport.c | 22 #include <linux/list.h> 40 struct list_head list; member 46 struct list_head list; member 89 list_for_each_entry_rcu(port, &sel_netport_hash[idx].list, list) in sel_netport_find() 111 list_add_rcu(&port->list, &sel_netport_hash[idx].list); in sel_netport_insert() 116 list_tail_rcu(&sel_netport_hash[idx].list), in sel_netport_insert() 118 struct sel_netport, list); in sel_netport_insert() 119 list_del_rcu(&tail->list); in sel_netport_insert() [all...] |
/third_party/skia/third_party/externals/tint/tools/src/list/ |
H A D | list.go | 15 // Package list provides utilities for handling lists of dynamically-typed elements 16 package list 23 // List is an interface to a list of dynamically-typed elements 25 // Count returns the number if items in the list 34 // Append adds a single item, list, or slice of items to this List 40 // CopyFrom copies the elements [src..src+count) from the list l to the 41 // elements [dst..dst+count) in this list 44 // Reduces the size of the list to count elements 47 // ElementType returns the type of the elements of the list 57 return list{pt 73 type list struct{ v reflect.Value } global() type [all...] |
/third_party/curl/tests/libtest/ |
H A D | lib1964.c | 33 struct curl_slist *list = NULL, *tmp; in test() local 49 list = curl_slist_append(list, "Content-Type: application/json"); in test() 50 tmp = curl_slist_append(list, "X-Xxx-Date: 19700101T000000Z"); in test() 51 if(!list || !tmp) { in test() 55 list = tmp; in test() 56 easy_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 63 curl_slist_free_all(list); in test()
|
/kernel/linux/linux-5.10/fs/notify/ |
H A D | notification.c | 24 #include <linux/list.h> 67 * from the list by a different CPU than the one freeing the event. in fsnotify_destroy_event() 69 if (!list_empty(&event->list)) { in fsnotify_destroy_event() 71 WARN_ON(!list_empty(&event->list)); in fsnotify_destroy_event() 90 struct list_head *list = &group->notification_list; in fsnotify_add_event() local 105 if (!list_empty(&group->overflow_event->list)) { in fsnotify_add_event() 113 if (!list_empty(list) && merge) { in fsnotify_add_event() 114 ret = merge(list, event); in fsnotify_add_event() 123 list_add_tail(&event->list, list); in fsnotify_add_event() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | list_sort.c | 8 #include <linux/list.h> 11 * Returns a list organized in an intermediate format suited 45 * Combine final list merge with restoration of standard doubly-linked 46 * list structure. This approach duplicates code from merge(), but 79 /* Finish linking remainder of list b on to tail */ in merge_final() 96 /* And the final links to make a circular doubly-linked list */ in merge_final() 102 * list_sort - sort a list 104 * @head: the list to sort 131 * merged to a size-2^(k+1) list as soon as we have 2^k following elements. 145 * size 2^k into one list o 187 struct list_head *list = head->next, *pending = NULL; list_sort() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | list_sort.c | 8 #include <linux/list.h> 11 * Returns a list organized in an intermediate format suited 45 * Combine final list merge with restoration of standard doubly-linked 46 * list structure. This approach duplicates code from merge(), but 79 /* Finish linking remainder of list b on to tail */ in merge_final() 96 /* And the final links to make a circular doubly-linked list */ in merge_final() 102 * list_sort - sort a list 104 * @head: the list to sort 131 * merged to a size-2^(k+1) list as soon as we have 2^k following elements. 145 * size 2^k into one list o 187 struct list_head *list = head->next, *pending = NULL; list_sort() local [all...] |
/kernel/linux/linux-6.6/tools/lib/ |
H A D | list_sort.c | 7 #include <linux/list.h> 10 * Returns a list organized in an intermediate format suited 44 * Combine final list merge with restoration of standard doubly-linked 45 * list structure. This approach duplicates code from merge(), but 78 /* Finish linking remainder of list b on to tail */ in merge_final() 95 /* And the final links to make a circular doubly-linked list */ in merge_final() 101 * list_sort - sort a list 103 * @head: the list to sort 130 * merged to a size-2^(k+1) list as soon as we have 2^k following elements. 144 * size 2^k into one list o 186 struct list_head *list = head->next, *pending = NULL; list_sort() local [all...] |
/third_party/gn/src/gn/ |
H A D | function_get_target_outputs_unittest.cc | 32 // Asserts that the given list contains a single string with the given value. 33 void AssertSingleStringEquals(const Value& list, in AssertSingleStringEquals() argument 35 ASSERT_TRUE(list.type() == Value::LIST); in AssertSingleStringEquals() 36 ASSERT_EQ(1u, list.list_value().size()); in AssertSingleStringEquals() 37 ASSERT_TRUE(list.list_value()[0].type() == Value::STRING); in AssertSingleStringEquals() 38 ASSERT_EQ(expected, list.list_value()[0].string_value()); in AssertSingleStringEquals() 41 void AssertTwoStringsEqual(const Value& list, in AssertTwoStringsEqual() argument 44 ASSERT_TRUE(list.type() == Value::LIST); in AssertTwoStringsEqual() 45 ASSERT_EQ(2u, list.list_value().size()); in AssertTwoStringsEqual() 46 ASSERT_TRUE(list in AssertTwoStringsEqual() [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
H A D | regalloc.c | 83 list_for_each_entry(ppir_block, block, &comp->block_list, list) { in ppir_regalloc_update_reglist_ssa() 84 list_for_each_entry(ppir_node, node, &block->node_list, list) { in ppir_regalloc_update_reglist_ssa() 96 list_addtail(®->list, &comp->reg_list); in ppir_regalloc_update_reglist_ssa() 107 list_for_each_entry(ppir_block, block, &comp->block_list, list) { in ppir_regalloc_print_result() 108 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_regalloc_print_result() 152 list_del(&newinstr->list); in create_new_instr_after() 153 list_add(&newinstr->list, &ref->list); in create_new_instr_after() 158 list_for_each_entry_from(ppir_instr, instr, ref, &block->instr_list, list) { in create_new_instr_after() 173 list_del(&newinstr->list); in create_new_instr_before() [all...] |
/foundation/communication/dsoftbus/core/bus_center/ipc/small/src/ |
H A D | lnn_bus_center_ipc.c | 81 SoftBusList *list = g_lnnRequestInfo.joinLNNRequestInfo; in FindJoinLNNRequest() local 83 if (list == NULL) { in FindJoinLNNRequest() 84 LNN_LOGE(LNN_EVENT, "request info list empty"); in FindJoinLNNRequest() 87 LIST_FOR_EACH_ENTRY(info, &list->list, JoinLnnRequestInfo, node) { in FindJoinLNNRequest() 98 SoftBusList *list = g_lnnRequestInfo.leaveLNNRequestInfo; in FindLeaveLNNRequest() local 100 if (list == NULL) { in FindLeaveLNNRequest() 101 LNN_LOGE(LNN_EVENT, "request info list empty"); in FindLeaveLNNRequest() 104 LIST_FOR_EACH_ENTRY(info, &list->list, LeaveLnnRequestInf in FindLeaveLNNRequest() 115 SoftBusList *list = g_lnnRequestInfo.joinLNNRequestInfo; IsRepeatJoinLNNRequest() local 134 SoftBusList *list = g_lnnRequestInfo.joinLNNRequestInfo; AddJoinLNNInfo() local 155 SoftBusList *list = g_lnnRequestInfo.leaveLNNRequestInfo; IsRepeatLeaveLNNRequest() local 169 SoftBusList *list = g_lnnRequestInfo.leaveLNNRequestInfo; AddLeaveLNNInfo() local 390 SoftBusList *list = g_lnnRequestInfo.joinLNNRequestInfo; LnnIpcNotifyJoinResult() local 416 SoftBusList *list = g_lnnRequestInfo.leaveLNNRequestInfo; LnnIpcNotifyLeaveResult() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/vdec/ |
H A D | vdec_h264_if.c | 52 * struct h264_ring_fb_list - ring frame buffer list 56 * @count : buffer count in list 100 * @list_free : free frame buffer ring list (AP-W/R, VPU-W) 101 * @list_disp : display frame buffer ring list (AP-R, VPU-W) 205 struct h264_ring_fb_list *list; in check_list_validity() local 207 list = disp_list ? &inst->vsi->list_disp : &inst->vsi->list_free; in check_list_validity() 209 if (list->count > H264_MAX_FB_NUM || in check_list_validity() 210 list->read_idx >= H264_MAX_FB_NUM || in check_list_validity() 211 list->write_idx >= H264_MAX_FB_NUM) { in check_list_validity() 212 mtk_vcodec_err(inst, "%s list er in check_list_validity() 223 struct h264_ring_fb_list *list; put_fb_to_free() local 433 vdec_h264_get_fb(struct vdec_h264_inst *inst, struct h264_ring_fb_list *list, bool disp_list, struct vdec_fb **out_fb) vdec_h264_get_fb() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_h264_if.c | 51 * struct h264_ring_fb_list - ring frame buffer list 55 * @count : buffer count in list 99 * @list_free : free frame buffer ring list (AP-W/R, VPU-W) 100 * @list_disp : display frame buffer ring list (AP-R, VPU-W) 202 struct h264_ring_fb_list *list; in check_list_validity() local 204 list = disp_list ? &inst->vsi->list_disp : &inst->vsi->list_free; in check_list_validity() 206 if (list->count > H264_MAX_FB_NUM || in check_list_validity() 207 list->read_idx >= H264_MAX_FB_NUM || in check_list_validity() 208 list->write_idx >= H264_MAX_FB_NUM) { in check_list_validity() 209 mtk_vdec_err(inst->ctx, "%s list er in check_list_validity() 220 struct h264_ring_fb_list *list; put_fb_to_free() local 425 vdec_h264_get_fb(struct vdec_h264_inst *inst, struct h264_ring_fb_list *list, bool disp_list, struct vdec_fb **out_fb) vdec_h264_get_fb() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/bdf/ |
H A D | bdflib.c | 271 _bdf_list_t list; member 286 _bdf_list_init( _bdf_list_t* list, in _bdf_list_init() argument 289 FT_ZERO( list ); in _bdf_list_init() 290 list->memory = memory; in _bdf_list_init() 295 _bdf_list_done( _bdf_list_t* list ) in _bdf_list_done() 297 FT_Memory memory = list->memory; in _bdf_list_done() 302 FT_FREE( list->field ); in _bdf_list_done() 303 FT_ZERO( list ); in _bdf_list_done() 309 _bdf_list_ensure( _bdf_list_t* list, in _bdf_list_ensure() argument 315 if ( num_items > list in _bdf_list_ensure() 343 _bdf_list_shift( _bdf_list_t* list, unsigned long n ) _bdf_list_shift() argument 370 _bdf_list_join( _bdf_list_t* list, int c, unsigned long *alen ) _bdf_list_join() argument 408 _bdf_list_split( _bdf_list_t* list, const char* separators, char* line, unsigned long linelen ) _bdf_list_split() argument 982 _bdf_list_t list; _bdf_set_default_spacing() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | h264_cavlc.c | 842 int i, j, sub_partition_count[4], list, ref[2][4]; in ff_h264_decode_mb_cavlc() local 874 for (list = 0; list < sl->list_count; list++) { in ff_h264_decode_mb_cavlc() 875 int ref_count = IS_REF0(mb_type) ? 1 : sl->ref_count[list] << MB_MBAFF(sl); in ff_h264_decode_mb_cavlc() 878 if(IS_DIR(sl->sub_mb_type[i], 0, list)){ in ff_h264_decode_mb_cavlc() 891 ref[list][i]= tmp; in ff_h264_decode_mb_cavlc() 894 ref[list][i] = -1; in ff_h264_decode_mb_cavlc() 902 for (list = 0; list < s in ff_h264_decode_mb_cavlc() 949 int list, mx, my, i; ff_h264_decode_mb_cavlc() local [all...] |
/foundation/communication/wifi/wifi/base/cRPC/src/ |
H A D | hash_table.c | 61 p->list = (ListNode **)calloc(p->slots, sizeof(ListNode *)); in InitHashTable() 62 if (p->list == NULL) { in InitHashTable() 74 ListNode *t = p->list[i]; in DestroyHashTable() 82 free(p->list); in DestroyHashTable() 105 ListNode *t = p->list[i]; in RebuildHashTable() 114 free(p->list); in RebuildHashTable() 115 p->list = new_list; in RebuildHashTable() 126 ListNode *t = p->list[slot]; in FindContext() 144 ListNode *t = p->list[slot]; in InsertHashTable() 159 p->list[slo in InsertHashTable() [all...] |
/kernel/linux/linux-5.10/drivers/clk/x86/ |
H A D | clk-cgu-pll.c | 95 const struct lgm_pll_clk_data *list) in lgm_clk_register_pll() 104 init.name = list->name; in lgm_clk_register_pll() 105 init.flags = list->flags; in lgm_clk_register_pll() 106 init.parent_data = list->parent_data; in lgm_clk_register_pll() 107 init.num_parents = list->num_parents; in lgm_clk_register_pll() 114 pll->reg = list->reg; in lgm_clk_register_pll() 115 pll->flags = list->flags; in lgm_clk_register_pll() 116 pll->type = list->type; in lgm_clk_register_pll() 128 const struct lgm_pll_clk_data *list, in lgm_clk_register_plls() 134 for (i = 0; i < nr_clk; i++, list in lgm_clk_register_plls() 94 lgm_clk_register_pll(struct lgm_clk_provider *ctx, const struct lgm_pll_clk_data *list) lgm_clk_register_pll() argument 127 lgm_clk_register_plls(struct lgm_clk_provider *ctx, const struct lgm_pll_clk_data *list, unsigned int nr_clk) lgm_clk_register_plls() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cmdbuf_res.c | 38 * @head: List head used either by the staging list or the manager list 56 * @list: List of commited command buffer resources. 59 * @resources and @list are protected by the cmdbuf mutex for now. 63 struct list_head list; member 114 * vmw_cmdbuf_res_commit - Commit a list of command buffer resource actions 116 * @list: Caller's list of command buffer resource actions. 118 * This function commits a list of command buffer resource 123 void vmw_cmdbuf_res_commit(struct list_head *list) in vmw_cmdbuf_res_commit() argument 160 vmw_cmdbuf_res_revert(struct list_head *list) vmw_cmdbuf_res_revert() argument 197 vmw_cmdbuf_res_add(struct vmw_cmdbuf_res_manager *man, enum vmw_cmdbuf_res_type res_type, u32 user_key, struct vmw_resource *res, struct list_head *list) vmw_cmdbuf_res_add() argument 242 vmw_cmdbuf_res_remove(struct vmw_cmdbuf_res_manager *man, enum vmw_cmdbuf_res_type res_type, u32 user_key, struct list_head *list, struct vmw_resource **res_p) vmw_cmdbuf_res_remove() argument [all...] |
/kernel/linux/linux-6.6/drivers/clk/x86/ |
H A D | clk-cgu-pll.c | 95 const struct lgm_pll_clk_data *list) in lgm_clk_register_pll() 104 init.name = list->name; in lgm_clk_register_pll() 105 init.flags = list->flags; in lgm_clk_register_pll() 106 init.parent_data = list->parent_data; in lgm_clk_register_pll() 107 init.num_parents = list->num_parents; in lgm_clk_register_pll() 114 pll->reg = list->reg; in lgm_clk_register_pll() 115 pll->flags = list->flags; in lgm_clk_register_pll() 116 pll->type = list->type; in lgm_clk_register_pll() 128 const struct lgm_pll_clk_data *list, in lgm_clk_register_plls() 134 for (i = 0; i < nr_clk; i++, list in lgm_clk_register_plls() 94 lgm_clk_register_pll(struct lgm_clk_provider *ctx, const struct lgm_pll_clk_data *list) lgm_clk_register_pll() argument 127 lgm_clk_register_plls(struct lgm_clk_provider *ctx, const struct lgm_pll_clk_data *list, unsigned int nr_clk) lgm_clk_register_plls() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cmdbuf_res.c | 40 * @head: List head used either by the staging list or the manager list 58 * @list: List of committed command buffer resources. 61 * @resources and @list are protected by the cmdbuf mutex for now. 65 struct list_head list; member 115 * vmw_cmdbuf_res_commit - Commit a list of command buffer resource actions 117 * @list: Caller's list of command buffer resource actions. 119 * This function commits a list of command buffer resource 124 void vmw_cmdbuf_res_commit(struct list_head *list) in vmw_cmdbuf_res_commit() argument 160 vmw_cmdbuf_res_revert(struct list_head *list) vmw_cmdbuf_res_revert() argument 195 vmw_cmdbuf_res_add(struct vmw_cmdbuf_res_manager *man, enum vmw_cmdbuf_res_type res_type, u32 user_key, struct vmw_resource *res, struct list_head *list) vmw_cmdbuf_res_add() argument 234 vmw_cmdbuf_res_remove(struct vmw_cmdbuf_res_manager *man, enum vmw_cmdbuf_res_type res_type, u32 user_key, struct list_head *list, struct vmw_resource **res_p) vmw_cmdbuf_res_remove() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_fltr.c | 10 * @h: pointer to the list head to be freed 26 * ice_fltr_add_entry_to_list - allocate and add filter entry to list 28 * @info: filter info struct that gets added to the passed in list 29 * @list: pointer to the list which contains MAC filters entry 33 struct list_head *list) in ice_fltr_add_entry_to_list() 44 list_add(&entry->list_entry, list); in ice_fltr_add_entry_to_list() 50 * ice_fltr_add_mac_list - add list of MAC filters 52 * @list: list o 32 ice_fltr_add_entry_to_list(struct device *dev, struct ice_fltr_info *info, struct list_head *list) ice_fltr_add_entry_to_list() argument 55 ice_fltr_add_mac_list(struct ice_vsi *vsi, struct list_head *list) ice_fltr_add_mac_list() argument 66 ice_fltr_remove_mac_list(struct ice_vsi *vsi, struct list_head *list) ice_fltr_remove_mac_list() argument 77 ice_fltr_add_vlan_list(struct ice_vsi *vsi, struct list_head *list) ice_fltr_add_vlan_list() argument 88 ice_fltr_remove_vlan_list(struct ice_vsi *vsi, struct list_head *list) ice_fltr_remove_vlan_list() argument 99 ice_fltr_add_eth_list(struct ice_vsi *vsi, struct list_head *list) ice_fltr_add_eth_list() argument 110 ice_fltr_remove_eth_list(struct ice_vsi *vsi, struct list_head *list) ice_fltr_remove_eth_list() argument 132 ice_fltr_add_mac_to_list(struct ice_vsi *vsi, struct list_head *list, const u8 *mac, enum ice_sw_fwd_act_type action) ice_fltr_add_mac_to_list() argument 157 ice_fltr_add_vlan_to_list(struct ice_vsi *vsi, struct list_head *list, u16 vlan_id, enum ice_sw_fwd_act_type action) ice_fltr_add_vlan_to_list() argument 182 ice_fltr_add_eth_to_list(struct ice_vsi *vsi, struct list_head *list, u16 ethertype, u16 flag, enum ice_sw_fwd_act_type action) ice_fltr_add_eth_to_list() argument [all...] |