Home
last modified time | relevance | path

Searched refs:spos (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/dev/hyperv/utilities/
H A Dunicode.h60 && (spos >= src_len || !IS_CONT(s[spos+1])) in utf8_to_utf16()
65 else if (s[spos] < 0xc0 || s[spos] >= 0xf5) { in utf8_to_utf16()
73 if (spos >= src_len || !IS_CONT(s[spos+1])) { in utf8_to_utf16()
74 spos++; in utf8_to_utf16()
88 || !IS_CONT(s[spos+1]) || !IS_CONT(s[spos+2])) { in utf8_to_utf16()
89 spos++; in utf8_to_utf16()
106 if (spos >= src_len-3 || !IS_CONT(s[spos+1]) in utf8_to_utf16()
107 || !IS_CONT(s[spos+2]) || !IS_CONT(s[spos+3])) { in utf8_to_utf16()
108 spos++; in utf8_to_utf16()
114 | ((s[spos+2] & 0x3f) << 6) | (s[spos+3] & 0x3f); in utf8_to_utf16()
[all …]
/freebsd/libexec/revnetgroup/
H A Dparse_netgroup.c172 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()
227 len = epos - spos; in parse_netgrp()
229 len = strlen(spos); in parse_netgrp()
263 spos = strsep(&pos, ", \t"); in parse_netgrp()
264 if (parse_netgrp(spos)) in parse_netgrp()
298 spos = pos; in read_for_group()
302 len = pos - spos; in read_for_group()
[all …]
/freebsd/contrib/wpa/src/utils/
H A Djson.c78 spos = str; 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()
135 *spos++ = bin[1]; in json_parse_string()
137 *spos++ = bin[0]; in json_parse_string()
[all …]
/freebsd/lib/libc/gen/
H A Dgetnetgrent.c675 char *epos, *gpos, *pos, *spos; local
732 while (*spos == ' ' || *spos == '\t')
733 spos++;
736 len = epos - spos;
738 len = strlen(spos);
749 bcopy(spos, ng[strpos], len + 1);
772 spos = strsep(&pos, ", \t");
791 char *linep, *olinep, *pos, *spos; local
841 spos = pos;
845 len = pos - spos;
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dp2p_supplicant_sd.c35 while (*spos < end) { 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()
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()
88 *spos += len; in p2p_sd_dns_uncompress_label()
108 u8 *tmp, *end, *spos; in p2p_sd_dns_uncompress() local
121 end = spos + msg_len; in p2p_sd_dns_uncompress()
[all …]
/freebsd/contrib/less/
H A Dsearch.c1664 spos = back_raw_line(spos+1, (char **)NULL, (int *)NULL); in prep_hilite()
1674 max_epos = spos; in prep_hilite()
1687 spos > prep_endpos) in prep_hilite()
1697 nprep_startpos = spos; in prep_hilite()
1725 if (spos < prep_startpos) in prep_hilite()
1732 if (spos < SEARCH_MORE) in prep_hilite()
1733 spos = 0; in prep_hilite()
1735 spos -= SEARCH_MORE; in prep_hilite()
1736 nprep_startpos = spos; in prep_hilite()
1743 spos = prep_endpos; in prep_hilite()
[all …]
H A Dlsystem.c282 public int pipe_data(char *cmd, POSITION spos, POSITION epos) in pipe_data() argument
293 if (ch_seek(spos) != 0) in pipe_data()
321 while (epos == NULL_POSITION || spos++ <= epos) in pipe_data()
H A Dfilename.c492 off_t spos; in seek_filesize() local
494 spos = lseek(f, (off_t)0, SEEK_END); in seek_filesize()
495 if (spos == BAD_LSEEK) in seek_filesize()
497 return ((POSITION) spos); in seek_filesize()
H A Dfuncs.h237 public int pipe_data(char *cmd, POSITION spos, POSITION epos);
355 public void prep_hilite(POSITION spos, POSITION epos, int maxlines);
/freebsd/usr.bin/gzip/
H A Dunlz.c282 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 Dsanitizer_common.cpp256 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/contrib/wpa/src/drivers/
H A Ddriver_wext.c249 char *spos; in wpa_driver_wext_event_wireless_custom() local
253 spos = custom + 17; in wpa_driver_wext_event_wireless_custom()
267 spos += bytes * 2; in wpa_driver_wext_event_wireless_custom()
273 spos += 9; in wpa_driver_wext_event_wireless_custom()
1373 char *spos; in wext_get_scan_custom() local
1375 spos = custom + 7; in wext_get_scan_custom()
1376 bytes = custom + clen - spos; in wext_get_scan_custom()
1388 char *spos; in wext_get_scan_custom() local
1390 spos = custom + 7; in wext_get_scan_custom()
1403 char *spos; in wext_get_scan_custom() local
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dclonefile.c266 off_t spos = lseek(sfd, 0, SEEK_CUR); in main() local
272 spos, slen, dpos, dlen); in main()
/freebsd/contrib/mandoc/
H A Dread.c157 size_t spos; /* at the start of the current line parse */ in mparse_buf_r() local
184 spos = pos; in mparse_buf_r()
285 &ln, &of, start && spos == 0 ? pos : 0); in mparse_buf_r()
H A Droff.c1831 int spos; /* saved parse point for messages */ in roff_parseln() local
1917 spos = pos; in roff_parseln()
1925 ln, pos, "%s", buf->buf + spos); in roff_parseln()
1958 return (*roffs[t].proc)(r, t, buf, ln, spos, pos, offs); in roff_parseln()
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_group.c526 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 Dee.msg89 80 "spos�b u�ycia: %s [-i] [-e] [-h] [+numer_wiersza] [plik(i)]\n"