Home
last modified time | relevance | path

Searched refs:ary (Results 1 – 25 of 88) 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/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/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()
379 VALUE ary = rb_ary_new2(self->size); in RepeatedField_to_ary() local
383 rb_ary_push(ary, elem); in RepeatedField_to_ary()
385 return ary; in RepeatedField_to_ary()
542 VALUE ary = Qnil; in RepeatedField_init_args() local
555 ary = argv[2]; in RepeatedField_init_args()
563 ary = argv[1]; in RepeatedField_init_args()
567 if (ary != Qnil) { in RepeatedField_init_args()
[all …]
Dencode_decode.c118 VALUE ary = (VALUE)closure; \
119 RepeatedField_push_native(ary, &val); \
135 VALUE ary = (VALUE)closure; in DEFINE_APPEND_HANDLER() local
138 RepeatedField_push(ary, str); in DEFINE_APPEND_HANDLER()
146 VALUE ary = (VALUE)closure; in appendbytes_handler() local
149 RepeatedField_push(ary, str); in appendbytes_handler()
187 VALUE ary = (VALUE)closure; in appendsubmsg_handler() local
195 RepeatedField_push(ary, submsg_rb); in appendsubmsg_handler()
893 static void putary(VALUE ary, const upb_fielddef *f, upb_sink *sink, in putary() argument
900 if (ary == Qnil) return; in putary()
[all …]
Dmessage.c211 VALUE ary; in Message_initialize_kwarg() local
217 ary = layout_get(self->descriptor->layout, Message_data(self), f); in Message_initialize_kwarg()
219 RepeatedField_push(ary, rb_ary_entry(val, i)); in Message_initialize_kwarg()
Dstorage.c685 VALUE ary = Qnil; in layout_init() local
694 ary = rb_class_new_instance(2, args, cRepeatedField); in layout_init()
697 ary = rb_class_new_instance(1, args, cRepeatedField); in layout_init()
700 DEREF(memory, VALUE) = ary; in layout_init()
/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/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/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()
/external/googletest/googletest/docs/
DPumpManual.md56 // Foo$i does blah for $i-ary predicates.
75 // Foo0 does blah for 0-ary predicates.
81 // Foo1 does blah for 1-ary predicates.
87 // Foo2 does blah for 2-ary predicates.
93 // Foo3 does blah for 3-ary predicates.
/external/ltp/pan/
Dltp-pan.c83 struct coll_entry **ary; member
547 run_child(coll->ary[c], running + i, quiet_mode, in main()
1249 coll->ary = malloc(coll->cnt * sizeof(struct coll_entry *)); in get_collection()
1255 coll->ary[i] = n; in get_collection()
1449 fprintf(stderr, " name=%s cmdline=%s\n", coll->ary[i]->name, in dump_coll()
1450 coll->ary[i]->cmdline); in dump_coll()
/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/google-breakpad/src/testing/include/gmock/
Dgmock-generated-actions.h.pump51 // InvokeHelper<F> knows how to unpack an N-tuple and invoke an N-ary
94 // to invoke an n-ary callable, where R is its return type. If an
123 $var arity = [[$if i==2 [[binary]] $elif i==3 [[ternary]] $else [[$i-ary]]]]
149 // type of an n-ary function whose i-th (1-based) argument type is the
757 // (0-based) argument, which must be a k-ary callable, of the mock
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/data/transformtest/
Dfa-t-pl.txt325 Żary ژارو
Dar-t-pl.txt325 Żary جارو
Dchr-t-pl.txt327 Żary ᏌᎵ
Dam-t-pl.txt327 Żary ዣር
Dja-t-pl.txt416 Żary ジャリ
/external/hyphenation-patterns/en-US/
Dushyphex.tex58 anti-rev-o-lu-tion-ary
539 itin-er-ary
935 qua-si-sta-tion-ary
1304 Feb-ru-ary
1333 Jan-u-ary
Dhyph-en-us.hyp.txt59 anti-rev-o-lu-tion-ary
540 itin-er-ary
936 qua-si-sta-tion-ary
1305 feb-ru-ary
1334 jan-u-ary

1234