/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
|
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)];
|
msg_383.c | 46 typedef int array[8]; typedef in typeref:typename:int[8] 50 int const_array_callee(const array);
|
/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[
|
/src/games/battlestar/ |
misc.c | 45 card(const char *array, int size) 47 const char *end = array + size; 50 while (array < end) 51 if (*array++) 57 ucard(const unsigned int *array) 62 if (testbit(array, n))
|
/src/sys/arch/luna68k/dev/xplx/ |
cdump.awk | 28 split($0, array, " "); 30 # array[1] is the first column (address). 32 str = array[2 + i]
|
/src/usr.bin/dc/ |
stack.c | 30 static struct array *array_new(void); 31 static __inline void array_free(struct array *); 32 static struct array * array_dup(const struct array *); 33 static __inline void array_grow(struct array *, size_t); 34 static __inline void array_assign(struct array *, size_t, const struct value *); 35 static __inline struct value *array_retrieve(const struct array *, size_t); 68 array_free(v->array); 69 v->array = NULL; 91 copy->array = a->array == NULL ? NULL : array_dup(a->array) [all...] |
bcode.h | 43 struct array; 50 struct array *array; member in struct:value 54 struct array { struct
|
/src/common/lib/libprop/ |
prop_array_util.c | 34 * stored in array. 45 prop_array_get_bool(prop_array_t array, unsigned int indx, bool *valp) 49 b = prop_array_get(array, indx); 59 prop_array_set_bool(prop_array_t array, unsigned int indx, bool val) 62 return prop_array_set_and_rel(array, indx, prop_bool_create(val)); 66 prop_array_add_bool(prop_array_t array, bool val) 69 return prop_array_add_and_rel(array, prop_bool_create(val)); 74 prop_array_get_ ## name (prop_array_t array, \ 79 prop_array_get(array, indx), valp); \ 106 prop_array_set_signed_number(prop_array_t array, unsigned int indx [all...] |
/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/sys/dev/microcode/tools/ |
array2bin.c | 30 * Takes an array from array.h named array[], and spits it out as a 50 #include "array.h" 58 write(STDOUT_FILENO, array, sizeof(array));
|
/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...] |
array.c | 34 #include "array.h" 36 struct array * 39 struct array *a; 49 array_destroy(struct array *a) 56 array_init(struct array *a) 63 array_cleanup(struct array *a) 73 array_setsize(struct array *a, unsigned num) 91 array_insert(struct array *a, unsigned index_) 109 array_remove(struct array *a, unsigned index_)
|
/src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/ |
asan_interface_test.cc | 32 char *array = Ident((char*)malloc(kArraySize)); local in function:TEST 37 EXPECT_EQ(true, __sanitizer_get_ownership(array)); 38 EXPECT_EQ(kArraySize, __sanitizer_get_allocated_size(array)); 48 EXPECT_FALSE(__sanitizer_get_ownership(array + kArraySize / 2)); 49 EXPECT_DEATH(__sanitizer_get_allocated_size(array + kArraySize / 2), 59 free(array); 60 EXPECT_FALSE(__sanitizer_get_ownership(array)); 61 EXPECT_DEATH(__sanitizer_get_allocated_size(array), 78 char *array; local in function:TEST 82 array = Ident((char*)malloc(kMallocSize)) 168 char *array = Ident((char*)malloc(120)); local in function:TEST 186 char *array = Ident((char*)malloc(120)); local in function:TEST 379 char *array = Ident((char*)malloc(120)); local in function:TEST 416 char array[40]; local in function:TEST [all...] |
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/arch/arc/arc/ |
platconf.c | 41 #define ARRAY_LENGTH(array) (sizeof(array) / sizeof(array[0]))
|
/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/drm2/include/linux/ |
sort.h | 40 sort(void *array, size_t nelem, size_t elemsize, 51 kheapsort(array, nelem, elemsize, cmp, tmp);
|
/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/sys/external/bsd/compiler_rt/dist/lib/fuzzer/scripts/ |
merge_data_flow.py | 16 from array import array 19 res = array('b')
|
/src/sbin/routed/rtquery/ |
Makefile | 14 CWARNFLAGS.clang+= -Wno-array-bounds
|
/src/usr.bin/tftp/ |
Makefile | 12 ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 8:? -Wno-array-bounds :}
|