/titanic_41/usr/src/lib/libsip/common/ |
H A D | sip_parse_uri.c | 90 #define SIP_URI_ISURLESCAPE(scan, end) \ argument 91 ((scan) + 2 < (end) && (scan)[0] == '%' && \ 92 SIP_URI_ISHEX((scan)[1]) && SIP_URI_ISHEX((scan[2]))) 300 sip_uri_parse_tel(char *scan, char *uend) in sip_uri_parse_tel() argument 307 if (scan == uend) in sip_uri_parse_tel() 309 if (*scan == '+') { in sip_uri_parse_tel() 310 ++scan; in sip_uri_parse_tel() 313 mark = scan; in sip_uri_parse_tel() 315 while (scan < uend && SIP_URI_ISPHONEDIGIT(*scan)) in sip_uri_parse_tel() 316 ++scan; in sip_uri_parse_tel() [all …]
|
/titanic_41/usr/src/lib/libdll/common/ |
H A D | dllscan.c | 216 Dllscan_t* scan; in dllsopen() local 241 if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen())) in dllsopen() 246 scan->vm = vm; in dllsopen() 248 scan->flags = info->flags; in dllsopen() 251 scan->lib = (char**)(scan + 1); in dllsopen() 252 s = *scan->lib = (char*)(scan->lib + 2); in dllsopen() 260 scan->flags |= DLL_MATCH_NAME; in dllsopen() 264 if (!(scan->pb = vmnewof(vm, 0, char, t - (char*)name, 2))) in dllsopen() 266 memcpy(scan->pb, name, t - (char*)name); in dllsopen() 274 scan->flags |= DLL_MATCH_VERSION; in dllsopen() [all …]
|
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | digest_md5.c | 176 CONST_UCHAR *scan, *end; in MD5_UTF8_8859_1() local 180 for (scan = base; scan < end; ++scan) { in MD5_UTF8_8859_1() 181 if (*scan > 0xC3) break; /* abort if outside 8859-1 */ in MD5_UTF8_8859_1() 182 if (*scan >= 0xC0 && *scan <= 0xC3) { in MD5_UTF8_8859_1() 183 if (++scan == end || *scan < 0x80 || *scan > 0xBF) break; in MD5_UTF8_8859_1() 187 if (scan < end) { in MD5_UTF8_8859_1() 194 for (scan = base; scan < end && *scan < 0xC0; ++scan) in MD5_UTF8_8859_1() 196 if (scan != base) MD5Update(ctx, base, scan - base); in MD5_UTF8_8859_1() 197 if (scan + 1 >= end) break; in MD5_UTF8_8859_1() 198 cbuf = ((scan[0] & 0x3) << 6) | (scan[1] & 0x3f); in MD5_UTF8_8859_1() [all …]
|
/titanic_41/usr/src/cmd/tabs/ |
H A D | tabs.c | 124 static void scantab(char *scan, int tabvect[NTABS], int level); 125 static void repetab(char *scan, int tabvect[NTABS]); 126 static void arbitab(char *scan, int tabvect[NTABS]); 127 static void filetab(char *scan, int tabvect[NTABS], int level); 142 char *scan; /* scan pointer to next char */ in main() local 164 scan = *++argv; in main() 165 if (*scan == '+') { in main() 167 if (*++scan == 'm') { in main() 169 if (*++scan) in main() 170 margin = getnum(&scan); in main() [all …]
|
/titanic_41/usr/src/common/smbsrv/ |
H A D | smb_msgbuf.c | 64 return (mb->scan - mb->base); in smb_msgbuf_used() 88 mb->scan = (uint8_t *)((uintptr_t)(mb->scan + 1) & ~1); in smb_msgbuf_word_align() 97 mb->scan = (uint8_t *)((uintptr_t)(mb->scan + 3) & ~3); in smb_msgbuf_dword_align() 107 if (size > mb->max || (mb->scan + size) > mb->end) in smb_msgbuf_has_space() 144 mb->scan = mb->base = buf; in smb_msgbuf_init() 192 orig_scan = mb->scan; in smb_msgbuf_decode() 198 mb->scan = orig_scan; in smb_msgbuf_decode() 203 return (mb->scan - orig_scan); in smb_msgbuf_decode() 260 mb->scan += repc; in buf_decode() 268 bcopy(mb->scan, cvalp, repc); in buf_decode() [all …]
|
/titanic_41/usr/src/uts/common/io/net80211/ |
H A D | net80211_input.c | 833 struct ieee80211_scanparams scan; in ieee80211_recv_beacon() local 873 bzero(&scan, sizeof (scan)); in ieee80211_recv_beacon() 874 scan.tstamp = frm; in ieee80211_recv_beacon() 876 scan.bintval = LE_16(*(uint16_t *)frm); in ieee80211_recv_beacon() 878 scan.capinfo = LE_16(*(uint16_t *)frm); in ieee80211_recv_beacon() 880 scan.bchan = ieee80211_chan2ieee(ic, ic->ic_curchan); in ieee80211_recv_beacon() 881 scan.chan = scan.bchan; in ieee80211_recv_beacon() 894 scan.ssid = frm; in ieee80211_recv_beacon() 897 scan.rates = frm; in ieee80211_recv_beacon() 900 scan.country = frm; in ieee80211_recv_beacon() [all …]
|
/titanic_41/usr/src/cmd/rpcgen/ |
H A D | rpc_parse.c | 100 scan(TOK_SEMICOLON, &tok); in get_definition() 254 scan(TOK_IDENT, &tok); in def_struct() 256 scan(TOK_LBRACE, &tok); in def_struct() 269 scan(TOK_SEMICOLON, &tok); in def_struct() 297 scan(TOK_IDENT, &tok); in def_program() 299 scan(TOK_LBRACE, &tok); in def_program() 302 scan(TOK_VERSION, &tok); in def_program() 304 scan(TOK_IDENT, &tok); in def_program() 307 scan(TOK_LBRACE, &tok); in def_program() 317 scan(TOK_IDENT, &tok); in def_program() [all …]
|
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_name.c | 673 unsigned char *scan = (unsigned char *)buf; in smb_name_buf_to_packet() local 674 unsigned char *scan_end = scan + n_buf; in smb_name_buf_to_packet() 689 name_trn_id = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet() 690 info = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet() 691 qdcount = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet() 692 ancount = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet() 693 nscount = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet() 694 arcount = BE_IN16(scan); scan += 2; in smb_name_buf_to_packet() 765 name_len = smb_netbios_getname(name_buf, (char *)scan, in smb_name_buf_to_packet() 782 scan += name_len; in smb_name_buf_to_packet() [all …]
|
H A D | smbns_netbios_cache.c | 394 unsigned char *scan; in smb_netbios_cache_status() local 397 scan = buf; in smb_netbios_cache_status() 398 scan_end = scan + bufsize; in smb_netbios_cache_status() 400 numnames = scan++; in smb_netbios_cache_status() 412 if ((scan + NETBIOS_NAME_SZ + 2) >= scan_end) in smb_netbios_cache_status() 421 bcopy(name->name, scan, NETBIOS_NAME_SZ); in smb_netbios_cache_status() 422 scan += NETBIOS_NAME_SZ; in smb_netbios_cache_status() 423 *scan++ = (PUBLIC_BITS(name->attributes) >> 8) & 0xff; in smb_netbios_cache_status() 424 *scan++ = PUBLIC_BITS(name->attributes) & 0xff; in smb_netbios_cache_status() 432 return (scan); in smb_netbios_cache_status()
|
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceLocationAttributeV1.java | 157 int scan = 0; in radix64ToOpaque() local 159 while (scan < s.length()) { in radix64ToOpaque() 160 if (s.charAt(scan) == '(') { in radix64ToOpaque() 165 scan++; in radix64ToOpaque() 168 scan++; // past the '(' in radix64ToOpaque() 170 while (scan < s.length()) { in radix64ToOpaque() 171 if (Character.isWhitespace(s.charAt(scan)) == false) { in radix64ToOpaque() 175 scan++; in radix64ToOpaque() 178 while (scan < s.length()) { in radix64ToOpaque() 180 if (Character.isDigit(s.charAt(scan))) { in radix64ToOpaque() [all …]
|
/titanic_41/usr/src/uts/common/io/kb8042/ |
H A D | at_keyprocess.c | 715 unsigned char scan, in KeyboardConvertScan() argument 722 return ((*KeyboardConvertScan_fn)(kb8042, scan, keynum, state, in KeyboardConvertScan() 729 unsigned char scan, in KeyboardConvertScan_set1() argument 737 switch (scan) { in KeyboardConvertScan_set1() 774 if (scan > 0x80) { in KeyboardConvertScan_set1() 776 scan -= 0x80; in KeyboardConvertScan_set1() 788 switch (scan) { in KeyboardConvertScan_set1() 818 if (scan < keytab_base_length) in KeyboardConvertScan_set1() 819 *keynum = keytab_base[scan]; in KeyboardConvertScan_set1() 827 if (scan < keytab_e0_length) in KeyboardConvertScan_set1() [all …]
|
/titanic_41/usr/src/cmd/ypcmd/shared/ |
H A D | ancil.c | 72 struct ypmaplist *scan; local 74 for (scan = list; scan; scan = scan->ypml_next) { 76 if (strcmp(map, scan->ypml_name) == 0) {
|
/titanic_41/usr/src/cmd/newform/ |
H A D | newform.c | 140 char *scan; /* String scan pointer */ in main() local 151 scan = *++argv; in main() 152 if (*scan != '-') { in main() 153 if ((fp = fopen(scan, "r")) == NULL) { in main() 155 "newform: can't open %s\n", scan); in main() 173 char *scan; /* Pointer to individual option strings */ in options() local 180 scan = *++argv; in options() 181 if (*scan++ == '-') { in options() 182 switch (c = *scan++) { in options() 185 flp->param = inputn(scan); in options() [all …]
|
/titanic_41/usr/src/uts/common/zmod/ |
H A D | deflate.c | 1038 register Bytef *scan = s->window + s->strstart; /* current string */ local 1056 register ush scan_start = *(ushf*)scan; 1057 register ush scan_end = *(ushf*)(scan+best_len-1); 1060 register Byte scan_end1 = scan[best_len-1]; 1061 register Byte scan_end = scan[best_len]; 1108 Assert(scan[2] == match[2], "scan[2]?"); 1109 scan++, match++; 1111 } while (*(ushf*)(scan+=2) == *(ushf*)(match+=2) && 1112 *(ushf*)(scan+=2) == *(ushf*)(match+=2) && 1113 *(ushf*)(scan+=2) == *(ushf*)(match+=2) && [all …]
|
/titanic_41/usr/src/cmd/fs.d/cachefs/mdbug/ |
H A D | dbug.c | 618 register char *scan; in db_push() local 663 for (scan = mystrtok(dupcontrol, ":"); in db_push() 664 scan != NULL; in db_push() 665 scan = mystrtok(NULL, ":")) { in db_push() 666 switch (*scan++) { in db_push() 670 if (*scan++ == ',') { in db_push() 671 retval = listparse(scan, in db_push() 683 if (*scan++ == ',') { in db_push() 685 retval = listparse(scan, flist_object_p); in db_push() 701 if (*scan++ == ',') { in db_push() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | clock_tick.c | 529 clock_tick_execute_common(int start, int scan, int end, clock_t mylbolt, in clock_tick_execute_common() argument 535 ASSERT((start <= scan) && (scan <= end)); in clock_tick_execute_common() 549 for (i = scan; i < end; i++) { in clock_tick_execute_common() 556 for (i = start; i < scan; i++) { in clock_tick_execute_common() 569 int start, scan, end, pending; in clock_tick_execute() local 601 scan = ctp->ct_scan; in clock_tick_execute() 605 clock_tick_execute_common(start, scan, end, mylbolt, pending); in clock_tick_execute()
|
/titanic_41/usr/src/cmd/csh/ |
H A D | printf.c | 190 scan: in _print() 194 goto scan; in _print() 197 goto scan; in _print() 200 goto scan; in _print() 203 goto scan; in _print() 207 goto scan; in _print()
|
/titanic_41/usr/src/lib/libshell/common/scripts/ |
H A D | crawlsrccomments.sh | 1012 compound scan=( 1019 …extract_comments scan.records "$i" ${options.max_num_comments} ${options.max_filesize_for_scan} ||… 1023 print -v scan >"crawlsrccomments_extracted_comments.cpv" 1035 compound scan 1113 read -C scan <"${database}" || fatal_error 'Error reading data.' 1120 print_comments_duplicates_compressed scan.records options 1122 print_comments_plain scan.records options
|
/titanic_41/usr/src/lib/libc/port/locale/ |
H A D | regcomp.c | 113 static int altoffset(sop *scan, int offset); 1364 sop *scan; in findmust() local 1393 scan = g->strip + 1; in findmust() 1395 s = *scan++; in findmust() 1400 newstart = scan - 1; in findmust() 1413 offset = altoffset(scan, offset); in findmust() 1414 scan--; in findmust() 1416 scan += OPND(s); in findmust() 1417 s = *scan; in findmust() 1517 scan = start; in findmust() [all …]
|
/titanic_41/usr/src/uts/common/io/atu/ |
H A D | atu.c | 387 struct atu_cmd_do_scan scan; in atu_start_scan() local 393 bzero(&scan, sizeof (scan)); in atu_start_scan() 394 scan.Cmd = CMD_START_SCAN; in atu_start_scan() 395 scan.Reserved = 0; in atu_start_scan() 396 scan.Size = sizeof (scan) - 4; in atu_start_scan() 397 (void) memset(scan.BSSID, 0xff, sizeof (scan.BSSID)); in atu_start_scan() 398 bcopy(ic->ic_des_essid, scan.SSID, ic->ic_des_esslen); in atu_start_scan() 399 scan.SSID_Len = ic->ic_des_esslen; in atu_start_scan() 400 scan.ScanType = ATU_SCAN_ACTIVE; in atu_start_scan() 401 scan.Channel = ieee80211_chan2ieee(ic, ic->ic_curchan); in atu_start_scan() [all …]
|
/titanic_41/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | zlib.c | 1459 register Bytef *scan = s->window + s->strstart; /* current string */ local 1479 register ush scan_start = *(ushf*)scan; 1480 register ush scan_end = *(ushf*)(scan+best_len-1); 1483 register Byte scan_end1 = scan[best_len-1]; 1484 register Byte scan_end = scan[best_len]; 1537 Assert(scan[2] == match[2], "scan[2]?"); 1538 scan++, match++; 1540 } while (*(ushf *)(scan += 2) == *(ushf *)(match += 2) && 1541 *(ushf *)(scan += 2) == *(ushf *)(match += 2) && 1542 *(ushf *)(scan += 2) == *(ushf *)(match += 2) && [all …]
|
/titanic_41/usr/src/lib/libbc/libc/stdio/common/ |
H A D | doprnt.c | 367 scan: switch (*++cp) { in _doprnt() 370 goto scan; in _doprnt() 373 goto scan; in _doprnt() 376 goto scan; in _doprnt() 379 goto scan; in _doprnt() 384 goto scan; in _doprnt() 482 goto scan; in _doprnt()
|
/titanic_41/usr/src/cmd/listen/ |
H A D | nstoa.c | 487 int scan(); 490 if (!s || !*s || !scan(s)) 504 scan(s) in scan() function 522 scan(cmd);
|
/titanic_41/usr/src/cmd/mailx/ |
H A D | list.c | 61 static int scan(char **sp); 216 tok = scan(&bufp); in markall() 242 tok = scan(&bufp); in markall() 290 tok = scan(&bufp); in markall() 516 scan(char **sp) in scan() function
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.c | 944 register Bytef *scan = s->window + s->strstart; /* current string */ local 961 register ush scan_start = *(ushf*)scan; 962 register ush scan_end = *(ushf*)(scan+best_len-1); 965 register Byte scan_end1 = scan[best_len-1]; 966 register Byte scan_end = scan[best_len]; 1003 Assert(scan[2] == match[2], "scan[2]?"); 1004 scan++, match++; 1006 } while (*(ushf*)(scan+=2) == *(ushf*)(match+=2) && 1007 *(ushf*)(scan+=2) == *(ushf*)(match+=2) && 1008 *(ushf*)(scan+=2) == *(ushf*)(match+=2) && [all …]
|