/bionic/libc/dns/include/ |
hostent.h | 77 #define HENT_COPY(dst, src, slen, ptr, len) \ 79 if ((size_t)slen > len) \ 81 memcpy(ptr, src, (size_t)slen); \ 83 ptr += slen; \ 84 len -= slen; \
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
mktemp.c | 45 mktemp_internal(char *path, int slen, int mode, int flags) 55 if (len < MIN_X || slen < 0 || (size_t)slen > len - MIN_X) { 59 ep = path + len - slen; 133 mkostemps(char *path, int slen, int flags) 135 return(mktemp_internal(path, slen, MKTEMP_FILE, flags)); 151 mkstemps(char *path, int slen) 153 return(mktemp_internal(path, slen, MKTEMP_FILE, 0));
|
/external/guava/guava/src/com/google/common/escape/ |
CharEscaper.java | 82 int slen = s.length(); local 92 for (; index < slen; index++) { 108 destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index); 127 int charsLeft = slen - lastEscape; 135 s.getChars(lastEscape, slen, dest, destIndex);
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_get_scale_factors.cpp | 100 const int32 slen[2][16] = variable 149 scalefac->l[sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]); 156 scalefac->s[window][sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]); 163 scalefac->s[window][sfb] = getNbits(pMainData, slen[1][gr_info->scalefac_compress]); 175 scalefac->s[window][sfb] = getNbits(pMainData, slen[i][gr_info->scalefac_compress]); 196 int32 tmp1 = slen[(i>>1)][gr_info->scalefac_compress];
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
realpath.c | 57 int m, slen; local 176 slen = readlink(resolved, symlink, sizeof(symlink) - 1); 177 if (slen < 0) { 182 symlink[slen] = '\0'; 200 if (symlink[slen - 1] != '/') { 201 if (slen + 1 >= sizeof(symlink)) { 207 symlink[slen] = '/'; 208 symlink[slen + 1] = 0;
|
/external/jemalloc/src/ |
util.c | 329 #define APPEND_S(s, slen) do { \ 331 size_t cpylen = (slen <= size - i) ? slen : size - i; \ 334 i += slen; \ 336 #define APPEND_PADDED_S(s, slen, width, left_justify) do { \ 338 size_t pad_len = (width == -1) ? 0 : ((slen < (size_t)width) ? \ 339 (size_t)width - slen : 0); \ 346 APPEND_S(s, slen); \ 502 size_t slen; local 514 ' ' : '-')), buf, &slen); [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
CharEscaper.java | 121 int slen = s.length(); 131 for (; index < slen; index++) { 146 destSize = sizeNeeded + (slen - index) + DEST_PAD; 165 int charsLeft = slen - lastEscape; 173 s.getChars(lastEscape, slen, dest, destIndex);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
StringIO.py | 219 slen = self.len 220 if spos == slen: 224 if spos > slen: 225 self.buflist.append('\0'*(spos - slen)) 226 slen = spos 228 if spos < slen: 233 if newpos > slen: 234 slen = newpos 237 slen = newpos 238 self.len = slen [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
StringIO.py | 219 slen = self.len 220 if spos == slen: 224 if spos > slen: 225 self.buflist.append('\0'*(spos - slen)) 226 slen = spos 228 if spos < slen: 233 if newpos > slen: 234 slen = newpos 237 slen = newpos 238 self.len = slen [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
StringIO.py | 219 slen = self.len 220 if spos == slen: 224 if spos > slen: 225 self.buflist.append('\0'*(spos - slen)) 226 slen = spos 228 if spos < slen: 233 if newpos > slen: 234 slen = newpos 237 slen = newpos 238 self.len = slen [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
StringIO.py | 219 slen = self.len 220 if spos == slen: 224 if spos > slen: 225 self.buflist.append('\0'*(spos - slen)) 226 slen = spos 228 if spos < slen: 233 if newpos > slen: 234 slen = newpos 237 slen = newpos 238 self.len = slen [all...] |
/bionic/libc/include/ |
string.h | 223 size_t slen = __builtin_strlen(src); local 224 if (__builtin_constant_p(slen)) { 244 size_t slen = __builtin_strlen(src); local 245 if (__builtin_constant_p(slen)) { 318 size_t slen = __builtin_strlen(s); local 319 if (__builtin_constant_p(slen)) { 320 return slen; 337 size_t slen = __builtin_strlen(s); local 338 if (__builtin_constant_p(slen) && (slen < bos)) 356 size_t slen = __builtin_strlen(s); local [all...] |
/development/ndk/platforms/android-21/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-x86_64/usr/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-arm/usr/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-arm64/usr/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-mips/usr/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-mips64/usr/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-x86/usr/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-x86_64/usr/include/ |
string.h | 137 size_t slen = __builtin_strlen(src); local 138 if (__builtin_constant_p(slen)) { 160 size_t slen = __builtin_strlen(src); local 161 if (__builtin_constant_p(slen)) { 242 size_t slen = __builtin_strlen(s); local 243 if (__builtin_constant_p(slen)) { 244 return slen; 261 size_t slen = __builtin_strlen(s); local 262 if (__builtin_constant_p(slen) && (slen < bos)) 280 size_t slen = __builtin_strlen(s); local [all...] |