Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 6888) sorted by relevance

12345678910>>...276

/third_party/typescript/tests/baselines/reference/
DcontrolFlowManyCallExpressionStatementsPerf.js4 let state = true;
6 if (state) {
7 test(state as any && state);
8 test(state as any && state);
9 test(state as any && state);
10 test(state as any && state);
11 test(state as any && state);
12 test(state as any && state);
13 test(state as any && state);
14 test(state as any && state);
[all …]
DcontrolFlowManyCallExpressionStatementsPerf.types7 let state = true;
8 >state : boolean
11 if (state) {
12 >state : true
14 test(state as any && state);
15 >test(state as any && state) : boolean
17 >state as any && state : any
18 >state as any : any
19 >state : true
20 >state : true
[all …]
DcontrolFlowManyCallExpressionStatementsPerf.symbols7 let state = true;
8 >state : Symbol(state, Decl(controlFlowManyCallExpressionStatementsPerf.ts, 2, 3))
10 if (state) {
11 >state : Symbol(state, Decl(controlFlowManyCallExpressionStatementsPerf.ts, 2, 3))
13 test(state as any && state);
15 >state : Symbol(state, Decl(controlFlowManyCallExpressionStatementsPerf.ts, 2, 3))
16 >state : Symbol(state, Decl(controlFlowManyCallExpressionStatementsPerf.ts, 2, 3))
18 test(state as any && state);
20 >state : Symbol(state, Decl(controlFlowManyCallExpressionStatementsPerf.ts, 2, 3))
21 >state : Symbol(state, Decl(controlFlowManyCallExpressionStatementsPerf.ts, 2, 3))
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Ddemangle.cc189 explicit ComplexityGuard(State *state) : state_(state) { in ComplexityGuard() argument
190 ++state->recursion_depth; in ComplexityGuard()
191 ++state->steps; in ComplexityGuard()
256 static void InitState(State *state, const char *mangled, char *out, in InitState() argument
258 state->mangled_begin = mangled; in InitState()
259 state->out = out; in InitState()
260 state->out_end_idx = out_size; in InitState()
261 state->recursion_depth = 0; in InitState()
262 state->steps = 0; in InitState()
264 state->parse_state.mangled_idx = 0; in InitState()
[all …]
/third_party/typescript/tests/cases/compiler/
DcontrolFlowManyCallExpressionStatementsPerf.ts5 let state = true; variable
7 if (state) {
8 test(state as any && state);
9 test(state as any && state);
10 test(state as any && state);
11 test(state as any && state);
12 test(state as any && state);
13 test(state as any && state);
14 test(state as any && state);
15 test(state as any && state);
[all …]
/third_party/libwebsockets/win32port/zlib/
Dinflate.c95 local void fixedtables OF((struct inflate_state FAR *state));
106 struct inflate_state FAR *state; local
108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
109 state = (struct inflate_state FAR *)strm->state;
110 strm->total_in = strm->total_out = state->total = 0;
113 state->mode = HEAD;
114 state->last = 0;
115 state->havedict = 0;
116 state->dmax = 32768U;
117 state->head = Z_NULL;
[all …]
Dgzread.c21 local int gz_load(state, buf, len, have) in gz_load() argument
22 gz_statep state; in gz_load()
31 ret = read(state->fd, buf + *have, len - *have);
37 gz_error(state, Z_ERRNO, zstrerror());
41 state->eof = 1;
50 local int gz_avail(state) in gz_avail() argument
51 gz_statep state; in gz_avail()
53 z_streamp strm = &(state->strm);
55 if (state->err != Z_OK)
57 if (state->eof == 0) {
[all …]
/third_party/node/deps/v8/third_party/zlib/contrib/optimizations/
Dinflate.c97 local void fixedtables OF((struct inflate_state FAR *state));
109 struct inflate_state FAR *state; local
113 state = (struct inflate_state FAR *)strm->state;
114 if (state == Z_NULL || state->strm != strm ||
115 state->mode < HEAD || state->mode > SYNC)
123 struct inflate_state FAR *state; local
126 state = (struct inflate_state FAR *)strm->state;
127 strm->total_in = strm->total_out = state->total = 0;
129 if (state->wrap) /* to support ill-conceived Java test suite */
130 strm->adler = state->wrap & 1;
[all …]
/third_party/node/deps/zlib/contrib/optimizations/
Dinflate.c96 struct inflate_state FAR *state; in inflateStateCheck() local
100 state = (struct inflate_state FAR *)strm->state; in inflateStateCheck()
101 if (state == Z_NULL || state->strm != strm || in inflateStateCheck()
102 state->mode < HEAD || state->mode > SYNC) in inflateStateCheck()
108 struct inflate_state FAR *state; in inflateResetKeep() local
111 state = (struct inflate_state FAR *)strm->state; in inflateResetKeep()
112 strm->total_in = strm->total_out = state->total = 0; in inflateResetKeep()
114 if (state->wrap) /* to support ill-conceived Java test suite */ in inflateResetKeep()
115 strm->adler = state->wrap & 1; in inflateResetKeep()
116 state->mode = HEAD; in inflateResetKeep()
[all …]
/third_party/zlib/
Dinflate.c96 local void fixedtables OF((struct inflate_state FAR *state));
108 struct inflate_state FAR *state; local
112 state = (struct inflate_state FAR *)strm->state;
113 if (state == Z_NULL || state->strm != strm ||
114 state->mode < HEAD || state->mode > SYNC)
122 struct inflate_state FAR *state; local
125 state = (struct inflate_state FAR *)strm->state;
126 strm->total_in = strm->total_out = state->total = 0;
128 if (state->wrap) /* to support ill-conceived Java test suite */
129 strm->adler = state->wrap & 1;
[all …]
Dgzread.c23 local int gz_load(state, buf, len, have) in gz_load() argument
24 gz_statep state; in gz_load()
37 ret = read(state->fd, buf + *have, get);
43 gz_error(state, Z_ERRNO, zstrerror());
47 state->eof = 1;
58 local int gz_avail(state) in gz_avail() argument
59 gz_statep state; in gz_avail()
62 z_streamp strm = &(state->strm);
64 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
66 if (state->eof == 0) {
[all …]
/third_party/node/deps/v8/third_party/zlib/
Dinflate.c96 local void fixedtables OF((struct inflate_state FAR *state));
108 struct inflate_state FAR *state; local
112 state = (struct inflate_state FAR *)strm->state;
113 if (state == Z_NULL || state->strm != strm ||
114 state->mode < HEAD || state->mode > SYNC)
122 struct inflate_state FAR *state; local
125 state = (struct inflate_state FAR *)strm->state;
126 strm->total_in = strm->total_out = state->total = 0;
128 if (state->wrap) /* to support ill-conceived Java test suite */
129 strm->adler = state->wrap & 1;
[all …]
Dgzread.c21 local int gz_load(state, buf, len, have) in gz_load() argument
22 gz_statep state; in gz_load()
35 ret = read(state->fd, buf + *have, get);
41 gz_error(state, Z_ERRNO, zstrerror());
45 state->eof = 1;
56 local int gz_avail(state) in gz_avail() argument
57 gz_statep state; in gz_avail()
60 z_streamp strm = &(state->strm);
62 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
64 if (state->eof == 0) {
[all …]
/third_party/node/deps/zlib/
Dinflate.c95 struct inflate_state FAR *state; in inflateStateCheck() local
99 state = (struct inflate_state FAR *)strm->state; in inflateStateCheck()
100 if (state == Z_NULL || state->strm != strm || in inflateStateCheck()
101 state->mode < HEAD || state->mode > SYNC) in inflateStateCheck()
107 struct inflate_state FAR *state; in inflateResetKeep() local
110 state = (struct inflate_state FAR *)strm->state; in inflateResetKeep()
111 strm->total_in = strm->total_out = state->total = 0; in inflateResetKeep()
113 if (state->wrap) /* to support ill-conceived Java test suite */ in inflateResetKeep()
114 strm->adler = state->wrap & 1; in inflateResetKeep()
115 state->mode = HEAD; in inflateResetKeep()
[all …]
Dgzread.c12 local int gz_load(gz_statep state, unsigned char *buf, unsigned len, in gz_load() argument
22 ret = read(state->fd, buf + *have, get); in gz_load()
28 gz_error(state, Z_ERRNO, zstrerror()); in gz_load()
32 state->eof = 1; in gz_load()
43 local int gz_avail(gz_statep state) { in gz_avail() argument
45 z_streamp strm = &(state->strm); in gz_avail()
47 if (state->err != Z_OK && state->err != Z_BUF_ERROR) in gz_avail()
49 if (state->eof == 0) { in gz_avail()
51 unsigned char *p = state->in; in gz_avail()
58 if (gz_load(state, state->in + strm->avail_in, in gz_avail()
[all …]
Dgzwrite.c11 local int gz_init(gz_statep state) { in gz_init() argument
13 z_streamp strm = &(state->strm); in gz_init()
16 state->in = (unsigned char *)malloc(state->want << 1); in gz_init()
17 if (state->in == NULL) { in gz_init()
18 gz_error(state, Z_MEM_ERROR, "out of memory"); in gz_init()
23 if (!state->direct) { in gz_init()
25 state->out = (unsigned char *)malloc(state->want); in gz_init()
26 if (state->out == NULL) { in gz_init()
27 free(state->in); in gz_init()
28 gz_error(state, Z_MEM_ERROR, "out of memory"); in gz_init()
[all …]
/third_party/skia/third_party/externals/zlib/contrib/optimizations/
Dinflate.c97 local void fixedtables OF((struct inflate_state FAR *state));
109 struct inflate_state FAR *state; local
113 state = (struct inflate_state FAR *)strm->state;
114 if (state == Z_NULL || state->strm != strm ||
115 state->mode < HEAD || state->mode > SYNC)
123 struct inflate_state FAR *state; local
126 state = (struct inflate_state FAR *)strm->state;
127 strm->total_in = strm->total_out = state->total = 0;
129 if (state->wrap) /* to support ill-conceived Java test suite */
130 strm->adler = state->wrap & 1;
[all …]
/third_party/skia/third_party/externals/zlib/
Dinflate.c96 local void fixedtables OF((struct inflate_state FAR *state));
108 struct inflate_state FAR *state; local
112 state = (struct inflate_state FAR *)strm->state;
113 if (state == Z_NULL || state->strm != strm ||
114 state->mode < HEAD || state->mode > SYNC)
122 struct inflate_state FAR *state; local
125 state = (struct inflate_state FAR *)strm->state;
126 strm->total_in = strm->total_out = state->total = 0;
128 if (state->wrap) /* to support ill-conceived Java test suite */
129 strm->adler = state->wrap & 1;
[all …]
Dgzread.c21 local int gz_load(state, buf, len, have) in gz_load() argument
22 gz_statep state; in gz_load()
35 ret = read(state->fd, buf + *have, get);
41 gz_error(state, Z_ERRNO, zstrerror());
45 state->eof = 1;
56 local int gz_avail(state) in gz_avail() argument
57 gz_statep state; in gz_avail()
60 z_streamp strm = &(state->strm);
62 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
64 if (state->eof == 0) {
[all …]
/third_party/skia/third_party/externals/freetype/src/lzw/
Dftzopen.c29 ft_lzwstate_refill( FT_LzwState state ) in ft_lzwstate_refill() argument
34 if ( state->in_eof ) in ft_lzwstate_refill()
37 count = FT_Stream_TryRead( state->source, in ft_lzwstate_refill()
38 state->buf_tab, in ft_lzwstate_refill()
39 state->num_bits ); /* WHY? */ in ft_lzwstate_refill()
41 state->buf_size = (FT_UInt)count; in ft_lzwstate_refill()
42 state->buf_total += count; in ft_lzwstate_refill()
43 state->in_eof = FT_BOOL( count < state->num_bits ); in ft_lzwstate_refill()
44 state->buf_offset = 0; in ft_lzwstate_refill()
46 state->buf_size <<= 3; in ft_lzwstate_refill()
[all …]
/third_party/alsa-utils/axfer/
Dxfer-libasound.c65 struct libasound_state *state = xfer->private_data; in xfer_libasound_init() local
68 err = snd_output_stdio_attach(&state->log, stderr, 0); in xfer_libasound_init()
72 err = snd_pcm_hw_params_malloc(&state->hw_params); in xfer_libasound_init()
76 return snd_pcm_sw_params_malloc(&state->sw_params); in xfer_libasound_init()
82 struct libasound_state *state = xfer->private_data; in xfer_libasound_parse_opt() local
86 state->node_literal = arg_duplicate_string(optarg, &err); in xfer_libasound_parse_opt()
88 state->nonblock = true; in xfer_libasound_parse_opt()
90 state->mmap = true; in xfer_libasound_parse_opt()
92 state->msec_per_period = arg_parse_decimal_num(optarg, &err); in xfer_libasound_parse_opt()
94 state->msec_per_buffer = arg_parse_decimal_num(optarg, &err); in xfer_libasound_parse_opt()
[all …]
/third_party/rust/crates/syn/src/gen/
Dhash.rs11 fn hash<H>(&self, state: &mut H) in hash()
15 self.name.hash(state); in hash()
21 fn hash<H>(&self, state: &mut H) in hash()
25 self.colon2_token.hash(state); in hash()
26 self.args.hash(state); in hash()
32 fn hash<H>(&self, state: &mut H) in hash()
36 self.attrs.hash(state); in hash()
37 self.pat.hash(state); in hash()
38 self.guard.hash(state); in hash()
39 self.body.hash(state); in hash()
[all …]
/third_party/skia/third_party/externals/imgui/
Dimstb_textedit.h458 static void stb_textedit_click(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, float x, float y) in stb_textedit_click() argument
462 if( state->single_line ) in stb_textedit_click()
469 state->cursor = stb_text_locate_coord(str, x, y); in stb_textedit_click()
470 state->select_start = state->cursor; in stb_textedit_click()
471 state->select_end = state->cursor; in stb_textedit_click()
472 state->has_preferred_x = 0; in stb_textedit_click()
476 static void stb_textedit_drag(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, float x, float y) in stb_textedit_drag() argument
482 if( state->single_line ) in stb_textedit_drag()
489 if (state->select_start == state->select_end) in stb_textedit_drag()
490 state->select_start = state->cursor; in stb_textedit_drag()
[all …]
/third_party/mesa3d/src/imgui/
Dimstb_textedit.h456 static void stb_textedit_click(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, float x, float y) in stb_textedit_click() argument
460 if( state->single_line ) in stb_textedit_click()
467 state->cursor = stb_text_locate_coord(str, x, y); in stb_textedit_click()
468 state->select_start = state->cursor; in stb_textedit_click()
469 state->select_end = state->cursor; in stb_textedit_click()
470 state->has_preferred_x = 0; in stb_textedit_click()
474 static void stb_textedit_drag(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, float x, float y) in stb_textedit_drag() argument
480 if( state->single_line ) in stb_textedit_drag()
487 if (state->select_start == state->select_end) in stb_textedit_drag()
488 state->select_start = state->cursor; in stb_textedit_drag()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVertexStateValidationTests.cpp23 const utils::ComboVertexState& state, in CreatePipeline() argument
34 descriptor.vertex.bufferCount = state.vertexBufferCount; in CreatePipeline()
35 descriptor.vertex.buffers = &state.cVertexBuffers[0]; in CreatePipeline()
55 utils::ComboVertexState state; in TEST_F() local
56 CreatePipeline(true, state, kDummyVertexShader); in TEST_F()
61 utils::ComboVertexState state; in TEST_F() local
63 state.vertexBufferCount = 1; in TEST_F()
64 state.cVertexBuffers[0].arrayStride = 0; in TEST_F()
65 state.cVertexBuffers[0].attributeCount = 0; in TEST_F()
66 state.cVertexBuffers[0].attributes = nullptr; in TEST_F()
[all …]

12345678910>>...276