/third_party/lwip/src/netif/ppp/ |
H A D | lcp.c | 844 #define ADDCISHORT(opt, neg, val) \ in lcp_addci() 848 PUTSHORT(val, ucp); \ in lcp_addci() 851 #define ADDCICHAP(opt, neg, val) \ in lcp_addci() 856 PUTCHAR((CHAP_DIGEST(val)), ucp); \ in lcp_addci() 859 #define ADDCILONG(opt, neg, val) \ in lcp_addci() 863 PUTLONG(val, ucp); \ in lcp_addci() 866 #define ADDCILQR(opt, neg, val) \ in lcp_addci() 871 PUTLONG(val, ucp); \ in lcp_addci() 874 #define ADDCICHAR(opt, neg, val) \ in lcp_addci() 878 PUTCHAR(val, uc in lcp_addci() [all...] |
/third_party/f2fs-tools/fsck/ |
H A D | main.c | 235 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 D | smacker.c | 158 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 D | proresdec2.c | 63 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 D | image_pixel.cpp | 118 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 D | fdperf.c | 149 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 D | debug_output.c | 344 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 D | etnaviv_emit.c | 315 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 D | dpp_backup.c | 542 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 D | bh.c | 1369 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...] |
/drivers/peripheral/display/hal/default_standard/include/ |
H A D | display_common.h | 106 #define DISPLAY_CHK_RETURN(val, ret, ...) \
108 if (val) { \
116 #define DISPLAY_CHK_RETURN_NOT_VALUE(val, ...) \
118 if (val) { \
|
/drivers/peripheral/display/utils/include/ |
H A D | display_log.h | 98 #define DISPLAY_CHK_RETURN(val, ret, ...) \ 100 if (val) { \ 108 #define DISPLAY_CHK_RETURN_NOT_VALUE(val, ...) \ 110 if (val) { \
|
/third_party/backends/include/sane/ |
H A D | sanei_pp.h | 144 * @param val - data to write. 147 extern SANE_Status sanei_pp_outb_data( int fd, SANE_Byte val ); 148 extern SANE_Status sanei_pp_outb_ctrl( int fd, SANE_Byte val ); 149 extern SANE_Status sanei_pp_outb_addr( int fd, SANE_Byte val ); 150 extern SANE_Status sanei_pp_outb_epp ( int fd, SANE_Byte val );
|
/third_party/mesa3d/src/amd/common/ |
H A D | ac_drm_fourcc.h | 35 #define fourcc_mod_code(vendor, val) \ 36 ((((__u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | ((val) & 0x00ffffffffffffffULL)) 40 #define IS_AMD_FMT_MOD(val) (((val) >> 56) == DRM_FORMAT_MOD_VENDOR_AMD)
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_patch_vertices.c | 83 nir_ssa_def *val = NULL; in nir_lower_patch_vertices() local 85 val = nir_imm_int(&b, static_count); in nir_lower_patch_vertices() 90 val = nir_load_var(&b, var); in nir_lower_patch_vertices() 95 val); in nir_lower_patch_vertices()
|
/third_party/node/deps/base64/base64/lib/arch/neon64/ |
H A D | codec.c | 48 .val[0] = t0, in load_64byte_table() 49 .val[1] = t1, in load_64byte_table() 50 .val[2] = t2, in load_64byte_table() 51 .val[3] = t3, in load_64byte_table()
|
/third_party/mesa3d/include/ |
H A D | ohos_log.h | 105 #define DISPLAY_CHK_RETURN(val, ret, ...) \ 107 if (val) { \ 116 #define DISPLAY_CHK_RETURN_NOT_VALUE(val, ...) \ 118 if (val) { \
|
/third_party/ltp/testcases/kernel/syscalls/fsconfig/ |
H A D | fsconfig03.c | 33 char *val = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; in run() local 46 const size_t len = i * (strlen(val) + 2) + (strlen(val) + 1) + 2; in run() 48 TEST(fsconfig(fd, FSCONFIG_SET_STRING, "\x00", val, 0)); in run()
|
/third_party/ltp/testcases/kernel/syscalls/bpf/ |
H A D | bpf_prog01.c | 81 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 D | 6-1.c | 17 * 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 D | packet.h | 37 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 D | test_array_in_pointer.py | 14 _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 D | value.h | 32 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 D | querystring_example.c | 41 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 D | collisionThisExpressionAndLocalVarInAccessors.js | 13 set a(val: number) { 35 set a(val: number) { 61 set: function (val) {
89 set: function (val) {
|