/external/chromium_org/chrome/browser/sync/glue/ |
frontend_data_type_controller_unittest.cc | 172 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state()); 174 EXPECT_EQ(DataTypeController::RUNNING, frontend_dtc_->state()); 187 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state()); 189 EXPECT_EQ(DataTypeController::RUNNING, frontend_dtc_->state()); 196 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state()); 200 EXPECT_EQ(DataTypeController::MODEL_STARTING, frontend_dtc_->state()); 202 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state()); 220 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state()); 222 EXPECT_EQ(DataTypeController::DISABLED, frontend_dtc_->state()); 234 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state()); [all...] |
/external/chromium_org/third_party/icu/source/tools/genrb/ |
rle.c | 32 * character. The state parameter maintains intermediary data between 34 * @param state A two-element array, with state[0] == 0 if this is the 35 * first byte of a pair, or state[0] != 0 if this is the second byte 36 * of a pair, in which case state[1] is the first byte. 39 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { 43 if (state[0] != 0) { 44 uint16_t c = (uint16_t) ((state[1] << 8) | (((int32_t) value) & 0xFF)); 50 state[0] = 0; 54 state[0] = 1 203 uint8_t state[2]= {0}; local [all...] |
/external/icu4c/tools/genrb/ |
rle.c | 32 * character. The state parameter maintains intermediary data between 34 * @param state A two-element array, with state[0] == 0 if this is the 35 * first byte of a pair, or state[0] != 0 if this is the second byte 36 * of a pair, in which case state[1] is the first byte. 39 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { 43 if (state[0] != 0) { 44 uint16_t c = (uint16_t) ((state[1] << 8) | (((int32_t) value) & 0xFF)); 50 state[0] = 0; 54 state[0] = 1 203 uint8_t state[2]= {0}; local [all...] |
/system/core/libcorkscrew/ |
backtrace.c | 81 backtrace_state_t* state = (backtrace_state_t*)arg; local 88 add_backtrace_entry(rewind_pc_arch(&state->memory, pc), state->backtrace, 89 state->ignore_depth, state->max_depth, 90 &state->ignored_frames, &state->returned_frames); 92 return state->returned_frames < state->max_depth ? _URC_NO_REASON : _URC_END_OF_STACK; 100 backtrace_state_t state; local [all...] |
/external/chromium_org/webkit/child/ |
webthemeengine_impl_win.cc | 7 #include <vsstyle.h> // To convert to ui::NativeTheme::State 32 static ui::NativeTheme::State WebButtonStateToGfx( 33 int part, int state, ui::NativeTheme::ButtonExtraParams* extra) { 34 ui::NativeTheme::State gfx_state = ui::NativeTheme::kNormal; 42 switch (state) { 80 NOTREACHED() << "Invalid state: " << state; 83 switch (state) { 133 NOTREACHED() << "Invalid state: " << state; [all...] |
/external/chromium_org/ui/native_theme/ |
native_theme_win.cc | 177 // For simplicity use the wildcard state==0, part==0, since it works 228 State state, 230 gfx::Size part_size = CommonThemeGetPartSize(part, state, extra); 250 int part_id = GetWindowsPart(part, state, extra); 251 int state_id = GetWindowsState(part, state, extra); 282 State state, 299 CommonThemePaintMenuItemBackground(canvas, state, rect); 335 PaintIndirect(canvas, part, state, rect, extra) [all...] |
/external/chromium_org/ui/views/accessibility/ |
native_view_accessibility_win.cc | 560 ui::AccessibleViewState state; 561 view_->GetAccessibleState(&state); 562 string16 temp_action = state.default_action; 627 ui::AccessibleViewState state; 628 view_->GetAccessibleState(&state); 629 string16 temp_key = state.keyboard_shortcut; 649 ui::AccessibleViewState state; 650 view_->GetAccessibleState(&state); 651 string16 temp_name = state.name; 697 ui::AccessibleViewState state; 1103 ui::AccessibleViewState state; local 1123 ui::AccessibleViewState state; local 1348 ui::AccessibleViewState state; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasRenderingContext2D.cpp | 92 // Ensure that the state stack in the ImageBuffer's context 122 m_stateStack.first() = State(); 129 // that the canvas 2d spec specifies. Make sure to sync the initial state of the 131 CanvasRenderingContext2D::State::State() 153 CanvasRenderingContext2D::State::State(const State& other) 183 CanvasRenderingContext2D::State& CanvasRenderingContext2D::State::operator=(const State& other [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/ |
WidgetCtsProvider.java | 119 int state = sStateMap.get(widgetId); local 122 state = state == STATE_COMPLETE ? state : state + 1; 123 foundNextTest = shouldPerformTest(state); 124 } while (state < STATE_COMPLETE && !foundNextTest); 125 sStateMap.put(widgetId, state); 128 private boolean shouldPerformTest(int state) { 129 if (state == STATE_VERIFY_SIZE_CALLBAC 243 int state = sStateMap.get(appWidgetId); local [all...] |
/external/chromium_org/content/browser/renderer_host/input/ |
web_input_event_builders_gtk.cc | 69 int GdkStateToWebEventModifiers(guint state) { 71 if (state & GDK_SHIFT_MASK) 73 if (state & GDK_CONTROL_MASK) 75 if (state & GDK_MOD1_MASK) 77 if (state & GDK_META_MASK) 79 if (state & GDK_BUTTON1_MASK) 81 if (state & GDK_BUTTON2_MASK) 83 if (state & GDK_BUTTON3_MASK) 85 if (state & GDK_LOCK_MASK) 87 if (state & GDK_MOD2_MASK [all...] |
/external/chromium_org/device/bluetooth/ |
bluetooth_adapter_win_unittest.cc | 24 device::BluetoothTaskManagerWin::DeviceState* state) { 25 state->name = name; 26 state->address = address; 27 state->bluetooth_class = 0; 28 state->authenticated = false; 29 state->connected = false; 148 BluetoothTaskManagerWin::AdapterState state; local 149 adapter_win_->AdapterStateChanged(state); 154 BluetoothTaskManagerWin::AdapterState state; local 155 state.address = kAdapterAddress 162 BluetoothTaskManagerWin::AdapterState state; local 175 BluetoothTaskManagerWin::AdapterState state; local 189 BluetoothTaskManagerWin::AdapterState state; local [all...] |
bluetooth_device_win.cc | 28 const BluetoothTaskManagerWin::DeviceState& state) 30 name_ = state.name; 31 address_ = state.address; 32 bluetooth_class_ = state.bluetooth_class; 33 visible_ = state.visible; 34 connected_ = state.connected; 35 paired_ = state.authenticated; 38 iter = state.service_record_states.begin(); 39 iter != state.service_record_states.end();
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebInputEventFactoryGtk.cpp | 99 static int gdkStateToWebEventModifiers(guint state) 102 if (state & GDK_SHIFT_MASK) 104 if (state & GDK_CONTROL_MASK) 106 if (state & GDK_MOD1_MASK) 108 if (state & GDK_META_MASK) 110 if (state & GDK_BUTTON1_MASK) 112 if (state & GDK_BUTTON2_MASK) 114 if (state & GDK_BUTTON3_MASK) 116 if (state & GDK_LOCK_MASK) 118 if (state & GDK_MOD2_MASK [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
ast.h | 80 struct _mesa_glsl_parse_state *state); 216 struct _mesa_glsl_parse_state *state); 286 struct _mesa_glsl_parse_state *state); 312 struct _mesa_glsl_parse_state *state); 448 _mesa_glsl_parse_state *state, 461 struct _mesa_glsl_parse_state *state); 491 struct _mesa_glsl_parse_state *state) 526 struct _mesa_glsl_parse_state *state); 560 struct _mesa_glsl_parse_state *state); 569 struct _mesa_glsl_parse_state *state); [all...] |
/external/mesa3d/src/glsl/ |
ast.h | 80 struct _mesa_glsl_parse_state *state); 216 struct _mesa_glsl_parse_state *state); 286 struct _mesa_glsl_parse_state *state); 312 struct _mesa_glsl_parse_state *state); 448 _mesa_glsl_parse_state *state, 461 struct _mesa_glsl_parse_state *state); 491 struct _mesa_glsl_parse_state *state) 526 struct _mesa_glsl_parse_state *state); 560 struct _mesa_glsl_parse_state *state); 569 struct _mesa_glsl_parse_state *state); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
AdapterProperties.java | 197 debugLog("Setting state to " + mState); 231 // state changes. 232 void onBondStateChanged(BluetoothDevice device, int state) 241 prop.setBondState(state); 243 if (state == BluetoothDevice.BOND_BONDED) { 249 } else if (state == BluetoothDevice.BOND_NONE) { 290 void sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) { 291 if (!validateProfileConnectionState(state) || 293 // Previously, an invalid state was broadcast anyway, 294 // with the invalid state converted to -1 in the intent [all...] |
/bionic/libc/netbsd/net/ |
base64.c | 221 int state, ch; local 227 state = 0; 241 switch (state) { 248 state = 1; 260 state = 2; 272 state = 3; 281 state = 0; 295 switch (state) { 335 if (state != 0)
|
/cts/tests/tests/text/src/android/text/method/cts/ |
MetaKeyKeyListenerTest.java | 115 long state = MetaKeyKeyListener.adjustMetaAfterKeypress(MetaKeyKeyListener.META_SHIFT_ON); local 116 assertEquals(MetaKeyKeyListener.META_SHIFT_ON, state); 118 state = MetaKeyKeyListener.adjustMetaAfterKeypress(MetaKeyKeyListener.META_ALT_ON); 119 assertEquals(MetaKeyKeyListener.META_ALT_ON, state); 121 state = MetaKeyKeyListener.adjustMetaAfterKeypress(MetaKeyKeyListener.META_SYM_ON); 122 assertEquals(MetaKeyKeyListener.META_SYM_ON, state); 124 state = MetaKeyKeyListener.adjustMetaAfterKeypress(0); 125 assertEquals(0, state); 230 long state = MetaKeyKeyListener.resetLockedMeta(MetaKeyKeyListener.META_CAP_LOCKED); local 231 assertEquals(0, state); 304 long state = metaKeyKeyListener.clearMetaKeyState(MetaKeyKeyListener.META_CAP_LOCKED, local 332 long state = MetaKeyKeyListener.handleKeyDown(MetaKeyKeyListener.META_CAP_LOCKED, local 340 long state = MetaKeyKeyListener.handleKeyUp(MetaKeyKeyListener.META_CAP_LOCKED, local [all...] |
/external/bluetooth/bluedroid/stack/smp/ |
smp_api.c | 104 SMP_TRACE_EVENT1 ("SMP_Register state=%d", smp_cb.state); 133 BTM_TRACE_EVENT2 ("SMP_Pair state=%d flag=0x%x ", p_cb->state, p_cb->flags); 134 if (p_cb->state != SMP_ST_IDLE || p_cb->flags & SMP_PAIR_FLAGS_WE_STARTED_DD) 174 BTM_TRACE_EVENT2 ("SMP_CancelPair state=%d flag=0x%x ", p_cb->state, p_cb->flags); 175 if ( (p_cb->state != SMP_ST_IDLE) && 202 if (smp_cb.state != SMP_ST_WAIT_APP_RSP || 235 SMP_TRACE_WARNING1 ("SMP_PasskeyReply() - Wrong State: %d", p_cb->state) [all...] |
/external/ceres-solver/internal/ceres/ |
program.cc | 74 bool Program::StateVectorToParameterBlocks(const double *state) { 77 !parameter_blocks_[i]->SetState(state)) { 80 state += parameter_blocks_[i]->Size(); 85 void Program::ParameterBlocksToStateVector(double *state) const { 87 parameter_blocks_[i]->GetState(state); 88 state += parameter_blocks_[i]->Size(); 108 bool Program::Plus(const double* state, 112 if (!parameter_blocks_[i]->Plus(state, delta, state_plus_delta)) { 115 state += parameter_blocks_[i]->Size();
|
/external/chromium_org/base/test/ |
gtest_xml_util.cc | 113 } state = STATE_INIT; local 119 switch (state) { 122 state = STATE_TESTSUITE; 128 state = STATE_END; 130 state = STATE_TESTCASE; 136 state = STATE_TESTSUITE; 204 state = STATE_FAILURE; 213 state = STATE_TESTCASE; 224 *crashed = (state != STATE_END);
|
/external/chromium_org/content/public/test/ |
mock_download_manager.cc | 24 DownloadItem::DownloadState state, 37 state(state), 55 state(rhs.state), 75 state == rhs.state && 104 DownloadItem::DownloadState state, 110 end_time, etag, last_modified, received_bytes, total_bytes, state,
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLTokenizer.h | 46 enum State { 126 State state; member in struct:WebCore::HTMLTokenizer::Checkpoint 134 , state() 161 // the tokenizer's state machine. 165 // Updates the tokenizer's state according to the given tag name. This is 167 // state. This method is useful for approximating HTML tokenization. To 187 State state() const { return m_state; } function in class:WebCore::HTMLTokenizer 188 void setState(State state) { m_state = state; [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
UserGestureIndicator.cpp | 109 static bool isDefinite(ProcessingUserGestureState state) 111 return state == DefinitelyProcessingNewUserGesture || state == DefinitelyProcessingUserGesture || state == DefinitelyNotProcessingUserGesture; 118 UserGestureIndicator::UserGestureIndicator(ProcessingUserGestureState state) 125 // We overwrite s_state only if the caller is definite about the gesture state. 126 if (isDefinite(state)) { 133 s_state = state; 137 if (state == DefinitelyProcessingNewUserGesture) { 140 } else if (state == DefinitelyProcessingUserGesture && s_topmostIndicator == this) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
dfa.h | 11 struct State; 23 struct State *state; member in struct:Action 34 struct State **rules; 45 struct State *to; 55 typedef struct State { 58 struct State *next; 59 struct State *link; 66 } State; 68 void Go_genGoto(Go*, FILE *, State*, State*, int*) [all...] |