/third_party/openssl/crypto/ |
H A D | params.c | 166 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_ argument 217 OSSL_PARAM_get_int(const OSSL_PARAM *p, int *val) OSSL_PARAM_get_int() argument 230 OSSL_PARAM_set_int(OSSL_PARAM *p, int val) OSSL_PARAM_set_int() argument 248 OSSL_PARAM_get_uint(const OSSL_PARAM *p, unsigned int *val) OSSL_PARAM_get_uint() argument 261 OSSL_PARAM_set_uint(OSSL_PARAM *p, unsigned int val) OSSL_PARAM_set_uint() argument 280 OSSL_PARAM_get_long(const OSSL_PARAM *p, long int *val) OSSL_PARAM_get_long() argument 293 OSSL_PARAM_set_long(OSSL_PARAM *p, long int val) OSSL_PARAM_set_long() argument 311 OSSL_PARAM_get_ulong(const OSSL_PARAM *p, unsigned long int *val) OSSL_PARAM_get_ulong() argument 324 OSSL_PARAM_set_ulong(OSSL_PARAM *p, unsigned long int val) OSSL_PARAM_set_ulong() argument 343 OSSL_PARAM_get_int32(const OSSL_PARAM *p, int32_t *val) OSSL_PARAM_get_int32() argument 407 OSSL_PARAM_set_int32(OSSL_PARAM *p, int32_t val) OSSL_PARAM_set_int32() argument 463 OSSL_PARAM_get_uint32(const OSSL_PARAM *p, uint32_t *val) OSSL_PARAM_get_uint32() argument 525 OSSL_PARAM_set_uint32(OSSL_PARAM *p, uint32_t val) OSSL_PARAM_set_uint32() argument 585 OSSL_PARAM_get_int64(const OSSL_PARAM *p, int64_t *val) OSSL_PARAM_get_int64() argument 643 OSSL_PARAM_set_int64(OSSL_PARAM *p, int64_t val) OSSL_PARAM_set_int64() argument 710 OSSL_PARAM_get_uint64(const OSSL_PARAM *p, uint64_t *val) OSSL_PARAM_get_uint64() argument 773 OSSL_PARAM_set_uint64(OSSL_PARAM *p, uint64_t val) OSSL_PARAM_set_uint64() argument 840 OSSL_PARAM_get_size_t(const OSSL_PARAM *p, size_t *val) OSSL_PARAM_get_size_t() argument 853 OSSL_PARAM_set_size_t(OSSL_PARAM *p, size_t val) OSSL_PARAM_set_size_t() argument 872 OSSL_PARAM_get_time_t(const OSSL_PARAM *p, time_t *val) OSSL_PARAM_get_time_t() argument 885 OSSL_PARAM_set_time_t(OSSL_PARAM *p, time_t val) OSSL_PARAM_set_time_t() argument 903 OSSL_PARAM_get_BN(const OSSL_PARAM *p, BIGNUM **val) OSSL_PARAM_get_BN() argument 920 OSSL_PARAM_set_BN(OSSL_PARAM *p, const BIGNUM *val) OSSL_PARAM_set_BN() argument 956 OSSL_PARAM_get_double(const OSSL_PARAM *p, double *val) OSSL_PARAM_get_double() argument 1001 OSSL_PARAM_set_double(OSSL_PARAM *p, double val) OSSL_PARAM_set_double() argument 1077 get_string_internal(const OSSL_PARAM *p, void **val, size_t *max_len, size_t *used_len, unsigned int type) get_string_internal() argument 1117 OSSL_PARAM_get_utf8_string(const OSSL_PARAM *p, char **val, size_t max_len) OSSL_PARAM_get_utf8_string() argument 1146 OSSL_PARAM_get_octet_string(const OSSL_PARAM *p, void **val, size_t max_len, size_t *used_len) OSSL_PARAM_get_octet_string() argument 1153 set_string_internal(OSSL_PARAM *p, const void *val, size_t len, unsigned int type) set_string_internal() argument 1169 OSSL_PARAM_set_utf8_string(OSSL_PARAM *p, const char *val) OSSL_PARAM_set_utf8_string() argument 1180 OSSL_PARAM_set_octet_string(OSSL_PARAM *p, const void *val, size_t len) OSSL_PARAM_set_octet_string() argument 1206 get_ptr_internal(const OSSL_PARAM *p, const void **val, size_t *used_len, unsigned int type) get_ptr_internal() argument 1217 OSSL_PARAM_get_utf8_ptr(const OSSL_PARAM *p, const char **val) OSSL_PARAM_get_utf8_ptr() argument 1222 OSSL_PARAM_get_octet_ptr(const OSSL_PARAM *p, const void **val, size_t *used_len) OSSL_PARAM_get_octet_ptr() argument 1228 set_ptr_internal(OSSL_PARAM *p, const void *val, unsigned int type, size_t len) set_ptr_internal() argument 1239 OSSL_PARAM_set_utf8_ptr(OSSL_PARAM *p, const char *val) OSSL_PARAM_set_utf8_ptr() argument 1248 OSSL_PARAM_set_octet_ptr(OSSL_PARAM *p, const void *val, size_t used_len) OSSL_PARAM_set_octet_ptr() argument 1276 get_string_ptr_internal(const OSSL_PARAM *p, const void **val, size_t *used_len, unsigned int type) get_string_ptr_internal() argument 1287 OSSL_PARAM_get_utf8_string_ptr(const OSSL_PARAM *p, const char **val) OSSL_PARAM_get_utf8_string_ptr() argument 1294 OSSL_PARAM_get_octet_string_ptr(const OSSL_PARAM *p, const void **val, size_t *used_len) OSSL_PARAM_get_octet_string_ptr() argument [all...] |
/third_party/mesa3d/src/virtio/venus-protocol/ |
H A D | vn_protocol_driver_queue.h | 17 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 27 /* skip val->{sType,pNext} */ in vn_sizeof_VkDeviceGroupSubmitInfo_self() 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 in vn_sizeof_VkDeviceGroupSubmitInfo_self() 53 vn_sizeof_VkDeviceGroupSubmitInfo(const VkDeviceGroupSubmitInfo *val) vn_sizeof_VkDeviceGroupSubmitInfo() argument 65 vn_encode_VkDeviceGroupSubmitInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkDeviceGroupSubmitInfo_pnext() argument 72 vn_encode_VkDeviceGroupSubmitInfo_self(struct vn_cs_encoder *enc, const VkDeviceGroupSubmitInfo *val) vn_encode_VkDeviceGroupSubmitInfo_self() argument 99 vn_encode_VkDeviceGroupSubmitInfo(struct vn_cs_encoder *enc, const VkDeviceGroupSubmitInfo *val) vn_encode_VkDeviceGroupSubmitInfo() argument 110 vn_sizeof_VkProtectedSubmitInfo_pnext(const void *val) vn_sizeof_VkProtectedSubmitInfo_pnext() argument 117 vn_sizeof_VkProtectedSubmitInfo_self(const VkProtectedSubmitInfo *val) vn_sizeof_VkProtectedSubmitInfo_self() argument 126 vn_sizeof_VkProtectedSubmitInfo(const VkProtectedSubmitInfo *val) vn_sizeof_VkProtectedSubmitInfo() argument 138 vn_encode_VkProtectedSubmitInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkProtectedSubmitInfo_pnext() argument 145 vn_encode_VkProtectedSubmitInfo_self(struct vn_cs_encoder *enc, const VkProtectedSubmitInfo *val) vn_encode_VkProtectedSubmitInfo_self() argument 152 vn_encode_VkProtectedSubmitInfo(struct vn_cs_encoder *enc, const VkProtectedSubmitInfo *val) vn_encode_VkProtectedSubmitInfo() argument 163 vn_sizeof_VkTimelineSemaphoreSubmitInfo_pnext(const void *val) vn_sizeof_VkTimelineSemaphoreSubmitInfo_pnext() argument 170 vn_sizeof_VkTimelineSemaphoreSubmitInfo_self(const VkTimelineSemaphoreSubmitInfo *val) vn_sizeof_VkTimelineSemaphoreSubmitInfo_self() argument 192 vn_sizeof_VkTimelineSemaphoreSubmitInfo(const VkTimelineSemaphoreSubmitInfo *val) vn_sizeof_VkTimelineSemaphoreSubmitInfo() argument 204 vn_encode_VkTimelineSemaphoreSubmitInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkTimelineSemaphoreSubmitInfo_pnext() argument 211 vn_encode_VkTimelineSemaphoreSubmitInfo_self(struct vn_cs_encoder *enc, const VkTimelineSemaphoreSubmitInfo *val) vn_encode_VkTimelineSemaphoreSubmitInfo_self() argument 231 vn_encode_VkTimelineSemaphoreSubmitInfo(struct vn_cs_encoder *enc, const VkTimelineSemaphoreSubmitInfo *val) vn_encode_VkTimelineSemaphoreSubmitInfo() argument 242 vn_sizeof_VkSubmitInfo_pnext(const void *val) vn_sizeof_VkSubmitInfo_pnext() argument 278 vn_sizeof_VkSubmitInfo_self(const VkSubmitInfo *val) vn_sizeof_VkSubmitInfo_self() argument 317 vn_sizeof_VkSubmitInfo(const VkSubmitInfo *val) vn_sizeof_VkSubmitInfo() argument 329 vn_encode_VkSubmitInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkSubmitInfo_pnext() argument 364 vn_encode_VkSubmitInfo_self(struct vn_cs_encoder *enc, const VkSubmitInfo *val) vn_encode_VkSubmitInfo_self() argument 401 vn_encode_VkSubmitInfo(struct vn_cs_encoder *enc, const VkSubmitInfo *val) vn_encode_VkSubmitInfo() argument 412 vn_sizeof_VkSparseMemoryBind(const VkSparseMemoryBind *val) vn_sizeof_VkSparseMemoryBind() argument 424 vn_encode_VkSparseMemoryBind(struct vn_cs_encoder *enc, const VkSparseMemoryBind *val) vn_encode_VkSparseMemoryBind() argument 436 vn_sizeof_VkSparseBufferMemoryBindInfo(const VkSparseBufferMemoryBindInfo *val) vn_sizeof_VkSparseBufferMemoryBindInfo() argument 452 vn_encode_VkSparseBufferMemoryBindInfo(struct vn_cs_encoder *enc, const VkSparseBufferMemoryBindInfo *val) vn_encode_VkSparseBufferMemoryBindInfo() argument 468 vn_sizeof_VkSparseImageOpaqueMemoryBindInfo(const VkSparseImageOpaqueMemoryBindInfo *val) vn_sizeof_VkSparseImageOpaqueMemoryBindInfo() argument 484 vn_encode_VkSparseImageOpaqueMemoryBindInfo(struct vn_cs_encoder *enc, const VkSparseImageOpaqueMemoryBindInfo *val) vn_encode_VkSparseImageOpaqueMemoryBindInfo() argument 500 vn_sizeof_VkSparseImageMemoryBind(const VkSparseImageMemoryBind *val) vn_sizeof_VkSparseImageMemoryBind() argument 513 vn_encode_VkSparseImageMemoryBind(struct vn_cs_encoder *enc, const VkSparseImageMemoryBind *val) vn_encode_VkSparseImageMemoryBind() argument 526 vn_sizeof_VkSparseImageMemoryBindInfo(const VkSparseImageMemoryBindInfo *val) vn_sizeof_VkSparseImageMemoryBindInfo() argument 542 vn_encode_VkSparseImageMemoryBindInfo(struct vn_cs_encoder *enc, const VkSparseImageMemoryBindInfo *val) vn_encode_VkSparseImageMemoryBindInfo() argument 558 vn_sizeof_VkDeviceGroupBindSparseInfo_pnext(const void *val) vn_sizeof_VkDeviceGroupBindSparseInfo_pnext() argument 565 vn_sizeof_VkDeviceGroupBindSparseInfo_self(const VkDeviceGroupBindSparseInfo *val) vn_sizeof_VkDeviceGroupBindSparseInfo_self() argument 575 vn_sizeof_VkDeviceGroupBindSparseInfo(const VkDeviceGroupBindSparseInfo *val) vn_sizeof_VkDeviceGroupBindSparseInfo() argument 587 vn_encode_VkDeviceGroupBindSparseInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkDeviceGroupBindSparseInfo_pnext() argument 594 vn_encode_VkDeviceGroupBindSparseInfo_self(struct vn_cs_encoder *enc, const VkDeviceGroupBindSparseInfo *val) vn_encode_VkDeviceGroupBindSparseInfo_self() argument 602 vn_encode_VkDeviceGroupBindSparseInfo(struct vn_cs_encoder *enc, const VkDeviceGroupBindSparseInfo *val) vn_encode_VkDeviceGroupBindSparseInfo() argument 613 vn_sizeof_VkBindSparseInfo_pnext(const void *val) vn_sizeof_VkBindSparseInfo_pnext() argument 643 vn_sizeof_VkBindSparseInfo_self(const VkBindSparseInfo *val) vn_sizeof_VkBindSparseInfo_self() argument 691 vn_sizeof_VkBindSparseInfo(const VkBindSparseInfo *val) vn_sizeof_VkBindSparseInfo() argument 703 vn_encode_VkBindSparseInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkBindSparseInfo_pnext() argument 732 vn_encode_VkBindSparseInfo_self(struct vn_cs_encoder *enc, const VkBindSparseInfo *val) vn_encode_VkBindSparseInfo_self() argument 778 vn_encode_VkBindSparseInfo(struct vn_cs_encoder *enc, const VkBindSparseInfo *val) vn_encode_VkBindSparseInfo() argument 789 vn_sizeof_VkSemaphoreSubmitInfo_pnext(const void *val) vn_sizeof_VkSemaphoreSubmitInfo_pnext() argument 796 vn_sizeof_VkSemaphoreSubmitInfo_self(const VkSemaphoreSubmitInfo *val) vn_sizeof_VkSemaphoreSubmitInfo_self() argument 808 vn_sizeof_VkSemaphoreSubmitInfo(const VkSemaphoreSubmitInfo *val) vn_sizeof_VkSemaphoreSubmitInfo() argument 820 vn_encode_VkSemaphoreSubmitInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkSemaphoreSubmitInfo_pnext() argument 827 vn_encode_VkSemaphoreSubmitInfo_self(struct vn_cs_encoder *enc, const VkSemaphoreSubmitInfo *val) vn_encode_VkSemaphoreSubmitInfo_self() argument 837 vn_encode_VkSemaphoreSubmitInfo(struct vn_cs_encoder *enc, const VkSemaphoreSubmitInfo *val) vn_encode_VkSemaphoreSubmitInfo() argument 848 vn_sizeof_VkCommandBufferSubmitInfo_pnext(const void *val) vn_sizeof_VkCommandBufferSubmitInfo_pnext() argument 855 vn_sizeof_VkCommandBufferSubmitInfo_self(const VkCommandBufferSubmitInfo *val) vn_sizeof_VkCommandBufferSubmitInfo_self() argument 865 vn_sizeof_VkCommandBufferSubmitInfo(const VkCommandBufferSubmitInfo *val) vn_sizeof_VkCommandBufferSubmitInfo() argument 877 vn_encode_VkCommandBufferSubmitInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkCommandBufferSubmitInfo_pnext() argument 884 vn_encode_VkCommandBufferSubmitInfo_self(struct vn_cs_encoder *enc, const VkCommandBufferSubmitInfo *val) vn_encode_VkCommandBufferSubmitInfo_self() argument 892 vn_encode_VkCommandBufferSubmitInfo(struct vn_cs_encoder *enc, const VkCommandBufferSubmitInfo *val) vn_encode_VkCommandBufferSubmitInfo() argument 903 vn_sizeof_VkSubmitInfo2_pnext(const void *val) vn_sizeof_VkSubmitInfo2_pnext() argument 910 vn_sizeof_VkSubmitInfo2_self(const VkSubmitInfo2 *val) vn_sizeof_VkSubmitInfo2_self() argument 943 vn_sizeof_VkSubmitInfo2(const VkSubmitInfo2 *val) vn_sizeof_VkSubmitInfo2() argument 955 vn_encode_VkSubmitInfo2_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkSubmitInfo2_pnext() argument 962 vn_encode_VkSubmitInfo2_self(struct vn_cs_encoder *enc, const VkSubmitInfo2 *val) vn_encode_VkSubmitInfo2_self() argument 993 vn_encode_VkSubmitInfo2(struct vn_cs_encoder *enc, const VkSubmitInfo2 *val) vn_encode_VkSubmitInfo2() argument [all...] |
H A D | vn_protocol_driver_descriptor_set.h | 23 vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo_pnext(const void *val) in vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo_pnext() argument 30 vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo_self(const VkDescriptorSetVariableDescriptorCountAllocateInfo *val) in vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo_self() argument 33 /* skip val->{sType,pNext} */ in vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo_self() 34 size += vn_sizeof_uint32_t(&val->descriptorSetCount); in vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo_self() 35 if (val->pDescriptorCounts) { in vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo_self() 36 size += vn_sizeof_array_size(val->descriptorSetCount); in vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo_self() 37 size += vn_sizeof_uint32_t_array(val->pDescriptorCounts, val->descriptorSetCount); in vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo_self() 45 vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo(const VkDescriptorSetVariableDescriptorCountAllocateInfo *val) in vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo() argument 49 size += vn_sizeof_VkStructureType(&val in vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo() 57 vn_encode_VkDescriptorSetVariableDescriptorCountAllocateInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkDescriptorSetVariableDescriptorCountAllocateInfo_pnext() argument 64 vn_encode_VkDescriptorSetVariableDescriptorCountAllocateInfo_self(struct vn_cs_encoder *enc, const VkDescriptorSetVariableDescriptorCountAllocateInfo *val) vn_encode_VkDescriptorSetVariableDescriptorCountAllocateInfo_self() argument 77 vn_encode_VkDescriptorSetVariableDescriptorCountAllocateInfo(struct vn_cs_encoder *enc, const VkDescriptorSetVariableDescriptorCountAllocateInfo *val) vn_encode_VkDescriptorSetVariableDescriptorCountAllocateInfo() argument 88 vn_sizeof_VkDescriptorSetAllocateInfo_pnext(const void *val) vn_sizeof_VkDescriptorSetAllocateInfo_pnext() argument 112 vn_sizeof_VkDescriptorSetAllocateInfo_self(const VkDescriptorSetAllocateInfo *val) vn_sizeof_VkDescriptorSetAllocateInfo_self() argument 129 vn_sizeof_VkDescriptorSetAllocateInfo(const VkDescriptorSetAllocateInfo *val) vn_sizeof_VkDescriptorSetAllocateInfo() argument 141 vn_encode_VkDescriptorSetAllocateInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkDescriptorSetAllocateInfo_pnext() argument 164 vn_encode_VkDescriptorSetAllocateInfo_self(struct vn_cs_encoder *enc, const VkDescriptorSetAllocateInfo *val) vn_encode_VkDescriptorSetAllocateInfo_self() argument 179 vn_encode_VkDescriptorSetAllocateInfo(struct vn_cs_encoder *enc, const VkDescriptorSetAllocateInfo *val) vn_encode_VkDescriptorSetAllocateInfo() argument 190 vn_sizeof_VkDescriptorImageInfo(const VkDescriptorImageInfo *val) vn_sizeof_VkDescriptorImageInfo() argument 200 vn_encode_VkDescriptorImageInfo(struct vn_cs_encoder *enc, const VkDescriptorImageInfo *val) vn_encode_VkDescriptorImageInfo() argument 210 vn_sizeof_VkDescriptorBufferInfo(const VkDescriptorBufferInfo *val) vn_sizeof_VkDescriptorBufferInfo() argument 220 vn_encode_VkDescriptorBufferInfo(struct vn_cs_encoder *enc, const VkDescriptorBufferInfo *val) vn_encode_VkDescriptorBufferInfo() argument 230 vn_sizeof_VkWriteDescriptorSetInlineUniformBlock_pnext(const void *val) vn_sizeof_VkWriteDescriptorSetInlineUniformBlock_pnext() argument 237 vn_sizeof_VkWriteDescriptorSetInlineUniformBlock_self(const VkWriteDescriptorSetInlineUniformBlock *val) vn_sizeof_VkWriteDescriptorSetInlineUniformBlock_self() argument 252 vn_sizeof_VkWriteDescriptorSetInlineUniformBlock(const VkWriteDescriptorSetInlineUniformBlock *val) vn_sizeof_VkWriteDescriptorSetInlineUniformBlock() argument 264 vn_encode_VkWriteDescriptorSetInlineUniformBlock_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkWriteDescriptorSetInlineUniformBlock_pnext() argument 271 vn_encode_VkWriteDescriptorSetInlineUniformBlock_self(struct vn_cs_encoder *enc, const VkWriteDescriptorSetInlineUniformBlock *val) vn_encode_VkWriteDescriptorSetInlineUniformBlock_self() argument 284 vn_encode_VkWriteDescriptorSetInlineUniformBlock(struct vn_cs_encoder *enc, const VkWriteDescriptorSetInlineUniformBlock *val) vn_encode_VkWriteDescriptorSetInlineUniformBlock() argument 295 vn_sizeof_VkWriteDescriptorSet_pnext(const void *val) vn_sizeof_VkWriteDescriptorSet_pnext() argument 321 vn_sizeof_VkWriteDescriptorSet_self(const VkWriteDescriptorSet *val) vn_sizeof_VkWriteDescriptorSet_self() argument 355 vn_sizeof_VkWriteDescriptorSet(const VkWriteDescriptorSet *val) vn_sizeof_VkWriteDescriptorSet() argument 367 vn_encode_VkWriteDescriptorSet_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkWriteDescriptorSet_pnext() argument 392 vn_encode_VkWriteDescriptorSet_self(struct vn_cs_encoder *enc, const VkWriteDescriptorSet *val) vn_encode_VkWriteDescriptorSet_self() argument 424 vn_encode_VkWriteDescriptorSet(struct vn_cs_encoder *enc, const VkWriteDescriptorSet *val) vn_encode_VkWriteDescriptorSet() argument 435 vn_sizeof_VkCopyDescriptorSet_pnext(const void *val) vn_sizeof_VkCopyDescriptorSet_pnext() argument 442 vn_sizeof_VkCopyDescriptorSet_self(const VkCopyDescriptorSet *val) vn_sizeof_VkCopyDescriptorSet_self() argument 457 vn_sizeof_VkCopyDescriptorSet(const VkCopyDescriptorSet *val) vn_sizeof_VkCopyDescriptorSet() argument 469 vn_encode_VkCopyDescriptorSet_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkCopyDescriptorSet_pnext() argument 476 vn_encode_VkCopyDescriptorSet_self(struct vn_cs_encoder *enc, const VkCopyDescriptorSet *val) vn_encode_VkCopyDescriptorSet_self() argument 489 vn_encode_VkCopyDescriptorSet(struct vn_cs_encoder *enc, const VkCopyDescriptorSet *val) vn_encode_VkCopyDescriptorSet() argument [all...] |
H A D | vn_protocol_driver_framebuffer.h | 17 vn_sizeof_VkFramebufferAttachmentImageInfo_pnext(const void *val) in vn_sizeof_VkFramebufferAttachmentImageInfo_pnext() argument 24 vn_sizeof_VkFramebufferAttachmentImageInfo_self(const VkFramebufferAttachmentImageInfo *val) in vn_sizeof_VkFramebufferAttachmentImageInfo_self() argument 27 /* skip val->{sType,pNext} */ in vn_sizeof_VkFramebufferAttachmentImageInfo_self() 28 size += vn_sizeof_VkFlags(&val->flags); in vn_sizeof_VkFramebufferAttachmentImageInfo_self() 29 size += vn_sizeof_VkFlags(&val->usage); in vn_sizeof_VkFramebufferAttachmentImageInfo_self() 30 size += vn_sizeof_uint32_t(&val->width); in vn_sizeof_VkFramebufferAttachmentImageInfo_self() 31 size += vn_sizeof_uint32_t(&val->height); in vn_sizeof_VkFramebufferAttachmentImageInfo_self() 32 size += vn_sizeof_uint32_t(&val->layerCount); in vn_sizeof_VkFramebufferAttachmentImageInfo_self() 33 size += vn_sizeof_uint32_t(&val->viewFormatCount); in vn_sizeof_VkFramebufferAttachmentImageInfo_self() 34 if (val in vn_sizeof_VkFramebufferAttachmentImageInfo_self() 44 vn_sizeof_VkFramebufferAttachmentImageInfo(const VkFramebufferAttachmentImageInfo *val) vn_sizeof_VkFramebufferAttachmentImageInfo() argument 56 vn_encode_VkFramebufferAttachmentImageInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkFramebufferAttachmentImageInfo_pnext() argument 63 vn_encode_VkFramebufferAttachmentImageInfo_self(struct vn_cs_encoder *enc, const VkFramebufferAttachmentImageInfo *val) vn_encode_VkFramebufferAttachmentImageInfo_self() argument 81 vn_encode_VkFramebufferAttachmentImageInfo(struct vn_cs_encoder *enc, const VkFramebufferAttachmentImageInfo *val) vn_encode_VkFramebufferAttachmentImageInfo() argument 92 vn_sizeof_VkFramebufferAttachmentsCreateInfo_pnext(const void *val) vn_sizeof_VkFramebufferAttachmentsCreateInfo_pnext() argument 99 vn_sizeof_VkFramebufferAttachmentsCreateInfo_self(const VkFramebufferAttachmentsCreateInfo *val) vn_sizeof_VkFramebufferAttachmentsCreateInfo_self() argument 115 vn_sizeof_VkFramebufferAttachmentsCreateInfo(const VkFramebufferAttachmentsCreateInfo *val) vn_sizeof_VkFramebufferAttachmentsCreateInfo() argument 127 vn_encode_VkFramebufferAttachmentsCreateInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkFramebufferAttachmentsCreateInfo_pnext() argument 134 vn_encode_VkFramebufferAttachmentsCreateInfo_self(struct vn_cs_encoder *enc, const VkFramebufferAttachmentsCreateInfo *val) vn_encode_VkFramebufferAttachmentsCreateInfo_self() argument 148 vn_encode_VkFramebufferAttachmentsCreateInfo(struct vn_cs_encoder *enc, const VkFramebufferAttachmentsCreateInfo *val) vn_encode_VkFramebufferAttachmentsCreateInfo() argument 159 vn_sizeof_VkFramebufferCreateInfo_pnext(const void *val) vn_sizeof_VkFramebufferCreateInfo_pnext() argument 183 vn_sizeof_VkFramebufferCreateInfo_self(const VkFramebufferCreateInfo *val) vn_sizeof_VkFramebufferCreateInfo_self() argument 204 vn_sizeof_VkFramebufferCreateInfo(const VkFramebufferCreateInfo *val) vn_sizeof_VkFramebufferCreateInfo() argument 216 vn_encode_VkFramebufferCreateInfo_pnext(struct vn_cs_encoder *enc, const void *val) vn_encode_VkFramebufferCreateInfo_pnext() argument 239 vn_encode_VkFramebufferCreateInfo_self(struct vn_cs_encoder *enc, const VkFramebufferCreateInfo *val) vn_encode_VkFramebufferCreateInfo_self() argument 258 vn_encode_VkFramebufferCreateInfo(struct vn_cs_encoder *enc, const VkFramebufferCreateInfo *val) vn_encode_VkFramebufferCreateInfo() argument [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/ |
H A D | jdmrgext-neon.c | 110 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_GREE in jsimd_h2v1_merged_upsample_neon() [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuSeedBuilder.cpp | 74 const deUint8 val = (value ? 54: 7); in operator <<() local 76 builder.feed(sizeof(val), &val); in operator <<() local 82 const deInt8 val = value ^ 75; in operator <<() local 84 builder.feed(sizeof(val), &val); in operator <<() local 90 const deUint8 val = value ^ 140u; in operator <<() local 92 builder.feed(sizeof(val), &val); in operator <<() local 98 const deInt16 val in operator <<() local 111 const deUint16 val = value ^ 37323u; operator <<() local 124 const deInt32 val = value ^ 53054741; operator <<() local 139 const deUint32 val = value ^ 1977303630u; operator <<() local 154 const deInt64 val = value ^ 772935234179004386ll; operator <<() local 174 const deUint64 val = value ^ 4664937258000467599ull; operator <<() local 195 deUint32 val; operator <<() local 216 deUint64 val; operator <<() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationEGL_autogen.h | 20 bool ValidateChooseConfig(const ValidationContext *val, 26 bool ValidateCopyBuffers(const ValidationContext *val, 30 bool ValidateCreateContext(const ValidationContext *val, 35 bool ValidateCreatePbufferSurface(const ValidationContext *val, 39 bool ValidateCreatePixmapSurface(const ValidationContext *val, 44 bool ValidateCreateWindowSurface(const ValidationContext *val, 49 bool ValidateDestroyContext(const ValidationContext *val, 52 bool ValidateDestroySurface(const ValidationContext *val, 55 bool ValidateGetConfigAttrib(const ValidationContext *val, 60 bool ValidateGetConfigs(const ValidationContext *val, [all...] |
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | neon.h | 27 v.val[0] = a; \ 28 v.val[1] = b; \ 32 v.val[0] = a; \ 33 v.val[1] = b; \ 34 v.val[2] = c; \ 38 v.val[0] = a; \ 39 v.val[1] = b; \ 40 v.val[2] = c; \ 41 v.val[3] = d; \ 54 row01.val[ in Transpose4x4_NEON() [all...] |
/third_party/python/Lib/test/ |
H A D | test_augassign.py | 71 self.val = value 72 def __radd__(self, val): 73 return self.val + val 74 def __add__(self, val): 75 return aug_test(self.val + val) 78 def __iadd__(self, val): 79 self.val = self.val [all...] |
/third_party/lzma/CPP/Common/ |
H A D | IntToString.cpp | 11 while (val >= 10) { temp[i++] = (unsigned char)('0' + (unsigned)(val % 10)); val /= 10; } \
12 *s++ = (charType)('0' + (unsigned)val); \
17 char * ConvertUInt32ToString(UInt32 val, char *s) throw()
in ConvertUInt32ToString() argument 22 char * ConvertUInt64ToString(UInt64 val, char *s) throw()
in ConvertUInt64ToString() argument 24 if (val <= (UInt32)0xFFFFFFFF)
in ConvertUInt64ToString() 26 return ConvertUInt32ToString((UInt32)val, s);
in ConvertUInt64ToString() 31 void ConvertUInt64ToOct(UInt64 val, char *s) throw()
in ConvertUInt64ToOct() argument 33 UInt64 v = val;
in ConvertUInt64ToOct() 57 ConvertUInt32ToHex(UInt32 val, char *s) ConvertUInt32ToHex() argument 78 ConvertUInt64ToHex(UInt64 val, char *s) ConvertUInt64ToHex() argument 98 ConvertUInt32ToHex8Digits(UInt32 val, char *s) ConvertUInt32ToHex8Digits() argument 122 ConvertUInt32ToString(UInt32 val, wchar_t *s) ConvertUInt32ToString() argument 127 ConvertUInt64ToString(UInt64 val, wchar_t *s) ConvertUInt64ToString() argument 136 ConvertInt64ToString(Int64 val, char *s) ConvertInt64ToString() argument 146 ConvertInt64ToString(Int64 val, wchar_t *s) ConvertInt64ToString() argument 163 ConvertUInt16ToHex4Digits(UInt32 val, char *s) ConvertUInt16ToHex4Digits() argument [all...] |
H A D | UTFConvert.cpp | 37 { numBytes = (n); val -= MY_UTF8_START(n); }
54 UInt32 val = c; \
66 UInt32 val = c; \
69 else { numBytes = 3; val -= MY_UTF8_START(3); }
176 UInt32 val = c;
in Check_Buf() local 195 val <<= 6;
in Check_Buf() 196 val |= c2;
in Check_Buf() 198 if (val < (((unsigned)1 << 7) >> numBytes))
in Check_Buf() 213 if (IS_ESCAPE_POINT(val, 0))
in Check_Buf() 217 if (MaxHighPoint < val)
in Check_Buf() [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | bcmendian.h | 40 #define BCMSWAP16(val) \ 41 ((uint16)((((uint16)(val) & (uint16)0x00ffU) << 8) | \ 42 (((uint16)(val) & (uint16)0xff00U) >> 8))) 45 #define BCMSWAP32(val) \ 46 ((uint32)((((uint32)(val) & (uint32)0x000000ffU) << 24) | \ 47 (((uint32)(val) & (uint32)0x0000ff00U) << 8) | \ 48 (((uint32)(val) & (uint32)0x00ff0000U) >> 8) | \ 49 (((uint32)(val) & (uint32)0xff000000U) >> 24))) 52 #define BCMSWAP32BY16(val) \ 53 ((uint32)((((uint32)(val) 268 bcmswap16(uint16 val) bcmswap16() argument 274 bcmswap32(uint32 val) bcmswap32() argument 280 bcmswap64(uint64 val) bcmswap64() argument 286 bcmswap32by16(uint32 val) bcmswap32by16() argument 309 htol16_ua_store(uint16 val, uint8 *bytes) htol16_ua_store() argument 319 htol32_ua_store(uint32 val, uint8 *bytes) htol32_ua_store() argument 331 htol64_ua_store(uint64 val, uint8 *bytes) htol64_ua_store() argument 344 hton16_ua_store(uint16 val, uint8 *bytes) hton16_ua_store() argument 354 hton32_ua_store(uint32 val, uint8 *bytes) hton32_ua_store() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_marshalling_helper.cpp | 84 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const TYPE& val) \ 86 return parcel.Write##TYPENAME(val); \ 88 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, TYPE& val) \ 90 return parcel.Read##TYPENAME(val); \ 109 static bool MarshallingRecordCmdFromDrawCmdList(Parcel& parcel, const std::shared_ptr<Drawing::DrawCmdList>& val) in MarshallingRecordCmdFromDrawCmdList() argument 111 if (!val) { in MarshallingRecordCmdFromDrawCmdList() 116 uint32_t recordCmdSize = val->GetAllRecordCmd(recordCmdVec); in MarshallingRecordCmdFromDrawCmdList() 135 static bool UnmarshallingRecordCmdToDrawCmdList(Parcel& parcel, std::shared_ptr<Drawing::DrawCmdList>& val) in UnmarshallingRecordCmdToDrawCmdList() argument 137 if (!val) { in UnmarshallingRecordCmdToDrawCmdList() 157 return val in UnmarshallingRecordCmdToDrawCmdList() 160 MarshallingExtendObjectFromDrawCmdList(Parcel& parcel, const std::shared_ptr<Drawing::DrawCmdList>& val) MarshallingExtendObjectFromDrawCmdList() argument 186 UnmarshallingExtendObjectToDrawCmdList(Parcel& parcel, std::shared_ptr<Drawing::DrawCmdList>& val) UnmarshallingExtendObjectToDrawCmdList() argument 214 Marshalling(Parcel& parcel, std::shared_ptr<Drawing::Data> val) Marshalling() argument 244 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Data>& val) Unmarshalling() argument 286 UnmarshallingWithCopy(Parcel& parcel, std::shared_ptr<Drawing::Data>& val) UnmarshallingWithCopy() argument 296 Marshalling(Parcel& parcel, const Drawing::Bitmap& val) Marshalling() argument 310 Unmarshalling(Parcel& parcel, Drawing::Bitmap& val) Unmarshalling() argument 371 Marshalling(Parcel& parcel, const std::shared_ptr<Drawing::Image>& val) Marshalling() argument 458 UnmarshallingNoLazyGeneratedImage(Parcel& parcel, std::shared_ptr<Drawing::Image>& val, void*& imagepixelAddr) UnmarshallingNoLazyGeneratedImage() argument 500 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Image>& val) Unmarshalling() argument 506 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Image>& val, void*& imagepixelAddr) Unmarshalling() argument 560 Marshalling(Parcel& parcel, const std::shared_ptr<RSShader>& val) Marshalling() argument 576 Unmarshalling(Parcel& parcel, std::shared_ptr<RSShader>& val) Unmarshalling() argument 599 Marshalling(Parcel& parcel, const Drawing::Matrix& val) Marshalling() argument 612 Unmarshalling(Parcel& parcel, Drawing::Matrix& val) Unmarshalling() argument 636 Marshalling(Parcel& parcel, const std::shared_ptr<RSLinearGradientBlurPara>& val) Marshalling() argument 652 Unmarshalling(Parcel& parcel, std::shared_ptr<RSLinearGradientBlurPara>& val) Unmarshalling() argument 690 Marshalling(Parcel& parcel, const std::shared_ptr<MotionBlurParam>& val) Marshalling() argument 698 Unmarshalling(Parcel& parcel, std::shared_ptr<MotionBlurParam>& val) Unmarshalling() argument 716 Marshalling(Parcel& parcel, const std::shared_ptr<RSMagnifierParams>& val) Marshalling() argument 739 Unmarshalling(Parcel& parcel, std::shared_ptr<RSMagnifierParams>& val) Unmarshalling() argument 797 Marshalling(Parcel& parcel, const std::shared_ptr<EmitterUpdater>& val) Marshalling() argument 810 Unmarshalling(Parcel& parcel, std::shared_ptr<EmitterUpdater>& val) Unmarshalling() argument 831 Marshalling(Parcel& parcel, const std::vector<std::shared_ptr<EmitterUpdater>>& val) Marshalling() argument 840 Unmarshalling(Parcel& parcel, std::vector<std::shared_ptr<EmitterUpdater>>& val) Unmarshalling() argument 859 Marshalling(Parcel& parcel, const std::shared_ptr<ParticleNoiseField>& val) Marshalling() argument 874 Unmarshalling(Parcel& parcel, std::shared_ptr<ParticleNoiseField>& val) Unmarshalling() argument 908 Marshalling(Parcel& parcel, const std::shared_ptr<ParticleNoiseFields>& val) Marshalling() argument 921 Unmarshalling(Parcel& parcel, std::shared_ptr<ParticleNoiseFields>& val) Unmarshalling() argument 944 Marshalling(Parcel& parcel, const EmitterConfig& val) Marshalling() argument 964 Unmarshalling(Parcel& parcel, EmitterConfig& val) Unmarshalling() argument 1006 Marshalling(Parcel& parcel, const ParticleVelocity& val) Marshalling() argument 1012 Unmarshalling(Parcel& parcel, ParticleVelocity& val) Unmarshalling() argument 1028 Marshalling(Parcel& parcel, const RenderParticleParaType<float>& val) Marshalling() argument 1051 Unmarshalling(Parcel& parcel, RenderParticleParaType<float>& val) Unmarshalling() argument 1091 Marshalling(Parcel& parcel, const RenderParticleColorParaType& val) Marshalling() argument 1120 Unmarshalling(Parcel& parcel, RenderParticleColorParaType& val) Unmarshalling() argument 1172 Marshalling(Parcel& parcel, const std::shared_ptr<ParticleRenderParams>& val) Marshalling() argument 1189 Unmarshalling(Parcel& parcel, std::shared_ptr<ParticleRenderParams>& val) Unmarshalling() argument 1219 Marshalling(Parcel& parcel, const std::vector<std::shared_ptr<ParticleRenderParams>>& val) Marshalling() argument 1228 Unmarshalling(Parcel& parcel, std::vector<std::shared_ptr<ParticleRenderParams>>& val) Unmarshalling() argument 1248 Marshalling(Parcel& parcel, const std::shared_ptr<RSPath>& val) Marshalling() argument 1264 Unmarshalling(Parcel& parcel, std::shared_ptr<RSPath>& val) Unmarshalling() argument 1289 Marshalling(Parcel& parcel, const std::shared_ptr<RSMask>& val) Marshalling() argument 1297 Unmarshalling(Parcel& parcel, std::shared_ptr<RSMask>& val) Unmarshalling() argument 1308 Marshalling(Parcel& parcel, const std::shared_ptr<RSFilter>& val) Marshalling() argument 1338 Unmarshalling(Parcel& parcel, std::shared_ptr<RSFilter>& val) Unmarshalling() argument 1381 Marshalling(Parcel& parcel, const std::shared_ptr<RSImageBase>& val) Marshalling() argument 1389 Unmarshalling(Parcel& parcel, std::shared_ptr<RSImageBase>& val) Unmarshalling() argument 1400 Marshalling(Parcel& parcel, const std::shared_ptr<RSImage>& val) Marshalling() argument 1408 Unmarshalling(Parcel& parcel, std::shared_ptr<RSImage>& val) Unmarshalling() argument 1419 Marshalling(Parcel& parcel, const std::shared_ptr<Media::PixelMap>& val) Marshalling() argument 1444 Unmarshalling(Parcel& parcel, std::shared_ptr<Media::PixelMap>& val) Unmarshalling() argument 1499 Marshalling(Parcel& parcel, const std::shared_ptr<RectT<float>>& val) Marshalling() argument 1508 Unmarshalling(Parcel& parcel, std::shared_ptr<RectT<float>>& val) Unmarshalling() argument 1519 Marshalling(Parcel& parcel, const RRectT<float>& val) Marshalling() argument 1525 Unmarshalling(Parcel& parcel, RRectT<float>& val) Unmarshalling() argument 1534 Marshalling(Parcel& parcel, const std::shared_ptr<Drawing::DrawCmdList>& val) Marshalling() argument 1661 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::DrawCmdList>& val) Unmarshalling() argument 1831 Marshalling(Parcel& parcel, const std::shared_ptr<Drawing::RecordCmd>& val) Marshalling() argument 1843 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::RecordCmd>& val) Unmarshalling() argument 1867 Marshalling(Parcel& parcel, const std::shared_ptr<RSExtendImageObject>& val) Marshalling() argument 1880 Unmarshalling(Parcel& parcel, std::shared_ptr<RSExtendImageObject>& val) Unmarshalling() argument 1895 Marshalling(Parcel& parcel, const std::shared_ptr<RSExtendImageBaseObj>& val) Marshalling() argument 1908 Unmarshalling(Parcel& parcel, std::shared_ptr<RSExtendImageBaseObj>& val) Unmarshalling() argument 1923 Marshalling(Parcel& parcel, const std::shared_ptr<Drawing::MaskCmdList>& val) Marshalling() argument 1973 Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::MaskCmdList>& val) Unmarshalling() argument 2065 Marshalling(Parcel& parcel, const std::shared_ptr<RSRenderModifier>& val) Marshalling() argument 2069 Unmarshalling(Parcel& parcel, std::shared_ptr<RSRenderModifier>& val) Unmarshalling() argument 2294 Marshalling(Parcel& parcel, const std::shared_ptr<RSRenderPropertyBase>& val) Marshalling() argument 2299 Unmarshalling(Parcel& parcel, std::shared_ptr<RSRenderPropertyBase>& val) Unmarshalling() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/ |
H A D | svg_animate_declaration.cpp | 41 [](const std::string& val, SvgAnimateDeclaration& declaration) { in SetAnimateAttr() 42 declaration.SetBegin(ConvertTimeStr(val)); in SetAnimateAttr() 45 [](const std::string& val, SvgAnimateDeclaration& declaration) { in SetAnimateAttr() 46 if (val == "indefinite") { in SetAnimateAttr() 49 declaration.SetDur(ConvertTimeStr(val)); in SetAnimateAttr() 53 [](const std::string& val, SvgAnimateDeclaration& declaration) { in SetAnimateAttr() 54 declaration.SetEnd(ConvertTimeStr(val)); in SetAnimateAttr() 57 [](const std::string& val, SvgAnimateDeclaration& declaration) { in SetAnimateAttr() 58 if (val == "indefinite") { in SetAnimateAttr() 61 declaration.SetRepeatCount(StringToInt(val)); in SetAnimateAttr() [all...] |
/third_party/backends/backend/ |
H A D | kodak-cmd.h | 14 setbitfield (unsigned char *pageaddr, int mask, int shift, int val) in setbitfield() argument 16 *pageaddr = (*pageaddr & ~(mask << shift)) | ((val & mask) << shift); in setbitfield() 50 #define set_SCSI_opcode(out, val) out[0]=val 51 #define set_SCSI_lun(out, val) setbitfield(out + 1, 7, 5, val) 100 #define set_I_evpd(out, val) setbitfield(out + 1, 1, 0, val) 101 #define set_I_page_code(out, val) out[0x02]=val [all...] |
H A D | fujitsu-scsi.h | 24 setbitfield (unsigned char *pageaddr, int mask, int shift, int val) in setbitfield() argument 26 *pageaddr = (*pageaddr & ~(mask << shift)) | ((val & mask) << shift); in setbitfield() 76 #define set_SCSI_opcode(out, val) out[0]=val 77 #define set_SCSI_lun(out, val) setbitfield(out + 1, 7, 5, val) 90 #define set_RS_return_size(icb,val) icb[0x04]=val 130 #define set_IN_evpd(icb, val) setbitfield(icb + 1, 1, 0, val) [all...] |
H A D | umax-scsidef.h | 58 static inline void setbitfield(unsigned char * pageaddr, int mask, int shift, int val) \ in setbitfield() argument 59 { *pageaddr = (*pageaddr & ~(mask << shift)) | ((val & mask) << shift); } in setbitfield() 61 static inline void resetbitfield(unsigned char * pageaddr, int mask, int shift, int val) \ in resetbitfield() argument 62 { *pageaddr = (*pageaddr & ~(mask << shift)) | (((!val) & mask) << shift); } in resetbitfield() 136 #define set_inquiry_return_size(icb,val) icb[0x04]=val 155 #define set_inquiry_CBHS(in, val) setbitfield(in + 0x01, 0x03, 3, val) 196 #define set_inquiry_fw_quality(in, val) setbitfield(in + 0x24, 1, 0, val) [all...] |
H A D | coolscan-scsidef.h | 53 setbitfield (unsigned char *pageaddr, int mask, int shift, int val) \ in setbitfield() argument 55 *pageaddr = (*pageaddr & ~(mask << shift)) | ((val & mask) << shift); in setbitfield() 61 resetbitfield (unsigned char *pageaddr, int mask, int shift, int val) \ in resetbitfield() argument 63 *pageaddr = (*pageaddr & ~(mask << shift)) | (((!val) & mask) << shift); in resetbitfield() 154 #define set_inquiry_return_size(icb,val) icb[0x04]=val 220 #define set_MS_DBD(b, val) setbitfield(b, 0x01, 3, (val?1:0)) 221 #define set_MS_len(b, val) putnbyte(b+0x04, val, [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | bits.h | 31 static inline long long zero_extend(long long val, unsigned size) in zero_extend() argument 33 return val & bits_mask(size); in zero_extend() 36 static inline long long sign_extend(long long val, unsigned size) in sign_extend() argument 38 if (val & sign_bit(size)) in sign_extend() 39 val |= ~sign_mask(size); in sign_extend() 40 return val; in sign_extend() 44 // sign extend @val but only if exactly representable 45 static inline long long sign_extend_safe(long long val, unsigned size) in sign_extend_safe() argument 48 if (!(val & ~mask)) in sign_extend_safe() 49 val in sign_extend_safe() 53 bits_extend(long long val, unsigned size, int is_signed) bits_extend() argument 61 is_power_of_2(long long val) is_power_of_2() argument 68 log2_exact(unsigned long long val) log2_exact() argument [all...] |
/foundation/communication/ipc/interfaces/innerkits/rust/src/cxx/ |
H A D | parcel_wrapper.cpp | 111 bool ReadString(Parcel &parcel, rust::string &val) in ReadString() argument 115 val = v; in ReadString() 122 bool WriteString(Parcel &parcel, const rust::str val) in WriteString() argument 124 auto s = std::string(val); in WriteString() 128 bool WriteString16(Parcel &parcel, const rust::str val) in WriteString16() argument 130 std::u16string u16string = Str8ToStr16(std::string(val)); in WriteString16() 140 template<typename T> std::vector<T> RustVec2CppVec(rust::slice<const T> val) in RustVec2CppVec() argument 143 for (auto i : val) { in RustVec2CppVec() 149 bool WriteBoolVector(Parcel &parcel, rust::slice<const bool> val) in WriteBoolVector() argument 151 return parcel.WriteBoolVector(RustVec2CppVec(val)); in WriteBoolVector() 154 WriteInt8Vector(Parcel &parcel, rust::slice<const int8_t> val) WriteInt8Vector() argument 159 WriteInt16Vector(Parcel &parcel, rust::slice<const int16_t> val) WriteInt16Vector() argument 163 WriteInt32Vector(Parcel &parcel, rust::slice<const int32_t> val) WriteInt32Vector() argument 167 WriteInt64Vector(Parcel &parcel, rust::slice<const int64_t> val) WriteInt64Vector() argument 171 WriteUInt8Vector(Parcel &parcel, rust::slice<const uint8_t> val) WriteUInt8Vector() argument 175 WriteUInt16Vector(Parcel &parcel, rust::slice<const uint16_t> val) WriteUInt16Vector() argument 179 WriteUInt32Vector(Parcel &parcel, rust::slice<const uint32_t> val) WriteUInt32Vector() argument 183 WriteUInt64Vector(Parcel &parcel, rust::slice<const uint64_t> val) WriteUInt64Vector() argument 187 WriteFloatVector(Parcel &parcel, rust::slice<const float> val) WriteFloatVector() argument 191 WriteDoubleVector(Parcel &parcel, rust::slice<const double> val) WriteDoubleVector() argument 196 WriteStringVector(Parcel &parcel, rust::slice<const rust::string> val) WriteStringVector() argument 205 WriteString16Vector(Parcel &parcel, rust::slice<const rust::string> val) WriteString16Vector() argument 215 ReadVector(Parcel &parcel, rust::vec<T> &val, bool (Parcel::*ReadVec)(std::vector<T> *)) ReadVector() argument 227 ReadBoolVector(Parcel &parcel, rust::vec<bool> &val) ReadBoolVector() argument 231 ReadInt8Vector(Parcel &parcel, rust::vec<int8_t> &val) ReadInt8Vector() argument 235 ReadInt16Vector(Parcel &parcel, rust::vec<int16_t> &val) ReadInt16Vector() argument 239 ReadInt32Vector(Parcel &parcel, rust::vec<int32_t> &val) ReadInt32Vector() argument 243 ReadInt64Vector(Parcel &parcel, rust::vec<int64_t> &val) ReadInt64Vector() argument 247 ReadUInt8Vector(Parcel &parcel, rust::vec<uint8_t> &val) ReadUInt8Vector() argument 251 ReadUInt16Vector(Parcel &parcel, rust::vec<uint16_t> &val) ReadUInt16Vector() argument 255 ReadUInt32Vector(Parcel &parcel, rust::vec<uint32_t> &val) ReadUInt32Vector() argument 259 ReadUInt64Vector(Parcel &parcel, rust::vec<uint64_t> &val) ReadUInt64Vector() argument 263 ReadFloatVector(Parcel &parcel, rust::vec<float> &val) ReadFloatVector() argument 267 ReadDoubleVector(Parcel &parcel, rust::vec<double> &val) ReadDoubleVector() argument 272 ReadStringVector(Parcel &parcel, rust::vec<rust::string> &val) ReadStringVector() argument 284 ReadString16Vector(Parcel &parcel, rust::vec<rust::string> &val) ReadString16Vector() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_color_palette.h | 28 static RSColor val { 0, 0, 0 }; in Black() 29 return val; in Black() 34 static RSColor val { 0, 0, 255 }; in Blue() 35 return val; in Blue() 40 static RSColor val { 0, 255, 255 }; in Cyan() 41 return val; in Cyan() 46 static RSColor val { 68, 68, 68 }; in DarkGray() 47 return val; in DarkGray() 52 static RSColor val { 136, 136, 136 }; in Gray() 53 return val; in Gray() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
H A D | svg_animation.cpp | 56 [](const std::string& val, const RefPtr<SvgAnimateComponent>& animateComponent) { in SetAttr() 57 animateComponent->SetBegin(ConvertTimeStr(val)); in SetAttr() 60 [](const std::string& val, const RefPtr<SvgAnimateComponent>& animateComponent) { in SetAttr() 61 if (val == "indefinite") { in SetAttr() 64 animateComponent->SetDur(ConvertTimeStr(val)); in SetAttr() 68 [](const std::string& val, const RefPtr<SvgAnimateComponent>& animateComponent) { in SetAttr() 69 animateComponent->SetEnd(ConvertTimeStr(val)); in SetAttr() 72 [](const std::string& val, const RefPtr<SvgAnimateComponent>& animateComponent) { in SetAttr() 73 if (val == "indefinite") { in SetAttr() 76 animateComponent->SetRepeatCount(StringToInt(val)); in SetAttr() [all...] |
/third_party/ltp/lib/newlib_tests/ |
H A D | test_parse_filesize.c | 14 long long val = 0; in do_test() local 17 if ((ret = tst_parse_filesize("1", &val, LLONG_MIN, LLONG_MAX))) { in do_test() 20 if (val == 1LL) in do_test() 21 tst_res(TPASS, "value is %lli", val); in do_test() 23 tst_res(TFAIL, "%lli != %lli", val, 1LL); in do_test() 27 if ((ret = tst_parse_filesize("1k", &val, LLONG_MIN, LLONG_MAX))) { in do_test() 30 if (val == 1024LL) in do_test() 31 tst_res(TPASS, "value is %lli", val); in do_test() 33 tst_res(TFAIL, "%lli != %lli", val, 1024LL); in do_test() 36 if ((ret = tst_parse_filesize("1m", &val, LLONG_MI in do_test() [all...] |
/third_party/mesa3d/src/egl/main/ |
H A D | eglimage.c | 39 EGLint attr, EGLint val) in _eglParseKHRImageAttribs() 46 attrs->ImagePreserved = val; in _eglParseKHRImageAttribs() 53 attrs->GLTextureLevel = val; in _eglParseKHRImageAttribs() 59 attrs->GLTextureZOffset = val; in _eglParseKHRImageAttribs() 65 attrs->ProtectedContent = val; in _eglParseKHRImageAttribs() 76 EGLint attr, EGLint val) in _eglParseMESADrmImageAttribs() 83 attrs->Width = val; in _eglParseMESADrmImageAttribs() 86 attrs->Height = val; in _eglParseMESADrmImageAttribs() 89 attrs->DRMBufferFormatMESA = val; in _eglParseMESADrmImageAttribs() 92 attrs->DRMBufferUseMESA = val; in _eglParseMESADrmImageAttribs() 38 _eglParseKHRImageAttribs(_EGLImageAttribs *attrs, _EGLDisplay *disp, EGLint attr, EGLint val) _eglParseKHRImageAttribs() argument 75 _eglParseMESADrmImageAttribs(_EGLImageAttribs *attrs, _EGLDisplay *disp, EGLint attr, EGLint val) _eglParseMESADrmImageAttribs() argument 105 _eglParseWLBindWaylandDisplayAttribs(_EGLImageAttribs *attrs, _EGLDisplay *disp, EGLint attr, EGLint val) _eglParseWLBindWaylandDisplayAttribs() argument 123 _eglParseEXTImageDmaBufImportAttribs(_EGLImageAttribs *attrs, _EGLDisplay *disp, EGLint attr, EGLint val) _eglParseEXTImageDmaBufImportAttribs() argument 215 _eglParseEXTImageDmaBufImportModifiersAttribs(_EGLImageAttribs *attrs, _EGLDisplay *disp, EGLint attr, EGLint val) _eglParseEXTImageDmaBufImportModifiersAttribs() argument 293 EGLint val = attrib_list[i]; _eglParseImageAttribList() local [all...] |
/third_party/mesa3d/src/freedreno/afuc/ |
H A D | emu-regs.c | 52 assert(n < ARRAY_SIZE(emu->control_regs.val)); in emu_get_control_reg() 55 return emu->control_regs.val[n]; in emu_get_control_reg() 59 emu_set_control_reg(struct emu *emu, unsigned n, uint32_t val) in emu_set_control_reg() argument 66 assert(n < ARRAY_SIZE(emu->control_regs.val)); in emu_set_control_reg() 68 emu->control_regs.val[n] = val; in emu_set_control_reg() 75 emu->jmptbl[write_addr] = val; in emu_set_control_reg() 87 emu_set_gpu_reg(emu, write_addr++, val); in emu_set_control_reg() 90 emu_set_draw_state_reg(emu, n, val); in emu_set_control_reg() 97 assert(n < ARRAY_SIZE(emu->pipe_regs.val)); in emu_get_pipe_reg() 102 emu_set_pipe_reg(struct emu *emu, unsigned n, uint32_t val) emu_set_pipe_reg() argument 131 emu_set_gpu_reg(struct emu *emu, unsigned n, uint32_t val) emu_set_gpu_reg() argument 206 uint32_t val; emu_get_fifo_reg() local 224 emu_set_fifo_reg(struct emu *emu, unsigned n, uint32_t val) emu_set_fifo_reg() argument 292 emu_set_gpr_reg(struct emu *emu, unsigned n, uint32_t val) emu_set_gpr_reg() argument 354 uint64_t val = reg->accessor->get(emu, emu_reg_offset(reg) + 1); emu_get_reg64() local 361 emu_set_reg32(struct emu *emu, struct emu_reg *reg, uint32_t val) emu_set_reg32() argument 367 emu_set_reg64(struct emu *emu, struct emu_reg *reg, uint64_t val) emu_set_reg64() argument [all...] |