/src/usr.sbin/mopd/common/ |
nma.c | 197 struct commDev *current; local in function:nmaGetShort 199 current = nmaCommDev; 201 while (current->sname != NULL) { 202 if (current->val == devno) 204 current++; 207 return(current->sname); 213 struct commDev *current; local in function:nmaGetDevice 215 current = nmaCommDev; 217 while (current->name != NULL) { 218 if (current->val == devno [all...] |
/src/games/boggle/mkdict/ |
mkdict.c | 67 int current, len, prev, qcount; local in function:main 71 current = 1; 75 fgets(buf[current], MAXWORDLEN + 1, stdin) != NULL; ++nwords) { 76 if ((p = strchr(buf[current], '\n')) == NULL) { 77 fprintf(stderr, "word too long: %s\n", buf[current]); 85 for (p = buf[current]; *p != '\n'; p++) { 106 p = buf[current]; 112 common = p - buf[current] - 1; 115 current = !current; [all...] |
/src/lib/libc/gen/ |
gr_private.h | 83 char *current; /* current first/next match */ member in struct:__grstate_nis
|
getusershell.c | 334 char *current; /* current first/next match */ member in struct:nis_state 347 if (state->current) { 348 free(state->current); 349 state->current = NULL; 373 if (state->current) 374 free(state->current); 375 state->current = NULL; 421 if (_nis_state.current) { /* already searching */ 423 _nis_state.current, _nis_state.currentlen [all...] |
/src/sys/external/bsd/drm2/include/linux/ |
sched.h | 59 #define current curproc macro 116 KASSERT(p == current);
|
/src/lib/libedit/ |
map.h | 52 el_action_t *alt; /* The current alternate key map */ 53 el_action_t *key; /* The current normal key map */ 54 el_action_t *current; /* The keymap we are using */ member in struct:el_map_t
|
/src/sys/dev/raidframe/ |
rf_paritymap.h | 68 struct rf_paritymap_current *current; member in struct:rf_paritymap
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_linux.h | 43 const char *current; member in struct:__sanitizer::MemoryMappingLayoutData
|
sanitizer_symbolizer_report.cc | 245 uptr current = GetThreadSelf(); local in function:__sanitizer::ScopedErrorReportLock::ScopedErrorReportLock 248 if (atomic_compare_exchange_strong(&reporting_thread, &expected, current, 255 if (expected == current) {
|
/src/sys/arch/x68k/stand/boot/ |
dp8390.c | 115 * Set current page pointer to one page after the boundary pointer, as 206 u_char boundary, current; local in function:EtherReceive 214 /* Set NIC to page 1 registers to get 'current' pointer. */ 219 * it points to where new data has been buffered. The 'CURR' (current) 225 current = NIC_GET(ED_P1_CURR); 230 if (next_packet == current) 251 * NOTE: sc->next_packet is pointing at the current packet. 268 rec_page_start, next_packet, current,
|
/src/usr.bin/rpcgen/ |
rpc_tblout.c | 94 int current; local in function:write_table 115 current = atoi(proc->proc_num); 116 if (current != expected++) { 126 expected = current + 1;
|
/src/lib/libcurses/ |
get_wch.c | 83 keymap_t *current = _cursesi_screen->base_keymap; local in function:inkey 114 "current(%d), end(%d)\n", *start, *working, *end); 123 "current(%d), end(%d)\n", 159 "current(%d), end(%d)\n", 167 "current(%d), end(%d)", 206 "start(%d), current(%d), end(%d)", 212 "start(%d), current(%d), end(%d)", 243 "[head(%d), current(%d), " 252 "[head(%d), current(%d), " 262 "start(%d), current(%d), end(%d)" [all...] |
getch.c | 215 static key_entry_t *add_new_key(keymap_t *current, char ch, int key_type, 217 static void delete_key_sequence(keymap_t *current, int key_type); 218 static void do_keyok(keymap_t *current, int key_type, bool set, bool flag, 252 * Add a new key entry to the keymap pointed to by current. Entry 259 add_new_key(keymap_t *current, char chr, int key_type, int symbol) 267 if (current->mapping[(unsigned char)chr] < 0) { 268 if (current->mapping[(unsigned char)chr] == MAPPING_UNUSED) { 270 current->mapping[(unsigned char)chr] = 271 current->count; /* map new entry */ 272 ki = current->count 376 keymap_t *current; local in function:add_key_sequence 539 keymap_t *current = _cursesi_screen->base_keymap; local in function:inkey [all...] |
/src/usr.sbin/emcfanctl/ |
emcfanctlutil.c | 94 uint8_t current, oldcurrent; local in function:emcfan_rmw_register 101 current = oldcurrent & ~translation[tindex].clear_mask; 102 current = current | translation[tindex].bit_mask; 105 fprintf(stderr,"tindex=%d, clear_mask=0x%02X 0x%02X, value=%d (0x%02X), bit_mask=0x%02X 0x%02X, oldcurrent=%d (0x%02X), new current=%d (0x%02X)\n",tindex, 111 oldcurrent,oldcurrent,current,current); 113 err = emcfan_write_register(fd, reg, current, debug);
|
/src/sys/dev/pckbport/ |
pmsvar.h | 62 struct timeval last, current; member in struct:pms_softc
|
/src/usr.bin/id/ |
id.c | 55 static void current(void); 169 current(); 217 current(void) function in typeref:typename:void
|
/src/usr.bin/tftp/ |
tftpsubs.c | 42 server. Written originally with multiple buffers in mind, but current 74 static int current; /* index of buffer in use */ variable in typeref:typename:int 101 current = 0; 107 /* Have emptied current buffer by sending to net and getting ack. 119 bfs[current].counter = BF_FREE; /* free old one */ 120 current = !current; /* "incr" current */ 122 b = &bfs[current]; /* look at new buffer */ 187 bfs[current].counter = ct; /* set size of data to write * [all...] |
/src/usr.sbin/lpr/common_source/ |
rmjob.c | 71 static char current[40]; /* active control file name */ variable in typeref:typename:char[40] 119 if (lockchk(LO) && chk(current)) { 169 for (i = 1; (n = fread(current, sizeof(char), sizeof(current), fp)) <= 0; i++) { 176 current[n-1] = '\0'; 232 * Check for valid cf file name (mostly checking current). 256 return(!strcmp(file, current) && isowner(line+1, file));
|
displayq.c | 75 static char current[MAXPATHLEN]; /* current file being printed */ variable in typeref:typename:char[] 91 * Display the current state of the queue. Format = 1 if long format. 152 cp = current; 153 ecp = cp + sizeof(current) - 1; 159 i = atoi(current); 170 /* read current file name */ 171 cp = current; 172 ecp = cp + sizeof(current) - 1; 283 current[0] = '\0' [all...] |
/src/sys/arch/ews4800mips/stand/common/ |
lance.c | 106 static int current; local in function:lance_get 119 rmd = &lance_mem.lermd[(current + i) & 0x7]; 135 rmd = &lance_mem.lermd[(current + i) & 0x7]; 145 current = (current + i) & 0x7; 153 static int current; local in function:lance_put 159 start = current; 160 tmd = &lance_mem.letmd[current]; 163 current = (current + 1) & 0x7 [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
tsan_sync.h | 99 u32 current = atomic_load_relaxed(&flags); local in function:__tsan::SyncVar::UpdateFlags 100 if (current & MutexCreationFlagMask) 104 atomic_store_relaxed(&flags, current | (flagz & MutexCreationFlagMask));
|
/src/sys/fs/udf/ |
udf_osta.c | 54 /* Use UDFCompressed to store current byte being read. */ 335 unicode_t current; local in function:UDFTransName 339 current = udfName[Index]; 341 if (IsIllegal(current) || !UnicodeIsPrint(current)) { 346 current = ILLEGAL_CHAR_MARK; 357 if (current == PERIOD && (udfLen - Index -1) <= EXT_SIZE) { 370 else if (current != PERIOD && current != SPACE) { 376 newName[newIndex++] = current; [all...] |
/src/usr.bin/nfsstat/ |
nfsstat.c | 394 } current, last; local in function:sidewaysintpr 409 memset(¤t, 0, sizeof(current)); 417 current.client[i] += nfsstats.rpccnt[idx]; 418 current.server[i] += nfsstats.srvrpccnt[idx]; 426 current.client[i] - last.client[i]); 433 current.server[i] - last.server[i]); 436 memcpy(&last, ¤t, sizeof(last));
|
/src/sys/dev/pci/ixgbe/ |
if_bypass.c | 101 struct timespec current; local in function:ixgbe_get_bypass_time 104 nanotime(¤t); 105 *sec = current.tv_sec; 169 /* Get the current state */ 215 * the current rule setting. 233 /* Get the current value */ 460 /* Get the current hardware value */ 596 /* Find Current head of the log eeprom offset */
|
/src/sys/arch/shark/isa/ |
clock.c | 311 unsigned current, ticks, oldlo; local in function:gettimer0count 314 * Latch the current value of the timer and then read it. 318 current = gettick(); 320 if (timer0last >= current) 321 ticks = timer0last - current; 323 ticks = timer0last + (TIMER0_ROLLOVER - current); 325 timer0last = current;
|