Home
last modified time | relevance | path

Searched refs:freeBlocks (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowStatFs.java43 return stat.freeBlocks; in getFreeBlocks()
48 return stat.freeBlocks; in getFreeBlocksLong()
115 public static void registerStats(File path, int blockCount, int freeBlocks, int availableBlocks) { in registerStats() argument
116 registerStats(path.getAbsolutePath(), blockCount, freeBlocks, availableBlocks); in registerStats() local
129 public static void registerStats(String path, int blockCount, int freeBlocks, in registerStats() argument
131 stats.put(path, new Stats(blockCount, freeBlocks, availableBlocks)); in registerStats()
140 Stats(int blockCount, int freeBlocks, int availableBlocks) { in Stats() argument
142 this.freeBlocks = freeBlocks; in Stats()
145 int blockCount, freeBlocks, availableBlocks; field in ShadowStatFs.Stats
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowStatFs.java43 return stat.freeBlocks; in getFreeBlocks()
48 return stat.freeBlocks; in getFreeBlocksLong()
115 public static void registerStats(File path, int blockCount, int freeBlocks, int availableBlocks) { in registerStats() argument
116 registerStats(path.getAbsolutePath(), blockCount, freeBlocks, availableBlocks); in registerStats() local
129 public static void registerStats(String path, int blockCount, int freeBlocks, in registerStats() argument
131 stats.put(path, new Stats(blockCount, freeBlocks, availableBlocks)); in registerStats()
158 Stats(int blockCount, int freeBlocks, int availableBlocks) { in Stats() argument
160 this.freeBlocks = freeBlocks; in Stats()
163 int blockCount, freeBlocks, availableBlocks; field in ShadowStatFs.Stats
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DShadowUtils.java80 int freeBlocks = freeBytes / ShadowStatFs.BLOCK_SIZE; in setStatFs() local
81 int availableBlocks = freeBlocks; in setStatFs()
82 ShadowStatFs.registerStats(dir, blockCount, freeBlocks, availableBlocks); in setStatFs()
/external/python/cpython2/Modules/expat/
Dxmlparse.c308 BLOCK *freeBlocks; member
6807 pool->freeBlocks = NULL; in poolInit()
6817 if (!pool->freeBlocks) in poolClear()
6818 pool->freeBlocks = pool->blocks; in poolClear()
6823 p->next = pool->freeBlocks; in poolClear()
6824 pool->freeBlocks = p; in poolClear()
6843 p = pool->freeBlocks; in poolDestroy()
6960 if (pool->freeBlocks) { in poolGrow()
6962 pool->blocks = pool->freeBlocks; in poolGrow()
6963 pool->freeBlocks = pool->freeBlocks->next; in poolGrow()
[all …]
/external/expat/expat/lib/
Dxmlparse.c329 BLOCK *freeBlocks; member
7174 pool->freeBlocks = NULL; in poolInit()
7183 if (! pool->freeBlocks) in poolClear()
7184 pool->freeBlocks = pool->blocks; in poolClear()
7189 p->next = pool->freeBlocks; in poolClear()
7190 pool->freeBlocks = p; in poolClear()
7208 p = pool->freeBlocks; in poolDestroy()
7320 if (pool->freeBlocks) { in poolGrow()
7322 pool->blocks = pool->freeBlocks; in poolGrow()
7323 pool->freeBlocks = pool->freeBlocks->next; in poolGrow()
[all …]
/external/python/cpython3/Modules/expat/
Dxmlparse.c328 BLOCK *freeBlocks; member
7152 pool->freeBlocks = NULL; in poolInit()
7161 if (! pool->freeBlocks) in poolClear()
7162 pool->freeBlocks = pool->blocks; in poolClear()
7167 p->next = pool->freeBlocks; in poolClear()
7168 pool->freeBlocks = p; in poolClear()
7186 p = pool->freeBlocks; in poolDestroy()
7298 if (pool->freeBlocks) { in poolGrow()
7300 pool->blocks = pool->freeBlocks; in poolGrow()
7301 pool->freeBlocks = pool->freeBlocks->next; in poolGrow()
[all …]