/bionic/libc/stdio/ |
remove.c | 42 struct stat st; local 44 if (lstat(file, &st) < 0) 46 if (S_ISDIR(st.st_mode))
|
makebuf.c | 83 struct stat st; local 85 if (fp->_file < 0 || fstat(fp->_file, &st) < 0) { 92 *couldbetty = S_ISCHR(st.st_mode); 93 if (st.st_blksize == 0) { 103 *bufsize = st.st_blksize; 104 fp->_blksize = st.st_blksize; 105 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ?
|
fseek.c | 54 struct stat st; local 130 fp->_file < 0 || fstat(fp->_file, &st) || 131 (st.st_mode & S_IFMT) != S_IFREG) { 135 fp->_blksize = st.st_blksize; 146 if (fstat(fp->_file, &st)) 148 target = st.st_size + offset;
|
/bionic/libc/unistd/ |
ftok.c | 34 struct stat st; local 36 if ( lstat(path, &st) < 0 ) 39 return (key_t)( (st.st_ino & 0xffff) | ((st.st_dev & 0xff) << 16) | ((id & 255) << 24) );
|
/external/elfutils/libelf/ |
elf_getarhdr.c | 83 int st = __libelf_next_arhdr_wrlock (parent); local 86 if (st != 0)
|
elf_update.c | 69 struct stat st; local 70 if (unlikely (fstat (elf->fildes, &st) != 0)) 136 && unlikely (st.st_mode & (S_ISUID | S_ISGID)) 138 && unlikely (fchmod (elf->fildes, st.st_mode) != 0))
|
/external/v8/test/mjsunit/regress/ |
regress-486.js | 28 var st = "\u0422\u0435\u0441\u0442"; // Test in Cyrillic characters. variable 29 var cyrillicMatch = /^[\u0430-\u044fa-z]+$/i.test(st); // a-ja a-z.
|
/libcore/luni/src/test/java/libcore/java/io/ |
StreamTokenizerTest.java | 27 StreamTokenizer st = new StreamTokenizer(new StringReader("aIb aIb")); local 28 st.lowerCaseMode(true); 29 st.nextToken(); 30 assertEquals("aib", st.sval); 33 st.nextToken(); 34 assertEquals("a\u0131b", st.sval);
|
/external/harfbuzz/src/ |
harfbuzz-open-private.h | 43 } st; member in struct:HB_SubTable_
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
LeftRecursionCyclesMessage.java | 30 import org.stringtemplate.v4.ST; 47 ST st = getMessageTemplate(); local 48 st.add("listOfCycles", cycles); 49 return super.toString(st);
|
ToolMessage.java | 30 import org.stringtemplate.v4.ST; 62 ST st = getMessageTemplate(); local 64 st.add("arg", arg); 67 st.add("arg2", arg2); 70 st.add("exception", e); 71 st.add("stackTrace", e.getStackTrace()); 73 return super.toString(st);
|
GrammarAnalysisAbortedMessage.java | 31 import org.stringtemplate.v4.ST; 52 ST st = getMessageTemplate(); local 53 st.add("enclosingRule", 56 return super.toString(st);
|
GrammarSemanticsMessage.java | 31 import org.stringtemplate.v4.ST; 79 ST st = getMessageTemplate(); local 81 st.add("arg", arg); 84 st.add("arg2", arg2); 86 return super.toString(st);
|
GrammarSyntaxMessage.java | 32 import org.stringtemplate.v4.ST; 75 ST st = getMessageTemplate(); local 77 st.add("arg", arg); 79 return super.toString(st);
|
/external/skia/src/ports/ |
SkTime_win.cpp | 16 SYSTEMTIME st; local 17 GetSystemTime(&st); 19 dt->fYear = st.wYear; 20 dt->fMonth = SkToU8(st.wMonth + 1); 21 dt->fDayOfWeek = SkToU8(st.wDayOfWeek); 22 dt->fDay = SkToU8(st.wDay); 23 dt->fHour = SkToU8(st.wHour); 24 dt->fMinute = SkToU8(st.wMinute); 25 dt->fSecond = SkToU8(st.wSecond);
|
/system/core/toolbox/ |
mv.c | 12 struct stat st; local 22 if (stat(dest, &st)) { 28 st.st_mode = 0; 42 if (S_ISDIR(st.st_mode)) {
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldStatementTest.java | 32 Statement st = null; local 34 st = conn.createStatement(); 35 st.addBatch("INSERT INTO zoo VALUES (3,'Tuzik','dog')"); 36 st.addBatch("INSERT INTO zoo VALUES (4,'Mashka','cat')"); 38 int[] updateCounts = st.executeBatch(); 44 st.close(); 50 st = conn.createStatement(); 51 st.addBatch(""); 52 st.executeBatch(); 58 st.close() 78 Statement st = null; local 105 Statement st = null; local 164 Statement st = null; local 229 Statement st = null; local 252 Statement st = null; local 281 Statement st = null; local 300 Statement st = null; local 323 Statement st = null; local 345 Statement st = null; local 380 Statement st = null; local 400 Statement st = null; local 423 Statement st = null; local 455 Statement st = null; local 477 Statement st = null; local 497 Statement st = null; local 532 Statement st = null; local 569 Statement st = null; local 605 Statement st = null; local 655 Statement st = null; local 728 Statement st = null; local 786 Statement st = null; local 835 Statement st = null; local 883 Statement st = null; local 920 Statement st = null; local 961 Statement st = null; local 986 Statement st = null; local 999 Statement st = null; local 1012 Statement st = null; local 1024 Statement st = conn.createStatement(); local 1048 Statement st = null; local 1092 Statement st = null; local 1127 Statement st = null; local 1165 Statement st = null; local 1210 Statement st = null; local 1229 Statement st = null; local 1265 Statement st = null; local [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
StringTokenizerTest.java | 45 StringTokenizer st = new StringTokenizer("This:is:a:test:String", ":"); local 46 assertTrue("Created incorrect tokenizer", st.countTokens() == 5 47 && (st.nextElement().equals("This"))); 48 st = new StringTokenizer("This:is:a:test:String", null); 65 StringTokenizer st = new StringTokenizer("This:is:a:test:String", ":", local 67 st.nextElement(); 68 assertTrue("Created incorrect tokenizer", st.countTokens() == 8 69 && (st.nextElement().equals(":"))); 70 st = new StringTokenizer("This:is:a:test:String", null, true); 71 st = new StringTokenizer("This:is:a:test:String", null, false) 86 StringTokenizer st = new StringTokenizer("This is a test String"); local 97 StringTokenizer st = new StringTokenizer("This is a test String"); local 114 StringTokenizer st = new StringTokenizer("This is a test String"); local 131 StringTokenizer st = new StringTokenizer("This is a test String"); local 157 StringTokenizer st = new StringTokenizer("This is a test String"); local 183 StringTokenizer st = new StringTokenizer("This is a test String"); local [all...] |
/external/clang/test/CodeGen/ |
pascal-wchar-string.c | 15 char st[] = "\pfoo"; // pascal string local 20 if (st[0] != 3)
|
/external/e2fsprogs/lib/ext2fs/ |
read_bb_file.c | 82 struct compat_struct *st; local 84 st = (struct compat_struct *) priv_data; 85 if (st->invalid) 86 (st->invalid)(fs, blk); 97 struct compat_struct st; local 99 st.invalid = invalid; 101 return ext2fs_read_bb_FILE2(fs, f, bb_list, &st,
|
/external/e2fsprogs/misc/ |
mklost+found.c | 35 struct stat st; local 70 if (stat (LPF, &st) == -1) { 74 } while (st.st_size <= (EXT2_NDIR_BLOCKS - 1) * st.st_blksize);
|
/external/elfutils/lib/ |
crc32_file.c | 63 struct stat st; local 64 if (fstat (fd, &st) == 0) 67 size_t mapsize = st.st_size; 82 if (st.st_size <= (off_t) mapsize) 84 *resp = crc32 (crc, mapped, st.st_size); 90 st.st_size -= mapsize;
|
/external/iproute2/tc/ |
q_sfq.c | 104 struct tc_sfq_xstats *st; local 108 if (RTA_PAYLOAD(xstats) < sizeof(*st)) 110 st = RTA_DATA(xstats); 112 fprintf(f, " allot %d ", st->allot);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
sid_sync.cpp | 127 the pointer to state struct in *st. This pointer has to be passed to sid_sync 258 Word16 sid_sync_reset(void *st) 260 sid_syncState *state = (sid_syncState *) st; 337 sid_syncState **st = (sid_syncState **) state; local 339 if (st == NULL || *st == NULL) 345 free(*st); 346 *st = NULL; 361 st = pointer to the state structure used for SID synchronization 366 st->sid_handover_debt is set to debtFrame 500 sid_syncState *st = (sid_syncState *) state; local [all...] |
/frameworks/compile/libbcc/bcinfo/Wrap/ |
file_wrapper_input.cpp | 49 struct stat st; local 50 if (0 == stat(_name, &st)) { 52 _size = st.st_size;
|