/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | engine.c | 110 static const char *walk(struct match *m, const char *start, const char *stop, 196 const char *stop; in matcher() local 211 stop = string + pmatch[0].rm_eo; in matcher() 214 stop = start + strlen(start); in matcher() 217 if (stop < start) in matcher() 228 for (dp = start+g->mlen-1; dp < stop; ) { in matcher() 230 while (dp < stop && charjump[(int)*dp]) in matcher() 233 if (dp >= stop) in matcher() 256 for (dp = start; dp < stop; dp++) in matcher() 258 stop - dp >= g->mlen && in matcher() [all …]
|
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | gid.c | 40 static int findunusedgid(gid_t start, gid_t stop, gid_t *ret); 48 findnextgid(gid_t start, gid_t stop, gid_t *ret) in findnextgid() argument 59 if (grp->gr_gid == stop) { /* Overflow check */ in findnextgid() 72 return (findunusedgid(start, stop, ret)); in findnextgid() 73 while (isreservedgid(gid) && gid < stop) /* Skip reserved IDs */ in findnextgid() 94 findunusedgid(gid_t start, gid_t stop, gid_t *ret) in findunusedgid() argument 98 for (gid = start; gid <= stop; gid++) { in findunusedgid() 107 if (gid > stop) in findunusedgid()
|
H A D | uid.c | 41 static int findunuseduid(uid_t start, uid_t stop, uid_t *ret); 49 findnextuid(uid_t start, uid_t stop, uid_t *ret) in findnextuid() argument 60 if (pwd->pw_uid == stop) { /* Overflow check */ in findnextuid() 73 return (findunuseduid(start, stop, ret)); in findnextuid() 74 while (isreserveduid(uid) && uid < stop) /* Skip reserved IDs */ in findnextuid() 95 findunuseduid(uid_t start, uid_t stop, uid_t *ret) in findunuseduid() argument 99 for (uid = start; uid <= stop; uid++) { in findunuseduid() 108 if (uid > stop) in findunuseduid()
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | bgets.c | 50 static char *stop = NULL; variable 82 char *stop = _get_stop(&key); in bgets() local 84 if (!stop) in bgets() 85 stop = (char *)calloc(CHARS, sizeof (char)); in bgets() 89 (void) memset(stop, 0, CHARS); in bgets() 92 stop[(unsigned char)*cp] = 1; in bgets() 108 if (stop[c]) { in bgets()
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | gethead.c | 74 int rc, size, start, stop, ix; in gethead() local 92 stop = current - 6; in gethead() 93 if (stop < -1) stop = -1; in gethead() 98 stop = -1; in gethead() 101 stop = current + 6; in gethead() 102 if (stop > nlet) stop = nlet; in gethead() 107 stop = nlet; in gethead() 110 for (ln = start; ln != stop; ln = flgr ? ln + 1 : ln - 1) { in gethead()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/ |
H A D | line64.c | 203 char *p, *stop; in ldif_base64_decode() local 207 stop = strchr( src, '\0' ); in ldif_base64_decode() 209 for ( p = src, len = 0; p < stop; p += 4, len += 3 ) { in ldif_base64_decode() 324 unsigned char *p, *byte, *stop; in ldif_put_type_and_value_with_options() local 349 stop = (unsigned char *)val; in ldif_put_type_and_value_with_options() 352 stop = (unsigned char *) (val + vlen); in ldif_put_type_and_value_with_options() 366 for ( byte = (unsigned char *) val; byte < stop; in ldif_put_type_and_value_with_options() 430 unsigned char *byte, *stop; in ldif_base64_encode_internal() local 438 stop = src + srclen; in ldif_base64_encode_internal() 441 for ( byte = src; byte < stop - 2; byte += 3 ) { in ldif_base64_encode_internal() [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_sram.c | 43 uint32_t stop = start + n; in efx_sram_buf_tbl_set() local 68 if (stop >= EFX_BUF_TBL_SIZE) { in efx_sram_buf_tbl_set() 75 for (id = start; id != stop; id++) { in efx_sram_buf_tbl_set() 90 EFSYS_PROBE2(buf, uint32_t, start, uint32_t, stop - 1); in efx_sram_buf_tbl_set() 98 EFSYS_ASSERT3U(id, ==, stop); in efx_sram_buf_tbl_set() 145 id = stop; in efx_sram_buf_tbl_set() 169 uint32_t stop = start + n; in efx_sram_buf_tbl_clear() local 190 EFSYS_ASSERT3U(stop, <, EFX_BUF_TBL_SIZE); in efx_sram_buf_tbl_clear() 192 EFSYS_PROBE2(buf, uint32_t, start, uint32_t, stop - 1); in efx_sram_buf_tbl_clear() 195 FRF_AZ_BUF_CLR_CMD, 1, FRF_AZ_BUF_CLR_END_ID, stop - 1, in efx_sram_buf_tbl_clear()
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/ |
H A D | misc.c | 103 int start, stop; /* end points */ local 115 start = stop = str_convert(&str, 0); 118 stop = str_convert(&str, 9999); 120 if ( start > stop ) 121 error(FATAL, "illegal range %d-%d", start, stop); 124 olist[nolist++] = stop;
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vio_common.h | 52 #define VIO_DRING_ACQUIRE(otd, mtype, handle, start, stop) \ argument 55 ldc_mem_dring_acquire((handle), (start), (stop))) 61 #define VIO_DRING_RELEASE(mtype, handle, start, stop) \ argument 64 ldc_mem_dring_release((handle), (start), (stop)))
|
H A D | vnet_common.h | 141 uint8_t mtype, ldc_dring_handle_t handle, uint64_t start, uint64_t stop); 143 ldc_dring_handle_t handle, uint64_t start, uint64_t stop, uint8_t dstate);
|
/illumos-gate/usr/src/lib/libmail/common/ |
H A D | setup_exec.c | 43 int stop; in setup_exec() local 53 stop = FALSE; in setup_exec() 54 while (*q && (stop == FALSE)) { in setup_exec() 70 stop = TRUE; in setup_exec()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | bitmap.c | 171 bt_getlowbit(const ulong_t *map, size_t start, size_t stop) in bt_getlowbit() argument 175 int limit = stop >> BT_ULSHIFT; in bt_getlowbit() 177 index_t partial_stop = stop & BT_ULMASK; in bt_getlowbit() 179 if (start > stop) { in bt_getlowbit()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | bitstring.h | 75 #define bit_nclear(name, start, stop) do { \ argument 77 register int _start = (start), _stop = (stop); \ 92 #define bit_nset(name, start, stop) do { \ argument 94 register int _start = (start), _stop = (stop); \
|
/illumos-gate/usr/src/grub/grub-0.97/grub/ |
H A D | asmstub.c | 259 stop (void) in stop() function 273 stop (); in grub_reboot() 279 stop (); in grub_halt() 287 stop (); in chain_stage1() 294 stop (); in chain_stage2() 302 stop (); in linux_boot() 310 stop (); in big_linux_boot() 318 stop (); in multi_boot() 702 stop (); in console_getkey() 1035 stop (); in serial_hw_fetch() [all …]
|
/illumos-gate/usr/src/cmd/ptools/pstop/ |
H A D | pstop.c | 36 static int stop(char *); 61 rc += stop(*++argv); in main() 67 stop(char *arg) in stop() function
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_common.c | 187 uint8_t mtype, ldc_dring_handle_t handle, uint64_t start, uint64_t stop) in vnet_dring_entry_copy() argument 192 if ((rv = VIO_DRING_ACQUIRE(&otd, mtype, handle, start, stop)) != 0) in vnet_dring_entry_copy() 204 ldc_dring_handle_t handle, uint64_t start, uint64_t stop, uint8_t dstate) in vnet_dring_entry_set_dstate() argument 215 rv = VIO_DRING_RELEASE(mtype, handle, start, stop); in vnet_dring_entry_set_dstate()
|
/illumos-gate/usr/src/lib/libc/amd64/unwind/ |
H A D | unwind.c | 372 _Unwind_Stop_Fn stop, void *stop_parameter, in _Unwind_ForcedUnwind_Body() argument 388 res = (*stop)(1, phase, in _Unwind_ForcedUnwind_Body() 415 exception_object->private_1 = (uint64_t)stop; in _Unwind_ForcedUnwind_Body() 424 res = (*stop)(1, phase, in _Unwind_ForcedUnwind_Body() 444 _Unwind_Stop_Fn stop, void *stop_parameter) in _Unwind_ForcedUnwind() argument 451 return (_Unwind_ForcedUnwind_Body(exception_object, stop, in _Unwind_ForcedUnwind()
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | stats.c | 49 hrtime_t stop; member 204 sp->u.elapse.stop = gethrtime(); in stats_elapse_stop() 245 if (sp->u.elapse.start && sp->u.elapse.stop) { in stats_publish() 247 sp->u.elapse.stop - sp->u.elapse.start; in stats_publish()
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_search.c | 72 __bam_search(dbc, key, flags, stop, recnop, exactp) in __bam_search() argument 76 int stop, *exactp; 131 ((LF_ISSET(S_PARENT) && (u_int8_t)(stop + 1) >= h->level) || 212 if (LF_ISSET(S_PARENT) && stop == h->level) { 230 (u_int8_t)(stop + 1) >= (u_int8_t)(h->level - 1)) ||
|
H A D | bt_rsearch.c | 65 __bam_rsearch(dbc, recnop, flags, stop, exactp) in __bam_rsearch() argument 69 int stop, *exactp; 121 ((LF_ISSET(S_PARENT) && (u_int8_t)(stop + 1) >= h->level) || 235 if (LF_ISSET(S_PARENT) && stop == h->level) { 253 (u_int8_t)(stop + 1) >= (u_int8_t)(h->level - 1)) ||
|
H A D | bt_delete.c | 506 goto stop; 508 goto stop; 512 goto stop; 521 goto stop; 523 goto stop; 576 stop: done = 1;
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | stage1_5.c | 54 stop (); in cmain() 71 stop (); in cmain()
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_hyper.c | 251 unsigned com, baud, bits, stop; in serial_metal_to_hyper() local 274 if (sscanf(metal_serial, "%u,%u,%c,%u,%c", &baud, &bits, &parity, &stop, in serial_metal_to_hyper() 279 if (((bits < 5) || (bits > 8)) || (stop > 1) || in serial_metal_to_hyper() 308 bits, parity, stop); in serial_metal_to_hyper() 381 char bits, parity, stop; in cvt_hyper_option() local 452 &stop) != 4) in cvt_hyper_option() 456 if (((stop != '0') && (stop != '1')) || in cvt_hyper_option() 486 bits, parity, stop); in cvt_hyper_option()
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | clnt_gen.c | 231 int stop; in bindresvport() local 296 stop = MIN_PRIV; in bindresvport() 304 i >= stop; i--) { in bindresvport() 341 stop = *last_used + 1; in bindresvport()
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_ev.c | 245 unsigned int stop; in sfxge_ev_rx() local 267 stop = (id + 1) & (sp->s_rxq_size - 1); in sfxge_ev_rx() 270 delta = (stop >= id) ? (stop - id) : (sp->s_rxq_size - id + stop); in sfxge_ev_rx() 300 for (; id != stop; id = (id + 1) & (sp->s_rxq_size - 1)) { in sfxge_ev_rx() 433 unsigned int stop; in sfxge_ev_tx() local 447 stop = (id + 1) & (SFXGE_TX_NDESCS - 1); in sfxge_ev_tx() 450 delta = (stop >= id) ? (stop - id) : (SFXGE_TX_NDESCS - id + stop); in sfxge_ev_tx()
|