Home
last modified time | relevance | path

Searched refs:arr (Results 1 – 25 of 112) sorted by relevance

12345

/openbsd/lib/libcrypto/asn1/
H A Dcharmap.pl5 my ($i, @arr);
21 $arr[$i] = 0;
23 $arr[$i] |= $ESC_CTRL;
30 $arr[$i] |= $PSTRING_CHAR;
43 $arr[ord("\"")] |= $RFC2253_ESC;
44 $arr[ord("\\")] |= $RFC2253_ESC;
51 $arr[ord(" ")] |= $PSTRING_CHAR;
52 $arr[ord("'")] |= $PSTRING_CHAR;
53 $arr[ord("(")] |= $PSTRING_CHAR;
54 $arr[ord(")")] |= $PSTRING_CHAR;
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/objc.dg/
H A Ddesig-init-1.m21 int arr[6] = {
29 if (arr[0] != 0 || arr[1] != 45 || arr[2] != 21 || arr[3] != 3)
33 printf ("%d %d %d %d %d %d\n", arr[0], arr[1], arr[2], arr[3], arr[4], arr[5]);
/openbsd/libexec/tradcpp/
H A Darray.h164 struct array arr; \
184 array_init(&a->arr); \
190 array_cleanup(&a->arr); \
213 return array_num(&a->arr); \
231 array_setsize(&a->arr, num); \
237 array_add(&a->arr, (void *)val, ret); \
243 array_insert(&a->arr, index_); \
249 array_remove(&a->arr, index_); \
264 num = T##array_num(arr); \
266 t = T##array_get(arr, i); \
[all …]
/openbsd/gnu/llvm/lld/include/lld/Common/
H A DArrays.h18 inline std::vector<llvm::ArrayRef<uint8_t>> split(llvm::ArrayRef<uint8_t> arr, in split() argument
21 while (arr.size() > chunkSize) { in split()
22 ret.push_back(arr.take_front(chunkSize)); in split()
23 arr = arr.drop_front(chunkSize); in split()
25 if (!arr.empty()) in split()
26 ret.push_back(arr); in split()
/openbsd/gnu/lib/libexecinfo/
H A Dunwind.c39 void **arr; member
54 t->arr[t->n++] = (void *)_Unwind_GetIP(ctx); in tracer()
61 backtrace(void **arr, size_t len) in backtrace() argument
65 ctx.arr = arr; in backtrace()
73 ctx.arr[--ctx.n] = NULL; /* Skip frame below __start */ in backtrace()
/openbsd/gnu/usr.bin/binutils/gdb/testsuite/gdb.trace/
H A Dactions.c15 char arr[25]; member
25 char arr[4]; member
76 gdb_arr_test[0] = gdb_struct1_test.arr[0] = (char) ((long) parm[1] & 0xff); in gdb_c_test()
77 gdb_arr_test[1] = gdb_struct1_test.arr[1] = (char) ((long) parm[2] & 0xff); in gdb_c_test()
78 gdb_arr_test[2] = gdb_struct1_test.arr[2] = (char) ((long) parm[3] & 0xff); in gdb_c_test()
79 gdb_arr_test[3] = gdb_struct1_test.arr[3] = (char) ((long) parm[4] & 0xff); in gdb_c_test()
80 gdb_arr_test[4] = gdb_struct1_test.arr[4] = (char) ((long) parm[5] & 0xff); in gdb_c_test()
81 gdb_arr_test[5] = gdb_struct1_test.arr[5] = (char) ((long) parm[6] & 0xff); in gdb_c_test()
H A Dlimits.c7 int arr[64]; variable
42 for (i = 0; i < sizeof(arr) / sizeof(arr[0]); i++)
43 arr[i] = i + 1;
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/unsorted/
H A Darr.c5 int arr[10]; in foo() local
6 arr[c] = b; in foo()
7 bar (arr[0], arr[1]); in foo()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dbuiltin-prefetch-1.c17 int arr[10]; variable
64 good_const (arr); in main()
65 good_enum (arr); in main()
66 good_expr (arr); in main()
67 good_vararg (arr); in main()
/openbsd/gnu/usr.bin/binutils-2.17/gas/config/
H A Datof-ieee.c678 LITTLENUM_TYPE arr[10]; local
688 gen_to_words (&arr[0], 4, 11);
689 memcpy (&dv, &arr[0], sizeof (double));
690 sprintf (sbuf, "%x %x %x %x %.14G ", arr[0], arr[1], arr[2], arr[3], dv);
691 gen_to_words (&arr[0], 2, 8);
692 memcpy (&fv, &arr[0], sizeof (float));
693 sprintf (sbuf + strlen (sbuf), "%x %x %.12g\n", arr[0], arr[1], fv);
/openbsd/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
H A Dnodebug.c65 int array_index (char *arr, int i) in array_index() argument
68 array_index (arr, i) in array_index()
69 char *arr; in array_index()
78 retval = arr[*x];
/openbsd/gnu/usr.bin/binutils/gas/config/
H A Datof-ieee.c711 LITTLENUM_TYPE arr[10]; local
721 gen_to_words (&arr[0], 4, 11);
722 memcpy (&dv, &arr[0], sizeof (double));
723 sprintf (sbuf, "%x %x %x %x %.14G ", arr[0], arr[1], arr[2], arr[3], dv);
724 gen_to_words (&arr[0], 2, 8);
725 memcpy (&fv, &arr[0], sizeof (float));
726 sprintf (sbuf + strlen (sbuf), "%x %x %.12g\n", arr[0], arr[1], fv);
/openbsd/sys/dev/pci/drm/i915/selftests/
H A Di915_random.c45 void i915_prandom_shuffle(void *arr, size_t elsz, size_t count, in i915_prandom_shuffle() argument
64 memcpy(stack, arr + count * elsz, elsz); in i915_prandom_shuffle()
65 memcpy(arr + count * elsz, arr + swp * elsz, elsz); in i915_prandom_shuffle()
66 memcpy(arr + swp * elsz, stack, elsz); in i915_prandom_shuffle()
/openbsd/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptedThreadPythonInterface.cpp118 StructuredData::ArraySP arr = in GetStackFrames() local
121 if (!CheckStructuredDataObject(LLVM_PRETTY_FUNCTION, arr, error)) in GetStackFrames()
124 return arr; in GetStackFrames()
150 StructuredData::ArraySP arr = in GetExtendedInfo() local
153 if (!CheckStructuredDataObject(LLVM_PRETTY_FUNCTION, arr, error)) in GetExtendedInfo()
156 return arr; in GetExtendedInfo()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dtypeck2.C9 typedef int arr[10]; typedef
13 int * q = new arr; /* g++ complains, but shouldn't */ in main()
14 int (* r)[10] = new arr; /* g++ doesn't complain, but should */// ERROR - in main()
H A Dctors8.C15 foo *arr = new foo[2]; variable
19 if (arr[0].index == -1 in main()
20 && arr[1].index == -1) in main()
/openbsd/gnu/usr.bin/perl/cpan/libnet/lib/Net/
H A DNNTP.pm458 my $arr;
648 my $arr = $nntp->read_until_dot
653 foreach my $ln (@$arr) {
664 my $arr = $nntp->read_until_dot
669 foreach my $ln (@$arr) {
681 my $arr = $nntp->read_until_dot;
683 chomp(@$arr)
684 if $arr;
686 $arr;
692 my $arr = $nntp->read_until_dot
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dstatic3.C7 static T arr[5]; member
11 T A<T>::arr[5] = { 0, 1, 2, 3, 4 };
15 return A<int>::arr[0]; in main()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Doverload24.C5 typedef int arr[1]; typedef
9 void f(arr &);
20 arr bar; in h()
/openbsd/gnu/llvm/clang/tools/clang-fuzzer/proto-to-llvm/
H A Dloop_proto_to_llvm.cpp56 std::string arr; in VarRefToString() local
57 switch(x.arr()) { in VarRefToString()
59 arr = "%a"; in VarRefToString()
62 arr = "%b"; in VarRefToString()
65 arr = "%c"; in VarRefToString()
69 os << ptr_var << " = getelementptr inbounds i32, i32* " << arr in VarRefToString()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_common_test.cpp256 std::vector<int> arr = {1, 3, 5, 7, 11}; in TEST() local
258 EXPECT_EQ(0u, InternalLowerBound(arr, 0)); in TEST()
259 EXPECT_EQ(0u, InternalLowerBound(arr, 1)); in TEST()
260 EXPECT_EQ(1u, InternalLowerBound(arr, 2)); in TEST()
261 EXPECT_EQ(1u, InternalLowerBound(arr, 3)); in TEST()
262 EXPECT_EQ(2u, InternalLowerBound(arr, 4)); in TEST()
263 EXPECT_EQ(2u, InternalLowerBound(arr, 5)); in TEST()
264 EXPECT_EQ(3u, InternalLowerBound(arr, 6)); in TEST()
265 EXPECT_EQ(3u, InternalLowerBound(arr, 7)); in TEST()
266 EXPECT_EQ(4u, InternalLowerBound(arr, 8)); in TEST()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A Dbuiltin-prefetch-1.c11 int arr[10]; variable
40 good (arr); in main()
41 bad (arr); in main()
/openbsd/gnu/llvm/compiler-rt/lib/asan/tests/
H A Dasan_interface_test.cpp241 char *arr = Ident((char*)malloc(kSize)); in TEST() local
247 __asan_unpoison_memory_region(arr, kSize); in TEST()
248 __asan_poison_memory_region(arr + l1, s1); in TEST()
249 __asan_poison_memory_region(arr + l2, s2); in TEST()
256 ASSERT_EQ(expected[i], __asan_address_is_poisoned(arr + i)); in TEST()
259 __asan_poison_memory_region(arr, kSize); in TEST()
260 __asan_unpoison_memory_region(arr + l1, s1); in TEST()
261 __asan_unpoison_memory_region(arr + l2, s2); in TEST()
268 ASSERT_EQ(expected[i], __asan_address_is_poisoned(arr + i)); in TEST()
274 free(arr); in TEST()
/openbsd/gnu/usr.bin/perl/lib/
H A Dbuiltin.t58 my $arr = [];
59 my $ref = $arr;
70 undef $arr;
82 my $arr = [];
85 is(refaddr($arr), $arr+0, 'refaddr yields same as ref in numeric context');
88 is(reftype($arr), "ARRAY", 'reftype yields type string');
92 is(blessed($arr), undef, 'blessed yields undef for non-object');
/openbsd/sys/dev/pci/drm/i915/display/
H A Dintel_global_state.c105 struct __intel_global_objs_state *arr; in intel_atomic_get_global_obj_state() local
117 arr = krealloc(state->global_objs, size, GFP_KERNEL); in intel_atomic_get_global_obj_state()
118 if (!arr) in intel_atomic_get_global_obj_state()
121 arr = kmalloc(size, GFP_KERNEL); in intel_atomic_get_global_obj_state()
122 if (!arr) in intel_atomic_get_global_obj_state()
124 memcpy(arr, state->global_objs, in intel_atomic_get_global_obj_state()
129 state->global_objs = arr; in intel_atomic_get_global_obj_state()

12345