Home
last modified time | relevance | path

Searched refs:ary (Results 1 – 25 of 100) sorted by relevance

1234

/external/selinux/libselinux/src/
Dcompute_user.c16 char **ary; in security_compute_user_raw() local
54 ary = malloc((nel + 1) * sizeof(char *)); in security_compute_user_raw()
55 if (!ary) { in security_compute_user_raw()
62 ary[i] = strdup(ptr); in security_compute_user_raw()
63 if (!ary[i]) { in security_compute_user_raw()
64 freeconary(ary); in security_compute_user_raw()
70 ary[nel] = NULL; in security_compute_user_raw()
71 *con = ary; in security_compute_user_raw()
/external/capstone/bindings/vb6/
DmMisc.bas147 Function AryIsEmpty(ary) As Boolean
151 i = UBound(ary) '<- throws error if not initalized
226 Sub push(ary, value) 'this modifies parent ary object
230 x = UBound(ary)
231 ReDim Preserve ary(x + 1)
234 Set ary(x + 1) = value
236 ary(x + 1) = value
241 ReDim ary(0)
243 Set ary(0) = value
245 ary(0) = value
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/profiling/qps/
Dqps_diff.py103 def _median(ary): argument
104 assert (len(ary))
105 ary = sorted(ary)
106 n = len(ary)
108 return (ary[(n - 1) / 2] + ary[(n - 1) / 2 + 1]) / 2.0
110 return ary[n / 2]
/external/grpc-grpc/tools/profiling/qps/
Dqps_diff.py105 def _median(ary): argument
106 assert (len(ary))
107 ary = sorted(ary)
108 n = len(ary)
110 return (ary[(n - 1) / 2] + ary[(n - 1) / 2 + 1]) / 2.0
112 return ary[n / 2]
/external/llvm-project/clang/test/CodeGenCXX/
Dbuiltin-bit-cast.cpp46 two_floats test_aggregate_array(int (&ary)[2]) { in test_aggregate_array()
48 return __builtin_bit_cast(two_floats, ary); in test_aggregate_array()
89 unsigned long test_array(int (&ary)[2]) { in test_array()
91 return __builtin_bit_cast(unsigned long, ary); in test_array()
/external/rust/crates/grpcio-sys/grpc/tools/profiling/microbenchmarks/bm_diff/
Dbm_diff.py36 def _median(ary): argument
37 assert (len(ary))
38 ary = sorted(ary)
39 n = len(ary)
41 return (ary[(n - 1) / 2] + ary[(n - 1) / 2 + 1]) / 2.0
43 return ary[n / 2]
/external/grpc-grpc/tools/profiling/microbenchmarks/bm_diff/
Dbm_diff.py36 def _median(ary): argument
37 assert (len(ary))
38 ary = sorted(ary)
39 n = len(ary)
41 return (ary[(n - 1) / 2] + ary[(n - 1) / 2 + 1]) / 2.0
43 return ary[n / 2]
/external/protobuf/ruby/ext/google/protobuf_c/
Drepeated_field.c69 VALUE ary = rb_ary_new2(len); in RepeatedField_subarray() local
73 rb_ary_push(ary, elem); in RepeatedField_subarray()
75 return ary; in RepeatedField_subarray()
390 VALUE ary = rb_ary_new2(self->size); in RepeatedField_to_ary() local
394 rb_ary_push(ary, elem); in RepeatedField_to_ary()
396 return ary; in RepeatedField_to_ary()
551 VALUE ary = Qnil; in RepeatedField_init_args() local
564 ary = argv[2]; in RepeatedField_init_args()
572 ary = argv[1]; in RepeatedField_init_args()
576 if (ary != Qnil) { in RepeatedField_init_args()
[all …]
Dencode_decode.c178 VALUE ary = (VALUE)closure; \
179 RepeatedField_push_native(ary, &val); \
195 VALUE ary = (VALUE)closure; in DEFINE_APPEND_HANDLER() local
198 RepeatedField_push_native(ary, &str); in DEFINE_APPEND_HANDLER()
213 VALUE ary = (VALUE)closure; in appendbytes_handler() local
216 RepeatedField_push_native(ary, &str); in appendbytes_handler()
270 VALUE ary = (VALUE)closure; in appendsubmsg_handler() local
278 RepeatedField_push(ary, submsg_rb); in appendsubmsg_handler()
1008 static void putary(VALUE ary, const upb_fielddef *f, upb_sink *sink, in putary() argument
1015 if (ary == Qnil) return; in putary()
[all …]
Dmessage.c436 VALUE ary; in Message_initialize_kwarg() local
443 ary = layout_get(self->descriptor->layout, Message_data(self), f); in Message_initialize_kwarg()
450 RepeatedField_push(ary, entry); in Message_initialize_kwarg()
/external/clang/test/Parser/
Dtypeof.c13 …void ary[7] fff; // expected-error{{array has incomplete element type 'void'}} expected-error{{exp… in test() local
14 …typeof(void ary[7]) anIntError; // expected-error{{expected ')'}} expected-note {{to match this '(… in test()
Dbuiltin_classify_type.c11 static int ary[__builtin_classify_type(a)]; in main() local
/external/llvm-project/clang/test/Parser/
Dtypeof.c13 …void ary[7] fff; // expected-error{{array has incomplete element type 'void'}} expected-error{{exp… in test() local
14 …typeof(void ary[7]) anIntError; // expected-error{{expected ')'}} expected-note {{to match this '(… in test()
Dbuiltin_classify_type.c11 static int ary[__builtin_classify_type(a)]; in main() local
/external/llvm-project/clang/test/Sema/
Dincomplete-decl.c15 int ary[]; // expected-warning {{tentative array definition assumed to have one element}} variable
19 …int ary[]; // expected-error{{definition of variable with array type needs an explicit size or an … in func() local
Darray-init.c9 static int ary[] = { x, y, z }; // expected-error{{initializer element is not a compile-time consta… variable
/external/clang/test/Sema/
Dincomplete-decl.c15 int ary[]; // expected-warning {{tentative array definition assumed to have one element}} variable
19 …int ary[]; // expected-error{{definition of variable with array type needs an explicit size or an … in func() local
Darray-init.c9 static int ary[] = { x, y, z }; // expected-error{{initializer element is not a compile-time consta… variable
/external/vboot_reference/futility/
Dcmd_dump_fmap.c171 static void sort_nodes(int num, struct node_s *ary[]) in sort_nodes() argument
179 if (ary[j]->start > ary[i]->start) { in sort_nodes()
180 tmp = ary[i]; in sort_nodes()
181 ary[i] = ary[j]; in sort_nodes()
182 ary[j] = tmp; in sort_nodes()
/external/pdfium/fxjs/
Dcjs_publicmethods_embeddertest.cpp197 auto ary = runtime.NewArray(); in TEST_F() local
198 runtime.PutArrayElement(ary, 0, runtime.NewString("Calc1_A")); in TEST_F()
199 runtime.PutArrayElement(ary, 1, runtime.NewString("Calc1_B")); in TEST_F()
203 params.push_back(ary); in TEST_F()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyRepeatedField.java75 IRubyObject ary = null; in initialize() local
86 ary = args[2]; in initialize()
92 ary = args[1]; in initialize()
94 if (ary != null) { in initialize()
95 RubyArray arr = ary.convertToArray(); in initialize()
DRubyMessage.java382 RubyArray ary = value.convertToArray(); in toHash() local
383 for (int i = 0; i < ary.size(); i++) { in toHash()
384 … IRubyObject submsg = Helpers.invoke(context, ary.eltInternal(i), "to_h"); in toHash()
385 ary.eltInternalSet(i, submsg); in toHash()
388 value = ary.to_ary(); in toHash()
689 RubyArray ary = value.convertToArray(); in setField() local
690 … RubyRepeatedField repeatedField = rubyToRepeatedField(context, fieldDescriptor, ary); in setField()
/external/clang/test/CXX/expr/expr.const/
Dp5-0x.cpp18 int ary[a]; // expected-error {{size of array has non-integer type 'const std_example::A'}} variable
/external/llvm-project/clang/test/CXX/expr/expr.const/
Dp5-0x.cpp18 int ary[a]; // expected-error {{ambiguous conversion from type 'const std_example::A' to an integra… variable
/external/ltp/pan/
Dltp-pan.c84 struct coll_entry **ary; member
548 run_child(coll->ary[c], running + i, quiet_mode, in main()
1258 coll->ary = malloc(coll->cnt * sizeof(struct coll_entry *)); in get_collection()
1264 coll->ary[i] = n; in get_collection()
1458 fprintf(stderr, " name=%s cmdline=%s\n", coll->ary[i]->name, in dump_coll()
1459 coll->ary[i]->cmdline); in dump_coll()

1234