/external/v8/src/codegen/ |
D | code-desc.cc | 13 void CodeDesc::Initialize(CodeDesc* desc, Assembler* assembler, in Initialize() argument 17 desc->buffer = assembler->buffer_start(); in Initialize() 18 desc->buffer_size = assembler->buffer_size(); in Initialize() 19 desc->instr_size = assembler->instruction_size(); in Initialize() 21 desc->code_comments_offset = code_comments_offset; in Initialize() 22 desc->code_comments_size = desc->instr_size - code_comments_offset; in Initialize() 24 desc->constant_pool_offset = constant_pool_offset; in Initialize() 25 desc->constant_pool_size = desc->code_comments_offset - constant_pool_offset; in Initialize() 27 desc->handler_table_offset = handler_table_offset; in Initialize() 28 desc->handler_table_size = desc->constant_pool_offset - handler_table_offset; in Initialize() [all …]
|
/external/icu/icu4c/source/data/misc/ |
D | numberingSystems.txt | 7 desc{""} 12 desc{""} 17 desc{"٠١٢٣٤٥٦٧٨٩"} 22 desc{"۰۱۲۳۴۵۶۷۸۹"} 27 desc{"%armenian-upper"} 32 desc{"%armenian-lower"} 37 desc{"᭐᭑᭒᭓᭔᭕᭖᭗᭘᭙"} 42 desc{"০১২৩৪৫৬৭৮৯"} 47 desc{""} 52 desc{""} [all …]
|
/external/mesa3d/src/gallium/frontends/va/ |
D | picture_h264_enc.c | 39 context->desc.h264enc.frame_num = h264->frame_num; in vlVaHandleVAEncPictureParameterBufferTypeH264() 40 context->desc.h264enc.not_referenced = false; in vlVaHandleVAEncPictureParameterBufferTypeH264() 41 context->desc.h264enc.pic_order_cnt = h264->CurrPic.TopFieldOrderCnt; in vlVaHandleVAEncPictureParameterBufferTypeH264() 42 if (context->desc.h264enc.gop_cnt == 0) in vlVaHandleVAEncPictureParameterBufferTypeH264() 43 context->desc.h264enc.i_remain = context->gop_coeff; in vlVaHandleVAEncPictureParameterBufferTypeH264() 44 else if (context->desc.h264enc.frame_num == 1) in vlVaHandleVAEncPictureParameterBufferTypeH264() 45 context->desc.h264enc.i_remain--; in vlVaHandleVAEncPictureParameterBufferTypeH264() 47 …context->desc.h264enc.p_remain = context->desc.h264enc.gop_size - context->desc.h264enc.gop_cnt - … in vlVaHandleVAEncPictureParameterBufferTypeH264() 55 _mesa_hash_table_insert(context->desc.h264enc.frame_idx, in vlVaHandleVAEncPictureParameterBufferTypeH264() 60 context->desc.h264enc.picture_type = PIPE_H264_ENC_PICTURE_TYPE_IDR; in vlVaHandleVAEncPictureParameterBufferTypeH264() [all …]
|
D | picture_hevc.c | 37 context->desc.h265.pps->sps->chroma_format_idc = hevc->pic_fields.bits.chroma_format_idc; in vlVaHandlePictureParameterBufferHEVC() 38 context->desc.h265.pps->sps->separate_colour_plane_flag = in vlVaHandlePictureParameterBufferHEVC() 40 context->desc.h265.pps->sps->pic_width_in_luma_samples = hevc->pic_width_in_luma_samples; in vlVaHandlePictureParameterBufferHEVC() 41 context->desc.h265.pps->sps->pic_height_in_luma_samples = hevc->pic_height_in_luma_samples; in vlVaHandlePictureParameterBufferHEVC() 42 context->desc.h265.pps->sps->bit_depth_luma_minus8 = hevc->bit_depth_luma_minus8; in vlVaHandlePictureParameterBufferHEVC() 43 context->desc.h265.pps->sps->bit_depth_chroma_minus8 = hevc->bit_depth_chroma_minus8; in vlVaHandlePictureParameterBufferHEVC() 44 context->desc.h265.pps->sps->log2_max_pic_order_cnt_lsb_minus4 = in vlVaHandlePictureParameterBufferHEVC() 46 context->desc.h265.pps->sps->sps_max_dec_pic_buffering_minus1 = in vlVaHandlePictureParameterBufferHEVC() 48 context->desc.h265.pps->sps->log2_min_luma_coding_block_size_minus3 = in vlVaHandlePictureParameterBufferHEVC() 50 context->desc.h265.pps->sps->log2_diff_max_min_luma_coding_block_size = in vlVaHandlePictureParameterBufferHEVC() [all …]
|
D | picture_hevc_enc.c | 49 context->desc.h265enc.decoded_curr_pic = h265->decoded_curr_pic.picture_id; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 52 context->desc.h265enc.reference_frames[i] = h265->reference_frames[i].picture_id; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 54 context->desc.h265enc.pic_order_cnt = h265->decoded_curr_pic.pic_order_cnt; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 62 …context->desc.h265enc.pic.log2_parallel_merge_level_minus2 = h265->log2_parallel_merge_level_minus… in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 63 context->desc.h265enc.pic.nal_unit_type = h265->nal_unit_type; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 64 context->desc.h265enc.rc.quant_i_frames = h265->pic_init_qp; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 69 context->desc.h265enc.picture_type = PIPE_H265_ENC_PICTURE_TYPE_IDR; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 71 context->desc.h265enc.picture_type = PIPE_H265_ENC_PICTURE_TYPE_I; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 74 context->desc.h265enc.picture_type = PIPE_H265_ENC_PICTURE_TYPE_P; in vlVaHandleVAEncPictureParameterBufferTypeHEVC() 83 …context->desc.h265enc.pic.constrained_intra_pred_flag = h265->pic_fields.bits.constrained_intra_pr… in vlVaHandleVAEncPictureParameterBufferTypeHEVC() [all …]
|
/external/skia/tests/ |
D | DescriptorTest.cpp | 17 static void SetLength(SkDescriptor* desc, size_t length) { desc->fLength = length; } in SetLength() argument 18 static void SetCount(SkDescriptor* desc, uint32_t count) { desc->fCount = count; } in SetCount() argument 24 auto desc = SkDescriptor::Alloc(size); in DEF_TEST() local 25 REPORTER_ASSERT(r, desc->isValid()); in DEF_TEST() 26 REPORTER_ASSERT(r, desc->getLength() == size); in DEF_TEST() 33 auto desc = SkDescriptor::Alloc(size); in DEF_TEST() local 35 desc->addEntry(kRec_SkDescriptorTag, sizeof(rec), &rec); in DEF_TEST() 36 REPORTER_ASSERT(r, desc->isValid()); in DEF_TEST() 37 REPORTER_ASSERT(r, desc->getLength() == size); in DEF_TEST() 39 SkDescriptorTestHelper::SetLength(desc.get(), size - 4); in DEF_TEST() [all …]
|
/external/u-boot/drivers/fpga/ |
D | xilinx.c | 22 static int xilinx_validate(xilinx_desc *desc, char *fn); 28 const fpga_desc * const desc = fpga_get_desc(devnum); in fpga_is_partial_data() local 29 xilinx_desc *desc_xilinx = desc->devdesc; in fpga_is_partial_data() 46 const fpga_desc *desc; in fpga_loadbitstream() local 51 desc = fpga_validate(devnum, dataptr, 0, (char *)__func__); in fpga_loadbitstream() 53 xdesc = desc->devdesc; in fpga_loadbitstream() 140 int xilinx_load(xilinx_desc *desc, const void *buf, size_t bsize, in xilinx_load() argument 143 if (!xilinx_validate (desc, (char *)__FUNCTION__)) { in xilinx_load() 148 if (!desc->operations || !desc->operations->load) { in xilinx_load() 153 return desc->operations->load(desc, buf, bsize, bstype); in xilinx_load() [all …]
|
D | fpga.c | 42 fpga_desc *desc = (fpga_desc *)NULL; in fpga_get_desc() local 45 desc = &desc_table[devnum]; in fpga_get_desc() 47 __func__, devnum, desc); in fpga_get_desc() 50 return desc; in fpga_get_desc() 60 const fpga_desc *desc = fpga_get_desc(devnum); in fpga_validate() local 62 if (!desc) in fpga_validate() 69 return desc; in fpga_validate() 79 const fpga_desc * const desc = fpga_get_desc(devnum); in fpga_dev_info() local 81 if (desc) { in fpga_dev_info() 83 __func__, desc->devdesc); in fpga_dev_info() [all …]
|
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/internal/ |
D | MatcherTest.java | 32 PhoneNumberDesc desc = new PhoneNumberDesc(); in checkMatcherBehavesAsExpected() local 34 desc = createDesc(""); in checkMatcherBehavesAsExpected() 36 assertInvalid(matcher, "1", desc); in checkMatcherBehavesAsExpected() 38 desc = createDesc("9\\d{2}"); in checkMatcherBehavesAsExpected() 39 assertInvalid(matcher, "91", desc); in checkMatcherBehavesAsExpected() 40 assertInvalid(matcher, "81", desc); in checkMatcherBehavesAsExpected() 41 assertMatched(matcher, "911", desc); in checkMatcherBehavesAsExpected() 42 assertInvalid(matcher, "811", desc); in checkMatcherBehavesAsExpected() 43 assertTooLong(matcher, "9111", desc); in checkMatcherBehavesAsExpected() 44 assertInvalid(matcher, "8111", desc); in checkMatcherBehavesAsExpected() [all …]
|
/external/kernel-headers/original/uapi/linux/usb/ |
D | audio.h | 267 static inline __u8 uac_mixer_unit_bNrChannels(struct uac_mixer_unit_descriptor *desc) in uac_mixer_unit_bNrChannels() argument 269 return desc->baSourceID[desc->bNrInPins]; in uac_mixer_unit_bNrChannels() 272 static inline __u32 uac_mixer_unit_wChannelConfig(struct uac_mixer_unit_descriptor *desc, in uac_mixer_unit_wChannelConfig() argument 276 return (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_mixer_unit_wChannelConfig() 277 desc->baSourceID[desc->bNrInPins + 1]; in uac_mixer_unit_wChannelConfig() 279 return (desc->baSourceID[desc->bNrInPins + 4] << 24) | in uac_mixer_unit_wChannelConfig() 280 (desc->baSourceID[desc->bNrInPins + 3] << 16) | in uac_mixer_unit_wChannelConfig() 281 (desc->baSourceID[desc->bNrInPins + 2] << 8) | in uac_mixer_unit_wChannelConfig() 282 (desc->baSourceID[desc->bNrInPins + 1]); in uac_mixer_unit_wChannelConfig() 285 static inline __u8 uac_mixer_unit_iChannelNames(struct uac_mixer_unit_descriptor *desc, in uac_mixer_unit_iChannelNames() argument [all …]
|
/external/u-boot/drivers/crypto/fsl/ |
D | desc_constr.h | 20 #define PRINT_POS do { printf("%02d: %s\n", desc_len(desc),\ 68 static inline int desc_len(u32 *desc) in desc_len() argument 70 return *desc & HDR_DESCLEN_MASK; in desc_len() 73 static inline int desc_bytes(void *desc) in desc_bytes() argument 75 return desc_len(desc) * CAAM_CMD_SZ; in desc_bytes() 78 static inline u32 *desc_end(u32 *desc) in desc_end() argument 80 return desc + desc_len(desc); in desc_end() 83 static inline void *desc_pdb(u32 *desc) in desc_pdb() argument 85 return desc + 1; in desc_pdb() 88 static inline void init_desc(u32 *desc, u32 options) in init_desc() argument [all …]
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | ldt_gdt.c | 142 struct user_desc desc = *d; in install_valid_mode() local 152 desc.entry_number = gdt_entry_num; in install_valid_mode() 154 ret = syscall(SYS_set_thread_area, &desc); in install_valid_mode() 157 &desc, sizeof(desc)); in install_valid_mode() 169 uint32_t limit = desc.limit; in install_valid_mode() 170 if (desc.limit_in_pages) in install_valid_mode() 172 check_valid_segment(desc.entry_number, ldt, ar, limit, true); in install_valid_mode() 175 if (desc.seg_32bit) { in install_valid_mode() 189 static bool install_valid(const struct user_desc *desc, uint32_t ar) in install_valid() argument 191 bool ret = install_valid_mode(desc, ar, false, true); in install_valid() [all …]
|
/external/OpenCL-CTS/test_conformance/d3d11/ |
D | misc.cpp | 35 D3D11_TEXTURE2D_DESC desc; in SubTestMiscMultipleCreates() local 36 memset(&desc, 0, sizeof(desc) ); in SubTestMiscMultipleCreates() 37 desc.Width = 256; in SubTestMiscMultipleCreates() 38 desc.Height = 256; in SubTestMiscMultipleCreates() 39 desc.MipLevels = 4; in SubTestMiscMultipleCreates() 40 desc.ArraySize = 4; in SubTestMiscMultipleCreates() 41 desc.Format = DXGI_FORMAT_R32G32B32A32_FLOAT; in SubTestMiscMultipleCreates() 42 desc.SampleDesc.Count = 1; in SubTestMiscMultipleCreates() 43 desc.SampleDesc.Quality = 0; in SubTestMiscMultipleCreates() 44 desc.Usage = D3D11_USAGE_DEFAULT; in SubTestMiscMultipleCreates() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | vk_format.h | 158 const struct vk_format_description *desc = vk_format_description(format); in vk_format_get_blocksizebits() local 160 assert(desc); in vk_format_get_blocksizebits() 161 if (!desc) { in vk_format_get_blocksizebits() 165 return desc->block.bits; in vk_format_get_blocksizebits() 189 const struct vk_format_description *desc = vk_format_description(format); in vk_format_get_blockwidth() local 191 assert(desc); in vk_format_get_blockwidth() 192 if (!desc) { in vk_format_get_blockwidth() 196 return desc->block.width; in vk_format_get_blockwidth() 202 const struct vk_format_description *desc = vk_format_description(format); in vk_format_get_blockheight() local 204 assert(desc); in vk_format_get_blockheight() [all …]
|
D | radv_formats.c | 37 uint32_t radv_translate_buffer_dataformat(const struct vk_format_description *desc, in radv_translate_buffer_dataformat() argument 43 assert(desc->layout != VK_FORMAT_LAYOUT_MULTIPLANE); in radv_translate_buffer_dataformat() 45 if (desc->format == VK_FORMAT_B10G11R11_UFLOAT_PACK32) in radv_translate_buffer_dataformat() 50 type = desc->channel[first_non_void].type; in radv_translate_buffer_dataformat() 54 if (desc->nr_channels == 4 && in radv_translate_buffer_dataformat() 55 desc->channel[0].size == 10 && in radv_translate_buffer_dataformat() 56 desc->channel[1].size == 10 && in radv_translate_buffer_dataformat() 57 desc->channel[2].size == 10 && in radv_translate_buffer_dataformat() 58 desc->channel[3].size == 2) in radv_translate_buffer_dataformat() 62 for (i = 0; i < desc->nr_channels; i++) { in radv_translate_buffer_dataformat() [all …]
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | ResourceManager11.cpp | 50 uint64_t ComputeMemoryUsage(const D3D11_TEXTURE2D_DESC *desc) in ComputeMemoryUsage() argument 52 ASSERT(desc); in ComputeMemoryUsage() 54 static_cast<uint64_t>(d3d11::GetDXGIFormatSizeInfo(desc->Format).pixelBytes); in ComputeMemoryUsage() 55 return ComputeMippedMemoryUsage(desc->Width, desc->Height, 1, pixelBytes, desc->MipLevels); in ComputeMemoryUsage() 58 uint64_t ComputeMemoryUsage(const D3D11_TEXTURE3D_DESC *desc) in ComputeMemoryUsage() argument 60 ASSERT(desc); in ComputeMemoryUsage() 62 static_cast<uint64_t>(d3d11::GetDXGIFormatSizeInfo(desc->Format).pixelBytes); in ComputeMemoryUsage() 63 return ComputeMippedMemoryUsage(desc->Width, desc->Height, desc->Depth, pixelBytes, in ComputeMemoryUsage() 64 desc->MipLevels); in ComputeMemoryUsage() 67 uint64_t ComputeMemoryUsage(const D3D11_BUFFER_DESC *desc) in ComputeMemoryUsage() argument [all …]
|
/external/OpenCL-CTS/test_conformance/d3d10/ |
D | misc.cpp | 33 D3D10_TEXTURE2D_DESC desc; in SubTestMiscMultipleCreates() local 34 memset(&desc, 0, sizeof(desc) ); in SubTestMiscMultipleCreates() 35 desc.Width = 256; in SubTestMiscMultipleCreates() 36 desc.Height = 256; in SubTestMiscMultipleCreates() 37 desc.MipLevels = 4; in SubTestMiscMultipleCreates() 38 desc.ArraySize = 4; in SubTestMiscMultipleCreates() 39 desc.Format = DXGI_FORMAT_R32G32B32A32_FLOAT; in SubTestMiscMultipleCreates() 40 desc.SampleDesc.Count = 1; in SubTestMiscMultipleCreates() 41 desc.SampleDesc.Quality = 0; in SubTestMiscMultipleCreates() 42 desc.Usage = D3D10_USAGE_DEFAULT; in SubTestMiscMultipleCreates() [all …]
|
/external/u-boot/drivers/gpio/ |
D | gpio-uclass.c | 32 static int gpio_to_device(unsigned int gpio, struct gpio_desc *desc) in gpio_to_device() argument 44 desc->dev = dev; in gpio_to_device() 45 desc->offset = gpio - uc_priv->gpio_base; in gpio_to_device() 46 desc->flags = 0; in gpio_to_device() 55 int dm_gpio_lookup_name(const char *name, struct gpio_desc *desc) in dm_gpio_lookup_name() argument 88 desc->dev = dev; in dm_gpio_lookup_name() 89 desc->offset = offset; in dm_gpio_lookup_name() 97 struct gpio_desc desc; in gpio_lookup_name() local 102 ret = dm_gpio_lookup_name(name, &desc); in gpio_lookup_name() 107 *devp = desc.dev; in gpio_lookup_name() [all …]
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_format.h | 249 const struct util_format_description *desc = util_format_description(format); in util_format_name() local 251 assert(desc); in util_format_name() 252 if (!desc) { in util_format_name() 256 return desc->name; in util_format_name() 262 const struct util_format_description *desc = util_format_description(format); in util_format_short_name() local 264 assert(desc); in util_format_short_name() 265 if (!desc) { in util_format_short_name() 269 return desc->short_name; in util_format_short_name() 278 const struct util_format_description *desc = util_format_description(format); in util_format_is_plain() local 284 return desc->layout == UTIL_FORMAT_LAYOUT_PLAIN ? TRUE : FALSE; in util_format_is_plain() [all …]
|
D | u_format.c | 48 const struct util_format_description *desc = util_format_description(format); in util_format_is_float() local 51 assert(desc); in util_format_is_float() 52 if (!desc) { in util_format_is_float() 61 return desc->channel[i].type == UTIL_FORMAT_TYPE_FLOAT ? TRUE : FALSE; in util_format_is_float() 69 const struct util_format_description *desc = in util_format_has_alpha() local 72 return (desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_has_alpha() 73 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && in util_format_has_alpha() 74 desc->swizzle[3] != UTIL_FORMAT_SWIZZLE_1; in util_format_has_alpha() 81 const struct util_format_description *desc = in util_format_is_luminance() local 84 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_is_luminance() [all …]
|
/external/arm-trusted-firmware/tools/fiptool/ |
D | fiptool.c | 140 image_desc_t *desc; in new_image_desc() local 142 desc = xzalloc(sizeof(*desc), in new_image_desc() 144 memcpy(&desc->uuid, uuid, sizeof(uuid_t)); in new_image_desc() 145 desc->name = xstrdup(name, in new_image_desc() 147 desc->cmdline_name = xstrdup(cmdline_name, in new_image_desc() 149 desc->action = DO_UNSPEC; in new_image_desc() 150 return desc; in new_image_desc() 153 static void set_image_desc_action(image_desc_t *desc, int action, in set_image_desc_action() argument 156 assert(desc != NULL); in set_image_desc_action() 158 if (desc->action_arg != (char *)DO_UNSPEC) in set_image_desc_action() [all …]
|
/external/u-boot/arch/x86/cpu/efi/ |
D | payload.c | 29 struct efi_mem_desc *desc, *end; in board_get_usable_ram_top() local 50 desc = map->desc; in board_get_usable_ram_top() 51 for (; desc < end; desc = efi_get_next_mem_desc(map, desc)) { in board_get_usable_ram_top() 52 if (desc->type != EFI_CONVENTIONAL_MEMORY || in board_get_usable_ram_top() 53 desc->physical_start >= 1ULL << 32) in board_get_usable_ram_top() 55 if (!largest || desc->num_pages > largest->num_pages) in board_get_usable_ram_top() 56 largest = desc; in board_get_usable_ram_top() 75 struct efi_mem_desc *desc, *end; in dram_init() local 88 desc = map->desc; in dram_init() 89 for (; desc < end; desc = efi_get_next_mem_desc(map, desc)) { in dram_init() [all …]
|
/external/mesa3d/src/util/format/ |
D | u_format.h | 409 const struct util_format_description *desc = util_format_description(format); in util_format_name() local 411 assert(desc); in util_format_name() 412 if (!desc) { in util_format_name() 416 return desc->name; in util_format_name() 422 const struct util_format_description *desc = util_format_description(format); in util_format_short_name() local 424 assert(desc); in util_format_short_name() 425 if (!desc) { in util_format_short_name() 429 return desc->short_name; in util_format_short_name() 438 const struct util_format_description *desc = util_format_description(format); in util_format_is_plain() local 444 return desc->layout == UTIL_FORMAT_LAYOUT_PLAIN ? TRUE : FALSE; in util_format_is_plain() [all …]
|
/external/u-boot/drivers/block/ |
D | blk-uclass.c | 69 struct blk_desc *desc; in blk_get_devnum_by_type() local 76 desc = dev_get_uclass_platdata(dev); in blk_get_devnum_by_type() 78 return desc; in blk_get_devnum_by_type() 111 struct blk_desc *desc = dev_get_uclass_platdata(dev); in blk_get_devnum_by_typename() local 114 if_type, devnum, dev->name, desc->if_type, desc->devnum); in blk_get_devnum_by_typename() 115 if (desc->devnum != devnum) in blk_get_devnum_by_typename() 128 debug("%s: Device desc %p\n", __func__, desc); in blk_get_devnum_by_typename() 129 return desc; in blk_get_devnum_by_typename() 181 struct blk_desc *desc = dev_get_uclass_platdata(dev); in get_desc() local 184 if_type, devnum, dev->name, desc->if_type, desc->devnum); in get_desc() [all …]
|
D | blk_legacy.c | 59 if (drv->desc) { in get_desc() 62 *descp = &drv->desc[devnum]; in get_desc() 75 struct blk_desc *desc; in blk_list_part() local 83 if (get_desc(drv, devnum, &desc)) in blk_list_part() 85 if (desc->part_type != PART_TYPE_UNKNOWN) { in blk_list_part() 89 part_print(desc); in blk_list_part() 102 struct blk_desc *desc; in blk_print_part_devnum() local 107 ret = get_desc(drv, devnum, &desc); in blk_print_part_devnum() 110 if (desc->type == DEV_TYPE_UNKNOWN) in blk_print_part_devnum() 112 part_print(desc); in blk_print_part_devnum() [all …]
|