Home
last modified time | relevance | path

Searched refs:val (Results 1201 - 1225 of 5866) sorted by relevance

1...<<41424344454647484950>>...235

/third_party/ltp/testcases/kernel/syscalls/bpf/
H A Dbpf_prog01.c81 uint64_t val; in run() local
89 bpf_map_array_get(map_fd, &key, &val); in run()
90 if (val != 1) { in run()
92 "val = %lu, but should be val = 1", in run()
93 val); in run()
95 tst_res(TPASS, "val = 1"); in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
H A D6-1.c17 * 5) If sempost() succeeds (verified if val is incremented by 1),
49 int val; in main() local
76 if (sem_getvalue(gsemp, &val) == -1) { in main()
80 if (val != SEMINITVAL + 1) { in main()
88 printf("semaphore value was %d\n", val); in main()
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dpacket.h37 void AddWord8(uint8_t val);
43 void AddNumberSep(uint64_t val, char sep);
62 bool GetWord8(uint8_t* val);
66 bool GetNumberSep(uint64_t* val, char* sep);
/third_party/python/Lib/ctypes/test/
H A Dtest_array_in_pointer.py14 _fields_ = [("val", c_byte)]
33 c.pvalues[i].val = i + 1
35 values = [c.pvalues[i].val for i in range(4)]
53 ptr[i].val = i + 1
55 values = [ptr[i].val for i in range(4)]
/third_party/vk-gl-cts/external/amber/src/include/amber/
H A Dvalue.h32 void SetIntValue(uint64_t val) { in SetIntValue() argument
34 uint_value_ = val; in SetIntValue()
38 void SetDoubleValue(double val) { in SetDoubleValue() argument
40 double_value_ = val; in SetDoubleValue()
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dquerystring_example.c41 const char *val; in ahc_echo() local
55 val = MHD_lookup_connection_value (connection, MHD_GET_ARGUMENT_KIND, "q"); in ahc_echo()
56 me = malloc (snprintf (NULL, 0, fmt, "q", val) + 1); in ahc_echo()
59 sprintf (me, fmt, "q", val); in ahc_echo()
/third_party/typescript/tests/baselines/reference/
H A DcollisionThisExpressionAndLocalVarInAccessors.js13 set a(val: number) {
35 set a(val: number) {
61 set: function (val) {
89 set: function (val) {
H A DnoCollisionThisExpressionAndLocalVarInAccessors.js13 set a(val: number) {
35 set a(val: number) {
60 set: function (val) {
86 set: function (val) {
/third_party/protobuf/php/ext/google/protobuf/
H A Darena.c66 void Arena_Init(zval* val) { in Arena_Init() argument
67 ZVAL_OBJ(val, Arena_Create(Arena_class_entry)); in Arena_Init()
70 upb_arena *Arena_Get(zval *val) { in Arena_Get() argument
71 Arena *a = (Arena*)Z_OBJ_P(val); in Arena_Get()
/third_party/vk-gl-cts/framework/common/
H A DtcuPixelFormat.hpp87 static inline int convertChannel (int val, int bits) in convertChannel()
95 return (val & 0x80) ? 0xff : 0; in convertChannel()
100 int intComp = val >> (8 - bits); in convertChannel()
107 return val; in convertChannel()
/third_party/f2fs-tools/fsck/
H A Dmain.c235 int opt = 0, val; in f2fs_parse_options() local
360 val = f2fs_str2encoding(token); in f2fs_parse_options()
361 if (val < 0) { in f2fs_parse_options()
365 c.s_encoding = val; in f2fs_parse_options()
367 val = f2fs_str2encoding_flags(&token, &c.s_encoding_flags); in f2fs_parse_options()
368 if (val) { in f2fs_parse_options()
538 int val; in f2fs_parse_options() local
579 val = f2fs_str2encoding(token); in f2fs_parse_options()
580 if (val < 0) { in f2fs_parse_options()
583 c.s_encoding = val; in f2fs_parse_options()
622 int val; f2fs_parse_options() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dsmacker.c158 int val, i1, i2; in smacker_decode_bigtree() local
163 val = i1 | (i2 << 8); in smacker_decode_bigtree()
164 if(val == ctx->escapes[0]) { in smacker_decode_bigtree()
166 val = 0; in smacker_decode_bigtree()
167 } else if(val == ctx->escapes[1]) { in smacker_decode_bigtree()
169 val = 0; in smacker_decode_bigtree()
170 } else if(val == ctx->escapes[2]) { in smacker_decode_bigtree()
172 val = 0; in smacker_decode_bigtree()
175 ctx->values[ctx->current++] = val; in smacker_decode_bigtree()
604 unsigned pred[2], val, val in smka_decode_frame() local
[all...]
H A Dproresdec2.c63 int i, idx, val, alpha_val; in unpack_alpha() local
70 val = get_bits(gb, num_bits); in unpack_alpha()
73 val = get_bits(gb, num_bits == 16 ? 7 : 4); in unpack_alpha()
74 sign = val & 1; in unpack_alpha()
75 val = (val + 2) >> 1; in unpack_alpha()
77 val = -val; in unpack_alpha()
79 alpha_val = (alpha_val + val) & mask; in unpack_alpha()
96 val in unpack_alpha()
[all...]
/third_party/backends/backend/genesys/
H A Dimage_pixel.cpp118 std::uint16_t val = read_bit(data, x) ? 0xffff : 0x0000; in get_pixel_from_row() local
119 return Pixel(val, val, val); in get_pixel_from_row()
129 std::uint16_t val = std::uint16_t(data[x]) | (data[x] << 8); in get_pixel_from_row() local
130 return Pixel(val, val, val); in get_pixel_from_row()
134 std::uint16_t val = std::uint16_t(data[x]) | (data[x + 1] << 8); in get_pixel_from_row() local
135 return Pixel(val, va in get_pixel_from_row()
184 float val = (pixel.r >> 8) * 0.3f; set_pixel_to_row() local
192 float val = pixel.r * 0.3f; set_pixel_to_row() local
[all...]
/third_party/mesa3d/src/freedreno/perfcntrs/
H A Dfdperf.c149 uint64_t val; in find_device() local
150 ret = fd_pipe_get_param(dev.pipe, FD_CHIP_ID, &val); in find_device()
154 dev.chipid = val; in find_device()
165 ret = fd_pipe_get_param(dev.pipe, FD_MAX_FREQ, &val); in find_device()
172 dev.max_freq = val; in find_device()
299 uint32_t val = *group->counter[ctr].val_lo; in resample_counter() local
302 uint32_t dval = delta(group->last[ctr], val); in resample_counter()
304 group->last[ctr] = val; in resample_counter()
388 redraw_counter_value_cycles(WINDOW *win, float val) in redraw_counter_value_cycles() argument
396 val in redraw_counter_value_cycles()
423 redraw_counter_value_raw(WINDOW *win, float val) redraw_counter_value_raw() argument
731 float val = group->current[j]; dump_counters() local
[all...]
/third_party/mesa3d/src/mesa/main/
H A Ddebug_output.c344 uint32_t mask, val; in debug_namespace_set_all() local
355 val = (enabled) ? mask : 0; in debug_namespace_set_all()
357 ns->DefaultState = (ns->DefaultState & ~mask) | val; in debug_namespace_set_all()
361 elem->State = (elem->State & ~mask) | val; in debug_namespace_set_all()
802 _mesa_set_debug_state_int(struct gl_context *ctx, GLenum pname, GLint val) in _mesa_set_debug_state_int() argument
811 debug->DebugOutput = (val != 0); in _mesa_set_debug_state_int()
814 debug->SyncOutput = (val != 0); in _mesa_set_debug_state_int()
833 GLint val; in _mesa_get_debug_state_int() local
841 val = debug->DebugOutput; in _mesa_get_debug_state_int()
844 val in _mesa_get_debug_state_int()
874 void *val; _mesa_get_debug_state_ptr() local
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_emit.c315 uint32_t val = VIVS_GL_MULTI_SAMPLE_CONFIG_MSAA_ENABLES(ctx->sample_mask); in etna_emit_state() local
316 val |= ctx->framebuffer.GL_MULTI_SAMPLE_CONFIG; in etna_emit_state()
318 /*03818*/ EMIT_STATE(GL_MULTI_SAMPLE_CONFIG, val); in etna_emit_state()
388 uint32_t val = etna_rasterizer_state(ctx->rasterizer)->PA_CONFIG; in etna_emit_state() local
389 /*00A34*/ EMIT_STATE(PA_CONFIG, val & ctx->shader_state.PA_CONFIG); in etna_emit_state()
451 uint32_t val = etna_zsa_state(ctx->zsa)->PE_STENCIL_OP[ccw]; in etna_emit_state() local
452 /*01418*/ EMIT_STATE(PE_STENCIL_OP, val); in etna_emit_state()
455 uint32_t val = etna_zsa_state(ctx->zsa)->PE_STENCIL_CONFIG[ccw]; in etna_emit_state() local
456 /*0141C*/ EMIT_STATE(PE_STENCIL_CONFIG, val | ctx->stencil_ref.PE_STENCIL_CONFIG[ccw]); in etna_emit_state()
459 uint32_t val in etna_emit_state() local
466 uint32_t val = etna_blend_state(ctx->blend)->PE_ALPHA_CONFIG; etna_emit_state() local
470 uint32_t val; etna_emit_state() local
494 uint32_t val = etna_zsa_state(ctx->zsa)->PE_STENCIL_CONFIG_EXT; etna_emit_state() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Ddpp_backup.c542 int val; in dpp_parse_recipient_infos() local
584 if (asn1_get_integer(pos, end - pos, &val, &pos) < 0) in dpp_parse_recipient_infos()
586 if (val != 0) { in dpp_parse_recipient_infos()
651 if (asn1_get_integer(pos, e_end - pos, &val, &pos) < 0) in dpp_parse_recipient_infos()
653 if (val != 1000) { in dpp_parse_recipient_infos()
654 wpa_printf(MSG_DEBUG, "DPP: Unexpected iterationCount %d", val); in dpp_parse_recipient_infos()
658 if (asn1_get_integer(pos, e_end - pos, &val, &pos) < 0) in dpp_parse_recipient_infos()
660 if (val != 32 && val != 48 && val ! in dpp_parse_recipient_infos()
804 int val; dpp_parse_enveloped_data() local
861 int val; dpp_parse_one_asymmetric_key() local
[all...]
/third_party/backends/backend/
H A Dbh.c1369 section_parse(const char *val, BH_Section *sect, SANE_Int res, SANE_Int comp) in section_parse() argument
1387 if (strlen(val) > sizeof(buf) - 1) in section_parse()
1395 strcpy(buf, val); in section_parse()
1484 val, in section_parse()
1497 setup_sections (BH_Scanner *s, const char *val) in setup_sections() argument
1506 if (strlen(val) > sizeof(buf) - 1) in setup_sections()
1513 strcpy(buf, val); in setup_sections()
1537 if (section > buf + strlen(val)) break; in setup_sections()
2322 memset (s->val, 0, sizeof (s->val)); in init_options()
3346 sane_control_option(SANE_Handle handle, SANE_Int option, SANE_Action action, void *val, SANE_Word *info) sane_control_option() argument
[all...]
/third_party/musl/src/thread/
H A Dpthread_setconcurrency.c4 int pthread_setconcurrency(int val) in pthread_setconcurrency() argument
6 if (val < 0) return EINVAL; in pthread_setconcurrency()
7 if (val > 0) return EAGAIN; in pthread_setconcurrency()
/third_party/ltp/tools/sparse/sparse-src/validation/
H A Ddouble-semicolon.c4 struct { int foo;; } val; in test() local
5 memset(&val, 0, sizeof(val)); in test()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fUniformApiTests.cpp100 int val = -1; in getGLInt() local
101 funcs.getIntegerv(name, &val); in getGLInt()
102 return val; in getGLInt()
248 } val;
500 result.val.floatV[i] = sampler.val.samplerV.fillColor[i]; in getSamplerFillValue()
511 result.val.intV[0] = sampler.val.samplerV.unit; in getSamplerUnitValue()
530 result << de::floatToString(value.val.floatV[i], 2); in shaderVarValueStr()
532 result << de::toString(value.val in shaderVarValueStr()
[all...]
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ddr_init/boot/hi3518ev300/
H A Dlowlevel_init_v300.c40 unsigned int val; in readl() local
42 val = (*(volatile unsigned int *)(addr)); in readl()
43 return val; in readl()
46 static inline void writel(unsigned val, unsigned addr) in writel() argument
49 (*(volatile unsigned *) (addr)) = (val); in writel()
83 #define reg_set(addr, val) writel(val, (unsigned int)addr)
130 static unsigned hpm_value_avg(unsigned int* val) in hpm_value_avg() argument
136 tmp += val[i] >> 2; in hpm_value_avg()
/device/board/hihope/rk3568/audio_drivers/dai/src/
H A Drk3568_dai_linux_driver.c203 int val; in rockchip_i2s_tdm_probe() local
222 if (!of_property_read_u32(node, "rockchip,bclk-fs", &val)) { in rockchip_i2s_tdm_probe()
223 if ((val >= 32) && (val % 2 == 0)) // min-freq div factor is 32, and it is an integer multiple of 2 in rockchip_i2s_tdm_probe()
224 i2s_tdm->bclk_fs = val; in rockchip_i2s_tdm_probe()
228 if (!of_property_read_u32(node, "rockchip,clk-trcm", &val)) { in rockchip_i2s_tdm_probe()
229 if (val >= 0 && val <= 2) { // clk-trcm factor should between 0 and 2 in rockchip_i2s_tdm_probe()
230 i2s_tdm->clk_trcm = val << I2S_CKR_TRCM_SHIFT; in rockchip_i2s_tdm_probe()
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/boot/
H A Dlowlevel_init_v300.c40 unsigned int val; in readl() local
42 val = (*(volatile unsigned int *)((uintptr_t)(addr))); in readl()
43 return val; in readl()
46 static inline void writel(unsigned val, unsigned addr) in writel() argument
49 (*(volatile unsigned *)((uintptr_t)(addr))) = (val); in writel()
83 #define reg_set(addr, val) writel(val, (unsigned int)addr)
239 static unsigned hpm_value_avg(const unsigned int* val) in hpm_value_avg() argument
245 tmp += val[i] >> 2; in hpm_value_avg()

Completed in 18 milliseconds

1...<<41424344454647484950>>...235