| /src/sys/external/bsd/acpica/dist/compiler/ |
| H A D | 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 ( [all...] |
| /src/tests/usr.bin/xlint/lint1/ |
| H A D | msg_087.c | 11 count(void) function in typeref:typename:int
|
| /src/sys/arch/shark/shark/ |
| H A D | 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/ |
| H A D | 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/ |
| H A D | 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/sgimips/stand/common/ |
| H A D | getchar.c | 39 u_long count; local in function:getchar 41 if (arcbios_Read(0, &ch, 1, &count) != ARCBIOS_ESUCCESS)
|
| H A D | 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/arc/stand/boot/ |
| H A D | getchar.c | 39 u_long count; local in function:getchar 41 if (arcbios_Read(0, &ch, 1, &count) != ARCBIOS_ESUCCESS)
|
| H A D | 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/sun3/dev/ |
| H A D | 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 [all...] |
| /src/sys/arch/ews4800mips/stand/common/ |
| H A D | floppy_2hc.c | 37 int *count) 57 if (count) 58 *count = 15 - sector; 36 blk_to_2hc_position(uint32_t logical_block_number,uint32_t * position,int * count) argument
|
| H A D | floppy_2hd_ibmpc.c | 37 int *count) 57 if (count) 58 *count = 18 - sector; 36 blk_to_2hd_position(uint32_t logical_block_number,uint32_t * position,int * count) argument
|
| H A D | floppy_2d.c | 37 int *count) 60 if (count) 61 *count = (26 - sector) / 2; 36 blk_to_2d_position(uint32_t logical_block_number,uint32_t * position,int * count) argument
|
| /src/sys/sys/ |
| H A D | 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/ |
| H A D | drm_random.c | 20 void drm_random_reorder(unsigned int *order, unsigned int count, argument 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) argument 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/ |
| H A D | i915_random.c | 50 void i915_prandom_shuffle(void *arr, size_t elsz, size_t count, argument 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, argument 78 i915_prandom_shuffle(order, sizeof(*order), count, stat 81 i915_random_order(unsigned int count,struct rnd_state * state) argument [all...] |
| /src/sys/arch/x86/pci/ |
| H A D | pci_msi_machdep.c | 93 pci_msi_alloc_vectors(struct pic *msi_pic, uint *table_indexes, int *count) argument 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) argument 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, argument 179 while (*count > 0) { 180 vectors = pci_msi_alloc_vectors(msi_pic, NULL, count); 251 pci_msix_alloc_common(pci_intr_handle_t ** ihps,u_int * table_indexes,int * count,const struct pci_attach_args * pa,bool exact) argument 320 x86_pci_msi_alloc(pci_intr_handle_t ** ihps,int * count,const struct pci_attach_args * pa) argument 328 x86_pci_msi_alloc_exact(pci_intr_handle_t ** ihps,int count,const struct pci_attach_args * pa) argument 337 x86_pci_msi_release_internal(pci_intr_handle_t * pihs,int count) argument 354 x86_pci_msix_alloc(pci_intr_handle_t ** ihps,int * count,const struct pci_attach_args * pa) argument 362 x86_pci_msix_alloc_exact(pci_intr_handle_t ** ihps,int count,const struct pci_attach_args * pa) argument 370 x86_pci_msix_alloc_map(pci_intr_handle_t ** ihps,u_int * table_indexes,int count,const struct pci_attach_args * pa) argument 379 x86_pci_msix_release_internal(pci_intr_handle_t * pihs,int count) argument 425 x86_pci_msi_release(pci_chipset_tag_t pc,pci_intr_handle_t * pihs,int count) argument 470 x86_pci_msix_release(pci_chipset_tag_t pc,pci_intr_handle_t * pihs,int count) argument 526 pci_msi_alloc(const struct pci_attach_args * pa,pci_intr_handle_t ** ihps,int * count) argument 556 pci_msi_alloc_exact(const struct pci_attach_args * pa,pci_intr_handle_t ** ihps,int count) argument 585 pci_msix_alloc(const struct pci_attach_args * pa,pci_intr_handle_t ** ihps,int * count) argument 612 pci_msix_alloc_exact(const struct pci_attach_args * pa,pci_intr_handle_t ** ihps,int count) argument 646 pci_msix_alloc_map(const struct pci_attach_args * pa,pci_intr_handle_t ** ihps,u_int * table_indexes,int count) argument [all...] |
| /src/lib/libc/stdio/ |
| H A D | 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) argument 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/ |
| H A D | 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/ |
| H A D | 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/sys/dev/acpi/ |
| H A D | acpi_slit.c | 76 uint64_t idx, count; local in function:acpislit_dump 78 count = acpislit_cpus(); 80 aprint_debug("SLIT: matrix with %"PRIu64" nodes\n", count); 82 for (idx = 0; idx < (count * count); idx++) { 84 if ((idx % count) == (count - 1)) { 86 if (idx < (count * count) - 1)
|
| /src/sys/arch/xen/include/ |
| H A D | 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
|
| /src/sys/arch/evbarm/mpcsa/ |
| H A D | mpcsa_leds_var.h | 9 void mpcsa_comm_led(int num, int count);
|
| /src/sys/arch/i386/stand/lib/ |
| H A D | 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/external/bsd/drm2/dist/include/drm/ |
| H A D | drm_debugfs.h | 86 int count, struct dentry *root, 89 int count, struct drm_minor *minor); 92 int count, struct dentry *root, 99 int count, struct drm_minor *minor) 91 drm_debugfs_create_files(const struct drm_info_list * files,int count,struct dentry * root,struct drm_minor * minor) argument 98 drm_debugfs_remove_files(const struct drm_info_list * files,int count,struct drm_minor * minor) argument
|