/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_array_to_ssa.c | 75 struct array_state *state = get_state(ctx, block, arr->id); in read_value_end() local 76 if (state->live_out_definition) in read_value_end() 77 return state->live_out_definition; in read_value_end() 79 state->live_out_definition = read_value_beginning(ctx, block, arr); in read_value_end() 80 return state->live_out_definition; in read_value_end() 88 struct array_state *state = get_state(ctx, block, arr->id); in read_value_beginning() local 90 if (state->constructed) in read_value_beginning() 91 return state->live_in_definition; in read_value_beginning() 94 state->constructed = true; in read_value_beginning() 99 state in read_value_beginning() 200 struct array_state *state = get_state(ctx, block, id); lookup_live_in() local 231 struct array_state *state = ir3_array_to_ssa() local [all...] |
/third_party/node/deps/icu-small/source/tools/genrb/ |
H A D | rle.c | 35 * character. The state parameter maintains intermediary data between 37 * @param state A two-element array, with state[0] == 0 if this is the 38 * first byte of a pair, or state[0] != 0 if this is the second byte 39 * of a pair, in which case state[1] is the first byte. 42 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { in appendEncodedByte() argument 46 if (state[0] != 0) { in appendEncodedByte() 47 uint16_t c = (uint16_t) ((state[1] << 8) | (((int32_t) value) & 0xFF)); in appendEncodedByte() 53 state[0] = 0; in appendEncodedByte() 57 state[ in appendEncodedByte() 67 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) encodeRunByte() argument 206 uint8_t state[2]= {0}; byteArrayToRLEString() local [all...] |
/third_party/icu/icu4c/source/tools/genrb/ |
H A D | rle.c | 35 * character. The state parameter maintains intermediary data between 37 * @param state A two-element array, with state[0] == 0 if this is the 38 * first byte of a pair, or state[0] != 0 if this is the second byte 39 * of a pair, in which case state[1] is the first byte. 42 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { in appendEncodedByte() argument 46 if (state[0] != 0) { in appendEncodedByte() 47 uint16_t c = (uint16_t) ((state[1] << 8) | (((int32_t) value) & 0xFF)); in appendEncodedByte() 53 state[0] = 0; in appendEncodedByte() 57 state[ in appendEncodedByte() 67 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) encodeRunByte() argument 206 uint8_t state[2]= {0}; byteArrayToRLEString() local [all...] |
/third_party/lwip/src/netif/ |
H A D | slipif.c | 99 u8_t state; member 124 LWIP_ASSERT("netif->state != NULL", (netif->state != NULL)); in slipif_output() 128 priv = (struct slipif_priv *)netif->state; in slipif_output() 213 LWIP_ASSERT("netif->state != NULL", (netif->state != NULL)); in slipif_rxbyte() 215 priv = (struct slipif_priv *)netif->state; in slipif_rxbyte() 217 switch (priv->state) { in slipif_rxbyte() 236 priv->state = SLIP_RECV_ESCAPE; in slipif_rxbyte() 255 priv->state in slipif_rxbyte() [all...] |
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
H A D | rle.c | 35 * character. The state parameter maintains intermediary data between 37 * @param state A two-element array, with state[0] == 0 if this is the 38 * first byte of a pair, or state[0] != 0 if this is the second byte 39 * of a pair, in which case state[1] is the first byte. 42 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { in appendEncodedByte() argument 46 if (state[0] != 0) { in appendEncodedByte() 47 uint16_t c = (uint16_t) ((state[1] << 8) | (((int32_t) value) & 0xFF)); in appendEncodedByte() 53 state[0] = 0; in appendEncodedByte() 57 state[ in appendEncodedByte() 67 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) encodeRunByte() argument 206 uint8_t state[2]= {0}; byteArrayToRLEString() local [all...] |
/third_party/node/deps/v8/src/maglev/ |
H A D | maglev-compiler.cc | 36 #include "src/maglev/maglev-interpreter-frame-state.h" 54 void Process(NodeBase* node, const ProcessingState& state) { in Process() argument 69 void Process(NodeT* node, const ProcessingState& state) { in Process() argument 71 MarkCheckpointNodes(node, node->eager_deopt_info(), state); in Process() 77 MarkCheckpointNodes(node, node->lazy_deopt_info(), state); in Process() 81 void Process(Phi* node, const ProcessingState& state) { in Process() argument 89 void Process(JumpLoop* node, const ProcessingState& state) { in Process() argument 90 int i = state.block()->predecessor_id(); in Process() 99 void Process(Jump* node, const ProcessingState& state) { in Process() argument 100 int i = state in Process() 111 MarkCheckpointNodes(NodeBase* node, const EagerDeoptInfo* deopt_info, const ProcessingState& state) MarkCheckpointNodes() argument 124 MarkCheckpointNodes(NodeBase* node, const LazyDeoptInfo* deopt_info, const ProcessingState& state) MarkCheckpointNodes() argument [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | lock-autospawn.c | 67 } state = STATE_IDLE; variable 85 pa_assert(state == STATE_IDLE); in ref() 129 pa_assert(state != STATE_TAKEN); in unref() 131 if (state == STATE_OWNING) { in unref() 149 state = STATE_IDLE; in unref() 235 pa_assert(state == STATE_IDLE); in thread_func() 237 state = STATE_OWNING; in thread_func() 244 pa_assert(state == STATE_IDLE); in thread_func() 245 state = STATE_FAILED; in thread_func() 303 if (state in pa_autospawn_lock_acquire() [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/SystemBenchmarks/ |
H A D | LRUCacheBenchmarks.cpp | 71 void SetUp(const ::benchmark::State &state) in SetUp() argument 73 size = state.range(0); in SetUp() 76 void TearDown(const ::benchmark::State &state) {} in TearDown() argument 82 (benchmark::State &state) in BENCHMARK_DEFINE_F() 88 for(auto _ : state) in BENCHMARK_DEFINE_F() 97 (benchmark::State &state) in BENCHMARK_DEFINE_F() 107 for(auto _ : state) in BENCHMARK_DEFINE_F() 115 (benchmark::State &state) in BENCHMARK_DEFINE_F() 124 for(auto _ : state) in BENCHMARK_DEFINE_F() 132 (benchmark::State &state) in BENCHMARK_DEFINE_F() [all...] |
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/ |
H A D | mod.rs | 576 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 577 self.ut_name.hash(state); in hash() 578 self.ut_id.hash(state); in hash() 579 self.ut_line.hash(state); in hash() 580 self.ut_host.hash(state); in hash() 581 self.ut_unused.hash(state); in hash() 582 self.ut_session.hash(state); in hash() 583 self.ut_type.hash(state); in hash() 584 self.ut_pid.hash(state); in hash() 585 self.ut_exit.hash(state); in hash() [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_adpcm.c | 106 static char adpcm_encoder(int sl, snd_pcm_adpcm_state_t * state) in adpcm_encoder() argument 118 diff = sl - state->pred_val; in adpcm_encoder() 134 step = StepSize[state->step_idx]; in adpcm_encoder() 147 state->pred_val += sign ? -pred_diff : pred_diff; in adpcm_encoder() 149 if (state->pred_val > 32767) { in adpcm_encoder() 150 state->pred_val = 32767; in adpcm_encoder() 151 } else if (state->pred_val < -32768) { in adpcm_encoder() 152 state->pred_val = -32768; in adpcm_encoder() 156 state->step_idx += IndexAdjust[adjust_idx]; in adpcm_encoder() 158 if (state in adpcm_encoder() 167 adpcm_decoder(unsigned char code, snd_pcm_adpcm_state_t * state) adpcm_decoder() argument [all...] |
/third_party/mbedtls/library/ |
H A D | aesni.c | 91 __m128i state; in mbedtls_aesni_crypt_ecb() local 92 memcpy(&state, input, 16); in mbedtls_aesni_crypt_ecb() 93 state = _mm_xor_si128(state, rk[0]); // state ^= *rk; in mbedtls_aesni_crypt_ecb() 100 state = _mm_aesdec_si128(state, *rk); in mbedtls_aesni_crypt_ecb() 104 state = _mm_aesdeclast_si128(state, *rk); in mbedtls_aesni_crypt_ecb() 111 state in mbedtls_aesni_crypt_ecb() 244 aesni_set_rk_128(__m128i state, __m128i xword) aesni_set_rk_128() argument [all...] |
/third_party/libinput/tools/ |
H A D | libinput-analyze-per-slot-delta.py | 61 if slot.state == SlotState.BEGIN: 64 elif slot.state == SlotState.END: 67 elif slot.state == SlotState.NONE: 133 state = SlotState.NONE variable in Slot 258 s.state = SlotState.BEGIN 260 s.state = SlotState.END 267 s.state = SlotState.BEGIN 269 s.state = SlotState.END 272 if s.state == SlotState.NONE: 273 s.state [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | sha1-internal.c | 19 void SHA1Transform(u32 state[5], const unsigned char buffer[64]); 166 context->state[0], in SHAPrintContext() 167 context->state[1], in SHAPrintContext() 168 context->state[2], in SHAPrintContext() 169 context->state[3], in SHAPrintContext() 170 context->state[4]); in SHAPrintContext() 176 void SHA1Transform(u32 state[5], const unsigned char buffer[64]) in SHA1Transform() argument 191 /* Copy context->state[] to working vars */ in SHA1Transform() 192 a = state[0]; in SHA1Transform() 193 b = state[ in SHA1Transform() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | sha1-internal.c | 19 void SHA1Transform(u32 state[5], const unsigned char buffer[64]); 166 context->state[0], in SHAPrintContext() 167 context->state[1], in SHAPrintContext() 168 context->state[2], in SHAPrintContext() 169 context->state[3], in SHAPrintContext() 170 context->state[4]); in SHAPrintContext() 176 void SHA1Transform(u32 state[5], const unsigned char buffer[64]) in SHA1Transform() argument 191 /* Copy context->state[] to working vars */ in SHA1Transform() 192 a = state[0]; in SHA1Transform() 193 b = state[ in SHA1Transform() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_decompress.c | 307 struct radv_meta_state *state = &device->meta_state; in radv_device_finish_meta_depth_decomp_state() local 309 for (uint32_t i = 0; i < ARRAY_SIZE(state->depth_decomp); ++i) { in radv_device_finish_meta_depth_decomp_state() 310 radv_DestroyPipelineLayout(radv_device_to_handle(device), state->depth_decomp[i].p_layout, in radv_device_finish_meta_depth_decomp_state() 311 &state->alloc); in radv_device_finish_meta_depth_decomp_state() 314 state->depth_decomp[i].decompress_pipeline, &state->alloc); in radv_device_finish_meta_depth_decomp_state() 316 state->depth_decomp[i].resummarize_pipeline, &state->alloc); in radv_device_finish_meta_depth_decomp_state() 320 state->expand_depth_stencil_compute_pipeline, &state in radv_device_finish_meta_depth_decomp_state() 330 struct radv_meta_state *state = &device->meta_state; radv_device_init_meta_depth_decomp_state() local 361 struct radv_meta_state *state = &cmd_buffer->device->meta_state; radv_get_depth_pipeline() local [all...] |
/third_party/mesa3d/src/amd/compiler/tests/ |
H A D | check_output.py | 87 def run(self, state): 91 def run(self, state): 102 state.result.log += 'unexpected indent in code check:\n' 103 state.result.log += self.data + '\n' 109 exec(code, state.g) 110 state.result.log += state.g['log'] 111 state.g['log'] = '' 113 state.result.log += 'code check at %s raised exception:\n' % self.position 114 state [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_sampler.c | 279 for (; i < svga->state.hw_draw.num_sampler_views[shader]; i++) { in update_sampler_resources() 288 nviews = MAX2(svga->state.hw_draw.num_sampler_views[shader], count); in update_sampler_resources() 290 if (count != svga->state.hw_draw.num_sampler_views[shader] || in update_sampler_resources() 291 memcmp(sampler_views, svga->state.hw_draw.sampler_views[shader], in update_sampler_resources() 306 svga->state.hw_draw.sampler_views[shader][i]; in update_sampler_resources() 342 /* Save referenced sampler views in the hw draw state. */ in update_sampler_resources() 343 svga->state.hw_draw.num_sampler_views[shader] = count; in update_sampler_resources() 346 &svga->state.hw_draw.sampler_views[shader][i], in update_sampler_resources() 356 svga_fs_variant(svga->state.hw_draw.fs)->pstipple_sampler_unit; in update_sampler_resources() 414 svga_fs_variant(svga->state in update_samplers() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | avs3_parser.c | 31 uint32_t state = pc->state; in avs3_find_frame_end() local 36 state = (state << 8) | buf[cur]; in avs3_find_frame_end() 49 state = (state << 8) | buf[cur]; in avs3_find_frame_end() 50 if ((state & 0xFFFFFF00) == 0x100 && AVS3_ISUNIT(state & 0xFF)) { in avs3_find_frame_end() 52 pc->state = -1; in avs3_find_frame_end() 59 pc->state in avs3_find_frame_end() [all...] |
H A D | dnxhd_parser.c | 41 uint64_t state = pc->state64; in dnxhd_find_frame_end() local 47 state = (state << 8) | buf[i]; in dnxhd_find_frame_end() 48 if (ff_dnxhd_check_header_prefix(state & 0xffffffffff00LL) != 0) { in dnxhd_find_frame_end() 63 state = (state << 8) | buf[i]; in dnxhd_find_frame_end() 66 dctx->h = (state >> 32) & 0xFFFF; in dnxhd_find_frame_end() 68 dctx->w = (state >> 32) & 0xFFFF; in dnxhd_find_frame_end() 70 int cid = (state >> 32) & 0xFFFFFFFF; in dnxhd_find_frame_end() 93 state in dnxhd_find_frame_end() [all...] |
/third_party/benchmark/test/ |
H A D | options_test.cc | 11 void BM_basic(benchmark::State& state) { in BM_basic() argument 12 for (auto _ : state) { in BM_basic() 16 void BM_basic_slow(benchmark::State& state) { in BM_basic_slow() argument 17 std::chrono::milliseconds sleep_duration(state.range(0)); in BM_basic_slow() 18 for (auto _ : state) { in BM_basic_slow() 61 void BM_explicit_iteration_count(benchmark::State& state) { in BM_explicit_iteration_count() argument 69 assert(state.max_iterations == 42); in BM_explicit_iteration_count() 70 for (auto _ : state) { in BM_explicit_iteration_count() 72 assert(state.iterations() == state in BM_explicit_iteration_count() [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_msaa.c | 54 unsigned samples = st->state.fb_num_samples; in update_sample_locations() 83 if (st->state.fb_orientation == Y_0_BOTTOM) in update_sample_locations() 93 st->screen, st->state.fb_height, samples, locations); in update_sample_locations() 95 if (!st->state.enable_sample_locations || in update_sample_locations() 96 st->state.sample_locations_samples != samples || in update_sample_locations() 97 memcmp(locations, st->state.sample_locations, size) != 0) { in update_sample_locations() 100 st->state.sample_locations_samples = samples; in update_sample_locations() 101 memcpy(st->state.sample_locations, locations, size); in update_sample_locations() 103 } else if (st->state.enable_sample_locations) { in update_sample_locations() 107 st->state in update_sample_locations() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_compositor.h | 172 * init state bag 175 vl_compositor_init_state(struct vl_compositor_state *state, struct pipe_context *pipe); 218 vl_compositor_clear_layers(struct vl_compositor_state *state); 224 vl_compositor_set_layer_blend(struct vl_compositor_state *state, 238 vl_compositor_set_buffer_layer(struct vl_compositor_state *state, 250 vl_compositor_set_palette_layer(struct vl_compositor_state *state, 263 vl_compositor_set_rgba_layer(struct vl_compositor_state *state, 275 vl_compositor_set_layer_rotation(struct vl_compositor_state *state, 283 vl_compositor_yuv_deint_full(struct vl_compositor_state *state, 295 vl_compositor_convert_rgb_to_yuv(struct vl_compositor_state *state, [all...] |
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/ |
H A D | x86_64.rs | 97 fn hash<H: ::hash::Hasher>(&self, state: &mut H) { in hash() 98 {self.fx_fcw}.hash(state); in hash() 99 {self.fx_fsw}.hash(state); in hash() 100 {self.fx_ftw}.hash(state); in hash() 101 {self.fx_fop}.hash(state); in hash() 102 {self.fx_rip}.hash(state); in hash() 103 {self.fx_rdp}.hash(state); in hash() 104 {self.fx_mxcsr}.hash(state); in hash() 105 {self.fx_mxcsr_mask}.hash(state); in hash() 106 {self.fx_st}.hash(state); in hash() [all...] |
/third_party/skia/third_party/externals/icu/scripts/ |
H A D | big5_gen.sh | 35 # encoding spec. Each state adds 1kB in the data size. 37 <icu:state> 0-7f, a1-fe:1, 87-a0:2, c8:2, fa-fe:2, 87:3, 89:4, 8a:5, 8b:6, 8d:7, 9b:8, 9f:9, a0:a 38 <icu:state> 40-7e, a1-fe 39 <icu:state> 40-7e.p, a1-fe.p 40 <icu:state> 40-7e.p, a1-fe.p, 66.i 41 <icu:state> 40-7e.p, a1-fe.p, 42.i, 44.i, 45.i, 4a-4b.i 42 <icu:state> 40-7e.p, a1-fe.p, 42.i, 63.i, 75.i 43 <icu:state> 40-7e.p, a1-fe.p, 54.i 44 <icu:state> 40-7e.p, a1-fe.p, 41.i 45 <icu:state> 4 [all...] |
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
H A D | bio.rs | 39 let state = Box::new(StreamState { in new() 48 BIO_set_data(bio, Box::into_raw(state) as *mut _); in new() 56 let state = state::<S>(bio); in take_error() 57 state.error.take() in take_error() 61 let state = state::<S>(bio); in take_panic() 62 state.panic.take() in take_panic() 66 let state = &*(BIO_get_data(bio) as *const StreamState<S>); in get_ref() 67 &state in get_ref() 84 unsafe fn state<'a, S: 'a>(bio: *mut BIO) -> &'a mut StreamState<S> { state() functions [all...] |