Home
last modified time | relevance | path

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

1234567891011

/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/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 …]
/onnv-gate/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]; \
/onnv-gate/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 …]
/onnv-gate/usr/src/lib/sun_fc/common/
H A DFCSyseventBridge.cc57 adapterAddEventListeners.insert(adapterAddEventListeners.begin(), in addListener()
69 adapterEventListeners.insert(adapterEventListeners.begin(), listener); in addListener()
81 adapterPortEventListeners.insert(adapterPortEventListeners.begin(), in addListener()
94 adapterDeviceEventListeners.insert(adapterDeviceEventListeners.begin(), in addListener()
107 targetEventListeners.insert(targetEventListeners.begin(), listener); in addListener()
120 for (Iter tmp = adapterAddEventListeners.begin(); in removeListener()
139 for (Iter tmp = adapterEventListeners.begin(); in removeListener()
158 for (Iter tmp = adapterPortEventListeners.begin(); in removeListener()
177 for (Iter tmp = adapterDeviceEventListeners.begin(); in removeListener()
196 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()
/onnv-gate/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 …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/pod/
H A Dpoderrs.t65 =head2 end without begin
69 =head2 begin and begin
71 =begin html
73 =begin text
79 second one results in end w/o begin
81 =head2 begin w/o formatter
83 =begin
108 L</"begin or begin">
109 L<"end with begin">
135 =begin html
H A Dpoderrs.xr15 *** ERROR: =end without =begin at line 67 in file t/pod/poderrs.t
16 *** ERROR: Nested =begin's (first at line 71:html) at line 73 in file t/pod/poderrs.t
17 *** ERROR: =end without =begin at line 77 in file t/pod/poderrs.t
18 *** ERROR: No argument for =begin at line 83 in file t/pod/poderrs.t
43 *** ERROR: unresolved internal link 'begin or begin' at line 108 in file t/pod/poderrs.t
44 *** ERROR: unresolved internal link 'end with begin' at line 109 in file t/pod/poderrs.t
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/t/
H A Ddowngrade.t71 unless (/begin ([0-7]{3}) ([^\n]*)\n(.*)$/s) {
270 begin 101 Locked hash
275 begin 101 Locked hash placeholder
280 begin 101 Locked keys
285 begin 101 Locked keys placeholder
290 begin 101 Short 8 bit utf8 data
295 begin 101 Short 8 bit utf8 data as bytes
300 begin 101 Long 8 bit utf8 data
359 begin 101 Hash with utf8 flag but no utf8 keys
364 begin 101 Hash with utf8 keys
[all …]
/onnv-gate/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()
/onnv-gate/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 …]
/onnv-gate/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.c189 getnum(char *strval, int max, int *begin, int *end) in getnum() argument
194 *begin = *end = 0; in getnum()
208 if (!*begin && (*pt == '-')) { in getnum()
209 *begin = n; in getnum()
216 } else if (*begin) { in getnum()
220 *begin = n; in getnum()
225 *end = *begin; in getnum()
226 return ((*begin <= *end) ? 0 : 1); in getnum()
234 int begin, end; local
254 if (getnum(strval, (int)menup->nchoices, &begin,
[all …]
/onnv-gate/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;
/onnv-gate/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()
/onnv-gate/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
/onnv-gate/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()
/onnv-gate/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()
/onnv-gate/usr/src/lib/libdtrace/common/
H A Ddt_consume.c1987 dt_begin_t *begin = (dt_begin_t *)arg; in dt_consume_begin_probe() local
1993 if (begin->dtbgn_beginonly) { in dt_consume_begin_probe()
2005 return (begin->dtbgn_probefunc(data, begin->dtbgn_arg)); in dt_consume_begin_probe()
2012 dt_begin_t *begin = (dt_begin_t *)arg; in dt_consume_begin_record() local
2014 return (begin->dtbgn_recfunc(data, rec, begin->dtbgn_arg)); in dt_consume_begin_record()
2020 dt_begin_t *begin = (dt_begin_t *)arg; in dt_consume_begin_error() local
2026 if (begin->dtbgn_beginonly) { in dt_consume_begin_error()
2034 return (begin->dtbgn_errhdlr(data, begin->dtbgn_errarg)); in dt_consume_begin_error()
2062 dt_begin_t begin; in dt_consume_begin() local
2092 begin.dtbgn_probefunc = pf; in dt_consume_begin()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Attribute/Handlers/t/
H A Dmulti.t137 my $out = "begin\n";
143 ok( $out eq "begin\nbye\n", 45 );
149 ok( $out eq "begin\nbye\nbye\n", 46);
161 $out = "begin\n";
163 ok( $out eq "begin\n", 48 );
165 ok( $out eq "begin\nbye\n", 49 );
167 ok( $out eq "begin\nbye\nbye\n", 50 );

1234567891011