/packages/inputmethods/PinyinIME/jni/share/ |
sync.cpp | 106 UserDict::UserDictStat stat; local 107 userdict_->state(&stat); 108 return stat.limit_lemma_count - stat.lemma_count;
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
SocketStream.cpp | 99 ssize_t stat = ::send(m_sock, (const char *)buffer + (size - res), res, 0); local 100 if (stat < 0) { 102 retval = stat; 107 res -= stat; 122 ssize_t stat = ::recv(m_sock, (char *)(buf) + len - res, res, 0); local 123 if (stat > 0) { 124 res -= stat; 127 if (stat == 0 || errno != EINTR) { // client shutdown or error
|
/device/generic/goldfish/opengl/system/OpenglSystemCommon/ |
QemuPipeStream.cpp | 95 ssize_t stat = ::write(m_sock, (const char *)(buf) + (len - res), res); local 96 if (stat > 0) { 97 res -= stat; 100 if (stat == 0) { /* EOF */ 108 retval = stat; 126 ssize_t stat = ::read(m_sock, (char *)(buf) + len - res, len); local 127 if (stat == 0) { 130 } else if (stat < 0) { 139 res -= stat;
|
/external/dropbear/libtomcrypt/testprof/ |
katja_test.c | 9 int hash_idx, prng_idx, stat, stat2, size; local 81 DO(katja_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat, &key)); 82 if (!(stat == 1 && stat2 == 0)) { 126 DO(katja_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat, &key)); 127 if (!(stat == 1 && stat2 == 0)) { 152 DO(katja_verify_hash(out, len, in, 20, hash_idx, 0, &stat, &key)); 157 if (!(stat == 1 && stat2 == 0)) { 158 fprintf(stderr, "katja_verify_hash (unsalted, origKey) failed, %d, %d", stat, stat2); 168 DO(katja_verify_hash(out, len, in, 20, hash_idx, 0, &stat, &privKey)); 173 if (!(stat == 1 && stat2 == 0)) [all...] |
ecc_test.c | 112 int stat, stat2; local 222 DO(ecc_verify_hash (buf[1], x, buf[0], 16, &stat, &pubKey)); 225 if (!(stat == 1 && stat2 == 0)) { 226 fprintf(stderr, "ecc_verify_hash failed %d, %d, ", stat, stat2);
|
rsa_test.c | 129 int hash_idx, prng_idx, stat, stat2; local 204 DO(rsa_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat, &key)); 205 if (!(stat == 1 && stat2 == 0)) { 249 DO(rsa_decrypt_key(out, len, tmp, &len2, lparam, sizeof(lparam), hash_idx, &stat, &key)); 250 if (!(stat == 1 && stat2 == 0)) { 267 DO(rsa_decrypt_key_ex(out, len, tmp, &len2, NULL, 0, 0, LTC_PKCS_1_V1_5, &stat, &key)); 268 if (!(stat == 1 && stat2 == 0)) { 269 fprintf(stderr, "rsa_decrypt_key_ex failed, %d, %d", stat, stat2); 291 DO(rsa_verify_hash(out, len, in, 20, hash_idx, 0, &stat, &key)); 296 if (!(stat == 1 && stat2 == 0)) [all...] |
/packages/apps/Nfc/nci/jni/ |
NativeLlcpSocket.cpp | 44 bool stat = PeerToPeer::getInstance().connectConnOriented (jniHandle, nSap); local 47 return stat ? JNI_TRUE : JNI_FALSE; 73 bool stat = PeerToPeer::getInstance().connectConnOriented(jniHandle, serviceName.c_str()); local 76 return stat ? JNI_TRUE : JNI_FALSE; 96 bool stat = PeerToPeer::getInstance().disconnectConnOriented (jniHandle); local 99 return JNI_TRUE; // TODO: stat? 123 bool stat = PeerToPeer::getInstance().send(jniHandle, raw_ptr, bytes.size()); local 126 return stat ? JNI_TRUE : JNI_FALSE; 150 bool stat = PeerToPeer::getInstance().receive(jniHandle, reinterpret_cast<UINT8*>(&bytes[0]), bytes.size(), actualLen); local 153 if (stat && (actualLen>0)) [all...] |
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
RenderThread.cpp | 79 int stat = readBuf.getData(); local 80 if (stat <= 0) { 100 int skip = readBuf.validData() - stat;
|
/libcore/luni/src/test/java/tests/java/sql/ |
DeleteFunctionalityTest.java | 188 PreparedStatement stat = conn.prepareStatement("DELETE FROM " local 190 stat.setInt(1, 1); 191 stat.execute(); 192 stat.setInt(1, 2); 193 stat.execute(); 199 stat.close();
|
InsertFunctionalityTest.java | 208 PreparedStatement stat = conn.prepareStatement("INSERT INTO " local 210 stat.setInt(1, 1); 211 stat.setString(2, "1"); 212 stat.execute(); 213 stat.setInt(1, 2); 214 stat.setString(2, "3"); 215 stat.execute(); 223 stat.close();
|
UpdateFunctionalityTest2.java | 266 PreparedStatement stat = conn.prepareStatement("UPDATE " local 269 stat.setString(1, "1"); 270 stat.setInt(2, 1); 271 stat.execute(); 272 stat.setString(1, "2"); 273 stat.setInt(2, 2); 274 stat.execute(); 283 stat.close();
|
/bionic/libc/kernel/arch-mips/asm/ |
stat.h | 25 struct stat { struct 81 struct stat { struct
|
/bionic/libc/kernel/arch-x86/asm/ |
stat.h | 22 struct stat { struct
|
/development/ndk/platforms/android-3/include/sys/ |
stat.h | 34 #include <linux/stat.h> 44 struct stat { struct 85 extern int stat(const char *, struct stat *); 86 extern int fstat(int, struct stat *); 87 extern int lstat(const char *, struct stat *); 91 #define stat64 stat 100 extern int fstatat(int dirfd, const char *path, struct stat *buf, int flags);
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
stat.h | 25 struct stat { struct 81 struct stat { struct
|
/development/ndk/platforms/android-9/arch-mips/include/sys/ |
stat.h | 34 #include <linux/stat.h> 45 struct stat { struct 77 struct stat { 119 extern int stat(const char *, struct stat *); 120 extern int fstat(int, struct stat *); 121 extern int lstat(const char *, struct stat *); 125 #define stat64 stat 134 extern int fstatat(int dirfd, const char *path, struct stat *buf, int flags);
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
stat.h | 22 struct stat { struct
|
/development/scripts/ |
divide_and_compress.py | 41 import stat namespace
|
/external/e2fsprogs/include/nonunix/ |
unistd.h | 18 #define stat _stat macro
|
/external/kernel-headers/original/asm-mips/ |
stat.h | 18 struct stat { struct 48 * struct stat of the 64-bit kernel. 92 struct stat { struct
|
/external/kernel-headers/original/asm-x86/ |
stat.h | 7 struct stat { struct 68 struct stat { struct
|
/external/openssl/crypto/rand/ |
randfile.c | 81 # include <sys/stat.h> 85 #define stat _stat macro 115 struct stat sb; 124 /* struct stat can have padding and unused fields that may not be 125 * initialized in the call to stat(). We need to clear the entire 131 if (stat(file,&sb) < 0) return(0); 188 struct stat sb; 190 i=stat(file,&sb); 277 struct stat sb; 311 * seen on a stat, we stat the file we're returning, if i [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowStatFs.java | 17 private Stats stat; field in class:ShadowStatFs 30 return stat.blockCount; 35 return stat.freeBlocks; 40 return stat.availableBlocks; 45 stat = stats.get(path); 46 if (stat == null) { 47 stat = DEFAULT_STATS;
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
filesystem_unittest.py | 37 import stat namespace 134 os.chmod(d, stat.S_IRUSR)
|
/frameworks/native/libs/utils/ |
Tokenizer.cpp | 24 #include <sys/stat.h> 63 struct stat stat; local 64 if (fstat(fd, &stat)) { 68 size_t length = size_t(stat.st_size); 81 // The length we obtained from stat is wrong too (it will always be 4096)
|