Home
last modified time | relevance | path

Searched refs:ARRAY (Results 1 – 25 of 98) sorted by relevance

1234

/netbsd-src/games/sail/
H A Darray.h137 #define DECLARRAY_BYTYPE(ARRAY, T) \ argument
138 struct ARRAY { \
142 struct ARRAY *ARRAY##_create(void); \
143 void ARRAY##_destroy(struct ARRAY *a); \
144 void ARRAY##_init(struct ARRAY *a); \
145 void ARRAY##_cleanup(struct ARRAY *a); \
146 unsigned ARRAY##_num(const struct ARRAY *a); \
147 T *ARRAY##_get(const struct ARRAY *a, unsigned index_); \
148 void ARRAY##_set(struct ARRAY *a, unsigned index_, T *val); \
149 int ARRAY##_setsize(struct ARRAY *a, unsigned num); \
[all …]
/netbsd-src/external/bsd/tradcpp/dist/
H A Darray.h162 #define DECLARRAY_BYTYPE(ARRAY, T, INLINE) \ argument
163 struct ARRAY { \
167 INLINE struct ARRAY *ARRAY##_create(void); \
168 INLINE void ARRAY##_destroy(struct ARRAY *a); \
169 INLINE void ARRAY##_init(struct ARRAY *a); \
170 INLINE void ARRAY##_cleanup(struct ARRAY *a); \
171 INLINE unsigned ARRAY##_num(const struct ARRAY *a); \
172 INLINE T *ARRAY##_get(const struct ARRAY *a, unsigned index_); \
173 INLINE void ARRAY##_set(struct ARRAY *a, unsigned index_, T *val); \
174 INLINE void ARRAY##_setsize(struct ARRAY *a, unsigned num); \
[all …]
/netbsd-src/usr.bin/rump_dhcpclient/
H A Ddhcp.c47 #define ARRAY (1 << 9) macro
74 { 33, IPV4 | ARRAY | REQUEST, "static_routes" },
75 { 3, IPV4 | ARRAY | REQUEST, "routers" },
77 { 4, IPV4 | ARRAY, "time_servers" },
78 { 5, IPV4 | ARRAY, "ien116_name_servers" },
79 { 6, IPV4 | ARRAY, "domain_name_servers" },
80 { 7, IPV4 | ARRAY, "log_servers" },
81 { 8, IPV4 | ARRAY, "cookie_servers" },
82 { 9, IPV4 | ARRAY, "lpr_servers" },
83 { 10, IPV4 | ARRAY, "impress_servers" },
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dopt-gather.awk24 function sort(ARRAY, ELEMENTS)
27 for (j = i; ARRAY[j-1] > ARRAY[j]; --j) {
28 temp = ARRAY[j]
29 ARRAY[j] = ARRAY[j-1]
30 ARRAY[j-1] = temp
H A Dgcov-io.h218 #define GCOV_UNSIGNED2STRING(ARRAY,VALUE) \ argument
219 ((ARRAY)[0] = (char)((VALUE) >> 24), \
220 (ARRAY)[1] = (char)((VALUE) >> 16), \
221 (ARRAY)[2] = (char)((VALUE) >> 8), \
222 (ARRAY)[3] = (char)((VALUE) >> 0))
H A Drtl-iter.h278 #define FOR_EACH_SUBRTX(ITER, ARRAY, X, TYPE) \ argument
279 for (subrtx_iterator ITER (ARRAY, X, TYPE##_BOUNDS); !ITER.at_end (); \
283 #define FOR_EACH_SUBRTX_VAR(ITER, ARRAY, X, TYPE) \ argument
284 for (subrtx_var_iterator ITER (ARRAY, X, TYPE##_BOUNDS); !ITER.at_end (); \
290 #define FOR_EACH_SUBRTX_PTR(ITER, ARRAY, X, TYPE) \ argument
291 for (subrtx_ptr_iterator ITER (ARRAY, X, TYPE##_BOUNDS); !ITER.at_end (); \
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dopt-gather.awk24 function sort(ARRAY, ELEMENTS)
27 for (j = i; ARRAY[j-1] > ARRAY[j]; --j) {
28 temp = ARRAY[j]
29 ARRAY[j] = ARRAY[j-1]
30 ARRAY[j-1] = temp
H A Dgcov-io.h235 #define GCOV_UNSIGNED2STRING(ARRAY,VALUE) \ argument
236 ((ARRAY)[0] = (char)((VALUE) >> 24), \
237 (ARRAY)[1] = (char)((VALUE) >> 16), \
238 (ARRAY)[2] = (char)((VALUE) >> 8), \
239 (ARRAY)[3] = (char)((VALUE) >> 0))
H A Drtl-iter.h278 #define FOR_EACH_SUBRTX(ITER, ARRAY, X, TYPE) \ argument
279 for (subrtx_iterator ITER (ARRAY, X, TYPE##_BOUNDS); !ITER.at_end (); \
283 #define FOR_EACH_SUBRTX_VAR(ITER, ARRAY, X, TYPE) \ argument
284 for (subrtx_var_iterator ITER (ARRAY, X, TYPE##_BOUNDS); !ITER.at_end (); \
290 #define FOR_EACH_SUBRTX_PTR(ITER, ARRAY, X, TYPE) \ argument
291 for (subrtx_ptr_iterator ITER (ARRAY, X, TYPE##_BOUNDS); !ITER.at_end (); \
/netbsd-src/external/bsd/bc/dist/
H A Dbc.y394 { $$ = nextarg (NULL, lookup ($1,ARRAY), FALSE); }
396 { $$ = nextarg (NULL, lookup ($2,ARRAY), TRUE);
400 { $$ = nextarg (NULL, lookup ($2,ARRAY), TRUE);
406 { $$ = nextarg ($1, lookup ($3,ARRAY), FALSE); }
408 { $$ = nextarg ($1, lookup ($4,ARRAY), TRUE);
412 { $$ = nextarg ($1, lookup ($4,ARRAY), TRUE);
431 -lookup ($1,ARRAY));
446 -lookup ($3,ARRAY));
774 $$ = lookup($1,ARRAY);
H A Dconst.h91 #define ARRAY 1 macro
/netbsd-src/external/gpl3/gcc/dist/libgfortran/m4/
H A Dpack.m435 13.14.80 PACK (ARRAY, MASK, [VECTOR])
43 ARRAY may be of any type. It shall not be scalar.
44 MASK shall be of type LOGICAL. It shall be conformable with ARRAY.
46 as ARRAY. VECTOR shall have at least as many elements as
49 elements as there are in ARRAY.
52 same type and type parameters as ARRAY. If VECTOR is present, the
55 value true, in which case the result size is the size of ARRAY.
57 Result Value: Element /i/ of the result is the element of ARRAY
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/m4/
H A Dpack.m435 13.14.80 PACK (ARRAY, MASK, [VECTOR])
43 ARRAY may be of any type. It shall not be scalar.
44 MASK shall be of type LOGICAL. It shall be conformable with ARRAY.
46 as ARRAY. VECTOR shall have at least as many elements as
49 elements as there are in ARRAY.
52 same type and type parameters as ARRAY. If VECTOR is present, the
55 value true, in which case the result size is the size of ARRAY.
57 Result Value: Element /i/ of the result is the element of ARRAY
/netbsd-src/usr.bin/xlint/lint1/
H A Dinit.c160 if (!(ltp != NULL && ltp->t_tspec == ARRAY && rn->tn_op == STRING)) in can_init_character_array()
296 case ARRAY: in designator_type()
398 } else if (tp->t_tspec == ARRAY) in designation_descend()
503 case ARRAY: in brace_level_advance()
528 lint_assert(tp->t_tspec == ARRAY); in warn_too_many_initializers()
589 if (is_struct_or_union(ltp->t_tspec) || ltp->t_tspec == ARRAY) { in brace_level_goto()
764 else if (tp->t_tspec == ARRAY) in initialization_add_designator_member()
796 if (tp->t_tspec != ARRAY) { in initialization_add_designator_subscript()
827 if (in->in_sym->s_type->t_tspec == ARRAY) in initialization_expr_using_op()
H A Ddecl.c176 if (t == ARRAY) in is_incomplete()
793 while (tp->t_tspec == ARRAY) { in length_in_bits()
830 while (tp->t_tspec == ARRAY) in alignment()
894 if (t == FUNC || t == ARRAY) { in check_type()
908 } else if (to == ARRAY) { in check_type()
915 if (t == ARRAY && tp->u.dimension == 0) { in check_type()
1143 if (sz == 0 && t == ARRAY && dsym->s_type->u.dimension == 0) in declare_member()
1249 type_t *tp = block_derive_type(stp, ARRAY); in block_derive_array()
2272 if (t == ARRAY && tp1->u.dimension != tp2->u.dimension) { in types_compatible()
2315 if (dst->t_tspec == ARRAY) { in complete_type()
[all...]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Djson.d94 ARRAY, /// ditto enumerator
278 enforce!JSONException(type == JSON_TYPE.ARRAY, in inout()
307 enforce!JSONException(type == JSON_TYPE.ARRAY, in inout()
377 type_tag = JSON_TYPE.ARRAY; in assign()
404 type_tag = JSON_TYPE.ARRAY;
452 assert(j.type == JSON_TYPE.ARRAY);
632 case JSON_TYPE.ARRAY: in opEquals()
946 value.type_tag = JSON_TYPE.ARRAY; in parseValue()
1083 static assert(parseJSON(issue15742arrayOfArray).type == JSON_TYPE.ARRAY);
1278 case JSON_TYPE.ARRAY: in toValue()
[all …]
/netbsd-src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
H A Darray.h28 #ifndef ARRAY
31 #define ARRAY(type, name) \ macro
H A Dlibverify.c175 ARRAY(uint64_t, subpackets);
203 ARRAY(pgpv_string_t, subattrs);
240 ARRAY(uint64_t, signatures);
247 ARRAY(uint64_t, signatures);
254 ARRAY(uint64_t, signatures);
260 ARRAY(uint64_t, signatures);
261 ARRAY(uint64_t, signed_userids);
262 ARRAY(uint64_t, signed_userattrs);
263 ARRAY(uint64_t, signed_subkeys);
270 ARRAY(pgpv_pkt_t, pkts); /* packet array */
[all …]
/netbsd-src/usr.bin/xlint/common/
H A Dinittyp.c125 typeinfo("array", ARRAY, ARRAY, 0, 0, ' '),
/netbsd-src/sys/kern/
H A Dsubr_kmem.c243 #define KMEM_CACHE_PROBE(ARRAY, INDEX, PTR, REQSIZE, ALLOCSIZE, FLAGS) \ argument
253 #define KMEM_CACHE_PROBE(ARRAY, INDEX, PTR, REQSIZE, ALLOCSIZE, FLAGS) do \ argument
257 KDASSERT((INDEX) < __arraycount(ARRAY)); \
258 if (__predict_false((id = *(ARRAY)[INDEX]) != 0)) { \
/netbsd-src/sys/external/bsd/common/include/linux/
H A Dkernel.h136 #define ARRAY_SIZE(ARRAY) __arraycount(ARRAY) argument
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dintrinsic.texi1083 @code{ALLOCATED(ARRAY)} and @code{ALLOCATED(SCALAR)} check the allocation
1084 status of @var{ARRAY} and @var{SCALAR}, respectively.
1095 @item @code{RESULT = ALLOCATED(ARRAY)}
1101 @item @var{ARRAY} @tab The argument shall be an @code{ALLOCATABLE} array.
4538 than the rank of @var{ARRAY}, and a size corresponding to the shape
4539 of @var{ARRAY} with the @var{DIM} dimension removed.
4634 @code{CSHIFT(ARRAY, SHIFT [, DIM])} performs a circular shift on elements of
4635 @var{ARRAY} along the dimension of @var{DIM}. If @var{DIM} is omitted it is
4637 range of @math{1 \leq DIM \leq n)} where @math{n} is the rank of @var{ARRAY}.
4638 If the rank of @var{ARRAY} is one, then all elements of @var{ARRAY} are shifted
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dintrinsic.texi1087 @code{ALLOCATED(ARRAY)} and @code{ALLOCATED(SCALAR)} check the allocation
1088 status of @var{ARRAY} and @var{SCALAR}, respectively.
1099 @item @code{RESULT = ALLOCATED(ARRAY)}
1105 @item @var{ARRAY} @tab The argument shall be an @code{ALLOCATABLE} array.
4542 than the rank of @var{ARRAY}, and a size corresponding to the shape
4543 of @var{ARRAY} with the @var{DIM} dimension removed.
4638 @code{CSHIFT(ARRAY, SHIFT [, DIM])} performs a circular shift on elements of
4639 @var{ARRAY} along the dimension of @var{DIM}. If @var{DIM} is omitted it is
4641 range of @math{1 \leq DIM \leq n)} where @math{n} is the rank of @var{ARRAY}.
4642 If the rank of @var{ARRAY} is one, then all elements of @var{ARRAY} are shifted
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBTF.def20 HANDLE_BTF_KIND(3, ARRAY)
/netbsd-src/external/bsd/flex/dist/examples/manual/
H A Dpascal.lex56 array return(ARRAY);

1234