/external/chromium_org/third_party/leveldatabase/port/ |
port_chromium.cc | 54 OnceType state = ::base::subtle::Acquire_Load(once); local 55 if (state == ONCE_STATE_DONE) 58 state = ::base::subtle::NoBarrier_CompareAndSwap( 63 if (state == ONCE_STATE_UNINITIALIZED) { 69 while (state == ONCE_STATE_EXECUTING_CLOSURE) { 71 state = ::base::subtle::Acquire_Load(once);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/ |
cso_cache.h | 30 * Constant State Object (CSO) cache. 34 * perform as much of the Gallium state translation to whatever its internal 37 * actual state change, a bind call is issued. In the bind call the driver 41 * of states on every frame, but only once, when a new state is actually 44 * Even on hardware that doesn't do any kind of state cache, it makes the 45 * driver look a lot neater, plus it avoids all the redundant state 48 * Currently our constant state objects are: 58 * Things that are not constant state objects include: 107 struct pipe_blend_state state; member in struct:cso_blend 114 struct pipe_depth_stencil_alpha_state state; member in struct:cso_depth_stencil_alpha 121 struct pipe_rasterizer_state state; member in struct:cso_rasterizer 128 struct pipe_sampler_state state; member in struct:cso_sampler 140 struct cso_velems_state state; member in struct:cso_velements [all...] |
/external/chromium_org/ui/gfx/animation/ |
slide_animation.cc | 93 void SlideAnimation::AnimateToState(double state) { 94 if (state > 1.0) 95 state = 1.0; 97 state = Tween::CalculateValue(tween_type_, state); 99 value_current_ = value_start_ + (value_end_ - value_start_) * state; 106 // Correct for any overshoot (while state may be capped at 1.0, let's not
|
/external/elfutils/libelf/ |
elf32_newehdr.c | 92 if (elf->state.ELFW(elf,LIBELFBITS).ehdr == NULL) 95 elf->state.ELFW(elf,LIBELFBITS).ehdr = 96 &elf->state.ELFW(elf,LIBELFBITS).ehdr_mem; 99 memset (elf->state.ELFW(elf,LIBELFBITS).ehdr, '\0', 103 elf->state.ELFW(elf,LIBELFBITS).ehdr_flags |= ELF_F_DIRTY; 106 result = elf->state.ELFW(elf,LIBELFBITS).ehdr;
|
elf_nextscn.c | 78 || (offsetof (Elf, state.elf32.scns) 79 == offsetof (Elf, state.elf64.scns))) 81 if (elf->state.elf32.scns.cnt > 1) 82 result = &elf->state.elf32.scns.data[1]; 86 if (elf->state.elf64.scns.cnt > 1) 87 result = &elf->state.elf64.scns.data[1];
|
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
cso_cache.h | 30 * Constant State Object (CSO) cache. 34 * perform as much of the Gallium state translation to whatever its internal 37 * actual state change, a bind call is issued. In the bind call the driver 41 * of states on every frame, but only once, when a new state is actually 44 * Even on hardware that doesn't do any kind of state cache, it makes the 45 * driver look a lot neater, plus it avoids all the redundant state 48 * Currently our constant state objects are: 58 * Things that are not constant state objects include: 107 struct pipe_blend_state state; member in struct:cso_blend 114 struct pipe_depth_stencil_alpha_state state; member in struct:cso_depth_stencil_alpha 121 struct pipe_rasterizer_state state; member in struct:cso_rasterizer 128 struct pipe_sampler_state state; member in struct:cso_sampler 140 struct cso_velems_state state; member in struct:cso_velements [all...] |
/frameworks/compile/mclinker/lib/LD/ |
MsgHandler.cpp | 33 m_Engine.state().ArgumentKinds[m_NumArgs] = DiagnosticEngine::ak_std_string; 34 m_Engine.state().ArgumentStrs[m_NumArgs++] = pStr.data(); 41 m_Engine.state().ArgumentKinds[m_NumArgs] = DiagnosticEngine::ak_std_string; 42 m_Engine.state().ArgumentStrs[m_NumArgs++] = pStr; 49 m_Engine.state().ArgumentKinds[m_NumArgs] = pKind; 50 m_Engine.state().ArgumentVals[m_NumArgs++] = pValue;
|
/frameworks/rs/driver/ |
rsdMeshObj.cpp | 55 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType; 63 uint32_t arraySize = elem->mHal.state.fieldArraySizes[fieldIdx]; 77 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { 78 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); 79 for (uint32_t ct=0; ct < elem->mHal.state.fieldsCount; ct++) { 100 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { 101 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); 102 uint32_t stride = elem->mHal.state.elementSizeBytes; 103 for (uint32_t fieldI=0; fieldI < elem->mHal.state.fieldsCount; fieldI++) [all...] |
rsdShader.cpp | 50 StateBasedKey *state = mStateBasedShaders.itemAt(i); local 51 if (state->mShaderID) { 52 glDeleteShader(state->mShaderID); 54 delete state; 81 for (uint32_t ct = 0; ct < mRSProgram->mHal.state.texturesCount; ct ++) { 83 if (mRSProgram->mHal.state.textureTargets[ct] == RS_TEXTURE_2D) { 84 Allocation *a = mRSProgram->mHal.state.textures[ct]; 85 if (a && a->mHal.state.surfaceTextureID) { 103 StateBasedKey *state = getExistingState(); local 104 if (state != NULL) [all...] |
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
results_holder.h | 38 void inv_set_acc_state(int state); 40 void inv_set_motion_state(unsigned char state); 58 void inv_set_compass_bias_found(int state); 60 void inv_set_large_mag_field(int state); 61 void inv_set_compass_state(int state); 74 void inv_set_accel_bias_found(int state);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
results_holder.h | 39 void inv_set_acc_state(int state); 41 void inv_set_motion_state(unsigned char state); 64 void inv_set_compass_bias_found(int state); 66 void inv_set_large_mag_field(int state); 67 void inv_set_compass_state(int state); 83 void inv_set_accel_bias_found(int state);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
HasAttributes.java | 74 boolean state; 78 state = addrNode.hasAttributes(); 79 assertFalse("throw_False", state); 85 boolean state; 89 state = addrNode.hasAttributes(); 90 assertTrue("throw_True", state);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/rpcsvc/ |
sm_inter.x | 44 /* if res_stat == stat_succ, state = state number of site sm_name */ 49 /* stat consists of state number of local site */ 52 /* stat consists of state number of local site */ 55 /* stat consists of state number of local site */ 89 * state # of status monitor monotonically increases each time 95 int state; /* state # of status monitor */ 105 int state; 114 int state; [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/rpcsvc/ |
sm_inter.x | 44 /* if res_stat == stat_succ, state = state number of site sm_name */ 49 /* stat consists of state number of local site */ 52 /* stat consists of state number of local site */ 55 /* stat consists of state number of local site */ 89 * state # of status monitor monotonically increases each time 95 int state; /* state # of status monitor */ 105 int state; 114 int state; [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/rpcsvc/ |
sm_inter.x | 44 /* if res_stat == stat_succ, state = state number of site sm_name */ 49 /* stat consists of state number of local site */ 52 /* stat consists of state number of local site */ 55 /* stat consists of state number of local site */ 89 * state # of status monitor monotonically increases each time 95 int state; /* state # of status monitor */ 105 int state; 114 int state; [all...] |
/sdk/emulator/opengl/host/tools/emugen/ |
EntryPoint.h | 45 void setUnsupported(bool state) { m_unsupported = state; } 47 void setCustomDecoder(bool state) { m_customDecoder = state; } 49 void setNotApi(bool state) { m_notApi = state; }
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3baserecognizer.c | 84 antlr3BaseRecognizerNew(ANTLR3_UINT32 type, ANTLR3_UINT32 sizeHint, pANTLR3_RECOGNIZER_SHARED_STATE state) 100 // If we have been supplied with a pre-existing recognizer state 103 if (state == NULL) 105 recognizer->state = (pANTLR3_RECOGNIZER_SHARED_STATE) ANTLR3_CALLOC(1, (size_t)sizeof(ANTLR3_RECOGNIZER_SHARED_STATE)); 107 if (recognizer->state == NULL) 113 // Initialize any new recognizer state 115 recognizer->state->errorRecovery = ANTLR3_FALSE; 116 recognizer->state->lastErrorIndex = -1; 117 recognizer->state->failed = ANTLR3_FALSE; 118 recognizer->state->errorCount = 0 [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
data_type_manager_impl_unittest.cc | 191 // The actual test harness class, parametrized on nigori state (i.e., tests are 232 EXPECT_TRUE(DataTypeManager::DOWNLOAD_PENDING == dtm.state() || 233 DataTypeManager::CONFIGURING == dtm.state()); 281 EXPECT_EQ(DataTypeManager::DOWNLOAD_PENDING, dtm_->state()); 285 EXPECT_EQ(DataTypeManager::CONFIGURED, dtm_->state()); 288 EXPECT_EQ(DataTypeManager::STOPPED, dtm_->state()); 300 EXPECT_EQ(DataTypeManager::DOWNLOAD_PENDING, dtm_->state()); 304 EXPECT_EQ(DataTypeManager::CONFIGURING, dtm_->state()); 307 EXPECT_EQ(DataTypeManager::CONFIGURED, dtm_->state()); 310 EXPECT_EQ(DataTypeManager::STOPPED, dtm_->state()); [all...] |
/bootable/recovery/updater/ |
install.c | 57 Value* MountFn(const char* name, State* state, int argc, Expr* argv[]) { 60 return ErrorAbort(state, "%s() expects 4 args, got %d", name, argc); 66 if (ReadArgs(state, argv, 4, &fs_type, &partition_type, 72 ErrorAbort(state, "fs_type argument to %s() can't be empty", name); 76 ErrorAbort(state, "partition_type argument to %s() can't be empty", 81 ErrorAbort(state, "location argument to %s() can't be empty", name); 85 ErrorAbort(state, "mount_point argument to %s() can't be empty", name); 141 Value* IsMountedFn(const char* name, State* state, int argc, Expr* argv[]) [all...] |
/bootable/recovery/edify/ |
main.c | 43 State state; local 44 state.cookie = NULL; 45 state.script = strdup(expr_str); 46 state.errmsg = NULL; 48 result = Evaluate(&state, e); 49 free(state.errmsg); 50 free(state.script); 203 State state; local [all...] |
/device/lge/hammerhead/liblight/ |
lights.c | 101 static int rgb_to_brightness(struct light_state_t const* state) 103 int color = state->color & 0x00ffffff; 110 struct light_state_t const* state) 113 int brightness = rgb_to_brightness(state); 122 static int set_light_locked(struct light_state_t const* state, int type) 129 switch (state->flashMode) { 132 onMS = state->flashOnMS; 133 offMS = state->flashOffMS; 142 colorRGB = state->color; 146 state->flashMode, colorRGB, onMS, offMS) [all...] |
/external/dropbear/libtomcrypt/src/mac/pelican/ |
pelican.c | 15 Pelican MAC, initialize state, by Tom St Denis 25 Initialize a Pelican state 26 @param pelmac The Pelican state to initialize 48 zeromem(pelmac->state, 16); 49 aes_ecb_encrypt(pelmac->state, pelmac->state, &pelmac->K); 60 LOAD32H(s0, pelmac->state ); 61 LOAD32H(s1, pelmac->state + 4); 62 LOAD32H(s2, pelmac->state + 8); 63 LOAD32H(s3, pelmac->state + 12) [all...] |
/external/skia/tests/ |
PathOpsSimplifyTrianglesThreadedTest.cpp | 12 PathOpsThreadState& state = *data; local 14 bool progress = state.fReporter->verbose(); // FIXME: break out into its own parameter? 18 state.fKey = "?"; 19 int ax = state.fA & 0x03; 20 int ay = state.fA >> 2; 21 int bx = state.fB & 0x03; 22 int by = state.fB >> 2; 23 int cx = state.fC & 0x03; 24 int cy = state.fC >> 2; 60 outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType) [all...] |
/external/v8/src/ |
v8.cc | 116 static void seed_random(uint32_t* state) { 119 state[i] = FLAG_random_seed; 124 state[i] = val; 126 state[i] = random(); 133 static uint32_t random_base(uint32_t* state) { 136 if (state[0] == 0) seed_random(state); 138 // Mix the bits. Never replaces state[i] with 0 if it is nonzero. 139 state[0] = 18273 * (state[0] & 0xFFFF) + (state[0] >> 16) [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_vendor_test.c | 20 enum { INIT, CONFIRM, SUCCESS, FAILURE } state; member in struct:eap_vendor_test_data 24 static const char * eap_vendor_test_state_txt(int state) 26 switch (state) { 42 int state) 45 eap_vendor_test_state_txt(data->state), 46 eap_vendor_test_state_txt(state)); 47 data->state = state; 58 data->state = INIT; 85 wpabuf_put_u8(req, data->state == INIT ? 1 : 3) [all...] |