Searched refs:spos (Results 1 - 16 of 16) sorted by relevance

/freebsd-current/sys/dev/hyperv/utilities/
H A Dunicode.h47 size_t spos, dpos; local
55 spos = dpos = 0;
56 while (spos<src_len) {
57 if (s[spos] < 0x80)
58 c = s[spos++];
60 && (spos >= src_len || !IS_CONT(s[spos+1]))
61 && s[spos]>=0xa0) {
63 c = s[spos++];
65 else if (s[spos] <
146 uint16_t spos, dpos; local
[all...]
/freebsd-current/libexec/revnetgroup/
H A Dparse_netgroup.c172 char *spos, *epos; local
219 if ((spos = strsep(&gpos, ","))) {
223 while (*spos == ' ' || *spos == '\t')
224 spos++;
225 if ((epos = strpbrk(spos, " \t"))) {
227 len = epos - spos;
229 len = strlen(spos);
233 bcopy(spos, grp->ng_str[strpos],
263 spos
282 char *pos, *spos, *linep = NULL, *olinep = NULL; local
[all...]
/freebsd-current/contrib/wpa/src/utils/
H A Djson.c67 char *str, *spos, *s_end; local
78 spos = str;
82 if (buf_len < max_len && s_end - spos < 3) {
86 idx = spos - str;
94 spos = str + idx;
100 *spos = '\0';
115 *spos++ = *pos;
118 *spos++ = '\n';
121 *spos++ = '\r';
124 *spos
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dp2p_supplicant_sd.c33 u8 **spos, const u8 *end)
35 while (*spos < end) {
36 u8 val = ((*spos)[0] & 0xc0) >> 6;
51 if (end - *spos < 2) {
57 offset = (((*spos)[0] & 0x3f) << 8) | (*spos)[1];
58 if (offset >= *spos - start) {
64 (*spos) += 2;
68 *spos - 2);
72 len = (*spos)[
32 p2p_sd_dns_uncompress_label(char **upos, char *uend, u8 *start, u8 **spos, const u8 *end) argument
108 u8 *tmp, *end, *spos; local
[all...]
/freebsd-current/contrib/less/
H A Dlsystem.c280 * Feed it the file contents between the positions spos and epos.
282 public int pipe_data(char *cmd, POSITION spos, POSITION epos) argument
293 if (ch_seek(spos) != 0)
321 while (epos == NULL_POSITION || spos++ <= epos)
H A Dsearch.c1640 * prep_hilite asks that the range (spos,epos) be covered by the prep region.
1642 public void prep_hilite(POSITION spos, POSITION epos, int maxlines) argument
1664 spos = back_raw_line(spos+1, (char **)NULL, (int *)NULL);
1674 max_epos = spos;
1681 * The range that we need to search (spos,epos); and the range that
1687 spos > prep_endpos)
1697 nprep_startpos = spos;
1725 if (spos < prep_startpos)
1732 if (spos < SEARCH_MOR
[all...]
H A Dfilename.c492 off_t spos; local
494 spos = lseek(f, (off_t)0, SEEK_END);
495 if (spos == BAD_LSEEK)
497 return ((POSITION) spos);
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-current/lib/libc/gen/
H A Dgetnetgrent.c675 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
791 char *linep, *olinep, *pos, *spos; local
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.cpp256 const char *spos = internal_strstr(str, templ); local
257 str = spos + internal_strlen(templ);
261 if (!spos)
263 if (start && spos != str0)
/freebsd-current/usr.bin/gzip/
H A Dunlz.c282 off_t pos, ppos, spos, dict_size; member in struct:lz_decoder
292 off_t offs = lz->pos - lz->spos;
297 lz_crc_update(&lz->crc, lz->obuf + lz->spos, size);
298 if (fwrite(lz->obuf + lz->spos, 1, size, lz->fout) != size)
306 lz->spos = lz->pos;
333 lz->pos = lz->ppos = lz->spos = 0;
/freebsd-current/contrib/wpa/src/drivers/
H A Ddriver_wext.c249 char *spos; local
253 spos = custom + 17;
255 bytes = strspn(spos, "0123456789abcdefABCDEF");
262 hexstr2bin(spos, req_ies, bytes) < 0)
267 spos += bytes * 2;
272 if (os_strncmp(spos, " RespIEs=", 9) == 0) {
273 spos += 9;
275 bytes = strspn(spos, "0123456789abcdefABCDEF");
282 hexstr2bin(spos, resp_ies, bytes) < 0)
1373 char *spos; local
1388 char *spos; local
1403 char *spos; local
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dclonefile.c266 off_t spos = lseek(sfd, 0, SEEK_CUR); local
272 spos, slen, dpos, dlen);
/freebsd-current/contrib/wpa/src/p2p/
H A Dp2p_group.c526 const u8 *spos; local
546 spos = msg.p2p_device_info; /* P2P Device address */
552 wpabuf_put_data(buf, spos, ETH_ALEN);
562 wpabuf_put_data(buf, spos + ETH_ALEN,
/freebsd-current/contrib/mandoc/
H A Dread.c157 size_t spos; /* at the start of the current line parse */ local
184 spos = pos;
285 &ln, &of, start && spos == 0 ? pos : 0);
H A Droff.c1831 int spos; /* saved parse point for messages */ local
1917 spos = pos;
1925 ln, pos, "%s", buf->buf + spos);
1958 return (*roffs[t].proc)(r, t, buf, ln, spos, pos, offs);

Completed in 299 milliseconds