Searched defs:sp (Results 1 - 13 of 13) sorted by relevance

/bionic/libc/netbsd/net/
H A Dgetservbyname_r.c49 getservbyname_r(const char *name, const char *proto, struct servent *sp, argument
59 while ((s = getservent_r(sp, sd)) != NULL) {
H A Dgetservbyport_r.c47 getservbyport_r(int port, const char *proto, struct servent *sp, argument
53 while ((s = getservent_r(sp, sd)) != NULL) {
H A Dgetservent_r.c82 getservent_r(struct servent *sp, struct servent_data *sd) argument
99 sp->s_name = p = sd->line;
110 sp->s_port = htons((u_short)atoi(p));
111 sp->s_proto = cp;
122 q = sp->s_aliases = sd->aliases;
141 sp->s_aliases = sd->aliases = q;
149 return sp;
H A Dgetnameinfo.c255 struct servent *sp; local
301 sp = NULL;
303 sp = getservbyport(port,
306 if (sp) {
307 if (strlen(sp->s_name) + 1 > (size_t)servlen)
309 strlcpy(serv, sp->s_name, servlen);
H A Dgetaddrinfo.c1150 struct servent *sp; local
1210 if ((sp = getservbyname(servname, proto)) == NULL)
1212 port = sp->s_port;
/bionic/libc/kernel/arch-mips/asm/
H A Dregdef.h61 #define sp $29 macro
111 #define sp $29 macro
/bionic/libc/bionic/
H A Dfts.c58 #define CLR(opt) (sp->fts_options &= ~(opt))
59 #define ISSET(opt) (sp->fts_options & (opt))
60 #define SET(opt) (sp->fts_options |= (opt))
62 #define FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd))
73 FTS *sp; local
86 if ((sp = calloc(1, sizeof(FTS))) == NULL)
88 sp->fts_compar = compar;
89 sp->fts_options = options;
99 if (fts_palloc(sp, MAX(fts_maxarglen(argv), MAXPATHLEN)))
103 if ((parent = fts_alloc(sp, "",
179 fts_load(FTS *sp, FTSENT *p) argument
203 fts_close(FTS *sp) argument
254 fts_read(FTS *sp) argument
449 fts_set(FTS *sp, FTSENT *p, int instr) argument
461 fts_children(FTS *sp, int instr) argument
543 fts_build(FTS *sp, int type) argument
790 fts_stat(FTS *sp, FTSENT *p, int follow) argument
859 fts_sort(FTS *sp, FTSENT *head, int nitems) argument
894 fts_alloc(FTS *sp, char *name, size_t namelen) argument
943 fts_palloc(FTS *sp, size_t more) argument
975 fts_padjust(FTS *sp, FTSENT *head) argument
1015 fts_safe_changedir(FTS *sp, FTSENT *p, int fd, char *path) argument
[all...]
H A Ddlmalloc.c2201 msegmentptr sp = &m->seg; local
2203 if (addr >= sp->base && addr < sp->base + sp->size)
2204 return sp;
2205 if ((sp = sp->next) == 0)
2212 msegmentptr sp = &m->seg; local
2214 if ((char*)sp >= ss->base && (char*)sp < s
2728 msegmentptr sp = segment_holding(m, (char*)p); local
3507 mchunkptr sp = (mchunkptr)csp; local
3724 msegmentptr sp = &m->seg; local
3775 msegmentptr sp = pred->next; local
3822 msegmentptr sp = segment_holding(m, (char*)m->top); local
4716 msegmentptr sp = &ms->seg; local
[all...]
/bionic/libc/netbsd/nameser/
H A Dns_name.c742 const u_char *dn, *cp, *sp; local
747 sp = *cpp;
754 while (*sp != 0 && (*sp & NS_CMPRSFLGS) == 0 &&
755 (sp - msg) < 0x4000) {
757 cp = sp;
775 return (sp - msg);
789 sp += *sp + 1;
/bionic/libc/kernel/common/linux/
H A Dskbuff.h136 struct sec_path *sp; member in struct:sk_buff
/bionic/libc/regex/
H A Dengine.c296 char *sp; /* start of string matched by it */ local
308 sp = start;
330 sp++;
339 sp++;
350 rest = slow(m, sp, stp, ss, es);
358 assert(stp >= sp); /* it did work */
363 if (slow(m, sp, rest, ssub, esub) != NULL) {
364 dp = dissect(m, sp, rest, ssub, esub);
367 assert(sp == rest);
368 sp
477 char *sp; /* start of string matched by it */ local
[all...]
H A Dregcomp.c769 char *sp = p->next; local
777 len = p->next - sp;
779 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
833 char *sp = p->next; local
843 len = p->next - sp;
845 if (strncmp(cp->name, sp, len) == 0 && cp->name[len] == '\0')
848 return(*sp); /* single character */
1374 sop *sp; local
1379 sp = (sop *)realloc(p->strip, size*sizeof(sop));
1380 if (sp
[all...]
/bionic/libc/tzcode/
H A Dlocaltime.c218 static void gmtload P((struct state * sp));
244 const struct state * sp, struct tm * tmp));
249 static int tzload P((const char * name, struct state * sp,
251 static int tzparse P((const char * name, struct state * sp,
327 register struct state * const sp = lclptr; local
340 if (sp == NULL) {
345 for (i = 0; i < sp->typecnt; ++i) {
346 register const struct ttinfo * const ttisp = &sp->ttis[i];
349 &sp->chars[ttisp->tt_abbrind];
364 for (i = 0; i < sp
1339 register struct state * sp; local
1806 register const struct state * sp; local
2011 register const struct state * sp; local
2174 register struct state * sp; local
[all...]

Completed in 305 milliseconds