/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
H A D | Shader.cpp | 83 struct pipe_shader_state state; in CreateEmptyShader() local 84 memset(&state, 0, sizeof state); in CreateEmptyShader() 85 state.tokens = tokens; in CreateEmptyShader() 90 handle = pipe->create_fs_state(pipe, &state); in CreateEmptyShader() 93 handle = pipe->create_vs_state(pipe, &state); in CreateEmptyShader() 96 handle = pipe->create_gs_state(pipe, &state); in CreateEmptyShader() 188 * Update the driver's currently bound sampler state. 218 * Update the driver's currently bound sampler state. 317 if (pShader->state in DestroyShader() 454 struct pipe_sampler_state state; CreateSampler() local 580 void *state = CastPipeShader(hShader); VsSetShader() local 714 void *state = CastPipeShader(hShader); GsSetShader() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | gemdec.c | 62 static void put_lines_bits(AVCodecContext *avctx, int planes, int row_width, int pixel_size, State * state, uint8_t * row, AVFrame *p) in put_lines_bits() argument 64 int pl_byte = state->pl / 8; in put_lines_bits() 65 int pl_bit = state->pl & 7; in put_lines_bits() 66 for (int y = 0; y < state->vdup && (state->y + y) < avctx->height; y++) in put_lines_bits() 69 p->data[0][ (state->y + y) * p->linesize[0] + (x * 8 + 7 - i) * pixel_size + pl_byte] |= !!(row[x] & (1 << i)) << pl_bit; in put_lines_bits() 71 state->pl++; in put_lines_bits() 72 if (state->pl >= planes) { in put_lines_bits() 73 state->pl = 0; in put_lines_bits() 74 state in put_lines_bits() 79 put_lines_bytes(AVCodecContext *avctx, int planes, int row_width, int pixel_size, State * state, uint8_t * row, AVFrame *p) put_lines_bytes() argument 101 State state = {.y = 0, .pl = 0, .x = 0, .vdup = 1}; gem_decode_frame() local [all...] |
H A D | latm_parser.c | 48 uint32_t state; in latm_find_frame_end() local 51 state = pc->state; in latm_find_frame_end() 55 state = (state<<8) | buf[i]; in latm_find_frame_end() 56 if ((state & LATM_MASK) == LATM_HEADER) { in latm_find_frame_end() 69 if ((state & LATM_SIZE_MASK) - s->count <= buf_size) { in latm_find_frame_end() 71 pc->state = -1; in latm_find_frame_end() 72 return (state & LATM_SIZE_MASK) - s->count; in latm_find_frame_end() 78 pc->state in latm_find_frame_end() [all...] |
H A D | rangecoder.h | 95 static inline void put_rac(RangeCoder *c, uint8_t *const state, int bit) in put_rac() argument 97 int range1 = (c->range * (*state)) >> 8; in put_rac() 99 av_assert2(*state); in put_rac() 104 *state = c->zero_state[*state]; in put_rac() 108 *state = c->one_state[*state]; in put_rac() 127 static inline int get_rac(RangeCoder *c, uint8_t *const state) in get_rac() argument 129 int range1 = (c->range * (*state)) >> 8; in get_rac() 133 *state in get_rac() [all...] |
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | protocol_core.h | 26 // Creates a state from the raw bytes received from the peer. 28 // Creates the state from the part of another message. 57 static bool Deserialize(DeserializerState* state, bool* value); 63 static bool Deserialize(DeserializerState* state, int* value); 69 static bool Deserialize(DeserializerState* state, double* value); 126 bool (*deserializer)(DeserializerState* state, void* obj); 131 bool Deserialize(DeserializerState* state, void* obj) const; 134 bool DeserializeField(DeserializerState* state, 146 static bool Deserialize(DeserializerState* state, std::vector<T>* value) { in Deserialize() 147 auto* tokenizer = state in Deserialize() 251 auto state = deferred_message.MakeDeserializer(); ReadFrom() local 258 auto state = DeserializerState(std::move(bytes)); ReadFrom() local 274 Deserialize(DeserializerState* state, T* value) Deserialize() argument 292 Deserialize(DeserializerState* state) Deserialize() argument [all...] |
/third_party/node/deps/v8/src/profiler/ |
H A D | tick-sample.cc | 12 #include "src/execution/embedder-state.h" 15 #include "src/execution/vm-state-inl.h" 89 static bool FillRegisters(Isolate* isolate, v8::RegisterState* state); 93 v8::RegisterState* state) { in FillRegisters() 99 state->pc = reinterpret_cast<void*>(simulator->get_pc()); in FillRegisters() 101 state->sp = reinterpret_cast<void*>(simulator->get_register(Simulator::sp)); in FillRegisters() 102 state->fp = reinterpret_cast<void*>(simulator->get_register(Simulator::r11)); in FillRegisters() 103 state->lr = reinterpret_cast<void*>(simulator->get_register(Simulator::lr)); in FillRegisters() 105 state->pc = reinterpret_cast<void*>(simulator->pc()); in FillRegisters() 106 state in FillRegisters() 92 FillRegisters(Isolate* isolate, v8::RegisterState* state) FillRegisters() argument [all...] |
/third_party/python/Modules/ |
H A D | nismodule.c | 55 void *state = PyModule_GetState(module); in get_nis_state() local 56 assert(state != NULL); in get_nis_state() 57 return (nis_state *)state; in get_nis_state() 81 nis_error(nis_state *state, int err) in nis_error() argument 83 PyErr_SetString(state->nis_error, yperr_string(err)); in nis_error() 128 PyThreadState *state; member 140 PyEval_RestoreThread(indata->state); in nis_foreach() 154 indata->state = PyEval_SaveThread(); in nis_foreach() 162 indata->state = PyEval_SaveThread(); in nis_foreach() 176 nis_state *state in nis_get_default_domain() local 212 nis_state *state = get_nis_state(module); nis_match() local 249 nis_state *state = get_nis_state(module); nis_cat() local 395 nis_maplist(nis_state *state, char *dom) nis_maplist() argument 444 nis_state *state = get_nis_state(module); nis_maps() local 490 nis_state* state = get_nis_state(module); nis_exec() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_psk.c | 22 enum { PSK_1, PSK_3, SUCCESS, FAILURE } state; member 40 data->state = PSK_1; in eap_psk_init() 64 data->state = FAILURE; in eap_psk_build_1() 76 data->state = FAILURE; in eap_psk_build_1() 104 data->state = FAILURE; in eap_psk_build_3() 151 data->state = FAILURE; in eap_psk_build_3() 160 switch (data->state) { in eap_psk_buildReq() 166 wpa_printf(MSG_DEBUG, "EAP-PSK: Unknown state %d in buildReq", in eap_psk_buildReq() 167 data->state); in eap_psk_buildReq() 191 if (data->state in eap_psk_check() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | json.c | 198 if (token->state != JSON_COMPLETED) { in json_check_tree_state() 200 "JSON: Unexpected token state %d (name=%s type=%d)", in json_check_tree_state() 201 token->state, token->name ? token->name : "N/A", in json_check_tree_state() 242 } else if (curr_token->state == JSON_WAITING_VALUE) { in json_parse() 246 curr_token->parent->state == JSON_STARTED && in json_parse() 247 curr_token->state == JSON_EMPTY) { in json_parse() 251 "JSON: Invalid state for start array/object"); in json_parse() 261 token->state = JSON_STARTED; in json_parse() 267 curr_token->state = JSON_EMPTY; in json_parse() 272 curr_token->parent->state ! in json_parse() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_psk.c | 22 enum { PSK_1, PSK_3, SUCCESS, FAILURE } state; member 40 data->state = PSK_1; in eap_psk_init() 64 data->state = FAILURE; in eap_psk_build_1() 76 data->state = FAILURE; in eap_psk_build_1() 104 data->state = FAILURE; in eap_psk_build_3() 151 data->state = FAILURE; in eap_psk_build_3() 160 switch (data->state) { in eap_psk_buildReq() 166 wpa_printf(MSG_DEBUG, "EAP-PSK: Unknown state %d in buildReq", in eap_psk_buildReq() 167 data->state); in eap_psk_buildReq() 191 if (data->state in eap_psk_check() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | json.c | 198 if (token->state != JSON_COMPLETED) { in json_check_tree_state() 200 "JSON: Unexpected token state %d (name=%s type=%d)", in json_check_tree_state() 201 token->state, token->name ? token->name : "N/A", in json_check_tree_state() 242 } else if (curr_token->state == JSON_WAITING_VALUE) { in json_parse() 246 curr_token->parent->state == JSON_STARTED && in json_parse() 247 curr_token->state == JSON_EMPTY) { in json_parse() 251 "JSON: Invalid state for start array/object"); in json_parse() 261 token->state = JSON_STARTED; in json_parse() 267 curr_token->state = JSON_EMPTY; in json_parse() 272 curr_token->parent->state ! in json_parse() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_state.c | 66 * Inferred framebuffer and blender state. 138 for (i = 0; i < sctx->framebuffer.state.nr_cbufs; i++) { in si_emit_cb_render_state() 139 struct si_surface *surf = (struct si_surface *)sctx->framebuffer.state.cbufs[i]; in si_emit_cb_render_state() 440 const struct pipe_blend_state *state, unsigned mode) in si_create_blend_state_mode() 447 bool logicop_enable = state->logicop_enable && state->logicop_func != PIPE_LOGICOP_COPY; in si_create_blend_state_mode() 452 blend->alpha_to_coverage = state->alpha_to_coverage; in si_create_blend_state_mode() 453 blend->alpha_to_one = state->alpha_to_one; in si_create_blend_state_mode() 454 blend->dual_src_blend = util_blend_state_is_dual(state, 0); in si_create_blend_state_mode() 457 state in si_create_blend_state_mode() 439 si_create_blend_state_mode(struct pipe_context *ctx, const struct pipe_blend_state *state, unsigned mode) si_create_blend_state_mode() argument 647 si_create_blend_state(struct pipe_context *ctx, const struct pipe_blend_state *state) si_create_blend_state() argument 714 si_draw_vstate_blend_dst_sampler_noop(struct pipe_context *ctx, struct pipe_vertex_state *state, uint32_t partial_velem_mask, struct pipe_draw_vertex_state_info info, const struct pipe_draw_start_count_bias *draws, unsigned num_draws) si_draw_vstate_blend_dst_sampler_noop() argument 728 si_bind_blend_state(struct pipe_context *ctx, void *state) si_bind_blend_state() argument 784 si_delete_blend_state(struct pipe_context *ctx, void *state) si_delete_blend_state() argument 794 si_set_blend_color(struct pipe_context *ctx, const struct pipe_blend_color *state) si_set_blend_color() argument 818 si_set_clip_state(struct pipe_context *ctx, const struct pipe_clip_state *state) si_set_clip_state() argument 930 si_create_rs_state(struct pipe_context *ctx, const struct pipe_rasterizer_state *state) si_create_rs_state() argument 1141 si_bind_rs_state(struct pipe_context *ctx, void *state) si_bind_rs_state() argument 1220 si_delete_rs_state(struct pipe_context *ctx, void *state) si_delete_rs_state() argument 1254 si_set_stencil_ref(struct pipe_context *ctx, const struct pipe_stencil_ref state) si_set_stencil_ref() argument 1307 si_order_invariant_stencil_state(const struct pipe_stencil_state *state) si_order_invariant_stencil_state() argument 1316 si_create_dsa_state(struct pipe_context *ctx, const struct pipe_depth_stencil_alpha_state *state) si_create_dsa_state() argument 1410 si_bind_dsa_state(struct pipe_context *ctx, void *state) si_bind_dsa_state() argument 1444 si_delete_dsa_state(struct pipe_context *ctx, void *state) si_delete_dsa_state() argument 2878 si_dec_framebuffer_counters(const struct pipe_framebuffer_state *state) si_dec_framebuffer_counters() argument 2911 const struct pipe_framebuffer_state *state = &sctx->framebuffer.state; si_update_display_dcc_dirty() local 2919 si_set_framebuffer_state(struct pipe_context *ctx, const struct pipe_framebuffer_state *state) si_set_framebuffer_state() argument 3203 struct pipe_framebuffer_state *state = &sctx->framebuffer.state; si_emit_framebuffer_state() local 3900 si_make_buffer_descriptor(struct si_screen *screen, struct si_resource *buf, enum pipe_format format, unsigned offset, unsigned num_elements, uint32_t *state) si_make_buffer_descriptor() argument 4005 gfx10_make_texture_descriptor( struct si_screen *screen, struct si_texture *tex, bool sampler, enum pipe_texture_target target, enum pipe_format pipe_format, const unsigned char state_swizzle[4], unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer, unsigned width, unsigned height, unsigned depth, uint32_t *state, uint32_t *fmask_state) gfx10_make_texture_descriptor() argument 4189 si_make_texture_descriptor(struct si_screen *screen, struct si_texture *tex, bool sampler, enum pipe_texture_target target, enum pipe_format pipe_format, const unsigned char state_swizzle[4], unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer, unsigned width, unsigned height, unsigned depth, uint32_t *state, uint32_t *fmask_state) si_make_texture_descriptor() argument 4522 si_create_sampler_view(struct pipe_context *ctx, struct pipe_resource *texture, const struct pipe_sampler_view *state) si_create_sampler_view() argument 4633 si_sampler_view_destroy(struct pipe_context *ctx, struct pipe_sampler_view *state) si_sampler_view_destroy() argument 4647 si_translate_border_color(struct si_context *sctx, const struct pipe_sampler_state *state, const union pipe_color_union *color, bool is_integer) si_translate_border_color() argument 4735 si_create_sampler_state(struct pipe_context *ctx, const struct pipe_sampler_state *state) si_create_sampler_state() argument 4843 si_delete_sampler_state(struct pipe_context *ctx, void *state) si_delete_sampler_state() argument 5085 si_bind_vertex_elements(struct pipe_context *ctx, void *state) si_bind_vertex_elements() argument 5134 si_delete_vertex_element(struct pipe_context *ctx, void *state) si_delete_vertex_element() argument 5232 struct si_vertex_state *state = CALLOC_STRUCT(si_vertex_state); si_create_vertex_state() local 5265 si_vertex_state_destroy(struct pipe_screen *screen, struct pipe_vertex_state *state) si_vertex_state_destroy() argument 5287 si_pipe_vertex_state_destroy(struct pipe_screen *screen, struct pipe_vertex_state *state) si_pipe_vertex_state_destroy() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_live_shader_cache.c | 52 const struct pipe_shader_state *state), in util_live_shader_cache_init() 74 const struct pipe_shader_state *state, in util_live_shader_cache_get() 83 if (state->type == PIPE_SHADER_IR_TGSI) { in util_live_shader_cache_get() 84 ir_binary = state->tokens; in util_live_shader_cache_get() 85 ir_size = tgsi_num_tokens(state->tokens) * in util_live_shader_cache_get() 87 stage = tgsi_get_processor_type(state->tokens); in util_live_shader_cache_get() 88 } else if (state->type == PIPE_SHADER_IR_NIR) { in util_live_shader_cache_get() 90 nir_serialize(&blob, state->ir.nir, true); in util_live_shader_cache_get() 93 stage = pipe_shader_type_from_mesa(((nir_shader*)state->ir.nir)->info.stage); in util_live_shader_cache_get() 107 state in util_live_shader_cache_get() 50 util_live_shader_cache_init(struct util_live_shader_cache *cache, void *(*create_shader)(struct pipe_context *, const struct pipe_shader_state *state), void (*destroy_shader)(struct pipe_context *, void *)) util_live_shader_cache_init() argument 72 util_live_shader_cache_get(struct pipe_context *ctx, struct util_live_shader_cache *cache, const struct pipe_shader_state *state, bool* cache_hit) util_live_shader_cache_get() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShaderMemory.cpp | 26 SpirvShader::EmitResult SpirvShader::EmitLoad(InsnIterator insn, EmitState *state) const in EmitLoad() 44 auto &ptr = state->getPointer(pointerId); in EmitLoad() 45 state->createPointer(resultId, ptr); in EmitLoad() 56 auto ptr = GetPointerToData(pointerId, 0, state); in EmitLoad() 58 auto &dst = state->createIntermediate(resultId, resultTy.componentCount); in EmitLoad() 59 auto robustness = state->getOutOfBoundsBehavior(pointerTy.storageClass); in EmitLoad() 64 dst.move(el.index, p.Load<SIMD::Float>(robustness, state->activeLaneMask(), atomic, memoryOrder)); in EmitLoad() 67 SPIRV_SHADER_DBG("Load(atomic: {0}, order: {1}, ptr: {2}, val: {3}, mask: {4})", atomic, int(memoryOrder), ptr, dst, state->activeLaneMask()); in EmitLoad() 72 SpirvShader::EmitResult SpirvShader::EmitStore(InsnIterator insn, EmitState *state) const in EmitStore() 86 const auto &value = Operand(this, state, objectI in EmitStore() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
H A D | tr_context.c | 99 struct pipe_framebuffer_state *state = &tr_ctx->unwrapped_state; in dump_fb_state() local 105 trace_dump_arg(framebuffer_state_deep, state); in dump_fb_state() 107 trace_dump_arg(framebuffer_state, state); in dump_fb_state() 148 struct pipe_vertex_state *state, in trace_context_draw_vertex_state() 163 trace_dump_arg(ptr, state); in trace_context_draw_vertex_state() 173 pipe->draw_vertex_state(pipe, state, partial_velem_mask, info, draws, in trace_context_draw_vertex_state() 377 const struct pipe_blend_state *state) in trace_context_create_blend_state() 386 trace_dump_arg(blend_state, state); in trace_context_create_blend_state() 388 result = pipe->create_blend_state(pipe, state); in trace_context_create_blend_state() 396 memcpy(blend, state, sizeo in trace_context_create_blend_state() 147 trace_context_draw_vertex_state(struct pipe_context *_pipe, struct pipe_vertex_state *state, uint32_t partial_velem_mask, struct pipe_draw_vertex_state_info info, const struct pipe_draw_start_count_bias *draws, unsigned num_draws) trace_context_draw_vertex_state() argument 376 trace_context_create_blend_state(struct pipe_context *_pipe, const struct pipe_blend_state *state) trace_context_create_blend_state() argument 405 trace_context_bind_blend_state(struct pipe_context *_pipe, void *state) trace_context_bind_blend_state() argument 430 trace_context_delete_blend_state(struct pipe_context *_pipe, void *state) trace_context_delete_blend_state() argument 456 trace_context_create_sampler_state(struct pipe_context *_pipe, const struct pipe_sampler_state *state) trace_context_create_sampler_state() argument 506 trace_context_delete_sampler_state(struct pipe_context *_pipe, void *state) trace_context_delete_sampler_state() argument 524 trace_context_create_rasterizer_state(struct pipe_context *_pipe, const struct pipe_rasterizer_state *state) trace_context_create_rasterizer_state() argument 553 trace_context_bind_rasterizer_state(struct pipe_context *_pipe, void *state) trace_context_bind_rasterizer_state() argument 578 trace_context_delete_rasterizer_state(struct pipe_context *_pipe, void *state) trace_context_delete_rasterizer_state() argument 604 trace_context_create_depth_stencil_alpha_state(struct pipe_context *_pipe, const struct pipe_depth_stencil_alpha_state *state) trace_context_create_depth_stencil_alpha_state() argument 633 trace_context_bind_depth_stencil_alpha_state(struct pipe_context *_pipe, void *state) trace_context_bind_depth_stencil_alpha_state() argument 658 trace_context_delete_depth_stencil_alpha_state(struct pipe_context *_pipe, void *state) trace_context_delete_depth_stencil_alpha_state() argument 748 trace_context_create_compute_state(struct pipe_context *_pipe, const struct pipe_compute_state *state) trace_context_create_compute_state() argument 765 trace_context_bind_compute_state(struct pipe_context *_pipe, void *state) trace_context_bind_compute_state() argument 779 trace_context_delete_compute_state(struct pipe_context *_pipe, void *state) trace_context_delete_compute_state() argument 821 trace_context_bind_vertex_elements_state(struct pipe_context *_pipe, void *state) trace_context_bind_vertex_elements_state() argument 839 trace_context_delete_vertex_elements_state(struct pipe_context *_pipe, void *state) trace_context_delete_vertex_elements_state() argument 857 trace_context_set_blend_color(struct pipe_context *_pipe, const struct pipe_blend_color *state) trace_context_set_blend_color() argument 875 trace_context_set_stencil_ref(struct pipe_context *_pipe, const struct pipe_stencil_ref state) trace_context_set_stencil_ref() argument 893 trace_context_set_clip_state(struct pipe_context *_pipe, const struct pipe_clip_state *state) trace_context_set_clip_state() argument 950 trace_context_set_framebuffer_state(struct pipe_context *_pipe, const struct pipe_framebuffer_state *state) trace_context_set_framebuffer_state() argument 992 trace_context_set_polygon_stipple(struct pipe_context *_pipe, const struct pipe_poly_stipple *state) trace_context_set_polygon_stipple() argument 2173 trace_context_create_texture_handle(struct pipe_context *_pipe, struct pipe_sampler_view *view, const struct pipe_sampler_state *state) trace_context_create_texture_handle() argument [all...] |
/third_party/mesa3d/src/glx/ |
H A D | clientattrib.c | 43 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in do_enable_disable() local 47 index = __glXGetActiveTextureUnit(state); in do_enable_disable() 50 if (!__glXSetArrayEnable(state, array, index, val)) { in do_enable_disable() 73 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __indirect_glPushClientAttrib() local 88 sp->storePack = state->storePack; in __indirect_glPushClientAttrib() 89 sp->storeUnpack = state->storeUnpack; in __indirect_glPushClientAttrib() 92 __glXPushArrayState(state); in __indirect_glPushClientAttrib() 105 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __indirect_glPopClientAttrib() local 117 state->storePack = sp->storePack; in __indirect_glPopClientAttrib() 118 state in __indirect_glPopClientAttrib() [all...] |
/third_party/node/deps/v8/src/maglev/ |
H A D | maglev-regalloc-data.h | 35 constexpr explicit RegisterStateFlags(uintptr_t state) in RegisterStateFlags() 36 : is_initialized((state & (1 << kIsInitializedShift)) != 0), in RegisterStateFlags() 37 is_merge((state & (1 << kIsMergeShift)) != 0) {} in RegisterStateFlags() 58 inline bool LoadMergeState(RegisterState state, RegisterMerge** merge) { in LoadMergeState() argument 59 DCHECK(state.GetPayload().is_initialized); in LoadMergeState() 60 if (state.GetPayload().is_merge) { in LoadMergeState() 61 *merge = static_cast<RegisterMerge*>(state.GetPointer()); in LoadMergeState() 68 inline bool LoadMergeState(RegisterState state, ValueNode** node, in LoadMergeState() argument 70 DCHECK(state.GetPayload().is_initialized); in LoadMergeState() 71 if (LoadMergeState(state, merg in LoadMergeState() [all...] |
/third_party/node/deps/undici/src/lib/ |
H A D | timers.js | 16 if (timer.state === 0) { 17 timer.state = fastNow + timer.delay 18 } else if (timer.state > 0 && fastNow >= timer.state) { 19 timer.state = -1 23 if (timer.state === -1) { 24 timer.state = -2 63 this.state = -2 69 if (this.state === -2) { 76 this.state [all...] |
/third_party/python/Modules/_sqlite/ |
H A D | microprotocols.c | 39 pysqlite_state *state = pysqlite_get_state(module); in pysqlite_microprotocols_init() local 40 state->psyco_adapters = PyDict_New(); in pysqlite_microprotocols_init() 41 if (state->psyco_adapters == NULL) { in pysqlite_microprotocols_init() 45 return PyModule_AddObjectRef(module, "adapters", state->psyco_adapters); in pysqlite_microprotocols_init() 52 pysqlite_microprotocols_add(pysqlite_state *state, PyTypeObject *type, in pysqlite_microprotocols_add() argument 65 rc = PyDict_SetItem(state->psyco_adapters, key, cast); in pysqlite_microprotocols_add() 74 pysqlite_microprotocols_adapt(pysqlite_state *state, PyObject *obj, in pysqlite_microprotocols_adapt() argument 88 adapter = PyDict_GetItemWithError(state->psyco_adapters, key); in pysqlite_microprotocols_adapt() 101 if (_PyObject_LookupAttr(proto, state->str___adapt__, &adapter) < 0) { in pysqlite_microprotocols_adapt() 120 if (_PyObject_LookupAttr(obj, state in pysqlite_microprotocols_adapt() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | fips_prf_wolfssl.c | 17 static void sha1_transform(u32 *state, const u8 data[64]) in sha1_transform() argument 22 sha.digest[0] = state[0]; in sha1_transform() 23 sha.digest[1] = state[1]; in sha1_transform() 24 sha.digest[2] = state[2]; in sha1_transform() 25 sha.digest[3] = state[3]; in sha1_transform() 26 sha.digest[4] = state[4]; in sha1_transform() 28 state[0] = sha.digest[0]; in sha1_transform() 29 state[1] = sha.digest[1]; in sha1_transform() 30 state[2] = sha.digest[2]; in sha1_transform() 31 state[ in sha1_transform() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | fips_prf_wolfssl.c | 17 static void sha1_transform(u32 *state, const u8 data[64]) in sha1_transform() argument 22 sha.digest[0] = state[0]; in sha1_transform() 23 sha.digest[1] = state[1]; in sha1_transform() 24 sha.digest[2] = state[2]; in sha1_transform() 25 sha.digest[3] = state[3]; in sha1_transform() 26 sha.digest[4] = state[4]; in sha1_transform() 28 state[0] = sha.digest[0]; in sha1_transform() 29 state[1] = sha.digest[1]; in sha1_transform() 30 state[2] = sha.digest[2]; in sha1_transform() 31 state[ in sha1_transform() [all...] |
/third_party/alsa-utils/axfer/ |
H A D | waiter-select.c | 44 struct select_state *state = waiter->private_data; in select_wait_event() local 51 FD_ZERO(&state->rfds_rd); in select_wait_event() 52 FD_ZERO(&state->rfds_wr); in select_wait_event() 53 FD_ZERO(&state->rfds_ex); in select_wait_event() 60 FD_SET(pfd->fd, &state->rfds_rd); in select_wait_event() 62 FD_SET(pfd->fd, &state->rfds_wr); in select_wait_event() 64 FD_SET(pfd->fd, &state->rfds_ex); in select_wait_event() 77 err = select(fd_max + 1, &state->rfds_rd, &state->rfds_wr, in select_wait_event() 78 &state in select_wait_event() [all...] |
/third_party/FreeBSD/lib/libc/stdio/ |
H A D | parsefloat.c | 53 } state = S_START; in parsefloat() local 77 switch (state) { in parsefloat() 79 state = S_GOTSIGN; in parsefloat() 87 state = S_MAYBEHEX; in parsefloat() 92 state = S_INF; in parsefloat() 96 state = S_NAN; in parsefloat() 99 state = S_DIGITS; in parsefloat() 141 state = S_DIGITS; in parsefloat() 153 state = S_FRAC; in parsefloat() 164 state in parsefloat() [all...] |
/third_party/libwebsockets/lib/core-net/ |
H A D | state.c | 51 _systnm(lws_state_manager_t *mgr, int state, char *temp8) in _systnm() argument 54 lws_snprintf(temp8, 8, "%d", state); in _systnm() 58 return mgr->state_names[state]; in _systnm() 98 if (_report(mgr, mgr->state, target)) in _lws_state_transition() 104 mgr->state, _systnm(mgr, mgr->state, temp8), target, in _lws_state_transition() 108 mgr->state = target; in _lws_state_transition() 116 mgr->smd_class, "{\"state\":\"%s\"}", in _lws_state_transition() 128 int i = mgr->state; in lws_state_transition_steps() 132 if (mgr->state > targe in lws_state_transition_steps() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_clamp_color_outputs.c | 34 is_color_output(lower_state *state, nir_variable *out) in is_color_output() argument 36 switch (state->shader->info.stage) { in is_color_output() 59 lower_intrinsic(lower_state *state, nir_intrinsic_instr *intr) in lower_intrinsic() argument 62 nir_builder *b = &state->b; in lower_intrinsic() 71 nir_foreach_shader_out_variable(var, state->shader) { in lower_intrinsic() 87 if (is_color_output(state, out)) { in lower_intrinsic() 99 lower_block(lower_state *state, nir_block *block) in lower_block() argument 105 progress |= lower_intrinsic(state, nir_instr_as_intrinsic(instr)); in lower_block() 112 lower_impl(lower_state *state, nir_function_impl *impl) in lower_impl() argument 114 nir_builder_init(&state in lower_impl() 130 lower_state state = { nir_lower_clamp_color_outputs() local [all...] |