/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | ieee802_11_common.c | 21 struct ieee802_11_elems *elems, in ieee802_11_parse_vendor_specific() argument 47 elems->wpa_ie = pos; in ieee802_11_parse_vendor_specific() 48 elems->wpa_ie_len = elen; in ieee802_11_parse_vendor_specific() 68 elems->wmm = pos; in ieee802_11_parse_vendor_specific() 69 elems->wmm_len = elen; in ieee802_11_parse_vendor_specific() 72 elems->wmm_tspec = pos; in ieee802_11_parse_vendor_specific() 73 elems->wmm_tspec_len = elen; in ieee802_11_parse_vendor_specific() 85 elems->wps_ie = pos; in ieee802_11_parse_vendor_specific() 86 elems->wps_ie_len = elen; in ieee802_11_parse_vendor_specific() 101 elems->p2p = pos; in ieee802_11_parse_vendor_specific() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | ieee802_11_common.c | 21 struct ieee802_11_elems *elems, in ieee802_11_parse_vendor_specific() argument 47 elems->wpa_ie = pos; in ieee802_11_parse_vendor_specific() 48 elems->wpa_ie_len = elen; in ieee802_11_parse_vendor_specific() 68 elems->wmm = pos; in ieee802_11_parse_vendor_specific() 69 elems->wmm_len = elen; in ieee802_11_parse_vendor_specific() 72 elems->wmm_tspec = pos; in ieee802_11_parse_vendor_specific() 73 elems->wmm_tspec_len = elen; in ieee802_11_parse_vendor_specific() 85 elems->wps_ie = pos; in ieee802_11_parse_vendor_specific() 86 elems->wps_ie_len = elen; in ieee802_11_parse_vendor_specific() 101 elems->p2p = pos; in ieee802_11_parse_vendor_specific() [all …]
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | vertexdeclaration9.c | 196 This->elems = CALLOC(This->nelems, sizeof(struct pipe_vertex_element)); in NineVertexDeclaration9_ctor() 198 if (!This->decls || !This->elems || !This->usage_map) { return E_OUTOFMEMORY; } in NineVertexDeclaration9_ctor() 209 This->elems[i].src_offset = This->decls[i].Offset; in NineVertexDeclaration9_ctor() 210 This->elems[i].instance_divisor = 0; in NineVertexDeclaration9_ctor() 211 This->elems[i].vertex_buffer_index = This->decls[i].Stream; in NineVertexDeclaration9_ctor() 212 This->elems[i].src_format = decltype_format(This->decls[i].Type); in NineVertexDeclaration9_ctor() 213 This->elems[i].dual_slot = false; in NineVertexDeclaration9_ctor() 219 util_format_name(This->elems[i].src_format), in NineVertexDeclaration9_ctor() 233 FREE(This->elems); in NineVertexDeclaration9_dtor() 281 D3DVERTEXELEMENT9 elems[16], decl_end = D3DDECL_END(); in NineVertexDeclaration9_new_from_fvf() local [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_const.c | 252 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH]; in lp_build_one() local 260 elems[0] = LLVMConstInt(elem_type, _mesa_float_to_half(1.0f), 0); in lp_build_one() 262 elems[0] = LLVMConstReal(elem_type, 1.0); in lp_build_one() 264 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0); in lp_build_one() 266 elems[0] = LLVMConstInt(elem_type, 1, 0); in lp_build_one() 268 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0); in lp_build_one() 286 elems[i] = elems[0]; in lp_build_one() 289 return elems[0]; in lp_build_one() 291 return LLVMConstVector(elems, type.length); in lp_build_one() 331 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH]; in lp_build_const_vec() local [all …]
|
D | lp_bld_format_s3tc.c | 81 LLVMValueRef shuffle, elems[LP_MAX_VECTOR_LENGTH]; in lp_build_uninterleave2_half() local 92 elems[i] = lp_build_const_int32(gallivm, shufvals[i] + lo_hi); in lp_build_uninterleave2_half() 96 elems[i] = lp_build_const_int32(gallivm, 2*i + lo_hi); in lp_build_uninterleave2_half() 100 shuffle = LLVMConstVector(elems, type.length); in lp_build_uninterleave2_half() 114 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH]; in lp_build_const_extend_shuffle() local 123 elems[i] = lp_build_const_int32(gallivm, i); in lp_build_const_extend_shuffle() 126 elems[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_const_extend_shuffle() 129 return LLVMConstVector(elems, length); in lp_build_const_extend_shuffle() 135 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH]; in lp_build_const_unpackx2_shuffle() local 143 elems[i + 0] = lp_build_const_int32(gallivm, 0 + j); in lp_build_const_unpackx2_shuffle() [all …]
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | resolver_constants.cc | 91 sem::Constant::Scalars elems; in EvaluateConstantValue() local 98 elems.insert(elems.end(), cast.Elements().begin(), cast.Elements().end()); in EvaluateConstantValue() 102 if (elems.size() == 1) { in EvaluateConstantValue() 104 elems.emplace_back(elems[0]); in EvaluateConstantValue() 108 return sem::Constant(type, std::move(elems)); in EvaluateConstantValue() 117 sem::Constant::Scalars elems; in ConstantCast() local 120 elems.emplace_back( in ConstantCast() 123 elems.emplace_back( in ConstantCast() 126 elems.emplace_back( in ConstantCast() 129 elems.emplace_back( in ConstantCast() [all …]
|
/third_party/mesa3d/src/freedreno/rnn/ |
D | rnndec.c | 370 static struct rnndecaddrinfo *trymatch (struct rnndeccontext *ctx, struct rnndelem **elems, int ele… in trymatch() argument 374 if (!rnndec_varmatch(ctx, &elems[i]->varinfo)) in trymatch() 378 switch (elems[i]->type) { in trymatch() 380 if (addr < elems[i]->offset) in trymatch() 382 if (elems[i]->stride) { in trymatch() 383 idx = (addr-elems[i]->offset)/elems[i]->stride; in trymatch() 384 offset = (addr-elems[i]->offset)%elems[i]->stride; in trymatch() 387 offset = addr-elems[i]->offset; in trymatch() 389 if (offset >= elems[i]->width/dwidth) in trymatch() 391 if (elems[i]->length && idx >= elems[i]->length) in trymatch() [all …]
|
/third_party/grpc/test/core/iomgr/ |
D | timer_heap_test.cc | 35 grpc_timer* elems = in create_test_elements() local 39 elems[i].deadline = random_deadline(); in create_test_elements() 41 return elems; in create_test_elements() 134 static elem_struct* search_elems(elem_struct* elems, size_t count, in search_elems() argument 148 if (elems[search_order[i]].inserted == inserted) { in search_elems() 149 out = &elems[search_order[i]]; in search_elems() 162 elem_struct* elems = in test2() local 167 memset(elems, 0, elems_size * sizeof(elems[0])); in test2() 173 elem_struct* el = search_elems(elems, elems_size, false); in test2() 183 elem_struct* el = search_elems(elems, elems_size, true); in test2() [all …]
|
/third_party/boost/boost/ |
D | array.hpp | 62 T elems[N]; // fixed-size array of elements of type T member in boost::array 75 iterator begin() { return elems; } in begin() 76 const_iterator begin() const { return elems; } in begin() 77 const_iterator cbegin() const { return elems; } in cbegin() 79 iterator end() { return elems+N; } in end() 80 const_iterator end() const { return elems+N; } in end() 81 const_iterator cend() const { return elems+N; } in cend() 117 return BOOST_ASSERT_MSG( i < N, "out of range" ), elems[i]; in operator []() 122 return BOOST_ASSERT_MSG( i < N, "out of range" ), elems[i]; in operator []() 126 … reference at(size_type i) { return rangecheck(i), elems[i]; } in at() [all …]
|
/third_party/ffmpeg/libavutil/ |
D | dict.c | 32 AVDictionaryEntry *elems; member 49 i = prev - m->elems + 1; in av_dict_get() 54 const char *s = m->elems[i].key; in av_dict_get() 65 return &m->elems[i]; in av_dict_get() 104 *tag = m->elems[--m->count]; in av_dict_set() 106 AVDictionaryEntry *tmp = av_realloc_array(m->elems, in av_dict_set() 107 m->count + 1, sizeof(*m->elems)); in av_dict_set() 110 m->elems = tmp; in av_dict_set() 113 m->elems[m->count].key = copy_key; in av_dict_set() 114 m->elems[m->count].value = copy_value; in av_dict_set() [all …]
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | ucoleitr.h | 139 ucol_closeElements(UCollationElements *elems); 151 ucol_reset(UCollationElements *elems); 163 ucol_next(UCollationElements *elems, UErrorCode *status); 179 ucol_previous(UCollationElements *elems, UErrorCode *status); 193 ucol_getMaxExpansion(const UCollationElements *elems, int32_t order); 213 ucol_setText( UCollationElements *elems, 228 ucol_getOffset(const UCollationElements *elems); 243 ucol_setOffset(UCollationElements *elems,
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/ |
D | ucoleitr.h | 136 ucol_closeElements(UCollationElements *elems); 148 ucol_reset(UCollationElements *elems); 160 ucol_next(UCollationElements *elems, UErrorCode *status); 176 ucol_previous(UCollationElements *elems, UErrorCode *status); 190 ucol_getMaxExpansion(const UCollationElements *elems, int32_t order); 205 ucol_setText( UCollationElements *elems, 220 ucol_getOffset(const UCollationElements *elems); 235 ucol_setOffset(UCollationElements *elems,
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | ucoleitr.h | 139 ucol_closeElements(UCollationElements *elems); 151 ucol_reset(UCollationElements *elems); 163 ucol_next(UCollationElements *elems, UErrorCode *status); 179 ucol_previous(UCollationElements *elems, UErrorCode *status); 193 ucol_getMaxExpansion(const UCollationElements *elems, int32_t order); 213 ucol_setText( UCollationElements *elems, 228 ucol_getOffset(const UCollationElements *elems); 243 ucol_setOffset(UCollationElements *elems,
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | ucoleitr.h | 139 ucol_closeElements(UCollationElements *elems); 151 ucol_reset(UCollationElements *elems); 163 ucol_next(UCollationElements *elems, UErrorCode *status); 179 ucol_previous(UCollationElements *elems, UErrorCode *status); 193 ucol_getMaxExpansion(const UCollationElements *elems, int32_t order); 213 ucol_setText( UCollationElements *elems, 228 ucol_getOffset(const UCollationElements *elems); 243 ucol_setOffset(UCollationElements *elems,
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | ucoleitr.cpp | 188 UCollationPCE::UCollationPCE(UCollationElements *elems) { init(elems); } in UCollationPCE() argument 192 void UCollationPCE::init(UCollationElements *elems) { in init() argument 193 init(CollationElementIterator::fromUCollationElements(elems)); in init() 304 ucol_closeElements(UCollationElements *elems) in ucol_closeElements() argument 306 delete CollationElementIterator::fromUCollationElements(elems); in ucol_closeElements() 310 ucol_reset(UCollationElements *elems) in ucol_reset() argument 312 CollationElementIterator::fromUCollationElements(elems)->reset(); in ucol_reset() 316 ucol_next(UCollationElements *elems, in ucol_next() argument 323 return CollationElementIterator::fromUCollationElements(elems)->next(*status); in ucol_next() 370 ucol_previous(UCollationElements *elems, in ucol_previous() argument [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | ucoleitr.cpp | 188 UCollationPCE::UCollationPCE(UCollationElements *elems) { init(elems); } in UCollationPCE() argument 192 void UCollationPCE::init(UCollationElements *elems) { in init() argument 193 init(CollationElementIterator::fromUCollationElements(elems)); in init() 304 ucol_closeElements(UCollationElements *elems) in ucol_closeElements() argument 306 delete CollationElementIterator::fromUCollationElements(elems); in ucol_closeElements() 310 ucol_reset(UCollationElements *elems) in ucol_reset() argument 312 CollationElementIterator::fromUCollationElements(elems)->reset(); in ucol_reset() 316 ucol_next(UCollationElements *elems, in ucol_next() argument 323 return CollationElementIterator::fromUCollationElements(elems)->next(*status); in ucol_next() 370 ucol_previous(UCollationElements *elems, in ucol_previous() argument [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | ucoleitr.cpp | 188 UCollationPCE::UCollationPCE(UCollationElements *elems) { init(elems); } in UCollationPCE() argument 192 void UCollationPCE::init(UCollationElements *elems) { in init() argument 193 init(CollationElementIterator::fromUCollationElements(elems)); in init() 304 ucol_closeElements(UCollationElements *elems) in ucol_closeElements() argument 306 delete CollationElementIterator::fromUCollationElements(elems); in ucol_closeElements() 310 ucol_reset(UCollationElements *elems) in ucol_reset() argument 312 CollationElementIterator::fromUCollationElements(elems)->reset(); in ucol_reset() 316 ucol_next(UCollationElements *elems, in ucol_next() argument 323 return CollationElementIterator::fromUCollationElements(elems)->next(*status); in ucol_next() 370 ucol_previous(UCollationElements *elems, in ucol_previous() argument [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | ucoleitr.cpp | 188 UCollationPCE::UCollationPCE(UCollationElements *elems) { init(elems); } in UCollationPCE() argument 192 void UCollationPCE::init(UCollationElements *elems) { in init() argument 193 init(CollationElementIterator::fromUCollationElements(elems)); in init() 304 ucol_closeElements(UCollationElements *elems) in ucol_closeElements() argument 306 delete CollationElementIterator::fromUCollationElements(elems); in ucol_closeElements() 310 ucol_reset(UCollationElements *elems) in ucol_reset() argument 312 CollationElementIterator::fromUCollationElements(elems)->reset(); in ucol_reset() 316 ucol_next(UCollationElements *elems, in ucol_next() argument 323 return CollationElementIterator::fromUCollationElements(elems)->next(*status); in ucol_next() 370 ucol_previous(UCollationElements *elems, in ucol_previous() argument [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | mesh_mpm.c | 123 struct ieee802_11_elems *elems) in copy_supp_rates() argument 125 if (!elems->supp_rates) { in copy_supp_rates() 131 if (elems->supp_rates_len + elems->ext_supp_rates_len > in copy_supp_rates() 135 " %d+%d", MAC2STR(sta->addr), elems->supp_rates_len, in copy_supp_rates() 136 elems->ext_supp_rates_len); in copy_supp_rates() 142 elems->supp_rates, elems->supp_rates_len, in copy_supp_rates() 143 elems->ext_supp_rates, elems->ext_supp_rates_len); in copy_supp_rates() 151 struct ieee802_11_elems *elems) in matches_local() argument 155 if (elems->mesh_config_len < 5) in matches_local() 158 return (mconf->meshid_len == elems->mesh_id_len && in matches_local() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | mesh_mpm.c | 123 struct ieee802_11_elems *elems) in copy_supp_rates() argument 125 if (!elems->supp_rates) { in copy_supp_rates() 131 if (elems->supp_rates_len + elems->ext_supp_rates_len > in copy_supp_rates() 135 " %d+%d", MAC2STR(sta->addr), elems->supp_rates_len, in copy_supp_rates() 136 elems->ext_supp_rates_len); in copy_supp_rates() 142 elems->supp_rates, elems->supp_rates_len, in copy_supp_rates() 143 elems->ext_supp_rates, elems->ext_supp_rates_len); in copy_supp_rates() 151 struct ieee802_11_elems *elems) in matches_local() argument 155 if (elems->mesh_config_len < 5) in matches_local() 158 return (mconf->meshid_len == elems->mesh_id_len && in matches_local() [all …]
|
D | mesh.c | 408 struct ieee802_11_elems elems; in wpa_mesh_notify_peer() local 413 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in wpa_mesh_notify_peer() 418 wpa_mesh_new_mesh_peer(wpa_s, addr, &elems); in wpa_mesh_notify_peer() 551 struct ieee802_11_elems elems; in mesh_attr_text() local 556 if (ieee802_11_parse_elems(ies, ies_len, &elems, 0) == ParseFailed) in mesh_attr_text() 559 if (elems.mesh_id_len < 1) in mesh_attr_text() 562 mesh_id = os_malloc(elems.mesh_id_len + 1); in mesh_attr_text() 566 os_memcpy(mesh_id, elems.mesh_id, elems.mesh_id_len); in mesh_attr_text() 567 mesh_id[elems.mesh_id_len] = '\0'; in mesh_attr_text() 574 if (elems.mesh_config_len > 6) { in mesh_attr_text() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | drv_callbacks.c | 52 struct ieee802_11_elems elems; in hostapd_notify_assoc_fils_finish() local 63 sta->fils_pending_assoc_req_len, &elems, 0); in hostapd_notify_assoc_fils_finish() 64 if (!elems.fils_session) { in hostapd_notify_assoc_fils_finish() 71 elems.fils_session, in hostapd_notify_assoc_fils_finish() 140 struct ieee802_11_elems elems; in hostapd_notif_assoc() local 179 ieee802_11_parse_elems(req_ies, req_ies_len, &elems, 0); in hostapd_notif_assoc() 180 if (elems.wps_ie) { in hostapd_notif_assoc() 181 ie = elems.wps_ie - 2; in hostapd_notif_assoc() 182 ielen = elems.wps_ie_len + 2; in hostapd_notif_assoc() 184 } else if (elems.rsn_ie) { in hostapd_notif_assoc() [all …]
|
/third_party/ltp/metadata/ |
D | data_storage.h | 37 struct data_hash_elem elems[]; member 147 struct data_hash_elem *elem = &hash->elems[hash->elems_used++]; in data_node_hash_add() 165 data_node_free(self->hash.elems[i].node); in data_node_free() 166 free(self->hash.elems[i].id); in data_node_free() 184 if (!strcmp(hash->elems[i].id, id)) in data_node_hash_del() 191 data_node_free(hash->elems[i].node); in data_node_hash_del() 192 free(hash->elems[i].id); in data_node_hash_del() 194 hash->elems[i] = hash->elems[--hash->elems_used]; in data_node_hash_del() 205 if (!strcmp(hash->elems[i].id, id)) in data_node_hash_get() 212 return hash->elems[i].node; in data_node_hash_get() [all …]
|
/third_party/node/deps/cares/src/lib/ |
D | ares__sortaddrinfo.c | 456 struct addrinfo_sort_elem *elems; in ares__sortaddrinfo() local 468 elems = (struct addrinfo_sort_elem *)ares_malloc( in ares__sortaddrinfo() 470 if (!elems) in ares__sortaddrinfo() 482 elems[i].ai = cur; in ares__sortaddrinfo() 483 elems[i].original_order = i; in ares__sortaddrinfo() 484 has_src_addr = find_src_addr(channel, cur->ai_addr, &elems[i].src_addr.sa); in ares__sortaddrinfo() 487 ares_free(elems); in ares__sortaddrinfo() 490 elems[i].has_src_addr = has_src_addr; in ares__sortaddrinfo() 495 qsort((void *)elems, nelem, sizeof(struct addrinfo_sort_elem), in ares__sortaddrinfo() 498 list_sentinel->ai_next = elems[0].ai; in ares__sortaddrinfo() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | drv_callbacks.c | 50 struct ieee802_11_elems elems; in hostapd_notify_assoc_fils_finish() local 61 sta->fils_pending_assoc_req_len, &elems, 0); in hostapd_notify_assoc_fils_finish() 62 if (!elems.fils_session) { in hostapd_notify_assoc_fils_finish() 69 elems.fils_session, in hostapd_notify_assoc_fils_finish() 111 struct ieee802_11_elems elems; in hostapd_notif_assoc() local 152 ieee802_11_parse_elems(req_ies, req_ies_len, &elems, 0); in hostapd_notif_assoc() 153 if (elems.wps_ie) { in hostapd_notif_assoc() 154 ie = elems.wps_ie - 2; in hostapd_notif_assoc() 155 ielen = elems.wps_ie_len + 2; in hostapd_notif_assoc() 157 } else if (elems.rsn_ie) { in hostapd_notif_assoc() [all …]
|