/external/javasqlite/src/main/java/SQLite/ |
BusyHandler.java | 4 * Callback interface for SQLite's user defined busy handler. 19 public boolean busy(String table, int count); method in interface:BusyHandler
|
/external/mesa3d/src/gallium/drivers/radeon/ |
r600_gpu_load.c | 30 * frequency and the "busy" or "idle" counter is incremented based on 120 unsigned busy = p_atomic_read(&rscreen->grbm_counters.array[busy_index]); local 123 return busy | ((uint64_t)idle << 32); 130 unsigned busy = (end & 0xffffffff) - (begin & 0xffffffff); local 133 /* Calculate the % of time the busy counter was being incremented. 139 if (idle || busy) { 140 return busy*100 / (busy + idle);
|
/external/guava/guava/src/com/google/common/cache/ |
Striped64.java | 49 * A single spinlock ("busy") is used for initializing and 141 transient volatile int busy; field in class:Striped64 157 * CASes the busy field from 0 to 1 to acquire lock. 199 if (busy == 0) { // Try to attach new Cell 201 if (busy == 0 && casBusy()) { 212 busy = 0; 229 else if (busy == 0 && casBusy()) { 237 busy = 0; 247 else if (busy == 0 && cells == as && casBusy()) { 257 busy = 0 [all...] |
/external/python/cpython2/Demo/threads/ |
find.py | 39 # - busy and work are only modified when mutex is locked 41 # - busy is the number of jobs being done 42 # - todo is locked iff there is no work and somebody is busy 49 self.busy = 0 62 if self.busy == 0 and len(self.work) == 0: 68 self.busy = self.busy + 1 76 self.busy = self.busy - 1 77 if self.busy == 0 and len(self.work) == 0 [all...] |
/external/libmojo/mojo/edk/system/ |
handle_table.cc | 67 if (it->second.busy) 85 if (it->second.busy) 93 it->second.busy = true; 103 DCHECK(it != handles_.end() && it->second.busy); 113 DCHECK(it != handles_.end() && it->second.busy); 114 it->second.busy = false;
|
handle_table.h | 37 // Marks handles as busy and populates |dispatchers|. Returns MOJO_RESULT_BUSY 60 bool busy = false; member in struct:mojo::edk::HandleTable::Entry
|
/external/compiler-rt/test/tsan/ |
signal_reset.cc | 21 static void* busy(void *p) { function 62 pthread_create(&th[0], 0, busy, 0);
|
/external/curl/docs/cmdline-opts/ |
local-port.d | 8 that will be busy at times so setting this range to something too narrow might
|
/external/libunwind/include/tdep-ia64/ |
script.h | 63 AO_TS_t busy; /* is the script-cache busy? */ member in struct:ia64_script_cache
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
hud_cpu.c | 184 uint64_t busy, total; local 187 if (cpu_index != ALL_CPUS && !get_cpu_stats(cpu_index, &busy, &total)) { 225 uint64_t busy, total; local 228 while (get_cpu_stats(i, &busy, &total))
|
/external/libdrm/tests/exynos/ |
exynos_fimg2d_event.c | 35 unsigned int busy; member in struct:g2d_job 57 job->busy = 0; 108 while (jobs[i].busy) 119 if (jobs[i].busy == 0) 167 j->busy = 1;
|
/external/autotest/server/cros/network/rf_switch/ |
rf_switch_unittest.py | 176 """Verify busy.""" 180 busy = self.mock_rf_switch.busy 182 self.assertTrue(busy) 185 """Verify busy.""" 189 busy = self.mock_rf_switch.busy 191 self.assertFalse(busy)
|
/device/google/contexthub/firmware/os/inc/ |
hostIntf.h | 82 void hostIntfSetBusy(bool busy);
|
/external/python/cpython2/Demo/tkinter/guido/ |
ManPage.py | 36 # Test whether we are busy parsing a file 37 def busy(self): member in class:EditableManPage 40 # Ensure we're not busy 42 if self.busy(): 75 # Initialize parsing from a particular file -- must not be busy 77 if self.busy(): 78 raise RuntimeError, 'startparser: still busy' 90 # End parsing -- must be busy, need not be at EOF 92 if not self.busy(): 93 raise RuntimeError, 'endparser: not busy' [all...] |
/system/core/logd/ |
LogBuffer.cpp | 630 // the caller will use this result to set an internal busy flag indicating 705 bool busy = false; local 746 busy = isBusy(watermark); 747 if (busy) kickMe(oldest, id, pruneRows); 757 return busy; 834 busy = isBusy(watermark); 1036 bool busy = true; local [all...] |
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
aiocp.c | 50 static int busy = 0; // # of I/O's in flight variable 236 --busy; 264 --busy; 501 int n = MIN(MIN(aio_maxio - busy, aio_maxio), 530 busy += n; 532 printf("io_submit(%d) busy:%d\n", n, busy); 550 printf("busy:%d aio_maxio:%d tocopy:%d\n", 551 busy, aio_maxio, tocopy);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
DFA.java | 829 boolean _hasSynPred(DFAState d, Set<DFAState> busy) { 830 busy.add(d); 842 if ( !busy.contains(edgeTarget) && _hasSynPred(edgeTarget, busy) ) return true; 853 boolean _hasSemPred(DFAState d, Set<DFAState> busy) { 854 busy.add(d); 862 if ( !busy.contains(edgeTarget) && _hasSemPred(edgeTarget, busy) ) return true; 874 boolean _hasCycle(DFAState d, Map<DFAState, Integer> busy) { 875 busy.put(d, CYCLIC_BUSY) [all...] |
/external/adhd/cras/src/server/ |
cras_dsp_pipeline.c | 479 static void use_buffers(char *busy, audio_port_array *audio_ports) 485 while (busy[k]) 488 busy[k] = 1; 492 static void unuse_buffers(char *busy, audio_port_array *audio_ports) 498 busy[audio_port->buf_index] = 0; 508 char *busy; local 547 busy = calloc(peak_buf, sizeof(*busy)); 584 use_buffers(busy, &instance->output_audio_ports); 585 unuse_buffers(busy, &instance->input_audio_ports) [all...] |
/external/valgrind/helgrind/tests/ |
bar_bad.stderr.exp | 53 with error code 16 (EBUSY: Device or resource busy)
|
/external/javasqlite/src/main/java/SQLite/JDBC2z/ |
JDBCStatement.java | 96 int busy = 0; local 121 conn.busy3(conn.db, ++busy)) { 130 int ms = 20 + busy * 10;
|
/frameworks/base/services/core/java/com/android/server/ |
RecoverySystemService.java | 208 final boolean busy = "running".equals(uncryptService) || 211 Slog.i(TAG, "retry: " + retry + " busy: " + busy + 217 if (!busy) {
|
/external/wpa_supplicant_8/src/ap/ |
acs.c | 70 * observed busy time over the time we spent on the channel, 77 * (busy time - tx time) / (active time - tx time) * 2^(chan_nf + band_min_nf) 82 * What this does is it decreases the observed busy time ratio if the 87 * If channel busy time is not available the fallback is to use channel RX time. 93 * (busy time - tx time) / (active time - tx time) * 97 * However to account for cases where busy/rx time is 0 (channel load is then 101 * 10^(chan_nf/5) + (busy time - tx time) / (active time - tx time) * 134 * ACS: 1: min_nf=-113 interference_factor=0.0802469 nf=-113 time=162 busy=0 rx=13 135 * ACS: 2: min_nf=-113 interference_factor=0.0745342 nf=-113 time=161 busy=0 rx=12 136 * ACS: 3: min_nf=-113 interference_factor=0.0679012 nf=-113 time=162 busy=0 rx=1 295 long double factor, busy, total; local [all...] |
/external/mesa3d/src/vulkan/wsi/ |
wsi_common_wayland.c | 480 bool busy; member in struct:wsi_wl_image 546 if (!chain->images[i].busy) { 547 /* We found a non-busy image */ 549 chain->images[i].busy = true; 604 chain->images[image_index].busy = true; 618 image->busy = false; 760 chain->images[i].busy = false;
|
/system/extras/perfprofd/ |
perfprofdcore.cc | 340 long unsigned busy[2]; local 345 if (!postprocess_proc_stat_contents(contents, &idle[iter], &busy[iter])) { 352 long unsigned total_delta = (idle[1] + busy[1]) - (idle[0] + busy[0]); 353 long unsigned busy_delta = busy[1] - busy[0];
|
/external/e2fsprogs/e2fsck/ |
mtrace.h | 120 /* Heap information for a busy block. */ 136 } busy; member in union:__anon19017
|