/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
EventCount.h | 74 w->state = Waiter::kNotSignaled; 79 uint64_t state = state_.load(std::memory_order_seq_cst); local 81 if (int64_t((state & kEpochMask) - epoch) < 0) { 85 state = state_.load(std::memory_order_seq_cst); 89 if (int64_t((state & kEpochMask) - epoch) > 0) return; 91 eigen_assert((state & kWaiterMask) != 0); 92 uint64_t newstate = state - kWaiterInc + kEpochInc; 94 if ((state & kStackMask) == kStackMask) 97 w->next.store(&waiters_[state & kStackMask], std::memory_order_relaxed); 98 if (state_.compare_exchange_weak(state, newstate 110 uint64_t state = state_.load(std::memory_order_relaxed); local 133 uint64_t state = state_.load(std::memory_order_acquire); local 177 unsigned state; member in class:Eigen::EventCount::Waiter 216 unsigned state; local [all...] |
/external/elfutils/libelf/ |
elf_getident.c | 57 || (offsetof (struct Elf, state.elf32.ehdr) 58 == offsetof (struct Elf, state.elf64.ehdr)) 59 ? elf->state.elf32.ehdr->e_ident 60 : elf->state.elf64.ehdr->e_ident);
|
/external/fio/crc/ |
xxhash.c | 228 void* state = XXH32_init(seed); 229 XXH32_update(state, input, len); 230 return XXH32_digest(state); 265 struct XXH_state32_t * state = (struct XXH_state32_t *) state_in; local 266 state->seed = seed; 267 state->v1 = seed + PRIME32_1 + PRIME32_2; 268 state->v2 = seed + PRIME32_2; 269 state->v3 = seed + 0; 270 state->v4 = seed - PRIME32_1; 271 state->total_len = 0 279 void *state = malloc (sizeof(struct XXH_state32_t)); local 287 struct XXH_state32_t * state = (struct XXH_state32_t *) state_in; local 363 struct XXH_state32_t * state = (struct XXH_state32_t *) state_in; local [all...] |
xxhash.h | 111 XXH_errorcode XXH32_update (void* state, const void* input, int len); 112 unsigned int XXH32_digest (void* state); 120 The function returns a pointer which holds the state of calculation. 122 This pointer must be provided as "void* state" parameter for XXH32_update(). 132 You must provide the same "void* state" parameter created by XXH32_init(). 138 XXH_errorcode XXH32_resetState(void* state, unsigned int seed); 143 These functions allow user application to make its own allocation for state. 145 XXH32_sizeofState() is used to know how much space must be allocated for the xxHash 32-bits state. 146 Note that the state must be aligned to access 'long long' fields. Memory must be allocated and referenced by a pointer. 147 This pointer must then be provided as 'state' into XXH32_resetState(), which initializes the state [all...] |
/external/guice/extensions/service/src/com/google/inject/service/ |
AsyncService.java | 39 private volatile State state; field in class:AsyncService 45 public synchronized final Future<State> start() { 46 Preconditions.checkState(state != State.STOPPED, 50 if (state == State.STARTED) { 51 return new FutureTask<State>(DO_NOTHING, State.STARTED); 54 return executor.submit(new Callable<State>() { [all...] |
/external/libbrillo/brillo/streams/ |
stream_utils.cc | 30 void OnCopyDataError(const std::shared_ptr<CopyDataState>& state, 32 state->error_callback.Run(std::move(state->in_stream), 33 std::move(state->out_stream), error); 37 void PerformRead(const std::shared_ptr<CopyDataState>& state); 41 void PerformWrite(const std::shared_ptr<CopyDataState>& state, size_t size) { 43 state->success_callback.Run(std::move(state->in_stream), 44 std::move(state->out_stream), 45 state->size_copied) 203 auto state = std::make_shared<CopyDataState>(); local [all...] |
/external/libxkbcommon/xkbcommon/bench/ |
key-proc.c | 32 bench(struct xkb_state *state) 42 xkb_state_update_key(state, keycode, XKB_KEY_UP); 44 keysym = xkb_state_key_get_one_sym(state, keycode); 47 xkb_state_update_key(state, keycode, XKB_KEY_DOWN); 58 struct xkb_state *state; local 68 state = xkb_state_new(keymap); 69 assert(state); 77 bench(state); 90 xkb_state_unref(state);
|
/external/mesa3d/src/mesa/main/ |
shared.h | 33 struct gl_shared_state *state);
|
/external/mesa3d/src/mesa/program/ |
prog_parameter_layout.h | 40 extern GLboolean _mesa_layout_parameters(struct asm_parser_state *state);
|
/external/oj-libjdwp/make/src/classes/build/tools/jdwpgen/ |
Context.java | 39 int state = outer; field in class:Context 59 ctx.state = state; 66 ctx.state = state; 73 ctx.state = readingReply; 79 ctx.state = writingCommand; 94 return state == writingCommand; 98 return state == readingReply;
|
/external/skia/src/shaders/ |
SkBitmapProcShader.cpp | 53 SkBitmapProcState* state) 54 : INHERITED(shader, rec, state) 55 , fState(state) 59 const SkBitmapProcState& state = *fState; variable 60 if (state.getShaderProc32()) { 61 state.getShaderProc32()(&state, x, y, dstC, count); 67 SkBitmapProcState::MatrixProc mproc = state.getMatrixProc(); 68 SkBitmapProcState::SampleProc32 sproc = state.getSampleProc32(); 69 const int max = state.maxCountForBufferSize(sizeof(buffer[0]) * BUF_MAX) 106 SkBitmapProcState* state = alloc->make<SkBitmapProcState>(provider, tmx, tmy); local [all...] |
/external/skqp/src/shaders/ |
SkBitmapProcShader.cpp | 53 SkBitmapProcState* state) 54 : INHERITED(shader, rec, state) 55 , fState(state) 59 const SkBitmapProcState& state = *fState; variable 60 if (state.getShaderProc32()) { 61 state.getShaderProc32()(&state, x, y, dstC, count); 67 SkBitmapProcState::MatrixProc mproc = state.getMatrixProc(); 68 SkBitmapProcState::SampleProc32 sproc = state.getSampleProc32(); 69 const int max = state.maxCountForBufferSize(sizeof(buffer[0]) * BUF_MAX) 106 SkBitmapProcState* state = alloc->make<SkBitmapProcState>(provider, tmx, tmy); local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
Address.java | 21 public String state; field in class:Address
|
/external/v8/src/ic/ |
keyed-store-generic.h | 19 static void Generate(compiler::CodeAssemblerState* state,
|
/external/webrtc/talk/app/webrtc/objctests/ |
RTCPeerConnectionSyncObserver.h | 46 - (void)expectSignalingChange:(RTCSignalingState)state; 50 - (void)expectICEConnectionChange:(RTCICEConnectionState)state; 51 - (void)expectICEGatheringChange:(RTCICEGatheringState)state; 53 - (void)expectStateChange:(RTCDataChannelState)state;
|
/external/webrtc/talk/session/media/ |
externalhmac.h | 73 err_status_t external_hmac_init(ExternalHmacContext* state, 77 err_status_t external_hmac_start(ExternalHmacContext* state); 79 err_status_t external_hmac_update(ExternalHmacContext* state, 83 err_status_t external_hmac_compute(ExternalHmacContext* state,
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
PathPerfTest.java | 35 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 37 while (state.keepRunning()) { 44 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 46 while (state.keepRunning()) { 54 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 56 while (state.keepRunning()) { 63 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 65 while (state.keepRunning()) { 73 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 76 while (state.keepRunning()) 83 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 93 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 104 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local [all...] |
RenderNodePerfTest.java | 39 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 41 while (state.keepRunning()) { 48 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 49 while (state.keepRunning()) { 57 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 58 while (state.keepRunning()) { 66 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 68 while (state.keepRunning()) { 75 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 77 while (state.keepRunning()) 85 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 104 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local 113 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); local [all...] |
/frameworks/base/libs/hwui/tests/microbench/ |
LinearAllocatorBench.cpp | 26 static void BM_LinearStdAllocator_vectorBaseline(benchmark::State& state) { 27 while (state.KeepRunning()) { 37 static void BM_LinearStdAllocator_vector(benchmark::State& state) { 38 while (state.KeepRunning()) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
DozeSuspendScreenStatePreventingAdapter.java | 35 public void setDozeScreenState(int state) { 36 if (state == Display.STATE_DOZE_SUSPEND) { 37 state = Display.STATE_DOZE; 39 super.setDozeScreenState(state); 43 * If the device supports the doze display state, return {@code inner}. Otherwise
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
WorkModeTile.java | 89 protected void handleUpdateState(BooleanState state, Object arg) { 94 if (state.slash == null) { 95 state.slash = new SlashState(); 99 state.value = (Boolean) arg; 101 state.value = mProfileController.isWorkModeEnabled(); 104 state.icon = mIcon; 105 if (state.value) { 106 state.slash.isSlashed = false; 107 state.contentDescription = mContext.getString( 110 state.slash.isSlashed = true [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
StatusBarWindowManager.java | 50 * Encapsulates all logic for the status bar window state management. 68 private final State mCurrentState = new State(); 90 * @param barHeight The height of the status bar in collapsed state. 136 private void applyKeyguardFlags(State state) { 137 if (state.keyguardShowing) { 144 state.scrimsVisibility == ScrimController.VISIBILITY_FULLY_OPAQUE; 145 final boolean keyguardOrAod = state.keyguardShowing 146 || (state.dozing && mDozeParameters.getAlwaysOn()) [all...] |
/frameworks/base/services/core/java/com/android/server/twilight/ |
TwilightListener.java | 22 * Callback for when the twilight state has changed. 26 * Called when the twilight state has changed. 28 void onTwilightStateChanged(@Nullable TwilightState state);
|
/frameworks/base/wifi/java/android/net/wifi/ |
SupplicantState.java | 26 * state. This is more fine-grained than most users will be interested in. 28 * {@link android.net.NetworkInfo.State NetworkInfo.State}. 31 * state constants in <code>defs.h</code> in <code>wpa_supplicant</code>. 35 * This state indicates that client is not associated, but is likely to 36 * start looking for an access point. This state is entered when a 44 * This state is entered if the network interface is disabled. 51 * Inactive state (wpa_supplicant disabled). 53 * This state is entered if there are no enabled networks in the 63 * This state is entered when wpa_supplicant starts scanning for [all...] |
/frameworks/minikin/tests/perftests/ |
GraphemeBreak.cpp | 35 static void BM_GraphemeBreak_Ascii(benchmark::State& state) { 40 const size_t testIndex = state.range(0); 41 while (state.KeepRunning()) { 50 static void BM_GraphemeBreak_Emoji(benchmark::State& state) { 55 const size_t testIndex = state.range(0); 56 while (state.KeepRunning()) { 65 static void BM_GraphemeBreak_Emoji_Flags(benchmark::State& state) { [all...] |