HomeSort by relevance Sort by last modified time
    Searched full:sstrnleft (Results 1 - 2 of 2) sorted by null

  /system/core/sh/
memalloc.h 47 extern int sstrnleft;
67 #define STARTSTACKSTR(p) p = stackblock(), sstrnleft = stackblocksize()
68 #define STPUTC(c, p) (--sstrnleft >= 0? (*p++ = (c)) : (p = growstackstr(), *p++ = (c)))
69 #define CHECKSTRSPACE(n, p) { if (sstrnleft < n) p = makestrspace(); }
70 #define USTPUTC(c, p) (--sstrnleft, *p++ = (c))
71 #define STACKSTRNUL(p) (sstrnleft == 0? (p = growstackstr(), *p = '\0') : (*p = '\0'))
72 #define STUNPUTC(p) (++sstrnleft, --p)
74 #define STADJUST(amount, p) (p += (amount), sstrnleft -= (amount))
75 #define grabstackstr(p) stalloc(stackblocksize() - sstrnleft)
memalloc.c 120 int sstrnleft; variable
279 sstrnleft = len - 1;
283 sstrnleft = stackblocksize() - len - 1;
294 int len = stackblocksize() - sstrnleft;
296 sstrnleft = stackblocksize() - len;
305 sstrnleft = stacknleft - (p - s);

Completed in 124 milliseconds