Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 5768) sorted by relevance

12345678910>>...231

/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_types.h17 vn_sizeof_uint64_t(const uint64_t *val) in vn_sizeof_uint64_t() argument
19 assert(sizeof(*val) == 8); in vn_sizeof_uint64_t()
24 vn_encode_uint64_t(struct vn_cs_encoder *enc, const uint64_t *val) in vn_encode_uint64_t() argument
26 vn_encode(enc, 8, val, sizeof(*val)); in vn_encode_uint64_t()
30 vn_decode_uint64_t(struct vn_cs_decoder *dec, uint64_t *val) in vn_decode_uint64_t() argument
32 vn_decode(dec, 8, val, sizeof(*val)); in vn_decode_uint64_t()
36 vn_sizeof_uint64_t_array(const uint64_t *val, uint32_t count) in vn_sizeof_uint64_t_array() argument
38 assert(sizeof(*val) == 8); in vn_sizeof_uint64_t_array()
39 const size_t size = sizeof(*val) * count; in vn_sizeof_uint64_t_array()
45 vn_encode_uint64_t_array(struct vn_cs_encoder *enc, const uint64_t *val, uint32_t count) in vn_encode_uint64_t_array() argument
[all …]
Dvn_protocol_driver_structs.h22 vn_sizeof_VkExtent3D(const VkExtent3D *val) in vn_sizeof_VkExtent3D() argument
25 size += vn_sizeof_uint32_t(&val->width); in vn_sizeof_VkExtent3D()
26 size += vn_sizeof_uint32_t(&val->height); in vn_sizeof_VkExtent3D()
27 size += vn_sizeof_uint32_t(&val->depth); in vn_sizeof_VkExtent3D()
32 vn_encode_VkExtent3D(struct vn_cs_encoder *enc, const VkExtent3D *val) in vn_encode_VkExtent3D() argument
34 vn_encode_uint32_t(enc, &val->width); in vn_encode_VkExtent3D()
35 vn_encode_uint32_t(enc, &val->height); in vn_encode_VkExtent3D()
36 vn_encode_uint32_t(enc, &val->depth); in vn_encode_VkExtent3D()
40 vn_decode_VkExtent3D(struct vn_cs_decoder *dec, VkExtent3D *val) in vn_decode_VkExtent3D() argument
42 vn_decode_uint32_t(dec, &val->width); in vn_decode_VkExtent3D()
[all …]
Dvn_protocol_driver_pipeline.h17 vn_sizeof_VkSpecializationMapEntry(const VkSpecializationMapEntry *val) in vn_sizeof_VkSpecializationMapEntry() argument
20 size += vn_sizeof_uint32_t(&val->constantID); in vn_sizeof_VkSpecializationMapEntry()
21 size += vn_sizeof_uint32_t(&val->offset); in vn_sizeof_VkSpecializationMapEntry()
22 size += vn_sizeof_size_t(&val->size); in vn_sizeof_VkSpecializationMapEntry()
27 vn_encode_VkSpecializationMapEntry(struct vn_cs_encoder *enc, const VkSpecializationMapEntry *val) in vn_encode_VkSpecializationMapEntry() argument
29 vn_encode_uint32_t(enc, &val->constantID); in vn_encode_VkSpecializationMapEntry()
30 vn_encode_uint32_t(enc, &val->offset); in vn_encode_VkSpecializationMapEntry()
31 vn_encode_size_t(enc, &val->size); in vn_encode_VkSpecializationMapEntry()
37 vn_sizeof_VkSpecializationInfo(const VkSpecializationInfo *val) in vn_sizeof_VkSpecializationInfo() argument
40 size += vn_sizeof_uint32_t(&val->mapEntryCount); in vn_sizeof_VkSpecializationInfo()
[all …]
Dvn_protocol_driver_render_pass.h17 vn_sizeof_VkAttachmentDescription(const VkAttachmentDescription *val) in vn_sizeof_VkAttachmentDescription() argument
20 size += vn_sizeof_VkFlags(&val->flags); in vn_sizeof_VkAttachmentDescription()
21 size += vn_sizeof_VkFormat(&val->format); in vn_sizeof_VkAttachmentDescription()
22 size += vn_sizeof_VkSampleCountFlagBits(&val->samples); in vn_sizeof_VkAttachmentDescription()
23 size += vn_sizeof_VkAttachmentLoadOp(&val->loadOp); in vn_sizeof_VkAttachmentDescription()
24 size += vn_sizeof_VkAttachmentStoreOp(&val->storeOp); in vn_sizeof_VkAttachmentDescription()
25 size += vn_sizeof_VkAttachmentLoadOp(&val->stencilLoadOp); in vn_sizeof_VkAttachmentDescription()
26 size += vn_sizeof_VkAttachmentStoreOp(&val->stencilStoreOp); in vn_sizeof_VkAttachmentDescription()
27 size += vn_sizeof_VkImageLayout(&val->initialLayout); in vn_sizeof_VkAttachmentDescription()
28 size += vn_sizeof_VkImageLayout(&val->finalLayout); in vn_sizeof_VkAttachmentDescription()
[all …]
Dvn_protocol_driver_device.h23 vn_sizeof_VkPhysicalDeviceLimits(const VkPhysicalDeviceLimits *val) in vn_sizeof_VkPhysicalDeviceLimits() argument
26 size += vn_sizeof_uint32_t(&val->maxImageDimension1D); in vn_sizeof_VkPhysicalDeviceLimits()
27 size += vn_sizeof_uint32_t(&val->maxImageDimension2D); in vn_sizeof_VkPhysicalDeviceLimits()
28 size += vn_sizeof_uint32_t(&val->maxImageDimension3D); in vn_sizeof_VkPhysicalDeviceLimits()
29 size += vn_sizeof_uint32_t(&val->maxImageDimensionCube); in vn_sizeof_VkPhysicalDeviceLimits()
30 size += vn_sizeof_uint32_t(&val->maxImageArrayLayers); in vn_sizeof_VkPhysicalDeviceLimits()
31 size += vn_sizeof_uint32_t(&val->maxTexelBufferElements); in vn_sizeof_VkPhysicalDeviceLimits()
32 size += vn_sizeof_uint32_t(&val->maxUniformBufferRange); in vn_sizeof_VkPhysicalDeviceLimits()
33 size += vn_sizeof_uint32_t(&val->maxStorageBufferRange); in vn_sizeof_VkPhysicalDeviceLimits()
34 size += vn_sizeof_uint32_t(&val->maxPushConstantsSize); in vn_sizeof_VkPhysicalDeviceLimits()
[all …]
Dvn_protocol_driver_handles.h16 vn_sizeof_VkInstance(const VkInstance *val) in vn_sizeof_VkInstance() argument
22 vn_encode_VkInstance(struct vn_cs_encoder *enc, const VkInstance *val) in vn_encode_VkInstance() argument
24 const uint64_t id = vn_cs_handle_load_id((const void **)val, VK_OBJECT_TYPE_INSTANCE); in vn_encode_VkInstance()
29 vn_decode_VkInstance(struct vn_cs_decoder *dec, VkInstance *val) in vn_decode_VkInstance() argument
33 vn_cs_handle_store_id((void **)val, id, VK_OBJECT_TYPE_INSTANCE); in vn_decode_VkInstance()
39 vn_sizeof_VkPhysicalDevice(const VkPhysicalDevice *val) in vn_sizeof_VkPhysicalDevice() argument
45 vn_encode_VkPhysicalDevice(struct vn_cs_encoder *enc, const VkPhysicalDevice *val) in vn_encode_VkPhysicalDevice() argument
47 const uint64_t id = vn_cs_handle_load_id((const void **)val, VK_OBJECT_TYPE_PHYSICAL_DEVICE); in vn_encode_VkPhysicalDevice()
52 vn_decode_VkPhysicalDevice(struct vn_cs_decoder *dec, VkPhysicalDevice *val) in vn_decode_VkPhysicalDevice() argument
56 vn_cs_handle_store_id((void **)val, id, VK_OBJECT_TYPE_PHYSICAL_DEVICE); in vn_decode_VkPhysicalDevice()
[all …]
Dvn_protocol_driver_queue.h17 vn_sizeof_VkDeviceGroupSubmitInfo_pnext(const void *val) in vn_sizeof_VkDeviceGroupSubmitInfo_pnext() argument
24 vn_sizeof_VkDeviceGroupSubmitInfo_self(const VkDeviceGroupSubmitInfo *val) in vn_sizeof_VkDeviceGroupSubmitInfo_self() argument
28 size += vn_sizeof_uint32_t(&val->waitSemaphoreCount); in vn_sizeof_VkDeviceGroupSubmitInfo_self()
29 if (val->pWaitSemaphoreDeviceIndices) { in vn_sizeof_VkDeviceGroupSubmitInfo_self()
30 size += vn_sizeof_array_size(val->waitSemaphoreCount); in vn_sizeof_VkDeviceGroupSubmitInfo_self()
31 size += vn_sizeof_uint32_t_array(val->pWaitSemaphoreDeviceIndices, val->waitSemaphoreCount); in vn_sizeof_VkDeviceGroupSubmitInfo_self()
35 size += vn_sizeof_uint32_t(&val->commandBufferCount); in vn_sizeof_VkDeviceGroupSubmitInfo_self()
36 if (val->pCommandBufferDeviceMasks) { in vn_sizeof_VkDeviceGroupSubmitInfo_self()
37 size += vn_sizeof_array_size(val->commandBufferCount); in vn_sizeof_VkDeviceGroupSubmitInfo_self()
38 size += vn_sizeof_uint32_t_array(val->pCommandBufferDeviceMasks, val->commandBufferCount); in vn_sizeof_VkDeviceGroupSubmitInfo_self()
[all …]
/third_party/cups-filters/cupsfilters/
Draster.c84 const char *val, /* Pointer into value */ in cupsRasterParseIPPOptions() local
159 for (val = media; *val;) in cupsRasterParseIPPOptions()
165 for (ptr = s; *val && *val != ',' && (ptr - s) < (sizeof(s) - 1);) in cupsRasterParseIPPOptions()
166 *ptr++ = *val++; in cupsRasterParseIPPOptions()
169 if (*val == ',') in cupsRasterParseIPPOptions()
170 val ++; in cupsRasterParseIPPOptions()
207 else if ((val = cupsGetOption("media-class", num_options, options)) != NULL || in cupsRasterParseIPPOptions()
208 (val = cupsGetOption("MediaClass", num_options, options)) != NULL) in cupsRasterParseIPPOptions()
209 _strlcpy(h->MediaClass, val, sizeof(h->MediaClass)); in cupsRasterParseIPPOptions()
213 if ((val = cupsGetOption("media-color", num_options, options)) != NULL || in cupsRasterParseIPPOptions()
[all …]
/third_party/typescript/tests/baselines/reference/
DprivacyTypeParametersOfClassDeclFile.types13 myMethod(val: T): T {
14 >myMethod : (val: T) => T
15 >val : T
17 return val;
18 >val : T
25 myMethod(val: T): T {
26 >myMethod : (val: T) => T
27 >val : T
29 return val;
30 >val : T
[all …]
DprivacyTypeParametersOfClassDeclFile.js9 myMethod(val: T): T {
10 return val; field in publicClassWithPrivateTypeParameters
15 myMethod(val: T): T {
16 return val; field in publicClassWithPublicTypeParameters
21 myMethod(val: T): T {
22 return val; field in privateClassWithPrivateTypeParameters
27 myMethod(val: T): T {
28 return val; field in privateClassWithPublicTypeParameters
33 myMethod(val: T): T {
34 return val; field in publicClassWithPublicTypeParametersWithoutExtends
[all …]
DdiscriminantElementAccessCheck.types28 function IfWithString(val: U) {
29 >IfWithString : (val: U) => string | number
30 >val : U
32 if (val['kind'] === 'B') {
33 >val['kind'] === 'B' : boolean
34 >val['kind'] : "A" | "B"
35 >val : U
39 return val.b;
40 >val.b : string
41 >val : TypeB
[all …]
DdiscriminantElementAccessCheck.js17 function IfWithString(val: U) {
18 if (val['kind'] === 'B') {
19 return val.b;
21 return val.a;
25 function SwitchWithString(val: U) {
26 switch (val['kind']) {
28 return val.a;
30 return val.b;
32 return assertNever(val);
36 function IfWithTemplate(val: U) {
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationEGL.cpp101 bool ValidateStreamAttribute(const ValidationContext *val, in ValidateStreamAttribute() argument
111 val->setError(EGL_BAD_ACCESS, "Attempt to initialize readonly parameter"); in ValidateStreamAttribute()
117 val->setError(EGL_BAD_PARAMETER, "Latency must be positive"); in ValidateStreamAttribute()
124 val->setError(EGL_BAD_ATTRIBUTE, "Consumer GL extension not enabled"); in ValidateStreamAttribute()
130 val->setError(EGL_BAD_PARAMETER, "Timeout must be positive"); in ValidateStreamAttribute()
135 val->setError(EGL_BAD_ATTRIBUTE, "Invalid stream attribute"); in ValidateStreamAttribute()
141 bool ValidateCreateImageMipLevelCommon(const ValidationContext *val, in ValidateCreateImageMipLevelCommon() argument
155 val->setError(EGL_BAD_PARAMETER, "texture must be complete if level is non-zero."); in ValidateCreateImageMipLevelCommon()
162 val->setError(EGL_BAD_PARAMETER, in ValidateCreateImageMipLevelCommon()
171 bool ValidateConfigAttribute(const ValidationContext *val, in ValidateConfigAttribute() argument
[all …]
/third_party/skia/third_party/externals/libpng/arm/
Dfilter_neon_intrinsics.c83 vdest.val[3] = vdup_n_u8(0); in png_read_filter_row_sub3_neon()
92 vtmp1 = vext_u8(vrp.val[0], vrp.val[1], 3); in png_read_filter_row_sub3_neon()
93 vdest.val[0] = vadd_u8(vdest.val[3], vrp.val[0]); in png_read_filter_row_sub3_neon()
94 vtmp2 = vext_u8(vrp.val[0], vrp.val[1], 6); in png_read_filter_row_sub3_neon()
95 vdest.val[1] = vadd_u8(vdest.val[0], vtmp1); in png_read_filter_row_sub3_neon()
97 vtmp1 = vext_u8(vrp.val[1], vrp.val[1], 1); in png_read_filter_row_sub3_neon()
98 vdest.val[2] = vadd_u8(vdest.val[1], vtmp2); in png_read_filter_row_sub3_neon()
99 vdest.val[3] = vadd_u8(vdest.val[2], vtmp1); in png_read_filter_row_sub3_neon()
105 vst1_lane_u32(png_ptr(uint32_t,rp), png_ldr(uint32x2_t,&vdest.val[0]), 0); in png_read_filter_row_sub3_neon()
107 vst1_lane_u32(png_ptr(uint32_t,rp), png_ldr(uint32x2_t,&vdest.val[1]), 0); in png_read_filter_row_sub3_neon()
[all …]
/third_party/openssl/crypto/
Dparams.c166 static int general_get_int(const OSSL_PARAM *p, void *val, size_t val_size) in general_get_int() argument
169 return signed_from_signed(val, val_size, p->data, p->data_size); in general_get_int()
171 return signed_from_unsigned(val, val_size, p->data, p->data_size); in general_get_int()
176 static int general_set_int(OSSL_PARAM *p, void *val, size_t val_size) in general_set_int() argument
184 r = signed_from_signed(p->data, p->data_size, val, val_size); in general_set_int()
186 r = unsigned_from_signed(p->data, p->data_size, val, val_size); in general_set_int()
192 static int general_get_uint(const OSSL_PARAM *p, void *val, size_t val_size) in general_get_uint() argument
195 return unsigned_from_signed(val, val_size, p->data, p->data_size); in general_get_uint()
197 return unsigned_from_unsigned(val, val_size, p->data, p->data_size); in general_get_uint()
202 static int general_set_uint(OSSL_PARAM *p, void *val, size_t val_size) in general_set_uint() argument
[all …]
/third_party/node/deps/openssl/openssl/crypto/
Dparams.c168 static int general_get_int(const OSSL_PARAM *p, void *val, size_t val_size) in general_get_int() argument
171 return signed_from_signed(val, val_size, p->data, p->data_size); in general_get_int()
173 return signed_from_unsigned(val, val_size, p->data, p->data_size); in general_get_int()
178 static int general_set_int(OSSL_PARAM *p, void *val, size_t val_size) in general_set_int() argument
186 r = signed_from_signed(p->data, p->data_size, val, val_size); in general_set_int()
188 r = unsigned_from_signed(p->data, p->data_size, val, val_size); in general_set_int()
194 static int general_get_uint(const OSSL_PARAM *p, void *val, size_t val_size) in general_get_uint() argument
197 return unsigned_from_signed(val, val_size, p->data, p->data_size); in general_get_uint()
199 return unsigned_from_unsigned(val, val_size, p->data, p->data_size); in general_get_uint()
204 static int general_set_uint(OSSL_PARAM *p, void *val, size_t val_size) in general_set_uint() argument
[all …]
/third_party/node/deps/v8/src/wasm/
Dleb-helper.h27 static void write_u32v(uint8_t** dest, uint32_t val) { in write_u32v() argument
28 while (val >= 0x80) { in write_u32v()
29 *((*dest)++) = static_cast<uint8_t>(0x80 | (val & 0x7F)); in write_u32v()
30 val >>= 7; in write_u32v()
32 *((*dest)++) = static_cast<uint8_t>(val & 0x7F); in write_u32v()
37 static void write_i32v(uint8_t** dest, int32_t val) { in write_i32v() argument
38 if (val >= 0) { in write_i32v()
39 while (val >= 0x40) { // prevent sign extension. in write_i32v()
40 *((*dest)++) = static_cast<uint8_t>(0x80 | (val & 0x7F)); in write_i32v()
41 val >>= 7; in write_i32v()
[all …]
/third_party/node/deps/base64/base64/lib/arch/neon32/
Denc_translate.c26 indices.val[0] = vqsubq_u8(in.val[0], offset); in enc_translate()
27 indices.val[1] = vqsubq_u8(in.val[1], offset); in enc_translate()
28 indices.val[2] = vqsubq_u8(in.val[2], offset); in enc_translate()
29 indices.val[3] = vqsubq_u8(in.val[3], offset); in enc_translate()
32 mask.val[0] = vcgtq_u8(in.val[0], vdupq_n_u8(25)); in enc_translate()
33 mask.val[1] = vcgtq_u8(in.val[1], vdupq_n_u8(25)); in enc_translate()
34 mask.val[2] = vcgtq_u8(in.val[2], vdupq_n_u8(25)); in enc_translate()
35 mask.val[3] = vcgtq_u8(in.val[3], vdupq_n_u8(25)); in enc_translate()
39 indices.val[0] = vsubq_u8(indices.val[0], mask.val[0]); in enc_translate()
40 indices.val[1] = vsubq_u8(indices.val[1], mask.val[1]); in enc_translate()
[all …]
/third_party/node/deps/base64/base64/lib/arch/neon64/
Ddec_loop.c78 dec2.val[0] = vqsubq_u8(str.val[0], offset); in dec_loop_neon64()
79 dec2.val[1] = vqsubq_u8(str.val[1], offset); in dec_loop_neon64()
80 dec2.val[2] = vqsubq_u8(str.val[2], offset); in dec_loop_neon64()
81 dec2.val[3] = vqsubq_u8(str.val[3], offset); in dec_loop_neon64()
84 dec1.val[0] = vqtbl4q_u8(tbl_dec1, str.val[0]); in dec_loop_neon64()
85 dec1.val[1] = vqtbl4q_u8(tbl_dec1, str.val[1]); in dec_loop_neon64()
86 dec1.val[2] = vqtbl4q_u8(tbl_dec1, str.val[2]); in dec_loop_neon64()
87 dec1.val[3] = vqtbl4q_u8(tbl_dec1, str.val[3]); in dec_loop_neon64()
90 dec2.val[0] = vqtbx4q_u8(dec2.val[0], tbl_dec2, dec2.val[0]); in dec_loop_neon64()
91 dec2.val[1] = vqtbx4q_u8(dec2.val[1], tbl_dec2, dec2.val[1]); in dec_loop_neon64()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
Djdmrgext-neon.c110 y.val[0])); in jsimd_h2v1_merged_upsample_neon()
113 y.val[0])); in jsimd_h2v1_merged_upsample_neon()
116 y.val[0])); in jsimd_h2v1_merged_upsample_neon()
119 y.val[1])); in jsimd_h2v1_merged_upsample_neon()
122 y.val[1])); in jsimd_h2v1_merged_upsample_neon()
125 y.val[1])); in jsimd_h2v1_merged_upsample_neon()
135 rgba.val[RGB_RED] = vcombine_u8(r.val[0], r.val[1]); in jsimd_h2v1_merged_upsample_neon()
136 rgba.val[RGB_GREEN] = vcombine_u8(g.val[0], g.val[1]); in jsimd_h2v1_merged_upsample_neon()
137 rgba.val[RGB_BLUE] = vcombine_u8(b.val[0], b.val[1]); in jsimd_h2v1_merged_upsample_neon()
139 rgba.val[RGB_ALPHA] = vdupq_n_u8(0xFF); in jsimd_h2v1_merged_upsample_neon()
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuSeedBuilder.cpp74 const deUint8 val = (value ? 54: 7); in operator <<() local
76 builder.feed(sizeof(val), &val); in operator <<()
82 const deInt8 val = value ^ 75; in operator <<() local
84 builder.feed(sizeof(val), &val); in operator <<()
90 const deUint8 val = value ^ 140u; in operator <<() local
92 builder.feed(sizeof(val), &val); in operator <<()
98 const deInt16 val = value ^ 555; in operator <<() local
101 (deUint8)(((deUint16)val) & 0xFFu), in operator <<()
102 (deUint8)(((deUint16)val) >> 8), in operator <<()
111 const deUint16 val = value ^ 37323u; in operator <<() local
[all …]
/third_party/libinput/src/
Dutil-matrix.h35 float val[3][3]; /* [row][col] */ member
48 m->val[0][0] = 1; in matrix_init_identity()
49 m->val[1][1] = 1; in matrix_init_identity()
50 m->val[2][2] = 1; in matrix_init_identity()
57 m->val[0][0] = values[0]; in matrix_from_farray6()
58 m->val[0][1] = values[1]; in matrix_from_farray6()
59 m->val[0][2] = values[2]; in matrix_from_farray6()
60 m->val[1][0] = values[3]; in matrix_from_farray6()
61 m->val[1][1] = values[4]; in matrix_from_farray6()
62 m->val[1][2] = values[5]; in matrix_from_farray6()
[all …]
/third_party/typescript/tests/cases/compiler/
DprivacyTypeParametersOfClassDeclFile.ts10 myMethod(val: T): T {
11 return val;
16 myMethod(val: T): T {
17 return val;
22 myMethod(val: T): T {
23 return val;
28 myMethod(val: T): T {
29 return val;
34 myMethod(val: T): T {
35 return val;
[all …]
/third_party/node/deps/npm/node_modules/nopt/lib/
Dtype-defs.js7 function validateString (data, k, val) { argument
8 data[k] = String(val)
11 function validatePath (data, k, val) { argument
12 if (val === true) {
15 if (val === null) {
19 val = String(val)
25 if (home && val.match(homePattern)) {
26 data[k] = path.resolve(home, val.slice(2))
28 data[k] = path.resolve(val)
33 function validateNumber (data, k, val) { argument
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglConfigList.cpp79 EGLint val = 0; in iterate() local
81 egl.getConfigAttrib(display, configs[i], EGL_BUFFER_SIZE, &val); in iterate()
82 info.bufferSize = val; in iterate()
84 egl.getConfigAttrib(display, configs[i], EGL_RED_SIZE, &val); in iterate()
85 info.redSize = val; in iterate()
87 egl.getConfigAttrib(display, configs[i], EGL_GREEN_SIZE, &val); in iterate()
88 info.greenSize = val; in iterate()
90 egl.getConfigAttrib(display, configs[i], EGL_BLUE_SIZE, &val); in iterate()
91 info.blueSize = val; in iterate()
93 egl.getConfigAttrib(display, configs[i], EGL_LUMINANCE_SIZE, &val); in iterate()
[all …]

12345678910>>...231