Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 207) sorted by relevance

123456789

/titanic_41/usr/src/lib/libcommputil/common/
H A Dcommp_util.c46 commp_skip_white_space(const char **begin, const char *end) in commp_skip_white_space() argument
48 while (*begin < end) { in commp_skip_white_space()
49 if (!isspace(**begin)) in commp_skip_white_space()
51 (*begin)++; in commp_skip_white_space()
62 commp_find_token(const char **begin, const char **current, const char *end, in commp_find_token() argument
65 *current = *begin; in commp_find_token()
74 if (*current == *begin) in commp_find_token()
84 commp_atoi(const char *begin, const char *end, int *num) in commp_atoi() argument
89 while (begin < end) { in commp_atoi()
90 if (isdigit(*begin)) { in commp_atoi()
[all …]
H A Dsdp_parse.c48 sdp_parse_version(int *version, const char *begin, const char *end, in sdp_parse_version() argument
51 if (*begin++ != COMMP_EQUALS || commp_atoi(begin, end, version) != 0) in sdp_parse_version()
63 sdp_parse_name(char **name, const char *begin, const char *end, in sdp_parse_name() argument
68 if (*begin++ != COMMP_EQUALS) { in sdp_parse_name()
75 len = end - begin; in sdp_parse_name()
79 COMMP_COPY_STR(*name, begin, len); in sdp_parse_name()
95 sdp_parse_info(char **info, const char *begin, const char *end, in sdp_parse_info() argument
100 if (*begin++ != COMMP_EQUALS) { in sdp_parse_info()
107 len = end - begin; in sdp_parse_info()
111 COMMP_COPY_STR(*info, begin, len); in sdp_parse_info()
[all …]
/titanic_41/usr/src/stand/lib/tcp/
H A Dtcp_sack.c56 tcp_sack_insert(sack_blk_t *head, tcp_seq begin, tcp_seq end, int32_t *num) in tcp_sack_insert() argument
63 head[0].begin = begin; in tcp_sack_insert()
88 if (SEQ_LT(end, head[i].begin) || SEQ_GT(begin, head[i].end)) { in tcp_sack_insert()
90 tmp[j].begin = head[i].begin; in tcp_sack_insert()
94 } else if (SEQ_GEQ(begin, head[i].begin) && in tcp_sack_insert()
97 begin = head[i].begin; in tcp_sack_insert()
100 SEQ_GEQ(end, head[i].begin)) { in tcp_sack_insert()
106 } else if (SEQ_GEQ(begin, head[i].begin) && in tcp_sack_insert()
107 SEQ_LEQ(begin, head[i].end)) { in tcp_sack_insert()
109 begin = head[i].begin; in tcp_sack_insert()
[all …]
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_sack.c50 tcp_sack_insert(sack_blk_t *head, tcp_seq begin, tcp_seq end, int32_t *num) in tcp_sack_insert() argument
57 head[0].begin = begin; in tcp_sack_insert()
82 if (SEQ_LT(end, head[i].begin) || SEQ_GT(begin, head[i].end)) { in tcp_sack_insert()
84 tmp[j].begin = head[i].begin; in tcp_sack_insert()
88 } else if (SEQ_GEQ(begin, head[i].begin) && in tcp_sack_insert()
91 begin = head[i].begin; in tcp_sack_insert()
94 SEQ_GEQ(end, head[i].begin)) { in tcp_sack_insert()
100 } else if (SEQ_GEQ(begin, head[i].begin) && in tcp_sack_insert()
101 SEQ_LEQ(begin, head[i].end)) { in tcp_sack_insert()
103 begin = head[i].begin; in tcp_sack_insert()
[all …]
/titanic_41/usr/src/cmd/latencytop/common/
H A Dtable.c172 parse_config_cmd(char *begin, lt_parser_t *parser) in parse_config_cmd() argument
181 if (*begin == '\0') { in parse_config_cmd()
185 for (tmp = begin; in parse_config_cmd()
192 if (strcmp("disable_cause", begin) == 0) { in parse_config_cmd()
197 begin); in parse_config_cmd()
201 begin = tmp+1; in parse_config_cmd()
202 while (isspace(*begin)) { in parse_config_cmd()
203 ++begin; in parse_config_cmd()
207 lt_strdup(begin)); in parse_config_cmd()
211 "Unknown command: %s\n", begin); in parse_config_cmd()
[all …]
/titanic_41/usr/src/lib/libshell/common/edit/
H A Dcompletion.c201 char *av[2], *begin , *dir=0; in ed_expand() local
247 begin = out = find_begin(outbuff,last,0,&var); in ed_expand()
278 if(*begin=='~' && !strchr(begin,'/')) in ed_expand()
287 char *cp=begin, *left=0, *saveout="."; in ed_expand()
292 …xtprompt==1) || (strchr(";&|(",size)) && (cp==outbuff+1||size=='('||cp[-2]!='>') && *begin!='~' ))) in ed_expand()
302 begin += (dir-begin); in ed_expand()
308 if(begin>outbuff && (begin[-1]=='"' || begin[-1]=='\'')) in ed_expand()
309 begin--; in ed_expand()
341 size = *eol - (out-begin); in ed_expand()
349 saveout = begin; in ed_expand()
[all …]
/titanic_41/usr/src/cmd/sendmail/db/include/
H A Ddb_shash.h33 #define HASHLOOKUP(begin, type, field, elt, r, n, hash, cmp) do { \ argument
38 __bucket = &begin[__ndx]; \
57 #define HASHINSERT(begin, type, field, elt, n, hash) do { \ argument
62 __bucket = &begin[__ndx]; \
78 #define HASHREMOVE(begin, type, field, elt, n, hash, cmp) { \ argument
84 __bucket = &begin[__ndx]; \
85 HASHLOOKUP(begin, type, field, elt, __entp, n, hash, cmp); \
99 #define HASHREMOVE_EL(begin, type, field, obj, n, hash) { \ argument
104 __bucket = &begin[__ndx]; \
/titanic_41/usr/src/lib/efcode/fcode_test/
H A Dloop.fth26 ." Interactive begin .. while .. repeat: "
27 " no loop (1) " 1 begin 0 while 1- repeat .passed?
28 " loop to 0 (1)" 9 begin dup while 1- repeat 0= .passed?
30 ." Compiled begin .. while .. repeat: "
31 : btest1 1 begin 0 while 1- repeat .passed? ;
32 : btest2 9 begin dup while 1- repeat 0= .passed? ;
36 ." Interactive begin..until: "
37 " no loop (3)" 1 begin dup until .passed?
38 " loop to 0 (3)" 9 begin 1- dup 0= until 0= .passed?
40 ." Compiled begin..until: "
[all …]
/titanic_41/usr/src/lib/sun_fc/common/
H A DFCSyseventBridge.cc56 adapterAddEventListeners.insert(adapterAddEventListeners.begin(), in addListener()
68 adapterEventListeners.insert(adapterEventListeners.begin(), listener); in addListener()
80 adapterPortEventListeners.insert(adapterPortEventListeners.begin(), in addListener()
93 adapterDeviceEventListeners.insert(adapterDeviceEventListeners.begin(), in addListener()
106 targetEventListeners.insert(targetEventListeners.begin(), listener); in addListener()
119 for (Iter tmp = adapterAddEventListeners.begin(); in removeListener()
138 for (Iter tmp = adapterEventListeners.begin(); in removeListener()
157 for (Iter tmp = adapterPortEventListeners.begin(); in removeListener()
176 for (Iter tmp = adapterDeviceEventListeners.begin(); in removeListener()
195 for (Iter tmp = targetEventListeners.begin(); in removeListener()
[all …]
H A DListener.cc59 listeners.insert(listeners.begin(), this); in Listener()
74 for (ListenerIterator tmp = listeners.begin(); in ~Listener()
99 for (ListenerIterator tmp = listeners.begin(); in findListener()
/titanic_41/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_subr.c106 env_process_value(topo_hdl_t *thp, const char *begin, const char *end) in env_process_value() argument
112 while (begin < end && isspace(*begin)) in env_process_value()
113 begin++; in env_process_value()
115 while (begin < end && isspace(*(end - 1))) in env_process_value()
118 if (begin >= end) in env_process_value()
121 count = end - begin; in env_process_value()
127 (void) snprintf(buf, count, "%s", begin); in env_process_value()
299 topo_cleanup_auth_str(topo_hdl_t *thp, const char *begin) in topo_cleanup_auth_str() argument
307 end = begin + strlen(begin); in topo_cleanup_auth_str()
309 while (begin < end && isspace(*begin)) in topo_cleanup_auth_str()
[all …]
/titanic_41/usr/src/lib/libdscp/
H A Dlibdscp.c367 int begin; in get_ifname() local
413 for (begin = -1, i = 0; i < size; i++) { in get_ifname()
415 begin = i; in get_ifname()
421 if (begin < 0) { in get_ifname()
426 for (end = size - 1, i = begin; i < size; i++) { in get_ifname()
434 len = end - begin; in get_ifname()
437 if (begin > 0) { in get_ifname()
438 (void) memmove(ifname, &ifname[begin], len); in get_ifname()
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/type/
H A DListParser.java77 int begin = 0; in ListParser() local
79 initList(str, begin, end); in ListParser()
83 int begin, end = str.length(); in ListParser() local
85 begin = offset; in ListParser()
87 begin = end; in ListParser()
89 initList(str, begin, end); in ListParser()
92 public ListParser(String str, int begin, int end) { in ListParser() argument
96 if (begin < 0) in ListParser()
97 begin = 0; in ListParser()
98 if (begin > end) in ListParser()
[all …]
/titanic_41/usr/src/cmd/lp/lib/lp/
H A Dgetlist.c80 *begin; local
104 if (!(begin = Strdup(str))) {
108 copy = begin;
115 Free (begin);
191 Free (begin);
/titanic_41/usr/src/lib/libadm/common/
H A Dckdate.c104 int begin = -1; in p_date() local
106 if (!(ptr = p_ndigit(string, &begin, ndig))) in p_date()
108 if (begin >= llim && begin <= ulim) in p_date()
119 int begin = -1; in p_eday() local
144 if (!(ptr = p_ndigit(string, &begin, iday))) in p_eday()
147 if (begin >= llim && begin <= ulim) in p_eday()
H A Dckitem.c191 getnum(char *strval, int max, int *begin, int *end) in getnum() argument
196 *begin = *end = 0; in getnum()
210 if (!*begin && (*pt == '-')) { in getnum()
211 *begin = n; in getnum()
218 } else if (*begin) { in getnum()
222 *begin = n; in getnum()
227 *end = *begin; in getnum()
228 return ((*begin <= *end) ? 0 : 1); in getnum()
236 int begin, end; local
256 if (getnum(strval, (int)menup->nchoices, &begin,
[all …]
/titanic_41/usr/src/cmd/sendmail/db/db/
H A Ddb_shash.c115 __db_hashinit(begin, nelements) in __db_hashinit() argument
116 void *begin; in __db_hashinit()
122 headp = (struct hash_head *)begin;
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dutf8.c523 char *begin; in krb5int_utf8_strtok() local
529 begin = str ? str : *last; in krb5int_utf8_strtok()
531 begin += krb5int_utf8_strspn(begin, sep); in krb5int_utf8_strtok()
533 if (*begin == '\0') { in krb5int_utf8_strtok()
538 end = &begin[krb5int_utf8_strcspn(begin, sep)]; in krb5int_utf8_strtok()
548 return begin; in krb5int_utf8_strtok()
/titanic_41/usr/src/cmd/lp/filter/postscript/postscript/
H A Dps.requests22 % Keywords begin with an @ in the first column. The value follows on the next line
24 % lines that begin with % in the first column.
28 statusdict begin
34 statusdict begin
/titanic_41/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_smbios.c441 chip_cleanup_smbios_str(topo_mod_t *mod, const char *begin, int str_type) in chip_cleanup_smbios_str() argument
449 end = begin + strlen(begin); in chip_cleanup_smbios_str()
451 while (begin < end && isspace(*begin)) in chip_cleanup_smbios_str()
452 begin++; in chip_cleanup_smbios_str()
453 while (begin < end && isspace(*(end - 1))) in chip_cleanup_smbios_str()
456 if (begin >= end) in chip_cleanup_smbios_str()
459 cp = begin; in chip_cleanup_smbios_str()
483 topo_mod_strfree(mod, (char *)begin); in chip_cleanup_smbios_str()
/titanic_41/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_subr.c623 x86pi_cleanup_smbios_str(topo_mod_t *mod, const char *begin, int str_type) in x86pi_cleanup_smbios_str() argument
631 end = begin + strlen(begin); in x86pi_cleanup_smbios_str()
633 while (begin < end && isspace(*begin)) in x86pi_cleanup_smbios_str()
634 begin++; in x86pi_cleanup_smbios_str()
635 while (begin < end && isspace(*(end - 1))) in x86pi_cleanup_smbios_str()
638 if (begin >= end) in x86pi_cleanup_smbios_str()
641 cp = begin; in x86pi_cleanup_smbios_str()
665 topo_mod_strfree(mod, (char *)begin); in x86pi_cleanup_smbios_str()
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_debug.c359 hrtime_t begin; member
381 if (!rs->begin) { in rdsv3_printk_ratelimit()
382 rs->begin = current; in rdsv3_printk_ratelimit()
384 if (current < rs->begin + TICK_TO_NSEC(rs->interval)) { in rdsv3_printk_ratelimit()
388 rs->begin = 0; in rdsv3_printk_ratelimit()
/titanic_41/usr/src/lib/libast/common/disc/
H A Dsfdcdos.c51 Sfoff_t begin; member
93 if(offset <= dp->begin)
100 dummy.logical = dp->begin;
165 dp->begin +=n;
172 dp->begin += cp - (char*)buff-1;
176 dp->maptable[0].logical= dp->begin;
294 if(offset<=dp->begin)
/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dclock.c533 struct timeval now, begin, diff;
538 time_t begin, now;
562 begin = now;
564 now = begin = time(NULL);
582 timersub(&now, &begin, &diff);
598 if (!(begin + (time_t) intvl + 1 > now))
601 sm_io_to.tv_sec = intvl - (now - begin);
/titanic_41/usr/src/lib/libsasl/plugin/
H A Dplugin_common.c818 const char *begin; local
826 begin = lang_list;
830 while (isspace(*begin) || *begin == ',')
831 begin++;
832 if (*begin == '\0')
836 for (end = begin; end[1] != ',' && end[1] != '\0'; end++) {}
840 if (s == begin && *begin == '*')
843 if (s - begin == (i_default_len - 1) &&
844 strncasecmp(begin, i_default, i_default_len) == 0)
847 begin = end + 1;

123456789