/freebsd/sys/dev/hyperv/utilities/ |
H A D | unicode.h | 47 size_t spos, dpos; in utf8_to_utf16() local 55 spos = dpos = 0; in utf8_to_utf16() 56 while (spos<src_len) { in utf8_to_utf16() 57 if (s[spos] < 0x80) in utf8_to_utf16() 58 c = s[spos++]; in utf8_to_utf16() 60 && (spos >= src_len || !IS_CONT(s[spos+1])) in utf8_to_utf16() 61 && s[spos]>=0xa0) { in utf8_to_utf16() 63 c = s[spos++]; in utf8_to_utf16() 65 else if (s[spos] < 0xc0 || s[spos] >= 0xf5) { in utf8_to_utf16() 69 spos++; in utf8_to_utf16() [all …]
|
/freebsd/libexec/revnetgroup/ |
H A D | parse_netgroup.c | 172 char *spos, *epos; in parse_netgrp() local 219 if ((spos = strsep(&gpos, ","))) { in parse_netgrp() 223 while (*spos == ' ' || *spos == '\t') in parse_netgrp() 224 spos++; in parse_netgrp() 225 if ((epos = strpbrk(spos, " \t"))) { in parse_netgrp() 227 len = epos - spos; in parse_netgrp() 229 len = strlen(spos); in parse_netgrp() 233 bcopy(spos, grp->ng_str[strpos], in parse_netgrp() 263 spos = strsep(&pos, ", \t"); in parse_netgrp() 264 if (parse_netgrp(spos)) in parse_netgrp() [all …]
|
/freebsd/contrib/wpa/src/utils/ |
H A D | json.c | 67 char *str, *spos, *s_end; in json_parse_string() local 78 spos = str; in json_parse_string() 82 if (buf_len < max_len && s_end - spos < 3) { in json_parse_string() 86 idx = spos - str; in json_parse_string() 94 spos = str + idx; in json_parse_string() 100 *spos = '\0'; in json_parse_string() 115 *spos++ = *pos; in json_parse_string() 118 *spos++ = '\n'; in json_parse_string() 121 *spos++ = '\r'; in json_parse_string() 124 *spos++ = '\t'; in json_parse_string() [all …]
|
/freebsd/lib/libc/gen/ |
H A D | getnetgrent.c | 675 char *epos, *gpos, *pos, *spos; local 719 if ((spos = strsep(&gpos, ",")) == NULL) { 732 while (*spos == ' ' || *spos == '\t') 733 spos++; 734 if ((epos = strpbrk(spos, " \t"))) { 736 len = epos - spos; 738 len = strlen(spos); 749 bcopy(spos, ng[strpos], len + 1); 772 spos = strsep(&pos, ", \t"); 773 if (parse_netgrp(spos, st, niscompat)) [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 33 u8 **spos, const u8 *end) in p2p_sd_dns_uncompress_label() argument 35 while (*spos < end) { in p2p_sd_dns_uncompress_label() 36 u8 val = ((*spos)[0] & 0xc0) >> 6; in p2p_sd_dns_uncompress_label() 51 if (end - *spos < 2) { in p2p_sd_dns_uncompress_label() 57 offset = (((*spos)[0] & 0x3f) << 8) | (*spos)[1]; in p2p_sd_dns_uncompress_label() 58 if (offset >= *spos - start) { in p2p_sd_dns_uncompress_label() 64 (*spos) += 2; in p2p_sd_dns_uncompress_label() 68 *spos - 2); in p2p_sd_dns_uncompress_label() 72 len = (*spos)[0] & 0x3f; in p2p_sd_dns_uncompress_label() 76 (*spos)++; in p2p_sd_dns_uncompress_label() [all …]
|
/freebsd/contrib/less/ |
H A D | search.c | 1370 static osc8_match osc8_search_line1(int search_type, POSITION linepos, POSITION spos, constant char *line, size_t line_len, constant char *param, POSITION clickpos) in search_range() 1423 if (osc8_linepos == linepos && osc8_match_start == spos + ptr_diff(op1.osc8_start, line)) in search_range() 1427 osc8_match_start = spos + ptr_diff(op1.osc8_start, line); in search_range() 1428 osc8_match_end = spos + ptr_diff(op2.osc8_start, line); in search_range() 1429 osc8_params_start = spos + ptr_diff(op1.params_start, line); in search_range() 1430 osc8_params_end = spos + ptr_diff(op1.params_end, line); in search_range() 1431 osc8_uri_start = spos + ptr_diff(op1.uri_start, line); in search_range() 1432 osc8_uri_end = spos + ptr_diff(op1.uri_end, line); 1433 osc8_text_start = spos + ptr_diff(op1.osc8_end, line); 1434 osc8_text_end = spos 1642 prep_hilite(POSITION spos,POSITION epos,int maxlines) prep_hilite() argument [all...] |
H A D | lsystem.c | 279 * Feed it the file contents between the positions spos and epos. 281 public int pipe_data(constant char *cmd, POSITION spos, POSITION epos) 292 if (ch_seek(spos) != 0) in pipe_data() 320 while (epos == NULL_POSITION || spos++ <= epos) in pipe_data() 282 pipe_data(char * cmd,POSITION spos,POSITION epos) pipe_data() argument
|
H A D | filename.c | 517 less_off_t spos; in readfd() 519 spos = less_lseek(f, (less_off_t)0, SEEK_END); in readfd() 520 if (spos == BAD_LSEEK) in readfd() 522 return ((POSITION) spos); in readfd() 492 off_t spos; seek_filesize() local
|
H A D | funcs.h | 239 public int col_from_pos(POSITION linepos, POSITION spos, POSITION saved_pos, int saved_col); 262 public int pipe_data(constant char *cmd, POSITION spos, POSITION epos); 397 public void prep_hilite(POSITION spos, POSITION epos, int maxlines);
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_wext.c | 249 char *spos; in wpa_driver_wext_event_wireless_custom() local 253 spos = custom + 17; in wpa_driver_wext_event_wireless_custom() 255 bytes = strspn(spos, "0123456789abcdefABCDEF"); in wpa_driver_wext_event_wireless_custom() 262 hexstr2bin(spos, req_ies, bytes) < 0) in wpa_driver_wext_event_wireless_custom() 267 spos += bytes * 2; in wpa_driver_wext_event_wireless_custom() 272 if (os_strncmp(spos, " RespIEs=", 9) == 0) { in wpa_driver_wext_event_wireless_custom() 273 spos += 9; in wpa_driver_wext_event_wireless_custom() 275 bytes = strspn(spos, "0123456789abcdefABCDEF"); in wpa_driver_wext_event_wireless_custom() 282 hexstr2bin(spos, resp_ies, bytes) < 0) in wpa_driver_wext_event_wireless_custom() 1374 char *spos; in wext_get_scan_custom() local [all …]
|
/freebsd/usr.bin/gzip/ |
H A D | unlz.c | 282 off_t pos, ppos, spos, dict_size; member 292 off_t offs = lz->pos - lz->spos; in lz_flush() 297 lz_crc_update(&lz->crc, lz->obuf + lz->spos, size); in lz_flush() 298 if (fwrite(lz->obuf + lz->spos, 1, size, lz->fout) != size) in lz_flush() 306 lz->spos = lz->pos; in lz_flush() 333 lz->pos = lz->ppos = lz->spos = 0; in lz_create()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common.cpp | 256 const char *spos = internal_strstr(str, templ); in TemplateMatch() local 257 str = spos + internal_strlen(templ); in TemplateMatch() 261 if (!spos) in TemplateMatch() 263 if (start && spos != str0) in TemplateMatch()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | clonefile.c | 266 off_t spos = lseek(sfd, 0, SEEK_CUR); in main() local 272 spos, slen, dpos, dlen); in main()
|
/freebsd/contrib/mandoc/ |
H A D | read.c | 157 size_t spos; /* at the start of the current line parse */ in mparse_buf_r() local 184 spos = pos; in mparse_buf_r() 290 &ln, &of, start && spos == 0 ? pos : 0); in mparse_buf_r()
|
H A D | roff.c | 1803 int spos; /* saved parse point for messages */ in roff_parseln() local 1891 spos = pos; in roff_parseln() 1893 return roff_req_or_macro(r, t, buf, ln, spos, pos, offs); in roff_parseln() 2380 int irc, rr, spos; in roff_cond_sub() local 2385 spos = pos; in roff_cond_sub() 2405 irc |= roff_req_or_macro(r, t, buf, ln, spos, pos, offs); in roff_cond_sub()
|
/freebsd/contrib/wpa/src/p2p/ |
H A D | p2p_group.c | 526 const u8 *spos; in p2p_build_client_info() local 546 spos = msg.p2p_device_info; /* P2P Device address */ in p2p_build_client_info() 552 wpabuf_put_data(buf, spos, ETH_ALEN); in p2p_build_client_info() 562 wpabuf_put_data(buf, spos + ETH_ALEN, in p2p_build_client_info()
|
/freebsd/usr.bin/ee/nls/pl_PL.ISO8859-2/ |
H A D | ee.msg | 89 80 "spos�b u�ycia: %s [-i] [-e] [-h] [+numer_wiersza] [plik(i)]\n"
|