/frameworks/base/core/java/android/util/ |
Base64.java | 82 * this object. Will finalize the coder state and 229 * State 4 is having read one '=' and expecting exactly 231 * State 5 is expecting no more data or padding characters 233 * State 6 is the error state; an error has been detected 236 private int state; // state number (0 to 6) field in class:Base64.Decoder 245 state = 0; 260 * @return true if the state machine is still healthy. false if 264 if (this.state == 6) return false 274 int state = this.state; local [all...] |
/frameworks/base/services/java/com/android/server/input/ |
PersistentDataStore.java | 48 * Manages persistent state recorded by the input manager service as an XML file. 53 * <input-mananger-state> 57 * >/input-manager-state> 63 // Input device state by descriptor. 75 mAtomicFile = new AtomicFile(new File("/data/system/input-manager-state.xml")); 86 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, false); local 87 return state != null ? state.getCurrentKeyboardLayout() : null; 92 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, true); local 93 if (state.setCurrentKeyboardLayout(keyboardLayoutDescriptor)) 101 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, false); local 110 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, true); local 120 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, true); local 129 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, false); local 154 InputDeviceState state = mInputDevices.get(inputDeviceDescriptor); local 252 InputDeviceState state = new InputDeviceState(); local 266 final InputDeviceState state = entry.getValue(); local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/ |
model.js | 12 * Handles a calculator key input, updating the calculator state accordingly and 14 * representing that state. 34 // clear the operator and operand and return a transient state with a '=' 68 * Reset the model's state to the passed in state. 72 Model.prototype.reset_ = function(state) { 75 return this.set_(state); 79 * Selectively replace the model's state with the passed in state. 83 Model.prototype.set_ = function(state) { [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600.h | 88 /* Resource state. */ 193 void r600_context_pipe_state_emit(struct r600_context *ctx, struct r600_pipe_state *state, unsigned pkt_flags); 194 void r600_context_pipe_state_set(struct r600_context *ctx, struct r600_pipe_state *state); 212 struct r600_pipe_state *state, 219 struct r600_pipe_state *state, 223 void r600_pipe_state_add_reg_noblock(struct r600_pipe_state *state, 228 #define r600_pipe_state_add_reg_bo(state, offset, value, bo, usage) _r600_pipe_state_add_reg_bo(rctx, state, offset, value, CTX_RANGE_ID(offset), CTX_BLOCK_ID(offset), bo, usage) 229 #define r600_pipe_state_add_reg(state, offset, value) _r600_pipe_state_add_reg(rctx, state, offset, value, CTX_RANGE_ID(offset), CTX_BLOCK_ID(offset) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
si_state.c | 38 * inferred framebuffer and blender state 135 const struct pipe_blend_state *state) 146 if (state->logicop_enable) { 147 color_control |= S_028808_ROP3(state->logicop_func | (state->logicop_func << 4)); 158 /* state->rt entries > 0 only written if independent blending */ 159 const int j = state->independent_blend_enable ? i : 0; 161 unsigned eqRGB = state->rt[j].rgb_func; 162 unsigned srcRGB = state->rt[j].rgb_src_factor; 163 unsigned dstRGB = state->rt[j].rgb_dst_factor 656 struct si_state_dsa *state; local [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
profiler.cc | 91 void GetCurrentState(ProfilerState* state); 228 void CpuProfiler::GetCurrentState(ProfilerState* state) { 229 ProfileData::State collector_state; 235 state->enabled = collector_state.enabled; 236 state->start_time = static_cast<time_t>(collector_state.start_time); 237 state->samples_gathered = collector_state.samples_gathered; 238 int buf_size = sizeof(state->profile_name); 239 strncpy(state->profile_name, collector_state.profile_name, buf_size); 240 state->profile_name[buf_size-1] = '\0'; 315 ProfilerState* state) { [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
VLASizeChecker.cpp | 37 ProgramStateRef State, 46 ProgramStateRef State, 49 ExplodedNode *N = C.generateSink(State); 93 ProgramStateRef state = C.getState(); local 94 SVal sizeV = state->getSVal(SE, C.getLocationContext()); 97 reportBug(VLA_Garbage, SE, state, C); 107 if (state->isTainted(sizeV)) { 116 llvm::tie(stateNotZero, stateZero) = state->assume(sizeD); 124 state = stateNotZero; 142 state, BO_Mul, ArrayLength, EleSizeVal.castAs<NonLoc>(), SizeTy) [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600.h | 88 /* Resource state. */ 193 void r600_context_pipe_state_emit(struct r600_context *ctx, struct r600_pipe_state *state, unsigned pkt_flags); 194 void r600_context_pipe_state_set(struct r600_context *ctx, struct r600_pipe_state *state); 212 struct r600_pipe_state *state, 219 struct r600_pipe_state *state, 223 void r600_pipe_state_add_reg_noblock(struct r600_pipe_state *state, 228 #define r600_pipe_state_add_reg_bo(state, offset, value, bo, usage) _r600_pipe_state_add_reg_bo(rctx, state, offset, value, CTX_RANGE_ID(offset), CTX_BLOCK_ID(offset), bo, usage) 229 #define r600_pipe_state_add_reg(state, offset, value) _r600_pipe_state_add_reg(rctx, state, offset, value, CTX_RANGE_ID(offset), CTX_BLOCK_ID(offset) [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_state.c | 38 * inferred framebuffer and blender state 135 const struct pipe_blend_state *state) 146 if (state->logicop_enable) { 147 color_control |= S_028808_ROP3(state->logicop_func | (state->logicop_func << 4)); 158 /* state->rt entries > 0 only written if independent blending */ 159 const int j = state->independent_blend_enable ? i : 0; 161 unsigned eqRGB = state->rt[j].rgb_func; 162 unsigned srcRGB = state->rt[j].rgb_src_factor; 163 unsigned dstRGB = state->rt[j].rgb_dst_factor 656 struct si_state_dsa *state; local [all...] |
/external/skia/tests/ |
PathOpsSimplifyDegenerateThreadedTest.cpp | 12 PathOpsThreadState& state = *data; local 14 bool progress = state.fReporter->verbose(); // FIXME: break out into its own parameter? 18 int ax = state.fA & 0x03; 19 int ay = state.fA >> 2; 20 int bx = state.fB & 0x03; 21 int by = state.fB >> 2; 22 int cx = state.fC & 0x03; 23 int cy = state.fC >> 2; 33 if (state.fD && (ex - dx) * (fy - dy) 57 outputProgress(state.fPathStr, pathStr, SkPath::kWinding_FillType) [all...] |
/frameworks/base/core/java/android/printservice/ |
PrintJob.java | 27 * service. It provides APIs for observing the print job state and 65 * current print job state. Every call to this method returns a fresh 66 * info object that reflects the current print job state. 144 * is successfully printed. This is a final state. 157 * not successfully printed due to an error. This is a final state. 170 * cancelled as a result of a user request. This is a final state. 193 final int state = getInfo().getState(); local 194 if (state == PrintJobInfo.STATE_QUEUED 195 || state == PrintJobInfo.STATE_BLOCKED) { 216 final int state = info.getState() local 371 final int state = mCachedInfo.getState(); local [all...] |
/frameworks/rs/ |
rsType.h | 39 struct State { 55 State state; member in struct:android::renderscript::Type::Hal 66 uint32_t getDimX() const {return mHal.state.dimX;} 67 uint32_t getDimY() const {return mHal.state.dimY;} 68 uint32_t getDimZ() const {return mHal.state.dimZ;} 70 bool getDimFaces() const {return mHal.state.faces;} 71 uint32_t getDimYuv() const {return mHal.state.dimYuv;} 74 rsAssert(lod < mHal.state.lodCount); 75 return mHal.state.lodDimX[lod] [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/aux_/ |
iter_fold_if_impl.hpp | 45 template< typename Iterator, typename State > 48 typedef State state; typedef in struct:boost::mpl::aux::iter_fold_if_null_step 57 , typename State 63 typedef typename apply2<StateOp,State,Iterator>::type state; typedef in struct:boost::mpl::aux::iter_fold_if_step_impl::result_ 73 , typename State 79 typedef State state; typedef in struct:boost::mpl::aux::iter_fold_if_step_impl::result_ 89 , typename State 100 typedef typename impl_::state state; typedef in struct:boost::mpl::aux::iter_fold_if_forward_step 117 typedef typename impl_::state state; typedef in struct:boost::mpl::aux::iter_fold_if_backward_step 197 typedef typename backward_step0::state state; typedef in struct:boost::mpl::aux::iter_fold_if_impl [all...] |
/art/runtime/ |
thread-inl.h | 33 state_and_flags_.as_struct.state = new_state; 34 return static_cast<ThreadState>(old_state_and_flags.as_struct.state); 64 // Change to non-runnable state, thereby appearing suspended to the system. 72 new_state_and_flags.as_struct.state = new_state; 88 int16_t old_state = old_state_and_flags.as_struct.state; 93 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); 98 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); 103 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); 111 DCHECK_EQ(old_state_and_flags.as_struct.state, old_state); 114 new_state_and_flags.as_struct.state = kRunnable [all...] |
/bootable/recovery/updater/ |
updater.c | 126 State state; local 127 state.cookie = &updater_info; 128 state.script = script; 129 state.errmsg = NULL; 131 char* result = Evaluate(&state, root); 133 if (state.errmsg == NULL) { 137 printf("script aborted: %s\n", state.errmsg); 138 char* line = strtok(state.errmsg, "\n"); 145 free(state.errmsg) [all...] |
/external/chromium/net/tools/dump_cache/ |
url_utilities.cc | 75 UnescapeState state = NORMAL; local 79 switch (state) { 83 state = ESCAPE1; 92 state = ESCAPE2; 97 state = NORMAL; 106 state = NORMAL; 112 state = NORMAL; 118 if (state == ESCAPE1 || state == ESCAPE2) {
|
/external/chromium_org/chrome/browser/ui/fullscreen/ |
fullscreen_controller_state_test.h | 51 enum State { 59 // No TO_ state for Metro, as the windows implementation is only reentrant. 68 // TO_ states are asynchronous states waiting for window state change 69 // before transitioning to their named state. 84 static const char* GetStateString(State state); 92 // Returns true if |state| can be persistent. This is true for all of the 94 static bool IsPersistentState(State state); 96 // Causes Fullscreen Controller to transition to an arbitrary state 160 State state; \/\/ The adjacent |State| transitioned to; not the final state. member in struct:FullscreenControllerStateTest::StateTransitionInfo 195 State state() const { return state_; } function in class:FullscreenControllerStateTest [all...] |
/external/chromium_org/net/tools/dump_cache/ |
url_utilities.cc | 75 UnescapeState state = NORMAL; local 79 switch (state) { 83 state = ESCAPE1; 92 state = ESCAPE2; 97 state = NORMAL; 106 state = NORMAL; 112 state = NORMAL; 118 if (state == ESCAPE1 || state == ESCAPE2) {
|
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ |
model_unittests.js | 134 var recentCommits = model.state.recentCommits; 135 delete model.state.recentCommits; 198 delete model.state.recentCommits; 204 var unmock = model.state.resultsByBuilder; 205 model.state.resultsByBuilder = { 231 model.state.resultsByBuilder = unmock; 235 var unmock = model.state.resultsByBuilder; 236 model.state.resultsByBuilder = { 243 model.state.resultsByBuilder = unmock;
|
/external/srtp/crypto/include/ |
cipher.h | 89 (void *state, const uint8_t *key, cipher_direction_t dir); 98 (void *state, xtd_seq_num_t idx); 103 (void *state, uint8_t *buffer, unsigned int *octets_to_encrypt); 108 (void *state, uint8_t *buffer, unsigned int *octets_to_decrypt); 159 void *state; member in struct:cipher_t 172 #define cipher_init(c, k, dir) (((c)->type)->init(((c)->state), (k), (dir))) 175 (((c)->type)->encrypt(((c)->state), (buf), (len))) 178 (((c)->type)->decrypt(((c)->state), (buf), (len))) 181 ((c) ? (((c)->type)->set_iv(((cipher_pointer_t)(c)->state), (n))) : \
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
ton_stab.cpp | 104 state = pointer to pointer to structure type tonStabState. 122 Purpose: Allocates state memory and initializes state memory 137 int ton_stab_init (tonStabState **state) 141 if (state == (tonStabState **) NULL){ 145 *state = NULL; 149 // fprintf(stderr, "ton_stab_init: can not malloc state structure\n"); 155 *state = s; 179 [State any special notes, constraints or cautions for users of this function] 184 Word16 ton_stab_init(tonStabState **state) [all...] |
/dalvik/hit/src/com/android/hit/ |
RootObj.java | 48 public final String getClassName(State state) { 52 theClass = state.findClass(mId); 54 Instance instance = state.findReference(mId); 56 theClass = state.findClass(instance.mClassId); 99 public final void resolveReferences(State state) {
|
/external/chromium/chrome/browser/ |
fullscreen_win.cc | 24 QUERY_USER_NOTIFICATION_STATE* state); 39 QUERY_USER_NOTIFICATION_STATE state; local 40 if (FAILED((*query_user_notification_state_ptr)(&state))) 42 return state == QUNS_RUNNING_D3D_FULL_SCREEN || 43 state == QUNS_PRESENTATION_MODE;
|
/external/chromium/chrome/browser/sync/glue/ |
password_data_type_controller.h | 50 virtual State state() const; 58 void StartDone(StartResult result, State state); 59 void StartDoneImpl(StartResult result, State state); 65 void set_state(State state) { 67 state_ = state; 73 State state_ [all...] |
/external/chromium/webkit/glue/ |
webthemeengine_impl_mac.cc | 18 static ThemeTrackEnableState stateToHIEnableState(WebThemeEngine::State state) { 19 switch (state) { 31 WebThemeEngine::State state, 50 trackInfo.enableState = stateToHIEnableState(state); 53 state == WebThemeEngine::StatePressed ? kThemeThumbPressed : 0;
|