/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/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/elfutils/libdw/ |
dwarf_begin.c | 63 struct stat64 st; local 65 if (fstat64 (fd, &st) == 0 && ! S_ISREG (st.st_mode))
|
/external/harfbuzz/src/ |
harfbuzz-open-private.h | 43 } st; member in struct:HB_SubTable_
|
/external/collada/src/dae/ |
daeStringRef.cpp | 19 // static daeStringTable *st = new daeStringTable(); 20 // return *st; 37 daeStringTable &st = _stringTable(); local 38 _string = st.allocString(string); 44 daeStringTable &st = _stringTable(); local 45 _string = st.allocString(string);
|
/external/skia/src/ports/ |
SkTime_win.cpp | 24 SYSTEMTIME st; local 25 GetSystemTime(&st); 27 dt->fYear = st.wYear; 28 dt->fMonth = SkToU8(st.wMonth + 1); 29 dt->fDayOfWeek = SkToU8(st.wDayOfWeek); 30 dt->fDay = SkToU8(st.wDay); 31 dt->fHour = SkToU8(st.wHour); 32 dt->fMinute = SkToU8(st.wMinute); 33 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)) {
|
mkdir.c | 38 struct stat st; local 59 if(stat(currpath, &st) != 0) {
|
/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/bluetooth/bluez/src/ |
oui.c | 20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 43 struct stat st; local 51 if (fstat(fd, &st) < 0) { 64 map = mmap(0, st.st_size, PROT_READ, MAP_SHARED, fd, 0); 81 munmap(map, st.st_size);
|
/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/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);
|
/external/valgrind/main/auxprogs/ |
aix5_VKI_info.c | 81 struct stat st; local 86 (int)sizeof(st.st_size)); 90 (int)sizeof(st.st_mode)); 94 (int)sizeof(st.st_uid)); 98 (int)sizeof(st.st_gid)); 102 (int)sizeof(st.st_dev)); 106 (int)sizeof(st.st_ino));
|
/frameworks/base/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...] |
/libcore/luni/src/test/java/libcore/sqlite/ |
OldStmtTest.java | 30 private Stmt st; field in class:OldStmtTest 84 st = new Stmt(); 88 if (st != null) { 90 st.close(); 104 st.step(); 112 st = db.prepare(""); 113 st.prepare(); 119 st = new Stmt(); 120 st = db.prepare("select * from " + DatabaseCreator.SIMPLE_TABLE1); 121 assertFalse(st.prepare()) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
StreamTokenizerTest.java | 34 StreamTokenizer st; field in class:StreamTokenizerTest 43 st = new StreamTokenizer(new StringBufferInputStream( 47 StreamTokenizer.TT_WORD, st.nextToken()); 49 "d", st.sval); 52 StreamTokenizer.TT_NUMBER, st.nextToken()); 54 8.0, st.nval); 57 39, st.nextToken()); 59 "h", st.sval); 68 StreamTokenizer.TT_WORD, st.nextToken()); 70 "d", st.sval) 304 StreamTokenizer st = new StreamTokenizer(reader); local 317 StreamTokenizer st = new StreamTokenizer(reader); local 330 StreamTokenizer st = new StreamTokenizer(reader); local 356 StreamTokenizer st = new StreamTokenizer(reader); local 370 StreamTokenizer st = new StreamTokenizer(reader); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
StringTokenizerTest.java | 40 StringTokenizer st = new StringTokenizer("This:is:a:test:String", ":"); local 41 assertTrue("Created incorrect tokenizer", st.countTokens() == 5 42 && (st.nextElement().equals("This"))); 52 StringTokenizer st = new StringTokenizer("This:is:a:test:String", ":", local 54 st.nextElement(); 55 assertTrue("Created incorrect tokenizer", st.countTokens() == 8 56 && (st.nextElement().equals(":"))); 64 StringTokenizer st = new StringTokenizer("This is a test String"); local 66 assertEquals("Incorrect token count returned", 5, st.countTokens()); 75 StringTokenizer st = new StringTokenizer("This is a test String") local 92 StringTokenizer st = new StringTokenizer("This is a test String"); local 109 StringTokenizer st = new StringTokenizer("This is a test String"); local 135 StringTokenizer st = new StringTokenizer("This is a test String"); local 161 StringTokenizer st = new StringTokenizer("This is a test String"); local [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
StatementEventTest.java | 40 private static StatementEvent st = new StatementEvent(pc, null); field in class:StatementEventTest 57 assertNotNull(st); 71 assertNull(st.getStatement()); 78 assertNull(st.getSQLException()); 85 SerializationTest.verifySelf(st, STATEMENTEVENT_COMPARATOR);
|