/external/v8/src/libsampler/ |
sampler.cc | 275 void DoSample(const v8::RegisterState& state) { 290 sampler->SampleStack(state); 390 // Protects the process wide state below. 407 v8::RegisterState state; 408 FillRegisterState(context, &state); 409 SamplerManager::instance()->DoSample(state); 412 void SignalHandler::FillRegisterState(void* context, RegisterState* state) { 420 state->pc = reinterpret_cast<void*>(mcontext.gregs[REG_EIP]); 421 state->sp = reinterpret_cast<void*>(mcontext.gregs[REG_ESP]); 422 state->fp = reinterpret_cast<void*>(mcontext.gregs[REG_EBP]) 645 v8::RegisterState state; local [all...] |
/frameworks/rs/ |
rsType.cpp | 55 if (mHal.state.lodCount) { 56 delete [] mHal.state.lodDimX; 57 delete [] mHal.state.lodDimY; 58 delete [] mHal.state.lodDimZ; 60 if (mHal.state.arrayCount > 0) { 61 delete [] mHal.state.arrays; 75 uint32_t oldLODCount = mHal.state.lodCount; 77 uint32_t l2x = rsFindHighBit(mHal.state.dimX) + 1; 78 uint32_t l2y = rsFindHighBit(mHal.state.dimY) + 1; 79 uint32_t l2z = rsFindHighBit(mHal.state.dimZ) + 1 [all...] |
/art/tools/checker/file_format/c1visualizer/ |
parser.py | 28 def __parseC1Line(line, lineNo, state, fileName): 37 if state.currentState == C1ParserState.StartingCfgBlock: 43 state.currentState = C1ParserState.InsideCfgBlock 44 return (None, state.lastMethodName + " " + line.split("\"")[1], None) 48 elif state.currentState == C1ParserState.InsideCfgBlock: 50 state.currentState = C1ParserState.OutsideBlock 55 elif state.currentState == C1ParserState.InsideCompilationBlock: 61 state.lastMethodName = methodName 63 state.currentState = C1ParserState.OutsideBlock 67 assert state.currentState == C1ParserState.OutsideBloc [all...] |
/bionic/libc/bionic/ |
mbrtoc32.cpp | 38 mbstate_t* state = (ps == NULL) ? &__private_state : ps; local 40 // We should never get to a state which has all 4 bytes of the sequence set. 41 // Full state verification is done when decoding the sequence (after we have 43 if (mbstate_get_byte(state, 3) != 0) { 44 return mbstate_reset_and_return_illegal(EINVAL, state); 58 if (mbsinit(state) && (((ch = static_cast<uint8_t>(*s)) & ~0x7f) == 0)) { 80 // The first byte in the state (if any) tells the length. 81 size_t bytes_so_far = mbstate_bytes_so_far(state); 82 ch = bytes_so_far > 0 ? mbstate_get_byte(state, 0) : static_cast<uint8_t>(*s); 101 return mbstate_reset_and_return_illegal(EILSEQ, state); [all...] |
/external/libcups/cups/ |
notify.c | 37 *state; /* Printer/job state string */ local 40 *job_state, /* job-state */ 42 *printer_state, /* printer-state */ 60 job_state = ippFindAttribute(event, "job-state", IPP_TAG_ENUM); 62 printer_state = ippFindAttribute(event, "printer-state", IPP_TAG_ENUM); 79 state = _cupsLangString(lang, _("pending")); 82 state = _cupsLangString(lang, _("held")); 85 state = _cupsLangString(lang, _("processing")); 88 state = _cupsLangString(lang, _("stopped")) [all...] |
/external/syslinux/gpxe/src/include/gpxe/ |
tcp.h | 99 * The TCP state is defined by a combination of the flags that have 108 #define TCP_FLAGS_SENT(state) ( ( (state) >> 0 ) & 0xff ) 115 #define TCP_FLAGS_ACKED(state) ( ( (state) >> 8 ) & 0xff ) 123 #define TCP_FLAGS_RCVD(state) ( ( (state) >> 16 ) & 0xff ) 126 #define TCP_FLAGS_SENDING(state) \ 127 ( TCP_FLAGS_SENT ( state ) & ~TCP_FLAGS_ACKED ( state ) ) [all...] |
/frameworks/native/cmds/ip-up-vpn/ |
ip-up-vpn.c | 69 FILE *state = fopen(DIR ".tmp", "wb"); local 70 if (!state) { 71 ALOGE("Cannot create state: %s", strerror(errno)); 77 fprintf(state, "%s\n", argv[1]); 78 fprintf(state, "%s/32\n", argv[4]); 79 fprintf(state, "0.0.0.0/0\n"); 80 fprintf(state, "%s %s\n", env("DNS1"), env("DNS2")); 81 fprintf(state, "\n"); 82 fprintf(state, "\n"); 118 fprintf(state, "%s\n", interface) [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
ProvidersAccess.java | 26 import com.android.documentsui.base.State; 47 Collection<RootInfo> getMatchingRootsBlocking(State state); 51 RootInfo getDefaultRootBlocking(State state); 65 public static List<RootInfo> getMatchingRoots(Collection<RootInfo> roots, State state) { 74 if (state.action == State.ACTION_CREATE && !root.supportsCreate()) { 79 if (state.action == State.ACTION_PICK_COPY_DESTINATIO [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_contextlib.py | 17 state = []
20 state.append(1)
22 state.append(999)
24 self.assertEqual(state, [1])
26 state.append(x)
27 self.assertEqual(state, [1, 42, 999])
30 state = []
33 state.append(1)
37 state.append(999)
40 self.assertEqual(state, [1]) [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/ |
filter.rb | 23 @state.token = nil 24 @state.channel = ANTLR3::DEFAULT_CHANNEL 25 @state.token_start_position = @input.index 26 @state.token_start_column = @input.column 27 @state.token_start_line = @input.line 28 @state.text = nil 29 @state.backtracking = 1 35 return @state.token 47 @state.backtracking = 0 51 super( rule, start_index, success ) if @state.backtracking > [all...] |
/external/google-benchmark/test/ |
options_test.cc | 10 void BM_basic(benchmark::State& state) { 11 for (auto _ : state) { 15 void BM_basic_slow(benchmark::State& state) { 16 std::chrono::milliseconds sleep_duration(state.range(0)); 17 for (auto _ : state) { 47 void BM_explicit_iteration_count(benchmark::State& state) { 55 assert(state.max_iterations == 42) [all...] |
/external/libchrome/base/test/ |
test_pending_task.cc | 41 void TestPendingTask::AsValueInto(base::trace_event::TracedValue* state) const { 42 state->SetInteger("run_at", GetTimeToRun().ToInternalValue()); 43 state->SetString("posting_function", location.ToString()); 44 state->SetInteger("post_time", post_time.ToInternalValue()); 45 state->SetInteger("delay", delay.ToInternalValue()); 48 state->SetString("nestability", "NESTABLE"); 51 state->SetString("nestability", "NON_NESTABLE"); 54 state->SetInteger("delay", delay.ToInternalValue()); 59 std::unique_ptr<base::trace_event::TracedValue> state( 61 AsValueInto(state.get()) [all...] |
/external/libcxx/utils/google-benchmark/test/ |
options_test.cc | 10 void BM_basic(benchmark::State& state) { 11 for (auto _ : state) { 15 void BM_basic_slow(benchmark::State& state) { 16 std::chrono::milliseconds sleep_duration(state.range(0)); 17 for (auto _ : state) { 47 void BM_explicit_iteration_count(benchmark::State& state) { 55 assert(state.max_iterations == 42) [all...] |
/external/ppp/pppd/include/net/ |
ppp-comp.h | 64 void (*comp_free) __P((void *state)); 66 int (*comp_init) __P((void *state, u_char *options, int opt_len, 69 void (*comp_reset) __P((void *state)); 71 int (*compress) __P((void *state, PACKETPTR *mret, 74 void (*comp_stat) __P((void *state, struct compstat *stats)); 79 void (*decomp_free) __P((void *state)); 81 int (*decomp_init) __P((void *state, u_char *options, int opt_len, 84 void (*decomp_reset) __P((void *state)); 86 int (*decompress) __P((void *state, PACKETPTR mp, 88 /* Update state for an incompressible packet received * [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/ |
FragmentService.java | 51 FragmentHostState state = mHosts.get(root); local 52 if (state == null) { 53 state = new FragmentHostState(root); 54 mHosts.put(root, state); 56 return state.getFragmentHostManager(); 60 for (FragmentHostState state : mHosts.values()) { 61 state.mFragmentHostManager.destroy(); 67 for (FragmentHostState state : mHosts.values()) { 68 state.sendConfigurationChange(newConfig); 75 for (FragmentHostState state : mHosts.values()) [all...] |
/frameworks/minikin/tests/perftests/ |
FontCollection.cpp | 34 static void BM_FontCollection_construct(benchmark::State& state) { 37 while (state.KeepRunning()) { 44 static void BM_FontCollection_hasVariationSelector(benchmark::State& state) { 48 uint32_t baseCp = state.range(0); 49 uint32_t vsCp = state.range(1); 53 state.SetLabel(titleBuffer); 55 while (state.KeepRunning()) { 81 static void BM_FontCollection_itemize(benchmark::State& state) [all...] |
/frameworks/rs/tests/lldb/tests/ |
run_test.py | 46 def _test_pre_run(state): 50 state: Test suite state collection, instance of TestState. 62 assert state.test 63 assert state.bundle 66 log.info('running: {0}'.format(state.name)) 69 state.bundle.delete_ndk_cache() 74 target_name = state.test.get_bundle_target() 79 target_name = state.test.bundle_target[state.bundle_type [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
ppp-comp.h | 70 void (*comp_free) (void *state); 73 int (*comp_init) (void *state, unsigned char *options, 77 void (*comp_reset) (void *state); 80 int (*compress) (void *state, unsigned char *rptr, 84 void (*comp_stat) (void *state, struct compstat *stats); 90 void (*decomp_free) (void *state); 93 int (*decomp_init) (void *state, unsigned char *options, 98 void (*decomp_reset) (void *state); 101 int (*decompress) (void *state, unsigned char *ibuf, int isize, 104 /* Update state for an incompressible packet received * [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_contextlib.py | 17 state = [] 20 state.append(1) 22 state.append(999) 24 self.assertEqual(state, [1]) 26 state.append(x) 27 self.assertEqual(state, [1, 42, 999]) 30 state = [] 33 state.append(1) 37 state.append(999) 40 self.assertEqual(state, [1] [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_contextlib.py | 17 state = [] 20 state.append(1) 22 state.append(999) 24 self.assertEqual(state, [1]) 26 state.append(x) 27 self.assertEqual(state, [1, 42, 999]) 30 state = [] 33 state.append(1) 37 state.append(999) 40 self.assertEqual(state, [1] [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_contextlib.py | 17 state = [] 20 state.append(1) 22 state.append(999) 24 self.assertEqual(state, [1]) 26 state.append(x) 27 self.assertEqual(state, [1, 42, 999]) 30 state = [] 33 state.append(1) 37 state.append(999) 40 self.assertEqual(state, [1] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_contextlib.py | 17 state = [] 20 state.append(1) 22 state.append(999) 24 self.assertEqual(state, [1]) 26 state.append(x) 27 self.assertEqual(state, [1, 42, 999]) 30 state = [] 33 state.append(1) 37 state.append(999) 40 self.assertEqual(state, [1] [all...] |
/external/deqp/modules/glshared/ |
glsStateQueryUtil.cpp | 21 * \brief State Query test utils. 271 void queryState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLenum target, QueriedState& state) 285 state = QueriedState(value == GL_TRUE); 302 state = QueriedState(value == GL_TRUE); 317 state = QueriedState(value); 332 state = QueriedState(value); 347 state = QueriedState(value); 357 void queryIndexedState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLenum target, int index, QueriedState& state) 381 state = QueriedState(res); 398 state = QueriedState(value) 1831 QueriedState state; local 1841 QueriedState state; local 1851 QueriedState state; local 1861 QueriedState state; local 1918 QueriedState state; local 1928 QueriedState state; local 1938 QueriedState state; local 1948 QueriedState state; local 1958 QueriedState state; local 1968 QueriedState state; local 1978 QueriedState state; local 1988 QueriedState state; local 1998 QueriedState state; local 2008 QueriedState state; local 2018 QueriedState state; local 2028 QueriedState state; local 2038 QueriedState state; local 2048 QueriedState state; local 2058 QueriedState state; local 2068 QueriedState state; local 2078 QueriedState state; local 2088 QueriedState state; local 2098 QueriedState state; local 2108 QueriedState state; local 2118 QueriedState state; local 2128 QueriedState state; local 2138 QueriedState state; local 2148 QueriedState state; local 2158 QueriedState state; local 2168 QueriedState state; local 2178 QueriedState state; local 2188 QueriedState state; local 2198 QueriedState state; local [all...] |
/external/boringssl/src/crypto/err/ |
err.c | 188 ERR_STATE *state = statep; local 190 if (state == NULL) { 195 err_clear(&state->errors[i]); 197 OPENSSL_free(state->to_free); 198 OPENSSL_free(state); 203 ERR_STATE *state = CRYPTO_get_thread_local(OPENSSL_THREAD_LOCAL_ERR); local 204 if (state == NULL) { 205 state = OPENSSL_malloc(sizeof(ERR_STATE)); 206 if (state == NULL) { 209 OPENSSL_memset(state, 0, sizeof(ERR_STATE)) 222 ERR_STATE *state; local 328 ERR_STATE *const state = err_get_state(); local 620 ERR_STATE *const state = err_get_state(); local 636 ERR_STATE *const state = err_get_state(); local 741 ERR_STATE *const state = err_get_state(); local 751 ERR_STATE *const state = err_get_state(); local 801 ERR_STATE *const state = err_get_state(); local [all...] |
/external/mesa3d/src/compiler/nir/ |
nir_print.c | 65 print_annotation(print_state *state, void *obj) 67 if (!state->annotations) 70 struct hash_entry *entry = _mesa_hash_table_search(state->annotations, obj); 75 _mesa_hash_table_remove(state->annotations, entry); 81 print_register(nir_register *reg, print_state *state) 83 FILE *fp = state->fp; 95 print_register_decl(nir_register *reg, print_state *state) 97 FILE *fp = state->fp; 101 print_register(reg, state); 108 print_ssa_def(nir_ssa_def *def, print_state *state) 522 print_deref_array(nir_deref_as_array(tail), state); local 528 pretail->type, state); local 886 print_alu_instr(nir_instr_as_alu(instr), state); local 890 print_call_instr(nir_instr_as_call(instr), state); local 894 print_intrinsic_instr(nir_instr_as_intrinsic(instr), state); local 898 print_tex_instr(nir_instr_as_tex(instr), state); local 902 print_load_const_instr(nir_instr_as_load_const(instr), state); local 906 print_jump_instr(nir_instr_as_jump(instr), state); local 910 print_ssa_undef_instr(nir_instr_as_ssa_undef(instr), state); local 914 print_phi_instr(nir_instr_as_phi(instr), state); local 918 print_parallel_copy_instr(nir_instr_as_parallel_copy(instr), state); local 1025 print_block(nir_cf_node_as_block(node), state, tabs); local 1029 print_if(nir_cf_node_as_if(node), state, tabs); local 1033 print_loop(nir_cf_node_as_loop(node), state, tabs); local 1148 print_state state; local 1210 print_state state = { local [all...] |