Home
last modified time | relevance | path

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

/NextBSD/sys/dev/hyperv/utilities/
HDunicode.h49 size_t spos, dpos; in utf8_to_utf16() local
57 spos = dpos = 0; in utf8_to_utf16()
58 while (spos<src_len) { in utf8_to_utf16()
59 if (s[spos] < 0x80) in utf8_to_utf16()
60 c = s[spos++]; in utf8_to_utf16()
62 && (spos >= src_len || !IS_CONT(s[spos+1])) in utf8_to_utf16()
63 && s[spos]>=0xa0) { in utf8_to_utf16()
65 c = s[spos++]; in utf8_to_utf16()
67 else if (s[spos] < 0xc0 || s[spos] >= 0xf5) { in utf8_to_utf16()
71 spos++; in utf8_to_utf16()
[all …]
/NextBSD/libexec/revnetgroup/
HDparse_netgroup.c175 char *spos, *epos; in parse_netgrp() local
222 if ((spos = strsep(&gpos, ","))) { in parse_netgrp()
226 while (*spos == ' ' || *spos == '\t') in parse_netgrp()
227 spos++; in parse_netgrp()
228 if ((epos = strpbrk(spos, " \t"))) { in parse_netgrp()
230 len = epos - spos; in parse_netgrp()
232 len = strlen(spos); in parse_netgrp()
236 bcopy(spos, grp->ng_str[strpos], in parse_netgrp()
266 spos = strsep(&pos, ", \t"); in parse_netgrp()
267 if (parse_netgrp(spos)) in parse_netgrp()
[all …]
/NextBSD/lib/libc/gen/
HDgetnetgrent.c421 char *epos, *gpos, *pos, *spos; local
465 if ((spos = strsep(&gpos, ",")) == NULL) {
478 while (*spos == ' ' || *spos == '\t')
479 spos++;
480 if ((epos = strpbrk(spos, " \t"))) {
482 len = epos - spos;
484 len = strlen(spos);
495 bcopy(spos, ng[strpos], len + 1);
518 spos = strsep(&pos, ", \t");
519 if (parse_netgrp(spos))
[all …]
/NextBSD/contrib/less/
HDsearch.c1530 prep_hilite(spos, epos, maxlines) in prep_hilite() argument
1531 POSITION spos; in prep_hilite()
1555 spos = back_raw_line(spos+1, (char **)NULL, (int *)NULL);
1565 max_epos = spos;
1578 spos > prep_endpos)
1588 nprep_startpos = spos;
1616 if (spos < prep_startpos)
1623 if (spos < SEARCH_MORE)
1624 spos = 0;
1626 spos -= SEARCH_MORE;
[all …]
HDlsystem.c287 pipe_data(cmd, spos, epos) in pipe_data() argument
289 POSITION spos;
302 if (ch_seek(spos) != 0)
330 while (epos == NULL_POSITION || spos++ <= epos)
HDfilename.c518 off_t spos; local
520 spos = lseek(f, (off_t)0, SEEK_END);
521 if (spos == BAD_LSEEK)
523 return ((POSITION) spos);
/NextBSD/contrib/wpa/wpa_supplicant/
HDp2p_supplicant_sd.c33 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 (*spos + 2 > end) { 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 …]
/NextBSD/contrib/compiler-rt/lib/sanitizer_common/
HDsanitizer_common.cc332 const char *spos = internal_strstr(str, templ); in TemplateMatch() local
333 str = spos + internal_strlen(templ); in TemplateMatch()
337 if (spos == 0) in TemplateMatch()
339 if (start && spos != str0) in TemplateMatch()
/NextBSD/contrib/wpa/src/p2p/
HDp2p_group.c523 const u8 *spos; in p2p_build_client_info() local
543 spos = msg.p2p_device_info; /* P2P Device address */ in p2p_build_client_info()
549 wpabuf_put_data(buf, spos, ETH_ALEN); in p2p_build_client_info()
559 wpabuf_put_data(buf, spos + ETH_ALEN, in p2p_build_client_info()
/NextBSD/contrib/jansson/src/
HDvalue.c427 json_t **src, size_t spos, in array_copy() argument
430 memcpy(&dest[dpos], &src[spos], count * sizeof(json_t *)); in array_copy()
/NextBSD/usr.bin/ee/nls/pl_PL.ISO8859-2/
HDee.msg90 80 "spos�b u�ycia: %s [-i] [-e] [-h] [+numer_wiersza] [plik(i)]\n"
/NextBSD/contrib/mdocml/
HDroff.c1164 int spos; /* saved parse point for messages */ in roff_parseln() local
1236 spos = pos; in roff_parseln()
1243 ln, pos, buf->buf + spos); in roff_parseln()