/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
loc_api_rpc_glue.c | 41 #include <sys/stat.h> 104 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ 105 if (stat != RPC_SUCCESS) { \ 106 LOC_LOGE("%s:%d] failure code %d", __func__, __LINE__, stat); \ 107 return (ret_type)((stat == RPC_SUBSYSTEM_RESTART) ? \ 361 enum clnt_stat stat = RPC_SUCCESS; local 369 stat = RPC_FUNC_VERSION(rpc_loc_open_, RPC_LOC_OPEN_VERSION)(&args, &rets, loc_api_clnt); 373 }while( (RPC_SUCCESS != stat||0 > ret_val) && 0 != try_num ); 375 LOC_GLUE_CHECK_RESULT(stat, int32); 398 enum clnt_stat stat = RPC_SUCCESS local 447 enum clnt_stat stat = RPC_SUCCESS; local 472 enum clnt_stat stat = RPC_SUCCESS; local 572 enum clnt_stat stat = RPC_SUCCESS; local 589 enum clnt_stat stat = RPC_SUCCESS; local [all...] |
/libcore/luni/src/main/java/libcore/io/ |
IoUtils.java | 162 // Use open(2) rather than stat(2) so we require fewer permissions. http://b/6485312. 214 final StructStat stat = Libcore.os.fstat(fd); local 217 capacity = (int) stat.st_size;
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
UnixFileAttributes.java | 70 UnixNativeDispatcher.stat(path, attrs);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppReceiveFileInfo.java | 117 StatFs stat = null; local 129 stat = new StatFs(base.getPath()); 142 if (stat.getBlockSizeLong() * (stat.getAvailableBlocksLong() - 4) < length) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
ImportTask.java | 114 StatFs stat = new StatFs(path); local 115 return stat.getAvailableBlocks() * (long) stat.getBlockSize() > size;
|
/packages/apps/Nfc/nci/jni/ |
RouteDataSet.cpp | 24 #include <sys/stat.h> 247 int stat = 0; local 265 stat = chmod(filename.c_str(), S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); 266 if (stat == -1) LOG(ERROR) << StringPrintf("%s: error during chmod", fn); 456 int stat = remove(filename.c_str()); local 458 << StringPrintf("%s: exit %u", fn, stat == 0); 459 return stat == 0;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
stat.h | 20 # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." 26 /* Versions of the `struct stat' data structure. */ 39 struct stat struct 70 identifier 'timespec' to appear in the <sys/stat.h> header. 116 identifier 'timespec' to appear in the <sys/stat.h> header. 173 #endif /* bits/stat.h */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
stat.h | 20 # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." 26 /* Versions of the `struct stat' data structure. */ 46 struct stat struct 88 identifier 'timespec' to appear in the <sys/stat.h> header. 118 /* Note stat64 has the same shape as stat for x86-64. */ 149 identifier 'timespec' to appear in the <sys/stat.h> header. 213 #endif /* bits/stat.h */
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/sys/ |
stat.h | 174 int __cdecl stat(const char *_Filename,struct stat *_Stat); 175 int __cdecl fstat(int _Desc,struct stat *_Stat); 176 int __cdecl wstat(const wchar_t *_Filename,struct stat *_Stat); 181 fstat(int _Desc,struct stat *_Stat) { 185 memset(_Stat,0,sizeof(struct stat)); 188 /* struct stat and struct _stat32 196 stat(const char *_Filename,struct stat *_Stat) { 200 memset(_Stat,0,sizeof(struct stat)); 265 #define stat macro 268 #define stat macro [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
nntplib.py | 369 """Internal: parse the response of a STAT, NEXT or LAST command.""" 383 """Internal: process a STAT, NEXT or LAST command.""" 387 def stat(self, id): member in class:NNTP 388 """Process a STAT command. Argument: 395 return self.statcmd('STAT ' + id) 398 """Process a NEXT command. No arguments. Return as for STAT.""" 402 """Process a LAST command. No arguments. Return as for STAT."""
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
nntplib.py | 369 """Internal: parse the response of a STAT, NEXT or LAST command.""" 383 """Internal: process a STAT, NEXT or LAST command.""" 387 def stat(self, id): member in class:NNTP 388 """Process a STAT command. Argument: 395 return self.statcmd('STAT ' + id) 398 """Process a NEXT command. No arguments. Return as for STAT.""" 402 """Process a LAST command. No arguments. Return as for STAT."""
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
nntplib.py | 369 """Internal: parse the response of a STAT, NEXT or LAST command.""" 383 """Internal: process a STAT, NEXT or LAST command.""" 387 def stat(self, id): member in class:NNTP 388 """Process a STAT command. Argument: 395 return self.statcmd('STAT ' + id) 398 """Process a NEXT command. No arguments. Return as for STAT.""" 402 """Process a LAST command. No arguments. Return as for STAT."""
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
nntplib.py | 369 """Internal: parse the response of a STAT, NEXT or LAST command.""" 383 """Internal: process a STAT, NEXT or LAST command.""" 387 def stat(self, id): member in class:NNTP 388 """Process a STAT command. Argument: 395 return self.statcmd('STAT ' + id) 398 """Process a NEXT command. No arguments. Return as for STAT.""" 402 """Process a LAST command. No arguments. Return as for STAT."""
|
/system/bt/service/example/heart_rate/ |
heart_rate_server.cc | 264 Status stat = gatt_->AddService(server_if_, (BluetoothGattService)hrService, local 266 if (!stat.isOk()) { 267 LOG(ERROR) << "Failed to add service, status is: " /*<< stat*/;
|
/system/core/trusty/storage/proxy/ |
storage.c | 22 #include <sys/stat.h> 420 struct stat stat; local 422 int rc = fstat(fd, &stat); 425 ALOGE("%s: error stat'ing file (fd=%d): %s\n", 431 resp.size = stat.st_size;
|
/system/netd/bpfloader/ |
BpfLoader.cpp | 37 #include <sys/stat.h> 136 struct stat stat; local 137 if (fstat(fd, &stat)) FAIL("Fail to get file size"); 139 off_t fileLen = stat.st_size;
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
BoxPlot.java | 119 StatSummary stat = local 123 stat.updateStats(value); 125 addSeriesData(label, "", stat); 164 StatSummary stat = seriesMap.get(series); local 165 mean = stat.getMean(); 167 if (stat.getCount() > 1) { 168 std = stat.getStd(); 170 count = stat.getCount();
|
/test/vti/dashboard/src/test/java/com/android/vts/job/ |
VtsPerformanceJobServletTest.java | 70 StatSummary stat = new StatSummary(labels[i], regressionMode); local 71 stat.updateStats(values[i]); 72 labelStats.put(labels[i], stat);
|
/test/vti/dashboard/src/test/java/com/android/vts/util/ |
ProfilingPointSummaryTest.java | 55 StatSummary stat = new StatSummary(labels[i], regressionMode); local 56 stat.updateStats(values[i]); 57 labelStats.put(labels[i], stat); 99 /** Test that all stat summaries can be retrieved by profiling point label. */
|
/tools/tradefederation/core/prod-tests/src/com/android/build/tests/ |
ImageStats.java | 245 for (Map.Entry<String, Long> stat : stats.entrySet()) { 247 total += stat.getValue(); 249 Matcher m = pattern.getKey().matcher(stat.getKey()); 257 size += stat.getValue(); 260 if (uncategorizedFiles.contains(stat.getKey())) { 261 uncategorizedFiles.remove(stat.getKey());
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
UserUsageStatsService.java | 119 // Set up the expiry date to be one day from the latest daily stat. 126 for (IntervalStats stat : mCurrentStats) { 127 final int pkgCount = stat.packageStats.size(); 129 UsageStats pkgStats = stat.packageStats.valueAt(i); 132 stat.update(pkgStats.mPackageName, stat.lastTimeSaved, 138 stat.updateConfigurationStats(null, stat.lastTimeSaved); 284 // Nothing saved to disk yet, so every stat is just as equal (no rollover has 458 for (IntervalStats stat : mCurrentStats) [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
OldStatementTest.java | 805 Statement stat = conn.createStatement(); local 808 assertEquals(0 ,stat.executeUpdate("create table s1 (c1);")); 810 assertEquals(1, stat.executeUpdate("insert into s1 values (0);")); 811 assertEquals(1, stat.executeUpdate("insert into s1 values (1);")); 812 assertEquals(1, stat.executeUpdate("insert into s1 values (2);")); 813 assertEquals(1,stat.executeUpdate("delete from s1 where c1 = 1;")); 814 assertEquals(2, stat.executeUpdate("update s1 set c1 = 5;")); 817 assertEquals(2,stat.executeUpdate("delete from s1;")); 820 assertEquals(0, stat.executeUpdate("drop table s1;")); 822 stat.executeUpdate("create table s1 (c1);") [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecoderConformanceTest.java | 36 import com.android.compatibility.common.util.Stat; 177 Status stat = decodeTestVector(mime, decoderName, vectorName); local 178 if (stat == Status.PASS) { 180 } else if (stat == Status.SKIP) {
|
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/ |
uniphier_emmc.c | 95 uint32_t stat, flags, dma_addr; local 133 stat = mmio_read_32(host_base + SDHCI_INT_STATUS); 134 if (stat & SDHCI_INT_ERROR) 137 if (stat & SDHCI_INT_DMA_END) { 138 mmio_write_32(host_base + SDHCI_INT_STATUS, stat); 142 } while (!(stat & end_bit));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
loadlib.c | 310 int stat = ll_loadfunc(L, path, init);
local 311 if (stat == 0) /* no errors? */
316 lua_pushstring(L, (stat == ERRLIB) ? LIB_FAIL : "init");
398 static int checkload (lua_State *L, int stat, const char *filename) {
399 if (stat) { /* module loaded successfully? */
425 int stat;
local 428 stat = ll_loadfunc(L, filename, funcname);
429 if (stat != ERRFUNC) return stat;
449 int stat;
local [all...] |