Home
last modified time | relevance | path

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

1234567

/third_party/selinux/libselinux/src/
Dcompute_user.c17 char **ary; in security_compute_user_raw() local
57 ary = malloc((nel + 1) * sizeof(char *)); in security_compute_user_raw()
58 if (!ary) { in security_compute_user_raw()
65 ary[i] = strdup(ptr); in security_compute_user_raw()
66 if (!ary[i]) { in security_compute_user_raw()
67 freeconary(ary); in security_compute_user_raw()
73 ary[nel] = NULL; in security_compute_user_raw()
74 *con = ary; in security_compute_user_raw()
/third_party/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]
/third_party/nghttp2/src/
Dshrpx_mruby_module.cc98 auto ary = mrb_hash_get(mrb, hash, key); in create_headers_hash() local
99 if (mrb_nil_p(ary)) { in create_headers_hash()
100 ary = mrb_ary_new(mrb); in create_headers_hash()
101 mrb_hash_set(mrb, hash, key, ary); in create_headers_hash()
103 mrb_ary_push(mrb, ary, mrb_str_new(mrb, hd.value.c_str(), hd.value.size())); in create_headers_hash()
/third_party/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]
/third_party/protobuf/ruby/ext/google/protobuf_c/
Drepeated_field.c68 VALUE ary = rb_ary_new2(len); in RepeatedField_subarray() local
74 rb_ary_push(ary, elem); in RepeatedField_subarray()
76 return ary; in RepeatedField_subarray()
400 VALUE ary = rb_ary_new2(self->size); in RepeatedField_to_ary() local
406 rb_ary_push(ary, elem); in RepeatedField_to_ary()
408 return ary; in RepeatedField_to_ary()
573 VALUE ary = Qnil; in RepeatedField_init_args() local
586 ary = argv[2]; in RepeatedField_init_args()
594 ary = argv[1]; in RepeatedField_init_args()
598 if (ary != Qnil) { in RepeatedField_init_args()
[all …]
Dencode_decode.c206 VALUE ary = (VALUE)closure; \
207 RepeatedField_push_native(ary, &val); \
223 VALUE ary = (VALUE)closure; in DEFINE_APPEND_HANDLER() local
226 RepeatedField_push_native(ary, &str); in DEFINE_APPEND_HANDLER()
241 VALUE ary = (VALUE)closure; in appendbytes_handler() local
244 RepeatedField_push_native(ary, &str); in appendbytes_handler()
298 VALUE ary = (VALUE)closure; in appendsubmsg_handler() local
303 RepeatedField_push(ary, submsg_rb); in appendsubmsg_handler()
311 VALUE ary = (VALUE)closure; in appendwrapper_handler() local
312 int size = RepeatedField_size(ary); in appendwrapper_handler()
[all …]
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder_type_test.cc30 auto* ary = ty.array(ty.i32()); in TEST_F() local
31 auto* str = Structure("S", {Member("x", ary)}, in TEST_F()
41 auto id = b.GenerateTypeIfNeeded(program->TypeOf(ary)); in TEST_F()
51 auto* ary = ty.array(ty.i32()); in TEST_F() local
52 auto* str = Structure("S", {Member("x", ary)}, in TEST_F()
62 EXPECT_EQ(b.GenerateTypeIfNeeded(program->TypeOf(ary)), 1u); in TEST_F()
63 EXPECT_EQ(b.GenerateTypeIfNeeded(program->TypeOf(ary)), 1u); in TEST_F()
72 auto* ary = ty.array(ty.i32(), 4); in TEST_F() local
73 Global("a", ary, ast::StorageClass::kPrivate); in TEST_F()
77 auto id = b.GenerateTypeIfNeeded(program->TypeOf(ary)); in TEST_F()
[all …]
Dbuilder_accessor_expression_test.cc31 auto* ary = Expr("ary"); in TEST_F() local
34 auto* expr = IndexAccessor(ary, idx_expr); in TEST_F()
68 auto* ary = Expr("ary"); in TEST_F() local
71 auto* expr = IndexAccessor(ary, idx_expr); in TEST_F()
107 auto* ary = Expr("ary"); in TEST_F() local
109 auto* expr = IndexAccessor(ary, Add(1, 2)); in TEST_F()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_array_accessor_test.cc25 auto* ary = Var("ary", ty.array<i32, 10>()); in TEST_F() local
27 WrapInFunction(ary, expr); in TEST_F()
/third_party/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()
/third_party/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.
/third_party/boost/libs/mpl/doc/src/refmanual/
Dquote.rst37 ``quote``\ *n* is a higher-order primitive that wraps an *n*-ary |Metafunction| to create
70 For any *n*-ary |Metafunction| ``f`` and arbitrary type ``tag``:
Dunpack_args.rst24 A higher-order primitive transforming an *n*-ary |Lambda Expression| ``F`` into
DMetafunctionClass.rst66 ``f`` is an *n*-ary metafunction class; ``apply`` is a |Metafunction|.
DMetafunction.rst75 ``f`` is an *n*-ary |Metafunction|; |a1...an| are types;
/third_party/boringssl/src/third_party/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.
/third_party/json/doc/mkdocs/docs/features/binary_formats/
Dbson.md3 BSON, short for Bin­ary JSON, is a bin­ary-en­coded seri­al­iz­a­tion of JSON-like doc­u­ments. Lik…
/third_party/node/src/
Dnode_blob.cc84 Local<Array> ary = args[0].As<Array>(); in New() local
85 for (size_t n = 0; n < ary->Length(); n++) { in New()
87 if (!ary->Get(env->context(), n).ToLocal(&entry)) in New()
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl.cc369 if (auto* ary = ty->As<ast::Array>()) { in EmitType() local
370 for (auto* deco : ary->decorations) { in EmitType()
377 if (!EmitType(out, ary->type)) { in EmitType()
381 if (!ary->IsRuntimeArray()) { in EmitType()
383 if (!EmitExpression(out, ary->count)) { in EmitType()
/third_party/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()
/third_party/boost/libs/phoenix/doc/starter_kit/
Darguments.qbk15 Arguments, on the other hand, evaluate to an N-ary function. An argument
/third_party/typescript/tests/baselines/reference/user/
Dlodash.log151 …| undefined, holdersRight?: any[] | undefined, argPos?: any[] | undefined, ary?: number | undefine…
190 node_modules/lodash/ary.js(23,23): error TS1016: A required parameter cannot follow an optional par…
311 …h/fp/_baseConvert.js(183,21): error TS2339: Property 'ary' does not exist on type 'Function | { ar…
312 Property 'ary' does not exist on type 'Function'.
313 …,24): error TS2339: Property 'assign' does not exist on type 'Function | { ary: any; assign: any; …
315 …5,23): error TS2339: Property 'clone' does not exist on type 'Function | { ary: any; assign: any; …
317 …6,23): error TS2339: Property 'curry' does not exist on type 'Function | { ary: any; assign: any; …
319 …22): error TS2339: Property 'forEach' does not exist on type 'Function | { ary: any; assign: any; …
321 …25): error TS2339: Property 'isArray' does not exist on type 'Function | { ary: any; assign: any; …
323 …25): error TS2339: Property 'isError' does not exist on type 'Function | { ary: any; assign: any; …
[all …]
/third_party/skia/third_party/externals/tint/src/transform/
Dmodule_scope_var_to_entry_point_param.cc39 } else if (auto* ary = type->As<sem::Array>()) { in ContainsMatrix() local
40 return ContainsMatrix(ary->ElemType()); in ContainsMatrix()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DDisplay.cpp316 const std::vector<std::string> EGLStringArrayToStringVector(const char **ary) in EGLStringArrayToStringVector() argument
319 if (ary != nullptr) in EGLStringArrayToStringVector()
321 for (; *ary != nullptr; ary++) in EGLStringArrayToStringVector()
323 vec.push_back(std::string(*ary)); in EGLStringArrayToStringVector()

1234567