Home
last modified time | relevance | path

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

123456

/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/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/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 …]
Dmessage.c443 VALUE ary; in Message_initialize_kwarg() local
451 ary = layout_get(self->descriptor->layout, Message_data(self), f); in Message_initialize_kwarg()
458 RepeatedField_push(ary, entry); in Message_initialize_kwarg()
Dstorage.c814 VALUE ary = Qnil; in layout_clear() local
823 ary = rb_class_new_instance(2, args, cRepeatedField); in layout_clear()
826 ary = rb_class_new_instance(1, args, cRepeatedField); in layout_clear()
829 DEREF(memory, VALUE) = ary; in layout_clear()
/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/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_int_cubemaps.c128 nir_ssa_def *ary; member
159 nir_ssa_def *ima = nir_fdiv(b, nir_imm_float(b, 0.5), coord->ary); in evaluate_face_y()
390 coords.ary = nir_fabs(b, coords.ry); in lower_cube_coords()
397 nir_fge(b, coords.arx, coords.ary), in lower_cube_coords()
405 nir_fge(b, coords.ary, coords.arx), in lower_cube_coords()
406 nir_fge(b, coords.ary, coords.arz)); in lower_cube_coords()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_lower_cubemap_to_array.c83 nir_ssa_def *ary; member
112 nir_ssa_def *ima = nir_fdiv(b, nir_imm_float(b, 0.5), coord->ary); in evaluate_face_y()
351 coords.ary = nir_fabs(b, coords.ry); in lower_cube_coords()
358 nir_fge(b, coords.arx, coords.ary), in lower_cube_coords()
366 nir_fge(b, coords.ary, coords.arx), in lower_cube_coords()
367 nir_fge(b, coords.ary, coords.arz)); in lower_cube_coords()
/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/json/doc/mkdocs/docs/api/basic_json/
Dinput_format_t.md28 : BSON (Bin­ary JSON)
/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/alsa-lib/src/seq/
Dseq_midi_event.c128 #define numberof(ary) (sizeof(ary)/sizeof(ary[0])) argument
/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()
/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/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/
Dmod.rs230 ary: [u64; 4],
1559 for slot in cpuset.ary.iter_mut() {
1566 cpuset.ary[idx] |= 1 << offset;
1572 cpuset.ary[idx] &= !(1 << offset);
1578 0 != cpuset.ary[idx] & (1 << offset)
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DDisplay.cpp524 const std::vector<std::string> EGLStringArrayToStringVector(const char **ary) in EGLStringArrayToStringVector() argument
527 if (ary != nullptr) in EGLStringArrayToStringVector()
529 for (; *ary != nullptr; ary++) in EGLStringArrayToStringVector()
531 vec.push_back(std::string(*ary)); in EGLStringArrayToStringVector()
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_test.cc433 auto* ary = ref->StoreType()->As<sem::Array>(); in TEST_F() local
434 EXPECT_EQ(ary->Count(), 10u); in TEST_F()
447 auto* ary = ref->StoreType()->As<sem::Array>(); in TEST_F() local
448 EXPECT_EQ(ary->Count(), 10u); in TEST_F()
463 auto* ary = ref->StoreType()->As<sem::Array>(); in TEST_F() local
464 EXPECT_EQ(ary->Count(), 10u); in TEST_F()
479 auto* ary = ref->StoreType()->As<sem::Array>(); in TEST_F() local
480 EXPECT_EQ(ary->Count(), 10u); in TEST_F()

123456