Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 25 of 54) sorted by relevance

123

/bionic/libc/bionic/
Dfts.c59 #define CLR(opt) (sp->fts_options &= ~(opt))
60 #define ISSET(opt) (sp->fts_options & (opt))
61 #define SET(opt) (sp->fts_options |= (opt))
63 #define FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd)) argument
74 FTS *sp; in __fts_open() local
88 if ((sp = calloc(1, sizeof(FTS))) == NULL) in __fts_open()
90 sp->fts_compar = compar; in __fts_open()
91 sp->fts_options = options; in __fts_open()
101 if (fts_palloc(sp, MAXIMUM(fts_maxarglen(argv), PATH_MAX))) in __fts_open()
105 if ((parent = fts_alloc(sp, "", 0)) == NULL) in __fts_open()
[all …]
/bionic/libc/tzcode/
Dlocaltime.c220 ttunspecified(struct state const *sp, int i) in ttunspecified() argument
222 char const *abbr = &sp->chars[sp->ttis[i].tt_desigidx]; in ttunspecified()
274 update_tzname_etc(struct state const *sp, struct ttinfo const *ttisp) in update_tzname_etc() argument
277 tzname[ttisp->tt_isdst] = (char *) &sp->chars[ttisp->tt_desigidx]; in update_tzname_etc()
294 may_update_tzname_etc(int stddst_mask, struct state *sp, int type) in may_update_tzname_etc() argument
296 struct ttinfo *ttisp = &sp->ttis[type]; in may_update_tzname_etc()
299 update_tzname_etc(sp, ttisp); in may_update_tzname_etc()
300 if (!ttunspecified(sp, type)) in may_update_tzname_etc()
309 register struct state * const sp = lclptr; in settzname() local
318 tzname[0] = tzname[1] = (char *) (sp ? wildabbr : utc); in settzname()
[all …]
/bionic/linker/arch/riscv64/
Dtlsdesc_resolver.S41 \f\()sd \reg, \idx*8(sp)
47 \f\()ld \reg, \idx*8(sp)
54 sub sp, sp, a3
55 vs8r.v v0, (sp)
56 sub sp, sp, a3
57 vs8r.v v8, (sp)
58 sub sp, sp, a3
59 vs8r.v v16, (sp)
60 sub sp, sp, a3
61 vs8r.v v24, (sp)
[all …]
/bionic/libc/arch-riscv64/bionic/
Dsetjmp.S122 addi sp, sp, -24
123 sd a0, 0(sp)
124 sd a1, 8(sp)
125 sd ra, 16(sp)
131 ld a0, 0(sp)
146 ld a0, 0(sp)
147 ld ra, 16(sp)
148 addi sp, sp, 24
162 mv a2, sp
215 addi sp, sp, -16
[all …]
D__bionic_clone.S62 ld a0, 0(sp)
63 ld a1, 8(sp)
64 addi sp, sp, 16
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dengine.c442 const char *sp; /* start of string matched by it */ in dissect() local
458 sp = start; in dissect()
480 sp += XMBRTOWC(NULL, sp, (size_t)(stop - start), in dissect()
494 sp += XMBRTOWC(NULL, sp, (size_t)(stop - start), in dissect()
506 rest = walk(m, sp, stp, ss, es, false); in dissect()
514 assert(stp >= sp); /* it did work */ in dissect()
519 if (walk(m, sp, rest, ssub, esub, false) != NULL) { in dissect()
520 dp = dissect(m, sp, rest, ssub, esub); in dissect()
523 assert(sp == rest); in dissect()
524 sp = rest; in dissect()
[all …]
/bionic/linker/arch/arm64/
Dtlsdesc_resolver.S43 stp x19, x20, [sp, #-32]!
47 stp x21, x22, [sp, #16]
68 ldp x21, x22, [sp, #16]
72 ldp x19, x20, [sp], #32
80 ldp x21, x22, [sp, #16]
83 ldp x19, x20, [sp], #32
91 str x, [sp, #((slot) * 8)]; \
95 stp x, y, [sp, #((slot) * 8)]; \
100 stp x, y, [sp, #((slot) * 8)]; \
105 ldr x, [sp, #((slot) * 8)]; \
[all …]
/bionic/libc/arch-arm/bionic/
Dsetjmp.S98 stmfd sp!, {r0, lr}
107 ldmfd sp, {r0}
111 stmfd sp!, {r2}
122 sub sp, #4
132 add sp, #4
136 ldmfd sp!, {r2}
138 ldmfd sp!, {r0, lr}
167 eor r3, sp, r2
188 stmfd sp!, {r0, r1, lr}
214 ldmfd sp!, {r0, r1, lr}
[all …]
Dsyscall.S32 mov ip, sp
33 stmfd sp!, {r4, r5, r6, r7}
45 ldmfd sp!, {r4, r5, r6, r7}
D__bionic_clone.S33 mov ip, sp
35 stmfd sp!, {r4, r5, r6, r7}
57 ldmfd sp!, {r4, r5, r6, r7}
/bionic/libc/arch-arm64/bionic/
Dsetjmp.S112 stp x0, x30, [sp, #-16]!
121 ldr x0, [sp, #0]
128 stp x1, xzr, [sp, #-16]!
137 ldp x1, xzr, [sp], #16
142 ldp x0, x30, [sp], #16
157 mov x10, sp
193 stp x0, x30, [sp, #-16]!
204 add x1, sp, #16
209 ldp x0, x30, [sp], #16
218 stp x0, x30, [sp, #-16]!
[all …]
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dhexnan.c54 hexnan(sp, fpi, x0) in hexnan() argument
55 CONST char **sp; FPI *fpi; ULong *x0; in hexnan()
57 hexnan( CONST char **sp, FPI *fpi, ULong *x0)
73 s = *sp;
103 *sp = s + 1;
109 *sp = s + 1;
Dstrtof.c36 strtof(s, sp) CONST char *s; char **sp; in strtof() argument
38 strtof(CONST char *s, char **sp)
52 k = strtodg(s, sp, fpi, &exp, bits);
Dstrtord.c76 strtord(s, sp, rounding, d) CONST char *s; char **sp; int rounding; double *d; in strtord() argument
78 strtord(CONST char *s, char **sp, int rounding, double *d)
93 k = strtodg(s, sp, fpi, &exp, bits);
DstrtorQ.c100 strtorQ(s, sp, rounding, L) CONST char *s; char **sp; int rounding; void *L; in strtorQ() argument
102 strtorQ(CONST char *s, char **sp, int rounding, void *L)
117 k = strtodg(s, sp, fpi, &exp, bits);
Dsmisc.c124 (sp, t) char **sp, *t; in match() argument
126 (CONST char **sp, char *t)
130 CONST char *s = *sp;
138 *sp = s + 1;
Dgethex.c40 gethex(sp, fpi, exp, bp, sign) in gethex() argument
41 CONST char **sp; FPI *fpi; Long *exp; Bigint **bp; int sign; in gethex()
43 gethex( CONST char **sp, FPI *fpi, Long *exp, Bigint **bp, int sign)
70 s0 = *(CONST unsigned char **)sp + 2;
147 *sp = (char*)s;
149 *sp = (char*)s0 - 1;
/bionic/libc/arch-arm/generic/bionic/
Dmemmove.S76 stmdb sp!, {r0, lr} /* memcpy() returns dest addr */
90 stmdb sp!, {r4} /* borrow r4 */
106 ldmia sp!, {r4} /* return r4 */
132 ldmiaeq sp!, {r0, pc} /* done */
142 ldmia sp!, {r0, pc}
173 stmdb sp!, {r4, r5}
188 ldmia sp!, {r4, r5}
208 stmdb sp!, {r4, r5}
223 ldmia sp!, {r4, r5}
243 stmdb sp!, {r4, r5}
[all …]
Dstrcmp.S88 str r4, [sp, #-4]!
136 ldr r4, [sp], #4
162 str r5, [sp, #-4]!
163 str r4, [sp, #-4]!
302 ldr r4, [sp], #4
303 ldr r5, [sp], #4
317 ldr r4, [sp], #4
318 ldr r5, [sp], #4
Dstrcpy.S49 str r5, [sp, #-4]!
54 str r4, [sp, #-4]!
95 ldr r4, [sp], #4
96 ldr r5, [sp], #4
/bionic/libc/upstream-openbsd/lib/libc/locale/
Dmbstowcs.c39 const char *sp; in mbstowcs() local
42 sp = s; in mbstowcs()
43 return (mbsrtowcs(pwcs, &sp, n, &mbs)); in mbstowcs()
/bionic/libc/arch-arm/cortex-a15/bionic/
Dstrcmp.S111 ldrd r6, r7, [sp, #8]
118 ldrd r4, r5, [sp], #16
132 ldrd r6, r7, [sp, #8]
139 ldrd r4, r5, [sp], #16
168 strd r4, r5, [sp, #-16]!
173 strd r6, r7, [sp, #8]
342 ldr r4, [sp], #16
388 ldrd r4, r5, [sp], #16
465 ldrd r4, r5, [sp], #16
487 ldrd r4, r5, [sp], #16
Dmemset.S57 stmfd sp!, {r0}
139 ldmfd sp!, {r0}
172 ldmfd sp!, {r0}
/bionic/libc/dns/net/
Dgetnameinfo.c178 struct servent *sp; in getnameinfo_inet() local
222 sp = NULL; in getnameinfo_inet()
224 sp = getservbyport(port, in getnameinfo_inet()
227 if (sp) { in getnameinfo_inet()
228 if (strlen(sp->s_name) + 1 > (size_t)servlen) in getnameinfo_inet()
230 strlcpy(serv, sp->s_name, servlen); in getnameinfo_inet()
/bionic/libc/dns/nameser/
Dns_name.c937 const u_char *dn, *cp, *sp; in dn_find() local
942 sp = *cpp; in dn_find()
949 while (*sp != 0 && (*sp & NS_CMPRSFLGS) == 0 && in dn_find()
950 (sp - msg) < 0x4000) { in dn_find()
952 cp = sp; in dn_find()
971 sp - msg)); in dn_find()
972 return (int)(sp - msg); in dn_find()
987 sp += *sp + 1; in dn_find()

123