/src/tests/usr.bin/xlint/lint1/ |
msg_191.c | 11 int local; local in function:example 13 /* expect+1: warning: 'local' set but not used in function 'example' [191] */ 14 local = 3; 16 local = 5;
|
msg_268.c | 11 /* expect+1: warning: variable 'local' declared inline [268] */ 12 inline int local = arg; local in function:example 14 return local;
|
msg_185.c | 18 any local = { 3.0 }; local in function:initialization_with_redundant_braces
|
msg_138.c | 18 /* expect+1: error: 'local' has incomplete type 'incomplete struct incomplete' [31] */ 19 struct incomplete local = i1; local in function:function
|
msg_302.c | 18 int local = 3; local in function:return_local 20 return &local; 26 int local[5], *indirect = local; local in function:return_local_array 31 return local; 34 return &local[3]; 37 return 5 + local; 40 return local + 5; 43 return local - -3; 49 return (local); [all...] |
msg_188.c | 22 /* expect+1: warning: 'local' set but not used in function 'function' [191] */ 23 struct point local = { local in function:function
|
expr_cast.c | 26 } local = { local in function:cast 32 return (struct S)local;
|
msg_129.c | 115 int local = 3; local in function:legitimate_use_cases 124 * This expression is commonly used to mark the local variable as 125 * deliberately unused. This situation occurs when the local 130 (void)local; 168 int local = arg; 169 local + 4; 175 int local = arg; 178 local; 183 int local = arg; 186 local + 4 [all...] |
/src/tests/usr.bin/indent/ |
fmt_init.c | 16 int local = { initializer }; local in function:example 17 int local = { local in function:example 34 int local = {initializer}; local in function:example 35 int local = { local in function:example
|
opt_ldi.c | 17 int local; local in function:function 27 int local; local in function:function 37 int local; local in function:function 47 int local; local in function:function
|
/src/usr.bin/make/unit-tests/ |
var-scope-local.mk | 1 # $NetBSD: var-scope-local.mk,v 1.11 2024/03/05 23:07:58 rillig Exp $ 3 # Tests for target-local variables, such as ${.TARGET} or $@. These variables 8 # The 7 built-in target-local variables are listed in the manual page. They 10 # target-local variables can be defined in dependency lines like 15 # Target-local variables in a target rule 56 # Target-local variables in an inference rule 61 # Target-local variables in a chain of inference rules 73 # The target-local variables can be used in expressions, just like other 76 # these expressions to expand right in time when the target-local variables 83 # target-local variables need to be preserved, including the exact names o [all...] |
/src/sys/external/bsd/common/linux/ |
linux_srcu.c | 126 * Internal subroutine: Add delta to the local CPU's count of 204 * Fast path: just decrement the local count. If a 207 * kpreempt_disable section to collect our local count. 216 * global count, not to our local count. 231 * pointer; b is ignored. Transfer the local count of srcu 241 uint64_t local; local in function:synchronize_srcu_xc 249 /* Transfer the local count to the global count. */ 251 local = cpu->src_count[epoch]; 252 srcu->srcu_total += local; 253 cpu->src_count[epoch] -= local; /* i.e., cpu->src_count[epoch] = 0 * [all...] |
/src/sys/fs/v7fs/ |
v7fs_io_user.c | 63 } local; variable in typeref:struct:local_io 85 local.blksz = block_size; 86 local.fd = mount->device.fd; 87 local.size = mount->sectors * block_size; 88 local.addr = mmap(NULL, local.size, PROT_READ | PROT_WRITE | PROT_NONE, 89 MAP_FILE | MAP_SHARED/*writeback*/, local.fd, 0); 90 if (local.addr == MAP_FAILED) { 91 local.addr = 0; 95 DPRINTF("mmaped addr=%p\n", local.addr) [all...] |
v7fs_io_kern.c | 76 struct local_io *local; local in function:v7fs_io_init 89 local = kmem_zalloc(sizeof(*local), KM_SLEEP); 96 p->io.cookie = local; 97 local->vp = vp; 98 local->cred = NOCRED; /* upper layer check cred. */
|
/src/usr.bin/sdpquery/ |
sdpquery.c | 77 int ch, local; local in function:main 83 local = 0; 103 case 'd': /* local device address */ 109 case 'l': /* local sdpd */ 110 local = 1; 139 || (bdaddr_any(&remote_addr) && !local) 140 || (!bdaddr_any(&remote_addr) && local)) 166 "\t-d device local device address\n" 167 "\t-l query local SDP server daemon\n"
|
/src/usr.sbin/ypserv/yppush/ |
yppush_svc.c | 90 void *(*local)(void *, struct svc_req *); local in function:yppush_xfrrespprog_1 97 local = yppushproc_null_1_svc; 103 local = yppushproc_xfrresp_1_svc; 121 result = (*local)(&argument, rqstp);
|
/src/libexec/rpc.rwalld/ |
rwalld.c | 156 char *(*local) __P((char **, struct svc_req *)); local in function:wallprog_1 166 local = (char *(*) __P((char **, struct svc_req *))) 179 result = (*local)((char **)&argument, rqstp);
|
/src/sys/external/bsd/compiler_rt/dist/lib/msan/ |
msan_thread.cc | 30 int local; local in function:__msan::MsanThread::SetThreadStackAndTls 31 CHECK(AddrIsInStack((uptr)&local));
|
/src/usr.sbin/rpcbind/ |
rpcb_svc.c | 77 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); local in function:rpcb_service_3 98 local = rpcbproc_set_com; 104 local = rpcbproc_unset_com; 110 local = rpcbproc_getaddr_3_local; 120 local = rpcbproc_dump_3_local; 134 local = rpcbproc_gettime_com; 144 local = rpcbproc_uaddr2taddr_com; 154 local = rpcbproc_taddr2uaddr_com; 173 result = (*local)(&argument, rqstp, transp, RPCBVERS);
|
/src/common/dist/zlib/examples/ |
fitblk.c | 59 #define local static macro 62 local void quit(char *why) 73 local int partcompress(FILE *in, z_streamp def) 96 local int recompress(z_streamp inf, z_streamp def)
|
gzjoin.c | 63 #define local static macro 66 local int bail(char *why1, char *why2) 87 local void bclose(bin *in) 100 local bin *bopen(char *name) 121 local int bload(bin *in) 145 local unsigned long bget4(bin *in) 157 local void bskip(bin *in, unsigned skip) 204 local void gzhead(bin *in) 245 local void put4(unsigned long val, FILE *out) 254 local void zpull(z_streamp strm, bin *in [all...] |
/src/common/dist/zlib/contrib/puff/ |
pufftest.c | 31 #define local static macro 37 local size_t bythirds(size_t size) 60 local void *load(const char *name, size_t *len)
|
/src/libexec/rpc.rstatd/ |
rstat_proc.c | 299 char *(*local)(void *, struct svc_req *); local in function:rstat_service 311 local = (char *(*)(void *, struct svc_req *)) 315 local = (char *(*)(void *, struct svc_req *)) 319 local = (char *(*)(void *, struct svc_req *)) 333 local = (char *(*)(void *, struct svc_req *)) 337 local = (char *(*)(void *, struct svc_req *)) 341 local = (char *(*)(void *, struct svc_req *)) 359 result = (*local)(&argument, rqstp);
|
/src/libexec/rpc.rusersd/ |
rusers_proc.c | 293 rusersproc local; local in function:rusers_service 306 local = (char *(*)(void *, struct svc_req *)) 321 local = (rusersproc)rusersproc_names_3_svc; 326 local = (rusersproc)rusersproc_names_2_svc; 341 local = (rusersproc)rusersproc_allnames_3_svc; 346 local = (rusersproc)rusersproc_allnames_2_svc; 365 result = (*local)(&argument, rqstp);
|
/src/sys/arch/bebox/stand/boot/ |
wdc.c | 110 static char local[40]; local in function:mkident 114 if (len > sizeof(local)) 115 len = sizeof(local); 116 dst = last = local; 133 return local;
|