| /src/tests/usr.bin/xlint/lint1/ |
| msg_191.c | 11 int local; local 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 14 return local;
|
| msg_302.c | 18 int local = 3; local 20 return &local; 26 int local[5], *indirect = local; local 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
|
| msg_185.c | 18 any local = { 3.0 }; local
|
| expr_cast.c | 26 } local = { local 32 return (struct S)local;
|
| msg_129.c | 115 int local = 3; local 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; local 169 local + 4; 175 int local = arg; 178 local; 183 int local = arg; 186 local + 4 [all...] |
| msg_138.c | 18 /* expect+1: error: 'local' has incomplete type 'incomplete struct incomplete' [31] */ 19 struct incomplete local = i1; local
|
| /src/tests/usr.bin/indent/ |
| fmt_init.c | 16 int local = { initializer }; local 17 int local = { local 34 int local = {initializer}; local 35 int local = { local
|
| opt_ldi.c | 17 int local; local 27 int local; local 37 int local; local 47 int local; local
|
| t_options.lua | 57 local warned = false 59 local filename = "" 60 local lineno = 0 62 local prev_empty_lines = 0 -- the finished "block" of empty lines 63 local curr_empty_lines = 0 -- the ongoing "block" of empty lines 64 local max_empty_lines = 0 -- between sections 65 local seen_input_section = false-- the first input section is not checked 67 local section = "" -- "", "input" or "run" 68 local section_excl_comm = "" -- without dollar comments 69 local section_incl_comm = "" -- with dollar comment [all...] |
| /src/common/dist/zlib/ |
| trees.h | 3 local const ct_data static_ltree[L_CODES+2] = { 64 local const ct_data static_dtree[D_CODES] = { 118 local const int base_length[LENGTH_CODES] = { 123 local const int base_dist[D_CODES] = {
|
| /src/tests/usr.bin/xlint/lint2/ |
| msg_013.exp | 1 my_printf is called with a malformed format string in local.c(12) [lint2:013] 2 my_printf is called with a malformed format string in local.c(13) [lint2:013] 3 my_printf is called in local.c(13) with argument 2 being incompatible with format string [lint2:014]
|
| /src/sys/fs/nfs/nlm/ |
| nlm_prot_svc.c | 58 bool_t (*local)(char *, void *, struct svc_req *); 70 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_sm_notify_0_svc; 84 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); 126 bool_t (*local)(char *, void *, struct svc_req *); 138 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_test_1_svc; 144 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_lock_1_svc; 150 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_cancel_1_svc; 156 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_unlock_1_svc; 162 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_granted_1_svc; 168 local = (bool_t (*) (char *, void *, struct svc_req *))nlm_test_msg_1_svc [all...] |
| /src/libexec/httpd/lua/ |
| optparse.lua | 25 local usage = t.usage 26 local version = t.version 28 local o = {} 29 local option_descriptions = {} 30 local option_of = {} 45 local arg = {table.unpack(arg)} 46 for i=#arg,1,-1 do local v = arg[i] 47 local flag, val = v:match('^(%-%-%w+)=(.*)') 54 local options = {} 55 local args = { [all...] |
| /src/tests/net/inpcb/ |
| inpcb_bind.c | 118 unicast_testsuite(struct addrinfo *local, struct addrinfo *any) 125 rc |= runtest(s++, local, 0, 0, NULL, 0); 135 rc |= runtest(s++, local, 0, 0, NULL, EADDRINUSE); 136 rc |= runtest(s++, local, 1, 0, NULL, 0); 143 rc |= runtest(s++, local, 0, 1, NULL, 0); 144 rc |= runtest(s++, local, 0, 1, NULL, 0); 145 rc |= runtest(s++, local, 1, 0, NULL, EADDRINUSE); 146 rc |= runtest(s++, local, 0, 0, NULL, EADDRINUSE); 163 rc |= runtest(s++, local, 1, 0, NULL, 0); 164 rc |= runtest(s++, local, 1, 0, NULL, EADDRINUSE) [all...] |
| /src/usr.bin/make/unit-tests/ |
| var-scope-local.mk | 1 # $NetBSD: var-scope-local.mk,v 1.12 2026/01/05 22:44:14 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...] |
| depsrc.exp | 3 : 'This is in contrast to local variables such as ${.TARGET}.'
|
| /src/tests/lib/libc/gen/ |
| t_arc4random.c | 83 * (i.e., libc was built with _REENTRANT), get the thread-local 90 * If we couldn't get the thread-local state, get the global 119 * should try, and fail, to allocate a thread-local arc4random 133 * Verify the PRNG is the global one, not the thread-local one, 182 * Get the PRNG, global or local. By this point, the PRNG 224 struct arc4random_prng *local, *global = &arc4random_global.prng; local 239 * Get a sample from the local state too to make sure the local 244 local = arc4random_prng(); 245 ATF_CHECK(!iszero(&local->arc4_prng, sizeof(local->arc4_prng))) 393 struct arc4random_prng *local, *global = &arc4random_global.prng; local 574 ATF_TC(local); variable 618 struct arc4random_prng *local; local [all...] |
| /src/sys/arch/sparc/sparc/ |
| db_machdep.c | 81 { "l0", dbregfr(local[0]), db_sparc_regop, NULL, }, 82 { "l1", dbregfr(local[1]), db_sparc_regop, NULL, }, 83 { "l2", dbregfr(local[2]), db_sparc_regop, NULL, }, 84 { "l3", dbregfr(local[3]), db_sparc_regop, NULL, }, 85 { "l4", dbregfr(local[4]), db_sparc_regop, NULL, }, 86 { "l5", dbregfr(local[5]), db_sparc_regop, NULL, }, 87 { "l6", dbregfr(local[6]), db_sparc_regop, NULL, }, 88 { "l7", dbregfr(local[7]), db_sparc_regop, NULL, },
|
| /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...] |
| /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/scryptsalsa208sha256/ |
| scrypt_platform.c | 97 escrypt_init_local(escrypt_local_t *local) 99 init_region(local); 105 escrypt_free_local(escrypt_local_t *local) 107 return free_region(local);
|
| /src/usr.bin/sdpquery/ |
| sdpquery.c | 77 int ch, local; local 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/rpcbind/ |
| rpcb_svc.c | 77 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); 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/lib/libtelnet/ |
| misc.c | 54 auth_encrypt_init(const char *local, const char *remote, const char *name, 58 LocalHostName = local;
|