/hardware/invensense/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);
|
/libcore/luni/src/test/java/libcore/java/util/ |
RandomTest.java | 28 public String state; field in class:RandomTest.MyRandom 31 @Override protected synchronized int next(int bits) { return state.length(); } 32 @Override public synchronized void setSeed(long seed) { state = Long.toString(seed); } 37 assertNotNull(r1.state); 41 assertNotNull(r2.state);
|
/sdk/sdk_common/src/com/android/ide/common/resources/configuration/ |
NavigationStateQualifier.java | 23 * Resource Qualifier for navigation state. 27 public static final String NAME = "Navigation State"; 65 NavigationState state = NavigationState.getEnum(value); local 66 if (state != null) { 68 qualifier.mValue = state;
|
/dalvik/vm/ |
Profile.cpp | 364 MethodTraceState* state = &gDvm.methodTrace; local 368 dvmLockMutex(&state->startStopLock); 369 while (state->traceEnabled != 0) { 371 dvmUnlockMutex(&state->startStopLock); 373 dvmLockMutex(&state->startStopLock); 383 state->buf = (u1*) malloc(bufferSize); 384 if (state->buf == NULL) { 390 state->traceFile = fopen(traceFileName, "w"); 392 state->traceFile = fdopen(traceFd, "w"); 394 if (state->traceFile == NULL) 543 const MethodTraceState* state = &gDvm.methodTrace; local 553 MethodTraceState* state = &gDvm.methodTrace; local 735 MethodTraceState* state = &gDvm.methodTrace; local [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
FASerializer.java | 39 /** To prevent infinite recursion when walking state machines, record 46 /** Each state we walk will get a new state number for serialization 47 * purposes. This is the variable that tracks state numbers. 52 * serializing machines, map old state numbers to new state numbers 53 * by a State object -> Integer new state number HashMap. 64 public String serialize(State s) { 71 /** Return a string representation of a state machine. Two identica [all...] |
/external/markdown/ |
regression-tests.py | 59 """ Tests of the State class for BlockParser. """ 62 self.state = markdown.blockparser.State() 65 """ Test State when empty. """ 66 self.assertEqual(self.state, []) 69 """ Test State.set(). """ 70 self.state.set('a_state') 71 self.assertEqual(self.state, ['a_state']) 72 self.state.set('state2') 73 self.assertEqual(self.state, ['a_state', 'state2'] [all...] |
/external/mesa3d/src/glsl/ |
glsl_compiler.cpp | 152 struct _mesa_glsl_parse_state *state = local 156 state->error = preprocess(state, &source, &state->info_log, 157 state->extensions, ctx->API); 159 if (!state->error) { 160 _mesa_glsl_lexer_ctor(state, source); 161 _mesa_glsl_parse(state); 162 _mesa_glsl_lexer_dtor(state); 166 foreach_list_const(n, &state->translation_unit) [all...] |
/frameworks/av/media/libeffects/testlibs/ |
AudioBiquadFilter.h | 34 // from its current state to the desired state. 52 // Resets the internal state of the filter. 53 // Coefficients are reset to identity, state becomes disabled. This change 82 // immediate If true, transitions to new state smoothly, without 88 // immediate If true, transitions to new state smoothly, without 107 // Filter state. 111 // In the process of smooth transition to bypass state. 113 // In the process of smooth transition to normal (enabled) state. 115 // In normal (enabled) state [all...] |
/system/core/libcorkscrew/arch-arm/ |
backtrace-arm.c | 41 * state and running cleanup functions. Unwinding is performed virtually on 79 /* Unwind state. */ 239 static void set_reg(unwind_state_t* state, uint32_t reg, uint32_t value) { 241 state->gregs[reg] = value; 244 static bool try_pop_registers(const memory_t* memory, unwind_state_t* state, uint32_t mask) { 245 uint32_t sp = state->gregs[R_SP]; 256 set_reg(state, i, value); 261 set_reg(state, R_SP, sp); 276 * virtual register state (including the stack pointer) such that 280 unwind_state_t* state, byte_stream_t* stream, int pr_index) 560 unwind_state_t state; local 592 unwind_state_t state; local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap.h | 2 * EAP peer state machine functions (RFC 4137) 28 * enum eapol_bool_var - EAPOL boolean state variables for EAP state machine 30 * These variables are used in the interface between EAP peer state machine and 33 * EAP state machine to get and set the variables. 37 * EAPOL_eapSuccess - EAP SUCCESS state reached 39 * EAP state machine reads and writes this value. 46 * Set to TRUE in lower layer, FALSE in EAP state machine. 51 * EAPOL_eapFail - EAP FAILURE state reached 53 * EAP state machine writes this value [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...] |
/dalvik/libdex/ |
DexSwapVerify.cpp | 92 static inline u4 fileOffset(const CheckState* state, const void* ptr) { 93 return ((const u1*) ptr) - state->fileStart; 99 static inline void* filePointer(const CheckState* state, u4 offset) { 100 return (void*) (state->fileStart + offset); 111 static inline bool checkPtrRange(const CheckState* state, 113 const void* fileStart = state->fileStart; 114 const void* fileEnd = state->fileEnd; 118 fileOffset(state, start), fileOffset(state, end)); 131 * Assumes "const CheckState* state" 2820 CheckState state; local [all...] |
/bionic/libc/bionic/ |
stubs.cpp | 42 // Thread-specific state for the non-reentrant functions. 126 stubs_state_t* state = static_cast<stubs_state_t*>(ptr); local 127 free(state); 152 static passwd* android_iinfo_to_passwd(stubs_state_t* state, 154 snprintf(state->dir_buffer_, sizeof(state->dir_buffer_), "/"); 155 snprintf(state->sh_buffer_, sizeof(state->sh_buffer_), "/system/bin/sh"); 157 passwd* pw = &state->passwd_; 161 pw->pw_dir = state->dir_buffer_ 349 stubs_state_t* state = __stubs_state(); local 362 stubs_state_t* state = __stubs_state(); local 389 stubs_state_t* state = __stubs_state(); local 403 stubs_state_t* state = __stubs_state(); local [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/devices/ |
devices.xml | 81 <d:state name="Portrait" default="true"> 84 <d:keyboard-state>keyssoft</d:keyboard-state> 85 <d:nav-state>navhidden</d:nav-state> 86 </d:state> 87 <d:state name="Landscape"> 90 <d:keyboard-state>keyssoft</d:keyboard-state> 91 <d:nav-state>navhidden</d:nav-state [all...] |
/external/ppp/pppd/ |
fsm.c | 2 * fsm.c - {Link, IP} Control Protocol Finite State Machine. 77 * Initialize fsm state. 83 f->state = INITIAL; 101 switch( f->state ){ 103 f->state = CLOSED; 108 f->state = STOPPED; 112 f->state = REQSENT; 117 FSMDEBUG(("%s: Up event in state %d!", PROTO_NAME(f), f->state)); 131 switch( f->state ){ [all...] |
/device/samsung/manta/liblights/ |
lights.c | 69 enum LED_STATE state; member in struct:as3668_led_info 95 static int rgb_to_brightness(struct light_state_t const *state) 98 int color = state->color & 0x00ffffff; 113 struct light_state_t const *state) 116 int brightness = rgb_to_brightness(state); 232 switch(leds->state) { 265 static int set_light_leds(struct light_state_t const *state, int type) 274 switch (state->flashMode) { 276 leds.state = OFF; 280 if (state->flashOnMS < 0 || state->flashOffMS < 0 [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
AMutableArray.m | 226 // In either case, state->itemsPtr MUST be a valid array (non-nil). This sample takes approach #1, using stackbuf to store results. 227 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len 231 // Ensure that you never set state->state back to 0, or use another method to detect initialization 232 // (such as using one of the values of state->extra). 233 if (state->state == 0) { 234 // We are not tracking mutations, so we'll set state->mutationsPtr to point into one of our extra values, 237 // state->mutationsPtr MUST NOT be NULL. 238 state->mutationsPtr = &state->extra[0] [all...] |
AMutableDictionary.m | 199 // In either case, state->itemsPtr MUST be a valid array (non-nil). This sample takes approach #1, using stackbuf to store results. 200 - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len 204 // Ensure that you never set state->state back to 0, or use another method to detect initialization 205 // (such as using one of the values of state->extra). 206 if (state->state == 0) { 207 // We are not tracking mutations, so we'll set state->mutationsPtr to point into one of our extra values, 210 // state->mutationsPtr MUST NOT be NULL. 211 state->mutationsPtr = &state->extra[0] [all...] |
ANTLRLexer.m | 41 if (state.token != nil) 42 [((ANTLRCommonToken *)state.token) setInput:anInput]; 48 - (id) initWithCharStream:(id<ANTLRCharStream>)anInput State:(ANTLRRecognizerSharedState *)aState 53 if (state.token != nil) 54 [((ANTLRCommonToken *)state.token) setInput:anInput]; 80 [super reset]; // reset all recognizer state variables 81 // wack Lexer state variables 85 if ( state == nil ) { 86 return; // no shared state work to do 88 state.token = nil [all...] |
/external/elfutils/libelf/ |
elf_newscn.c | 76 assert (offsetof (Elf, state.elf.scns_last) 77 == offsetof (Elf, state.elf32.scns_last)); 78 assert (offsetof (Elf, state.elf.scns_last) 79 == offsetof (Elf, state.elf64.scns_last)); 80 assert (offsetof (Elf, state.elf32.scns) 81 == offsetof (Elf, state.elf64.scns)); 86 if (elf->state.elf.scns_last->cnt < elf->state.elf.scns_last->max) 88 result = &elf->state.elf.scns_last->data[elf->state.elf.scns_last->cnt] [all...] |
/external/jsilver/src/com/google/streamhtmlparser/impl/ |
ParserStateTable.java | 22 * Holds a state table which is defined as the set of all 23 * recognized state transitions and the set of characters that 26 * <p>The logic of what character causes what state transition is derived from 30 * <p>This class provides methods to initially build the state table and then 33 * <p>Note on characters outside the extended ASCII range: Currently, all state 36 * U+00FF]. We use that property to design a more efficient state transition 38 * simply apply the DEFAULT transition for the given state - as we do for any 39 * character that is not a hot character for that state. If no default 40 * transition exists, we switch to the Internal Error state. 46 * any incorrect state transitions [all...] |
/ndk/sources/host-tools/make-3.81/ |
ar.c | 199 /* State of an `ar_glob' run, passed to `ar_glob_match'. */ 211 element against the pattern in STATE. */ 217 int gid UNUSED, int mode UNUSED, struct ar_glob_state *state) 219 if (fnmatch (state->pattern, mem, FNM_PATHNAME|FNM_PERIOD) == 0) 222 struct nameseq *new = (struct nameseq *) xmalloc (state->size); 223 new->name = concat (state->arname, mem, ")"); 224 new->next = state->chain; 225 state->chain = new; 226 ++state->n; 271 struct ar_glob_state state; 268 struct ar_glob_state state; local [all...] |
/device/samsung/tuna/liblight/ |
lights.c | 75 static int rgb_to_brightness(struct light_state_t const *state) 77 int color = state->color & 0x00ffffff; 84 struct light_state_t const *state) 87 int brightness = rgb_to_brightness(state); 135 static int set_light_leds(struct light_state_t const *state, int type) 141 switch (state->flashMode) { 143 led.state = LED_LIGHT_OFF; 147 led.state = LED_LIGHT_SLOPE; 148 led.color = state->color & 0x00ffffff; 153 led.time_slope_up_1 = (SLOPE_UP_1 * state->flashOnMS) / 1000 [all...] |
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_main.c | 114 /* state machine action enumeration list */ 164 /* state table information */ 166 #define BTA_DM_SEARCH_NEXT_STATE 2 /* position of next state */ 167 #define BTA_DM_SEARCH_NUM_COLS 3 /* number of columns in state tables */ 171 /* state table for listen state */ 175 /* Event Action 1 Action 2 Next State */ 190 /* Event Action 1 Action 2 Next State */ 207 /* Event Action 1 Action 2 Next State */ 224 /* Event Action 1 Action 2 Next State */ [all...] |
/external/chromium/net/socket/ |
ssl_host_info.cc | 18 SSLHostInfo::State::State() {} 20 SSLHostInfo::State::~State() {} 22 void SSLHostInfo::State::Clear() { 58 const SSLHostInfo::State& SSLHostInfo::state() const { function in class:net::SSLHostInfo 62 SSLHostInfo::State* SSLHostInfo::mutable_state() { 67 State* state = mutable_state() local 79 State* state = mutable_state(); local [all...] |