/src/sys/external/bsd/acpica/dist/compiler/ |
aslcompiler.l | 187 count (int type); 217 [ ] { count (0); } 218 [\n] { count (0); } /* Handle files with both LF and CR/LF */ 219 [\r] { count (0); } /* termination on both Unix and Windows */ 220 [ \t] { count (0); } 228 ";" { count (0); return(';'); } 232 "~" { count (3); return (PARSEOP_EXP_NOT); } 233 "!" { count (3); return (PARSEOP_EXP_LOGICAL_NOT); } 234 "*" { count (3); return (PARSEOP_EXP_MULTIPLY); } 235 "/" { count (3); return (PARSEOP_EXP_DIVIDE); [all...] |
/src/tests/usr.bin/xlint/lint1/ |
msg_087.c | 11 count(void) function in typeref:typename:int
|
/src/sys/arch/shark/shark/ |
hat.h | 57 count = count for ISA TIMER 2, which generates HAT clock 72 int hatClkOn(int count, void (*hatFn)(int), int arg, 77 count = new count for ISA TIMER 2 81 int hatClkAdjust(int count);
|
/src/sys/arch/hpc/stand/libsa/ |
winprintf.c | 43 int count; local in function:win_printf 48 count = wvsprintf(buffer, lpszFmt, ap); 50 if (count > 0) { 53 return count;
|
/src/sys/arch/hpcmips/stand/libsa/ |
winprintf.c | 44 int count; local in function:win_printf 49 count = wvsprintf(buffer, lpszFmt, ap); 51 if (count > 0) { 54 return count;
|
/src/sys/arch/arc/stand/boot/ |
getchar.c | 39 u_long count; local in function:getchar 41 if (arcbios_Read(0, &ch, 1, &count) != ARCBIOS_ESUCCESS)
|
putchar.c | 39 u_long count; local in function:putchar 43 arcbios_Write(1, &ch, 1, &count); 47 arcbios_Write(1, &ch, 1, &count);
|
/src/sys/arch/sgimips/stand/common/ |
getchar.c | 39 u_long count; local in function:getchar 41 if (arcbios_Read(0, &ch, 1, &count) != ARCBIOS_ESUCCESS)
|
putchar.c | 39 u_long count; local in function:putchar 43 arcbios_Write(1, &ch, 1, &count); 47 arcbios_Write(1, &ch, 1, &count);
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
cros-ec-sbs.dtsi | 49 sbs,i2c-retry-count = <2>; 50 sbs,poll-retry-count = <1>;
|
/src/sys/arch/sun3/dev/ |
bt_subr.c | 67 u_int i, start, count; local in function:bt_getcmap 71 count = p->count; 72 if (start >= cmsize || count > cmsize - start) 74 if (!useracc(p->red, count, B_WRITE) || 75 !useracc(p->green, count, B_WRITE) || 76 !useracc(p->blue, count, B_WRITE)) 78 for (cp = &cm->cm_map[start][0], i = 0; i < count; cp += 3, i++) { 92 u_int i, start, count; local in function:bt_putcmap 96 count = p->count [all...] |
/src/sys/arch/ews4800mips/stand/common/ |
floppy_2hc.c | 37 int *count) 57 if (count) 58 *count = 15 - sector;
|
floppy_2hd_ibmpc.c | 37 int *count) 57 if (count) 58 *count = 18 - sector;
|
floppy_2d.c | 37 int *count) 60 if (count) 61 *count = (26 - sector) / 2;
|
/src/sys/sys/ |
lock.h | 64 #define SPINLOCK_BACKOFF(count) \ 67 for (__i = (count); __i != 0; __i--) { \ 70 if ((count) < SPINLOCK_BACKOFF_MAX) \ 71 (count) += (count); \
|
/src/sys/external/bsd/drm2/dist/drm/lib/ |
drm_random.c | 20 void drm_random_reorder(unsigned int *order, unsigned int count, 25 for (i = 0; i < count; ++i) { 27 j = drm_prandom_u32_max_state(count, state); 33 unsigned int *drm_random_order(unsigned int count, struct rnd_state *state) 37 order = kmalloc_array(count, sizeof(*order), GFP_KERNEL); 41 for (i = 0; i < count; i++) 44 drm_random_reorder(order, count, state);
|
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
i915_random.c | 50 void i915_prandom_shuffle(void *arr, size_t elsz, size_t count, 55 if (WARN_ON(elsz > sizeof(stack) || count > U32_MAX)) 58 if (!elsz || !count) 62 while (--count) { 65 swp = i915_prandom_u32_max_state(count + 1, state); 66 if (swp == count) 69 memcpy(stack, arr + count * elsz, elsz); 70 memcpy(arr + count * elsz, arr + swp * elsz, elsz); 75 void i915_random_reorder(unsigned int *order, unsigned int count, 78 i915_prandom_shuffle(order, sizeof(*order), count, state) [all...] |
/src/sys/arch/x86/pci/ |
pci_msi_machdep.c | 93 pci_msi_alloc_vectors(struct pic *msi_pic, uint *table_indexes, int *count) 101 vectors = kmem_zalloc(sizeof(vectors[0]) * (*count), KM_SLEEP); 103 for (i = 0; i < *count; i++) { 119 kmem_free(vectors, sizeof(vectors[0]) * (*count)); 132 pci_msi_free_vectors(struct pic *msi_pic, pci_intr_handle_t *pihs, int count) 140 for (i = 0; i < count; i++) { 148 kmem_free(pihs, sizeof(pihs[0]) * count); 153 pci_msi_alloc_common(pci_intr_handle_t **ihps, int *count, 179 while (*count > 0) { 180 vectors = pci_msi_alloc_vectors(msi_pic, NULL, count); [all...] |
/src/lib/libc/stdio/ |
fwrite.c | 54 * Write `count' objects (each size `size') from memory to the given file. 58 fwrite(const void *buf, size_t size, size_t count, FILE *fp) 67 if ((size >= MUL_NO_OVERFLOW || count >= MUL_NO_OVERFLOW) && 68 size > 0 && count > SIZE_MAX / size) { 75 * SUSv2 requires a return value of 0 for a count or a size of 0. 77 if ((n = count * size) == 0) 92 count = ((n - uio.uio_resid) / size); 94 return count;
|
/src/sys/compat/common/ |
rndpseudo_50.c | 77 size_t count; local in function:compat_50_rnd_ioctl 79 if (rst50->count > RND_MAXSTATCOUNT50) 83 rstbuf.count = rst50->count; 89 for (count = 0; count < rst50->count; count++) { 90 rndsource_to_rndsource50(&rstbuf.source[count], 91 &rst50->source[count]); [all...] |
/src/sys/compat/netbsd32/ |
netbsd32_rndpseudo_50.c | 80 size_t count; local in function:compat32_50_rnd_ioctl 82 if (rst50_32->count > RND_MAXSTATCOUNT50) 86 rstbuf.count = rst50_32->count; 92 for (count = 0; count < rst50_32->count; count++) { 93 rndsource_to_rndsource50_32(&rstbuf.source[count], 94 &rst50_32->source[count]); [all...] |
/src/games/mille/ |
table.c | 59 int i, j, count; local in function:main 61 printf(" %16s -> %5s %5s %4s %s\n", "Card", "cards", "count", 64 for (j = 0, count = 0; j < DECK_SZ; j++) 66 count++; 68 Numcards[i], count, Numneed[i], C_name[opposite(i)]);
|
/src/sys/arch/evbarm/mpcsa/ |
mpcsa_leds_var.h | 9 void mpcsa_comm_led(int num, int count);
|
/src/sys/arch/i386/stand/lib/ |
pread.c | 53 size_t count; local in function:pread 56 count = (rsize < BUFSIZE ? rsize : BUFSIZE); 58 got = read(fd, buf, count); 67 if (got < count)
|
/src/sys/arch/xen/include/ |
xenio_gntdev.h | 55 uint32_t count; member in struct:ioctl_gntdev_map_grant_ref 61 /* Array of grant references, of size @count. */ 77 uint32_t count; member in struct:ioctl_gntdev_unmap_grant_ref 86 * @vaddr is returned in @count. 103 uint32_t count; member in struct:ioctl_gntdev_get_offset_for_vaddr 118 uint32_t count; member in struct:ioctl_gntdev_set_max_grants
|