Home
last modified time | relevance | path

Searched refs:elems (Results 1 – 25 of 186) sorted by relevance

12345678

/external/wpa_supplicant_8/src/common/
Dieee802_11_common.c20 struct ieee802_11_elems *elems, in ieee802_11_parse_vendor_specific() argument
46 elems->wpa_ie = pos; in ieee802_11_parse_vendor_specific()
47 elems->wpa_ie_len = elen; in ieee802_11_parse_vendor_specific()
67 elems->wmm = pos; in ieee802_11_parse_vendor_specific()
68 elems->wmm_len = elen; in ieee802_11_parse_vendor_specific()
71 elems->wmm_tspec = pos; in ieee802_11_parse_vendor_specific()
72 elems->wmm_tspec_len = elen; in ieee802_11_parse_vendor_specific()
84 elems->wps_ie = pos; in ieee802_11_parse_vendor_specific()
85 elems->wps_ie_len = elen; in ieee802_11_parse_vendor_specific()
100 elems->p2p = pos; in ieee802_11_parse_vendor_specific()
[all …]
Dhw_features_common.c150 struct ieee802_11_elems elems; in get_pri_sec_chan() local
154 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); in get_pri_sec_chan()
155 if (elems.ht_operation) { in get_pri_sec_chan()
156 oper = (struct ieee80211_ht_operation *) elems.ht_operation; in get_pri_sec_chan()
241 struct ieee802_11_elems elems; in check_20mhz_bss() local
247 ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0); in check_20mhz_bss()
248 if (!elems.ht_capabilities) { in check_20mhz_bss()
254 if (elems.ht_operation) { in check_20mhz_bss()
255 oper = (struct ieee80211_ht_operation *) elems.ht_operation; in check_20mhz_bss()
290 struct ieee802_11_elems elems; in check_40mhz_2g4() local
[all …]
/external/pdfium/core/fpdfapi/parser/
Dcpdf_array_unittest.cpp17 const int elems[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in TEST() local
19 for (size_t i = 0; i < FX_ArraySize(elems); ++i) in TEST()
20 arr->AddNew<CPDF_Number>(elems[i]); in TEST()
36 const int elems[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in TEST() local
38 for (size_t i = 0; i < FX_ArraySize(elems); ++i) in TEST()
39 arr->AddNew<CPDF_Number>(elems[i]); in TEST()
41 EXPECT_EQ(FX_ArraySize(elems), arr->GetCount()); in TEST()
46 const int elems[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in TEST() local
49 for (size_t i = 0; i < FX_ArraySize(elems); ++i) in TEST()
50 arr->AddNew<CPDF_Number>(elems[i]); in TEST()
[all …]
/external/mesa3d/src/gallium/state_trackers/nine/
Dvertexdeclaration9.c196 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()
218 util_format_name(This->elems[i].src_format), in NineVertexDeclaration9_ctor()
232 FREE(This->elems); in NineVertexDeclaration9_dtor()
280 D3DVERTEXELEMENT9 elems[16], decl_end = D3DDECL_END(); in NineVertexDeclaration9_new_from_fvf() local
291 elems[nelems].Type = D3DDECLTYPE_FLOAT3; in NineVertexDeclaration9_new_from_fvf()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_const.c252 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH]; in lp_build_one() local
260 elems[0] = LLVMConstInt(elem_type, util_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 …]
Dlp_bld_pack.c90 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH]; in lp_build_const_unpack_shuffle() local
99 elems[i + 0] = lp_build_const_int32(gallivm, 0 + j); in lp_build_const_unpack_shuffle()
100 elems[i + 1] = lp_build_const_int32(gallivm, n + j); in lp_build_const_unpack_shuffle()
103 return LLVMConstVector(elems, n); in lp_build_const_unpack_shuffle()
114 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH]; in lp_build_const_unpack_shuffle_half() local
124 elems[i + 0] = lp_build_const_int32(gallivm, 0 + j); in lp_build_const_unpack_shuffle_half()
125 elems[i + 1] = lp_build_const_int32(gallivm, n + j); in lp_build_const_unpack_shuffle_half()
128 return LLVMConstVector(elems, n); in lp_build_const_unpack_shuffle_half()
138 LLVMValueRef elems[LP_MAX_VECTOR_LENGTH]; in lp_build_const_pack_shuffle() local
145 elems[i] = lp_build_const_int32(gallivm, 2*i); in lp_build_const_pack_shuffle()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dconditional_accumulator_test.py100 elems = np.arange(10).astype(dtype.as_numpy_dtype)
101 for e in elems:
106 self.assertEqual(sum(elems) / len(elems), result)
131 elems = [[[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]],
133 elems_ave = [[(a + b) / len(elems) for a, b in zip(x, y)]
134 for x, y in zip(elems[0], elems[1])]
135 accum_ops = [q.apply_grad(x) for x in elems]
167 elems = [[[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]],
169 elems_ave = [[(a + b) / len(elems) for a, b in zip(c, d)]
170 for c, d in zip(elems[0], elems[1])]
[all …]
Dfunctional_ops_test.py58 elems = constant_op.constant([1, 2, 3, 4, 5, 6], name="data")
62 elems)
67 elems,
74 elems = constant_op.constant([1, 2, 3, 4, 5, 6], name="data")
76 r = functional_ops.foldl(simple_scoped_fn, elems)
86 r = functional_ops.foldl(simple_scoped_fn, elems, initializer=10)
93 elems = constant_op.constant([1, 2, 3, 4, 5, 6], name="data")
97 elems)
102 elems,
109 elems = constant_op.constant([1, 2, 3, 4, 5, 6], name="data")
[all …]
Dfifo_queue_test.py146 elems = [10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0]
147 enqueue_ops = [q.enqueue((x,)) for x in elems]
165 for _ in xrange(len(elems)):
167 self.assertItemsEqual(elems, results)
172 elems = [10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0]
173 enqueue_ops = [q.enqueue((x,)) for x in elems]
191 self.assertItemsEqual(elems, results)
196 elems = [10.0, 20.0, 30.0]
197 enqueue_ops = [q.enqueue((x,)) for x in elems]
203 for i in xrange(len(elems)):
[all …]
Dpadding_fifo_queue_test.py123 elems = [10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0]
124 enqueue_ops = [q.enqueue((x,)) for x in elems]
142 for _ in xrange(len(elems)):
144 self.assertItemsEqual(elems, results)
149 elems = [10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0]
150 enqueue_ops = [q.enqueue((x,)) for x in elems]
168 self.assertItemsEqual(elems, results)
173 elems = [10.0, 20.0, 30.0]
174 enqueue_ops = [q.enqueue((x,)) for x in elems]
180 for i in xrange(len(elems)):
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_tensor_coding_test.cc58 for (int elems = 0; elems <= 10000; elems++) { in DoTest() local
59 if (elems < 100 || (elems % 1000 == 0)) { in DoTest()
62 Validate(a, (elems == 0)); in DoTest()
64 v.push_back(static_cast<T>(elems)); in DoTest()
69 for (int elems = 0; elems <= 10000; elems++) { in DoTestForStrings() local
70 if (elems < 100 || (elems % 1000 == 0)) { in DoTestForStrings()
73 Validate(a, (elems == 0)); in DoTestForStrings()
75 v.push_back(strings::StrCat("This is string ", elems)); in DoTestForStrings()
/external/tensorflow/tensorflow/python/kernel_tests/random/
Drandom_shuffle_queue_test.py98 elems = [10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0]
99 enqueue_ops = [q.enqueue((x,)) for x in elems]
117 for _ in xrange(len(elems)):
119 self.assertItemsEqual(elems, results)
124 elems = [10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0]
125 enqueue_ops = [q.enqueue((x,)) for x in elems]
143 self.assertItemsEqual(elems, results)
148 elems = [10.0, 20.0, 30.0]
149 enqueue_ops = [q.enqueue((x,)) for x in elems]
155 vals = [dequeued_t.eval() for _ in xrange(len(elems))]
[all …]
/external/mesa3d/src/compiler/spirv/
Dvtn_alu.c45 dest->elems = ralloc_array(b, struct vtn_ssa_value *, 1); in wrap_matrix()
46 dest->elems[0] = val; in wrap_matrix()
57 return val->elems[0]; in unwrap_matrix()
105 vec_src[j] = nir_fdot(&b->nb, src0_transpose->elems[j]->def, in matrix_multiply()
106 src1->elems[i]->def); in matrix_multiply()
108 dest->elems[i]->def = nir_vec(&b->nb, vec_src, src0_rows); in matrix_multiply()
118 dest->elems[i]->def = in matrix_multiply()
119 nir_fmul(&b->nb, src0->elems[0]->def, in matrix_multiply()
120 nir_channel(&b->nb, src1->elems[i]->def, 0)); in matrix_multiply()
122 dest->elems[i]->def = in matrix_multiply()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dfunctional_ops.py52 def foldl(fn, elems, initializer=None, parallel_iterations=10, back_prop=True, argument
94 with ops.name_scope(name, "foldl", [elems]):
109 elems = ops.convert_to_tensor(elems, name="elems")
110 n = array_ops.shape(elems)[0]
111 elems_ta = tensor_array_ops.TensorArray(dtype=elems.dtype, size=n,
114 elems_ta = elems_ta.unstack(elems)
140 def foldr(fn, elems, initializer=None, parallel_iterations=10, back_prop=True, argument
182 with ops.name_scope(name, "foldr", [elems]):
197 elems = ops.convert_to_tensor(elems, name="elems")
198 n = array_ops.shape(elems)[0]
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/
Dtensor_coding_test.cc113 for (int elems = 0; elems <= 10000; elems++) { in DoTest() local
114 if (elems < 100 || (elems % 1000 == 0)) { in DoTest()
117 Validate(a, (elems == 0), true); in DoTest()
119 v.push_back(static_cast<T>(elems)); in DoTest()
125 for (int elems = 0; elems <= 10000; elems++) { in DoTestForStrings() local
126 if (elems < 100 || (elems % 1000 == 0)) { in DoTestForStrings()
129 Validate(a, (elems == 0), true); in DoTestForStrings()
131 v.push_back(strings::StrCat("This is string ", elems)); in DoTestForStrings()
/external/icu/icu4c/source/i18n/
Ducoleitr.cpp188 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 …]
/external/slf4j/slf4j-site/src/site/pages/js/
Ddecorator.js28 var elems = $('tr td:first-child span.prop');
30 for(var i = 0; i < elems.length; i++) {
31 var e = elems[i];
54 var elems = $('tr td.word');
55 for(var i = 0; i < elems.length; i++) {
56 var e = elems[i];
69 var elems = $('.doAnchor');
70 for(var i = 0; i < elems.length; i++) {
71 var e = elems[i];
/external/icu/icu4c/source/i18n/unicode/
Ducoleitr.h136 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,
/external/apache-http/src/org/apache/http/message/
DBasicHeaderValueFormatter.java102 String formatElements(final HeaderElement[] elems, in formatElements() argument
107 return formatter.formatElements(null, elems, quote).toString(); in formatElements()
113 final HeaderElement[] elems, in formatElements() argument
115 if (elems == null) { in formatElements()
120 int len = estimateElementsLen(elems); in formatElements()
127 for (int i=0; i<elems.length; i++) { in formatElements()
131 formatHeaderElement(buffer, elems[i], quote); in formatElements()
145 protected int estimateElementsLen(final HeaderElement[] elems) { in estimateElementsLen() argument
146 if ((elems == null) || (elems.length < 1)) in estimateElementsLen()
149 int result = (elems.length-1) * 2; // elements separated by ", " in estimateElementsLen()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dmesh.c335 struct ieee802_11_elems elems; in wpa_mesh_notify_peer() local
340 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in wpa_mesh_notify_peer()
345 wpa_mesh_new_mesh_peer(wpa_s, addr, &elems); in wpa_mesh_notify_peer()
495 struct ieee802_11_elems elems; in mesh_attr_text() local
500 if (ieee802_11_parse_elems(ies, ies_len, &elems, 0) == ParseFailed) in mesh_attr_text()
503 if (elems.mesh_id_len < 1) in mesh_attr_text()
506 mesh_id = os_malloc(elems.mesh_id_len + 1); in mesh_attr_text()
510 os_memcpy(mesh_id, elems.mesh_id, elems.mesh_id_len); in mesh_attr_text()
511 mesh_id[elems.mesh_id_len] = '\0'; in mesh_attr_text()
518 if (elems.mesh_config_len > 6) { in mesh_attr_text()
[all …]
Dmesh_mpm.c122 struct ieee802_11_elems *elems) in copy_supp_rates() argument
124 if (!elems->supp_rates) { in copy_supp_rates()
130 if (elems->supp_rates_len + elems->ext_supp_rates_len > in copy_supp_rates()
134 " %d+%d", MAC2STR(sta->addr), elems->supp_rates_len, in copy_supp_rates()
135 elems->ext_supp_rates_len); in copy_supp_rates()
141 elems->supp_rates, elems->supp_rates_len, in copy_supp_rates()
142 elems->ext_supp_rates, elems->ext_supp_rates_len); in copy_supp_rates()
150 struct ieee802_11_elems *elems) in matches_local() argument
154 if (elems->mesh_config_len < 5) in matches_local()
157 return (mconf->meshid_len == elems->mesh_id_len && in matches_local()
[all …]
/external/wpa_supplicant_8/src/ap/
Dap_list.c171 struct ieee802_11_elems *elems, in ap_list_process_beacon() argument
193 elems->supp_rates, elems->supp_rates_len, in ap_list_process_beacon()
194 elems->ext_supp_rates, elems->ext_supp_rates_len); in ap_list_process_beacon()
196 if (elems->erp_info) in ap_list_process_beacon()
197 ap->erp = elems->erp_info[0]; in ap_list_process_beacon()
201 if (elems->ds_params) in ap_list_process_beacon()
202 ap->channel = elems->ds_params[0]; in ap_list_process_beacon()
203 else if (elems->ht_operation) in ap_list_process_beacon()
204 ap->channel = elems->ht_operation[0]; in ap_list_process_beacon()
208 if (elems->ht_capabilities) in ap_list_process_beacon()
Ddrv_callbacks.c48 struct ieee802_11_elems elems; in hostapd_notify_assoc_fils_finish() local
59 sta->fils_pending_assoc_req_len, &elems, 0); in hostapd_notify_assoc_fils_finish()
60 if (!elems.fils_session) { in hostapd_notify_assoc_fils_finish()
67 elems.fils_session, in hostapd_notify_assoc_fils_finish()
109 struct ieee802_11_elems elems; in hostapd_notif_assoc() local
137 ieee802_11_parse_elems(req_ies, req_ies_len, &elems, 0); in hostapd_notif_assoc()
138 if (elems.wps_ie) { in hostapd_notif_assoc()
139 ie = elems.wps_ie - 2; in hostapd_notif_assoc()
140 ielen = elems.wps_ie_len + 2; in hostapd_notif_assoc()
142 } else if (elems.rsn_ie) { in hostapd_notif_assoc()
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Ddata.py46 elems = []
53 elems.append(path)
58 elems.reverse()
59 return drive, elems
99 _, elems = splitpath(filename)
100 if '.svn' in elems or '.git' in elems:
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
Ddata.py46 elems = []
53 elems.append(path)
58 elems.reverse()
59 return drive, elems
99 _, elems = splitpath(filename)
100 if '.svn' in elems or '.git' in elems:

12345678