/dflybsd-src/sys/contrib/dev/acpica/source/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 (3); return (PARSEOP_EXP_DIVIDE); } [all …]
|
/dflybsd-src/contrib/gdb-7/readline/ |
H A D | text.c | 260 rl_forward_byte (count, key) in rl_forward_byte() argument 261 int count, key; in rl_forward_byte() 263 if (count < 0) 264 return (rl_backward_byte (-count, key)); 266 if (count > 0) 270 end = rl_point + count; 293 _rl_forward_char_internal (count) in _rl_forward_char_internal() argument 294 int count; in _rl_forward_char_internal() 299 point = _rl_find_next_mbchar (rl_line_buffer, rl_point, count, MB_FIND_NONZERO); 309 point = rl_point + count; [all …]
|
H A D | vi_mode.c | 192 _rl_vi_stuff_insert (count) in _rl_vi_stuff_insert() argument 193 int count; in _rl_vi_stuff_insert() 196 while (count--) 205 rl_vi_redo (count, c) in rl_vi_redo() argument 206 int count, c; in rl_vi_redo() 222 _rl_vi_stuff_insert (count); 232 _rl_vi_stuff_insert (count); 241 _rl_vi_stuff_insert (count); 250 _rl_vi_stuff_insert (count); 263 rl_vi_undo (count, key) in rl_vi_undo() argument [all …]
|
H A D | kill.c | 201 rl_kill_word (count, key) in rl_kill_word() argument 202 int count, key; in rl_kill_word() 206 if (count < 0) 207 return (rl_backward_kill_word (-count, key)); 211 rl_forward_word (count, key); 225 rl_backward_kill_word (count, ignore) in rl_backward_kill_word() argument 226 int count, ignore; in rl_backward_kill_word() 230 if (count < 0) 231 return (rl_kill_word (-count, ignore)); 235 rl_backward_word (count, ignore); [all …]
|
H A D | misc.c | 253 rl_universal_argument (count, key) in rl_universal_argument() argument 254 int count, key; in rl_universal_argument() 494 rl_beginning_of_history (count, key) in rl_beginning_of_history() argument 495 int count, key; in rl_beginning_of_history() 502 rl_end_of_history (count, key) in rl_end_of_history() argument 503 int count, key; in rl_end_of_history() 513 rl_get_next_history (count, key) in rl_get_next_history() argument 514 int count, key; in rl_get_next_history() 518 if (count < 0) 519 return (rl_get_previous_history (-count, key)); [all …]
|
/dflybsd-src/sys/kern/ |
H A D | kern_lock.c | 111 uint64_t count; in lockmgr_shared() local 121 count = lkp->lk_count; in lockmgr_shared() 135 if ((count & LKC_XMASK) && lkp->lk_lockholder == td) { in lockmgr_shared() 155 while ((count & LKC_SHARED) && in lockmgr_shared() 156 (count & (LKC_EXREQ | LKC_UPREQ))) { in lockmgr_shared() 161 if (count & LKC_CANCEL) in lockmgr_shared() 174 count = atomic_fetchadd_long(&lkp->lk_count, 0); in lockmgr_shared() 176 if ((count & LKC_SHARED) && in lockmgr_shared() 177 (count & (LKC_EXREQ | LKC_UPREQ))) { in lockmgr_shared() 182 count = lkp->lk_count; in lockmgr_shared() [all …]
|
H A D | subr_blist.c | 138 swblk_t blk, swblk_t count); 140 swblk_t blk, swblk_t count, 142 static void blst_leaf_free(blmeta_t *scan, swblk_t relblk, swblk_t count); 143 static void blst_meta_free(blmeta_t *scan, swblk_t freeBlk, swblk_t count, 146 static swblk_t blst_leaf_fill(blmeta_t *scan, swblk_t blk, swblk_t count); 147 static swblk_t blst_meta_fill(blmeta_t *scan, swblk_t fillBlk, swblk_t count, 151 swblk_t skip, blist_t dest, swblk_t count); 153 swblk_t skip, swblk_t count); 234 blist_alloc(blist_t bl, swblk_t count) in blist_alloc() argument 240 blk = blst_leaf_alloc(bl->bl_root, 0, 0, count); in blist_alloc() [all …]
|
H A D | subr_alist.c | 117 alist_blk_t start, alist_blk_t count); 119 alist_blk_t start, alist_blk_t count, 122 alist_blk_t count); 124 alist_blk_t count, alist_blk_t radix, 128 alist_blk_t count); 241 alist_alloc(alist_t bl, alist_blk_t start, alist_blk_t count) in alist_alloc() argument 248 KKASSERT(count); in alist_alloc() 249 if ((count | (count - 1)) != (count << 1) - 1) { in alist_alloc() 250 alist_blk_t ncount = (count < 256) ? 1 : 256; in alist_alloc() 251 while (ncount < count) in alist_alloc() [all …]
|
/dflybsd-src/sys/cpu/x86_64/include/ |
H A D | bus_dma.h | 182 size_t count); 187 size_t count); 192 size_t count); 196 bus_size_t offset, u_int8_t *addr, size_t count) in bus_space_read_multi_1() argument 200 insb(bsh + offset, addr, count); in bus_space_read_multi_1() 207 "=D" (addr), "=c" (count) : in bus_space_read_multi_1() 208 "r" (bsh + offset), "0" (addr), "1" (count) : in bus_space_read_multi_1() 215 bus_size_t offset, u_int16_t *addr, size_t count) in bus_space_read_multi_2() argument 219 insw(bsh + offset, addr, count); in bus_space_read_multi_2() 226 "=D" (addr), "=c" (count) : in bus_space_read_multi_2() [all …]
|
/dflybsd-src/sys/dev/misc/syscons/ |
H A D | scvtb.c | 57 size_t count; in sc_vtb_bcopy() local 62 count = bytes >> 1; in sc_vtb_bcopy() 65 *(uint8_t *)(dw + count) = *(uint8_t *)(sw + count); in sc_vtb_bcopy() 66 while (count--) { in sc_vtb_bcopy() 67 dw[count] = sw[count]; in sc_vtb_bcopy() 70 for (n = 0; n < count; ++n) in sc_vtb_bcopy() 198 sc_vtb_copy(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int to, int count) in sc_vtb_copy() argument 203 count*sizeof(uint16_t)); in sc_vtb_copy() 206 count*sizeof(uint16_t)); in sc_vtb_copy() 209 count*sizeof(uint16_t)); in sc_vtb_copy() [all …]
|
/dflybsd-src/sys/vfs/hammer2/ |
H A D | hammer2_ccms.c | 60 KKASSERT(cst->count == 0); in ccms_cst_uninit() 84 if (cst->count < 0 && cst->td == curthread) { in ccms_thread_lock() 85 --cst->count; in ccms_thread_lock() 95 while (cst->count < 0 || cst->upgrade) { in ccms_thread_lock() 99 ++cst->count; in ccms_thread_lock() 102 while (cst->count != 0 || cst->upgrade) { in ccms_thread_lock() 106 cst->count = -1; in ccms_thread_lock() 122 if (cst->count < 0 && cst->td == curthread) { in ccms_thread_lock_nonblock() 123 --cst->count; in ccms_thread_lock_nonblock() 130 if (cst->count < 0 || cst->upgrade) { in ccms_thread_lock_nonblock() [all …]
|
/dflybsd-src/contrib/gcc-8.0/gcc/ |
H A D | ipa-utils.c | 47 int count) in ipa_print_order() argument 52 for (i = count - 1; i >= 0; i--) in ipa_print_order() 66 int count; member 90 v_info->dfn_number = env->count; in searchc() 91 v_info->low_link = env->count; in searchc() 92 env->count++; in searchc() 175 env.count = 1; in ipa_reduced_postorder() 380 profile_count to = node->count; in scale_ipa_profile_for_fn() 385 e->count = e->count.apply_scale (to, orig_count); in scale_ipa_profile_for_fn() 387 e->count = e->count.apply_scale (to, orig_count); in scale_ipa_profile_for_fn() [all …]
|
H A D | double-int.c | 230 unsigned HOST_WIDE_INT count, unsigned int prec, in rshift_double() argument 240 if (count >= HOST_BITS_PER_DOUBLE_INT) in rshift_double() 247 else if (count >= HOST_BITS_PER_WIDE_INT) in rshift_double() 250 *lv = (unsigned HOST_WIDE_INT) h1 >> (count - HOST_BITS_PER_WIDE_INT); in rshift_double() 254 *hv = (unsigned HOST_WIDE_INT) h1 >> count; in rshift_double() 255 *lv = ((l1 >> count) in rshift_double() 257 << (HOST_BITS_PER_WIDE_INT - count - 1) << 1)); in rshift_double() 262 if (count >= prec) in rshift_double() 267 else if ((prec - count) >= HOST_BITS_PER_DOUBLE_INT) in rshift_double() 269 else if ((prec - count) >= HOST_BITS_PER_WIDE_INT) in rshift_double() [all …]
|
/dflybsd-src/contrib/gmp/mpn/generic/ |
H A D | gcdext_1.c | 100 unsigned count; in mpn_gcdext_1() local 105 count = zerotab [u & 0x3f]; in mpn_gcdext_1() 106 u >>= count; in mpn_gcdext_1() 107 if (UNLIKELY (count == 6)) in mpn_gcdext_1() 114 count += c; in mpn_gcdext_1() 119 count_trailing_zeros (count, u); in mpn_gcdext_1() 120 u >>= count; in mpn_gcdext_1() 122 t0 += t1; t1 <<= count; in mpn_gcdext_1() 123 s0 += s1; s1 <<= count; in mpn_gcdext_1() 129 count = zerotab [v & 0x3f]; in mpn_gcdext_1() [all …]
|
/dflybsd-src/usr.bin/calendar/ |
H A D | days.c | 160 int count = 0; in find_days_yearly() local 212 if (count >= CAL_MAX_REPEAT) { in find_days_yearly() 214 return count; in find_days_yearly() 218 edp[count] = xstrdup(buf); in find_days_yearly() 220 dayp[count++] = dp; in find_days_yearly() 224 return count; in find_days_yearly() 239 int count = 0; in find_days_cjieqi() local 257 if (count >= CAL_MAX_REPEAT) { in find_days_cjieqi() 260 return count; in find_days_cjieqi() 264 edp[count] = xstrdup(buf); in find_days_cjieqi() [all …]
|
/dflybsd-src/stand/boot/dloader/ |
H A D | subs.c | 56 dvar_set(const char *name, char **data, int count) in dvar_set() argument 72 while (--var->count >= 0) in dvar_set() 73 free(var->data[var->count]); in dvar_set() 77 var->count = count; in dvar_set() 78 var->data = malloc(sizeof(char *) * (count + 1)); in dvar_set() 79 var->data[count] = NULL; in dvar_set() 80 while (--count >= 0) in dvar_set() 81 var->data[count] = strdup(data[count]); in dvar_set() 88 int count; in dvar_copy() local 92 count = ovar->count; in dvar_copy() [all …]
|
/dflybsd-src/sys/dev/drm/amd/display/dc/basics/ |
H A D | vector.c | 48 vector->count = 0; in dal_vector_construct() 57 uint32_t count, in dal_vector_presized_costruct() argument 65 if (!struct_size || !count) { in dal_vector_presized_costruct() 71 vector->container = kcalloc(count, struct_size, GFP_KERNEL); in dal_vector_presized_costruct() 80 for (i = 0; i < count; ++i) in dal_vector_presized_costruct() 87 vector->capacity = count; in dal_vector_presized_costruct() 89 vector->count = count; in dal_vector_presized_costruct() 135 vector->count = 0; in dal_vector_destruct() 152 return vector->count; in dal_vector_get_count() 159 if (vector->container == NULL || index >= vector->count) in dal_vector_at_index() [all …]
|
/dflybsd-src/contrib/ncurses/ncurses/tty/ |
H A D | lib_twait.c | 121 for (n = 0; n < evl->count; ++n) { in _nc_eventlist_timeout() 172 int count; in _nc_timed_wait() local 225 count = 0; in _nc_timed_wait() 226 (void) count; in _nc_timed_wait() 239 fds = typeMalloc(struct pollfd, MIN_FDS + evl->count); in _nc_timed_wait() 246 fds[count].fd = sp->_ifd; in _nc_timed_wait() 247 fds[count].events = POLLIN; in _nc_timed_wait() 248 count++; in _nc_timed_wait() 252 fds[count].fd = fd; in _nc_timed_wait() 253 fds[count].events = POLLIN; in _nc_timed_wait() [all …]
|
/dflybsd-src/contrib/gcc-4.7/libobjc/ |
H A D | protocols.c | 95 unsigned int count = 0; in objc_copyProtocolList() local 105 count++; in objc_copyProtocolList() 109 if (count != 0) in objc_copyProtocolList() 114 returnValue = (Protocol **)(malloc (sizeof (Protocol *) * (count + 1))); in objc_copyProtocolList() 130 *numberOfReturnedProtocols = count; in objc_copyProtocolList() 155 protocols->count = 1; in class_addProtocol() 190 for (i = 0; i < proto_list->count; i++) in class_conformsToProtocol() 210 unsigned int count = 0; in class_copyProtocolList() local 230 count = count + proto_list->count; in class_copyProtocolList() 234 if (count != 0) in class_copyProtocolList() [all …]
|
/dflybsd-src/contrib/tcpdump/ |
H A D | print-snmp.c | 1220 int count = 0, ind; in varbind_print() local 1227 if ((count = asn1_parse(ndo, np, length, &elem)) < 0) in varbind_print() 1234 if ((u_int)count < length) in varbind_print() 1235 ND_PRINT("[%d extra after SEQ of varbind]", length - count); in varbind_print() 1247 if ((count = asn1_parse(ndo, np, length, &elem)) < 0) in varbind_print() 1254 vbend = np + count; in varbind_print() 1255 vblength = length - count; in varbind_print() 1261 if ((count = asn1_parse(ndo, np, length, &elem)) < 0) in varbind_print() 1275 length -= count; in varbind_print() 1276 np += count; in varbind_print() [all …]
|
/dflybsd-src/contrib/tcsh-6/ |
H A D | tc.printf.c | 69 int sign = 0, count = 0; in doprnt() local 77 count++; in doprnt() 178 count++; in doprnt() 182 count++; in doprnt() 187 count++; in doprnt() 249 count++; in doprnt() 256 count++; in doprnt() 264 count++; in doprnt() 279 count++; in doprnt() 287 count++; in doprnt() [all …]
|
/dflybsd-src/crypto/libressl/apps/openssl/ |
H A D | speed.c | 161 static void print_result(int alg, int run_no, int count, double time_used); 241 long count = 0, save_count = 0; in speed_main() local 1019 #define COND(c) (run && count<0x7fffffff) in speed_main() 1020 #define COUNT(d) (count) in speed_main() 1028 for (count = 0, run = 1; COND(c[D_MD4][j]); count++) in speed_main() 1031 print_result(D_MD4, j, count, d); in speed_main() 1041 for (count = 0, run = 1; COND(c[D_MD5][j]); count++) in speed_main() 1044 print_result(D_MD5, j, count, d); in speed_main() 1064 for (count = 0, run = 1; COND(c[D_HMAC][j]); count++) { in speed_main() 1079 print_result(D_HMAC, j, count, d); in speed_main() [all …]
|
/dflybsd-src/usr.sbin/cron/lib/ |
H A D | env.c | 50 int count, i; in env_copy() local 53 for (count = 0; envp[count] != NULL; count++) in env_copy() 55 p = (char **) malloc((count+1) * sizeof(char *)); /* 1 for the NULL */ in env_copy() 60 for (i = 0; i < count; i++) in env_copy() 68 p[count] = NULL; in env_copy() 76 int count, found; in env_set() local 85 for (count = 0; envp[count] != NULL; count++) { in env_set() 86 if (!strcmp_until(envp[count], envstr, '=')) in env_set() 87 found = count; in env_set() 89 count++; /* for the NULL */ in env_set() [all …]
|
/dflybsd-src/usr.sbin/config/ |
H A D | mkioconf.c | 58 int count = 0; in write_device_resources() local 68 count++; in write_device_resources() 72 count++; in write_device_resources() 76 count++; in write_device_resources() 80 count++; in write_device_resources() 84 count++; in write_device_resources() 88 count++; in write_device_resources() 92 count++; in write_device_resources() 96 count++; in write_device_resources() 100 count++; in write_device_resources() [all …]
|
/dflybsd-src/contrib/zstd/lib/compress/ |
H A D | hist.c | 29 unsigned HIST_count_simple(unsigned* count, unsigned* maxSymbolValuePtr, in HIST_count_simple() argument 37 ZSTD_memset(count, 0, (maxSymbolValue+1) * sizeof(*count)); in HIST_count_simple() 42 count[*ip++]++; in HIST_count_simple() 45 while (!count[maxSymbolValue]) maxSymbolValue--; in HIST_count_simple() 50 if (count[s] > largestCount) largestCount = count[s]; in HIST_count_simple() 67 unsigned* count, unsigned* maxSymbolValuePtr, in HIST_count_parallel_wksp() argument 74 size_t const countSize = (*maxSymbolValuePtr + 1) * sizeof(*count); in HIST_count_parallel_wksp() 84 ZSTD_memset(count, 0, countSize); in HIST_count_parallel_wksp() 130 ZSTD_memmove(count, Counting1, countSize); /* in case count & Counting1 are overlapping */ in HIST_count_parallel_wksp() 140 size_t HIST_countFast_wksp(unsigned* count, unsigned* maxSymbolValuePtr, in HIST_countFast_wksp() argument [all …]
|