HomeSort by: relevance | last modified time | path
    Searched defs:array (Results 1 - 25 of 70) sorted by relevancy

1 2 3

  /src/tests/usr.bin/xlint/lint1/
msg_020.c 4 // Test for message: negative array dimension (%d) [20]
8 /* expect+1: error: negative array dimension (-3) [20] */
9 int array[-3]; variable in typeref:typename:int[]
msg_015.c 8 typedef int array[5]; typedef in typeref:typename:int[5]
10 /* expect+1: error: function returns invalid type 'array[5] of int' [15] */
11 array invalid(void);
msg_190.c 4 // Test for message: empty array declaration for '%s' [190]
8 /* expect+1: error: empty array declaration for 'empty_array' [190] */
11 double array[] = { 1 }; variable in typeref:typename:double[]
msg_182.c 19 /* expect+1: warning: 'array' set but not used in function 'init_discarding_volatile' [191] */
20 void *array[] = { arg }; local in function:init_discarding_volatile
msg_383.c 46 typedef int array[8]; typedef in typeref:typename:int[8]
50 int const_array_callee(const array);
d_bltinoffsetof.c 18 } array[50]; member in struct:foo
29 typedef int array[-(int)__builtin_offsetof(struct foo, array)]; typedef in typeref:typename:int[-(int)__builtin_offsetof (struct foo,array)]
31 typedef int array_0_a[-(int)__builtin_offsetof(struct foo, array[0].a)];
33 typedef int array_0_b[-(int)__builtin_offsetof(struct foo, array[0].b)];
35 typedef int array_1_a[-(int)__builtin_offsetof(struct foo, array[1].a)];
37 // There is no element array[50], but pointing right behind the last element
40 typedef int array_50_a[-(int)__builtin_offsetof(struct foo, array[50].a)];
48 typedef int array_51_a[-(int)__builtin_offsetof(struct foo, array[51].a)];
decl_arg.c 72 /* expect+1: error: declared parameter 'array' is missing [53] */
73 const array[]; variable in typeref:typename:const[]
132 double (array[]),
gcc.c 15 /* expect+1: error: negative array dimension (-13) [20] */
23 // a...b for ranges of array elements.
76 int array[i]; local in function:declaration_of_variable_array
78 array[i] = 0;
  /src/tests/usr.bin/indent/
lsym_rparen_or_rbracket.c 16 int array[3] = {1, 2, 3}; variable in typeref:typename:int[3]
17 int array[3] = {[2] = 3}; variable in typeref:typename:int[3]
24 int a = array[
28 int a = array[
35 int a = array[
39 int a = array[
47 int a = array[
51 int a = array[
lsym_lparen_or_lbracket.c 26 * In a declaration, '[' derives an array type.
28 * In an expression, '[' starts an array subscript.
104 /* The '[' in a type name derives an array type. */
114 /* The '[' in an expression accesses an array element. */
231 int array[] = { variable in typeref:typename:int[]
  /src/usr.sbin/envstat/
envstat.h 42 prop_array_t array; /* array associated */ member in struct:device_block
43 const char *dev_key; /* keyword to find device array */
  /src/sys/dev/ofw/
ofw_i2c_subr.c 48 * Add all sub-devices into an array as part of the controller's
60 prop_array_t array = NULL; local in function:of_copy_i2c_devs
92 if (array == NULL)
93 array = prop_array_create();
102 prop_array_add(array, dev);
106 return array;
  /src/tests/kernel/
t_semtimedop.c 46 u_short *array; /* array for GETALL & SETALL */ member in union:semun
  /src/games/sail/
array.h 45 struct array { struct
50 struct array *array_create(void);
51 void array_destroy(struct array *);
52 void array_init(struct array *);
53 void array_cleanup(struct array *);
54 unsigned array_num(const struct array *);
55 void *array_get(const struct array *, unsigned index_);
56 void array_set(const struct array *, unsigned index_, void *val);
57 int array_setsize(struct array *, unsigned num);
58 int array_add(struct array *, void *val, unsigned *index_ret)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_stackdepot_test.cc 21 uptr array[] = {1, 2, 3, 4, 5}; local in function:__sanitizer::TEST
22 StackTrace s1(array, ARRAY_SIZE(array));
26 EXPECT_EQ(ARRAY_SIZE(array), stack.size);
27 EXPECT_EQ(0, internal_memcmp(stack.trace, array, sizeof(array)));
47 uptr array[] = {1, 2, 3, 4, 6}; local in function:__sanitizer::TEST
48 StackTrace s1(array, ARRAY_SIZE(array));
54 EXPECT_EQ(ARRAY_SIZE(array), stack.size)
    [all...]
  /src/sys/external/bsd/drm/dist/shared-core/
i915_suspend.c 49 u32 *array; local in function:i915_save_palette
56 array = dev_priv->save_palette_a;
58 array = dev_priv->save_palette_b;
61 array[i] = I915_READ(reg + (i << 2));
68 u32 *array; local in function:i915_restore_palette
75 array = dev_priv->save_palette_a;
77 array = dev_priv->save_palette_b;
80 I915_WRITE(reg + (i << 2), array[i]);
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_bo_list.h 71 struct amdgpu_bo_list_entry *array = (void *)&list[1]; local in function:amdgpu_bo_list_array_entry
73 return &array[index];
amdgpu_bo_list.c 74 struct amdgpu_bo_list_entry *array; local in function:amdgpu_bo_list_create
96 array = amdgpu_bo_list_array_entry(list, 0);
97 memset(array, 0, num_entries * sizeof(struct amdgpu_bo_list_entry));
130 entry = &array[--first_userptr];
133 entry = &array[last_entry++];
161 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(array[i].tv.bo);
166 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(array[i].tv.bo);
252 /* copy the handle array from userspace to a kernel buffer */
amdgpu_dma_buf.c 45 #include <linux/dma-fence-array.h>
165 struct dma_fence_array *array; local in function:__dma_resv_make_exclusive
167 array = dma_fence_array_create(count, fences,
170 if (!array)
173 dma_resv_add_excl_fence(obj, &array->base);
174 dma_fence_put(&array->base);
amdgpu_ids.c 31 #include <linux/dma-fence-array.h>
140 struct dma_fence_array *array; local in function:amdgpu_pasid_free_delayed
142 array = dma_fence_array_create(count, fences, context,
144 if (!array) {
148 fence = &array->base;
239 struct dma_fence_array *array; local in function:amdgpu_vmid_grab_idle
246 array = dma_fence_array_create(i, fences, fence_context,
248 if (!array) {
255 r = amdgpu_sync_fence(sync, &array->base, false);
257 ring->vmid_wait = &array->base
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
asan_mem_test.cc 20 T *array = Ident((T*)malloc(size)); local in function:MemSetOOBTestTemplate
24 // memset interval inside array
25 MEMSET(array, element, size);
26 MEMSET(array, element, size - 1);
27 MEMSET(array + length - 1, element, sizeof(T));
28 MEMSET(array, element, 1);
31 MEMSET(array - 10, element, zero);
32 MEMSET(array - 1, element, zero);
33 MEMSET(array, element, zero);
34 MEMSET(array + length, 0, zero)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/gem/
i915_gem_wait.c 12 #include <linux/dma-fence-array.h>
75 * signaled, we can prune the array and recover the
135 /* Recurse once into a fence-array */
137 struct dma_fence_array *array = to_dma_fence_array(fence); local in function:fence_set_priority
140 for (i = 0; i < array->num_fences; i++)
141 __fence_set_priority(array->fences[i], attr);
  /src/tests/lib/libexecinfo/
t_sig_backtrace.c 130 void *array[10]; local in function:handler
131 size_t size = backtrace(array, 10);
136 backtrace_symbols_fd(array, size, STDOUT_FILENO);
138 char **strings = backtrace_symbols_fmt(array, size, "%n");
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
emutls.c 97 uintptr_t size; /* number of elements in the 'data' array */
104 emutls_address_array* array = (emutls_address_array*)ptr; local in function:emutls_key_destructor
106 for (i = 0; i < array->size; ++i) {
107 if (array->data[i])
108 emutls_memalign_free(array->data[i]);
136 static __inline void emutls_check_array_set_size(emutls_address_array *array,
138 if (array == NULL)
140 array->size = size;
141 pthread_setspecific(emutls_pthread_key, (void*)array);
144 /* Returns the new 'data' array size, number of elements
160 emutls_address_array* array = pthread_getspecific(emutls_pthread_key); local in function:emutls_get_address_array
179 emutls_address_array* array = emutls_get_address_array(index); local in function:__emutls_get_address
    [all...]
  /src/usr.bin/dc/
bcode.h 43 struct array;
50 struct array *array; member in struct:value
54 struct array { struct

Completed in 39 milliseconds

1 2 3