Home
last modified time | relevance | path

Searched refs:layout (Results 1 – 25 of 864) sorted by relevance

12345678910>>...35

/external/valgrind/none/tests/ppc64/
Dround.c61 } layout; member
78 } layout; member
135 msg, D.dbl, (D.layout.sign == 0 ? '+' : '-'), in print_double()
136 D.layout.exp, D.layout.frac_hi, D.layout.frac_lo); in print_double()
150 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); in print_single()
164 if ((R.layout.sign != E.layout.sign) || in check_dbl_to_flt_round()
165 (R.layout.exp != E.layout.exp) || in check_dbl_to_flt_round()
166 (R.layout.frac != E.layout.frac)) { in check_dbl_to_flt_round()
238 F.layout.sign = 0; in init()
239 F.layout.exp = 0; in init()
[all …]
/external/valgrind/none/tests/ppc32/
Dround.c61 } layout; member
78 } layout; member
135 msg, D.dbl, (D.layout.sign == 0 ? '+' : '-'), in print_double()
136 D.layout.exp, D.layout.frac_hi, D.layout.frac_lo); in print_double()
150 msg, F.flt, (F.layout.sign == 0 ? '+' : '-'), F.layout.exp, F.layout.frac << 1); in print_single()
164 if ((R.layout.sign != E.layout.sign) || in check_dbl_to_flt_round()
165 (R.layout.exp != E.layout.exp) || in check_dbl_to_flt_round()
166 (R.layout.frac != E.layout.frac)) { in check_dbl_to_flt_round()
238 F.layout.sign = 0; in init()
239 F.layout.exp = 0; in init()
[all …]
/external/libopus/src/
Dopus_multistream.c41 int validate_layout(const ChannelLayout *layout) in validate_layout() argument
45 max_channel = layout->nb_streams+layout->nb_coupled_streams; in validate_layout()
48 for (i=0;i<layout->nb_channels;i++) in validate_layout()
50 if (layout->mapping[i] >= max_channel && layout->mapping[i] != 255) in validate_layout()
57 int get_left_channel(const ChannelLayout *layout, int stream_id, int prev) in get_left_channel() argument
61 for (;i<layout->nb_channels;i++) in get_left_channel()
63 if (layout->mapping[i]==stream_id*2) in get_left_channel()
69 int get_right_channel(const ChannelLayout *layout, int stream_id, int prev) in get_right_channel() argument
73 for (;i<layout->nb_channels;i++) in get_right_channel()
75 if (layout->mapping[i]==stream_id*2+1) in get_right_channel()
[all …]
Dopus_multistream_decoder.c41 ChannelLayout layout; member
81 st->layout.nb_channels = channels; in opus_multistream_decoder_init()
82 st->layout.nb_streams = streams; in opus_multistream_decoder_init()
83 st->layout.nb_coupled_streams = coupled_streams; in opus_multistream_decoder_init()
85 for (i=0;i<st->layout.nb_channels;i++) in opus_multistream_decoder_init()
86 st->layout.mapping[i] = mapping[i]; in opus_multistream_decoder_init()
87 if (!validate_layout(&st->layout)) in opus_multistream_decoder_init()
94 for (i=0;i<st->layout.nb_coupled_streams;i++) in opus_multistream_decoder_init()
100 for (;i<st->layout.nb_streams;i++) in opus_multistream_decoder_init()
219 if (!do_plc && len < 2*st->layout.nb_streams-1) in opus_multistream_decode_native()
[all …]
Dopus_multistream_encoder.c73 ChannelLayout layout; member
94 for (s=0;s<st->layout.nb_streams;s++) in ms_get_preemph_mem()
96 if (s < st->layout.nb_coupled_streams) in ms_get_preemph_mem()
101 return (opus_val32*)(ptr+st->layout.nb_channels*120*sizeof(opus_val32)); in ms_get_preemph_mem()
113 for (s=0;s<st->layout.nb_streams;s++) in ms_get_window_mem()
115 if (s < st->layout.nb_coupled_streams) in ms_get_window_mem()
123 static int validate_encoder_layout(const ChannelLayout *layout) in validate_encoder_layout() argument
126 for (s=0;s<layout->nb_streams;s++) in validate_encoder_layout()
128 if (s < layout->nb_coupled_streams) in validate_encoder_layout()
130 if (get_left_channel(layout, s, -1)==-1) in validate_encoder_layout()
[all …]
/external/deqp/data/gles31/shaders/
Duniform_location.test9 layout(location = 0) uniform float uni0;
10 layout(location = 0) uniform float uni1;
29 layout(location = 0) uniform float uni0;
30 layout(location = 0) uniform float uni1;
49 layout(location = 0) uniform float uni0;
62 layout(location = 0) uniform float uni1;
64 layout(location = 0) out mediump vec4 dEQP_FragColor;
81 layout(location = 0) uniform float uni0[8];
82 layout(location = 5) uniform float uni1;
101 layout(location = 0) uniform float uni0[8];
[all …]
Duniform_block.test31 layout(location=0) out vec4 o_color;
59 layout(location=0) out vec4 o_color;
82 layout(shared) uniform UniformBlock
97 layout(location=0) out vec4 o_color;
125 layout(location=0) out vec4 o_color;
127 layout(shared) uniform UniformBlock
148 layout(packed) uniform UniformBlock
163 layout(location=0) out vec4 o_color;
191 layout(location=0) out vec4 o_color;
193 layout(packed) uniform UniformBlock
[all …]
Dlinkage_shader_storage_block.test11 layout(binding=0) buffer BufferBlockName
27 layout(binding=0) buffer BufferBlockName
50 layout(binding=0) buffer BufferBlockName
67 layout(binding=0) buffer BufferBlockName
90 layout(binding=0) buffer BufferBlockName
106 layout(binding=0) buffer BufferBlockName
128 layout(binding=0) buffer BufferBlockName
144 layout(binding=0) buffer BufferBlockName
166 layout(binding=0) buffer BufferBlockName
182 layout(binding=0) buffer BufferBlockName
[all …]
/external/skia/src/gpu/vk/
DGrVkMemory.cpp108 VkPipelineStageFlags GrVkMemory::LayoutToPipelineStageFlags(const VkImageLayout layout) { in LayoutToPipelineStageFlags() argument
109 if (VK_IMAGE_LAYOUT_GENERAL == layout) { in LayoutToPipelineStageFlags()
111 } else if (VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL == layout || in LayoutToPipelineStageFlags()
112 VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL == layout) { in LayoutToPipelineStageFlags()
114 } else if (VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL == layout || in LayoutToPipelineStageFlags()
115 VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL == layout || in LayoutToPipelineStageFlags()
116 VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL == layout || in LayoutToPipelineStageFlags()
117 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == layout) { in LayoutToPipelineStageFlags()
119 } else if (VK_IMAGE_LAYOUT_PREINITIALIZED == layout) { in LayoutToPipelineStageFlags()
123 SkASSERT(VK_IMAGE_LAYOUT_UNDEFINED == layout); in LayoutToPipelineStageFlags()
[all …]
/external/clang/test/CodeGenObjC/
Dmrr-captured-block-var-inlined-layout.m1 … -fobjc-arc -triple x86_64-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layo…
2 // RUN: FileCheck -check-prefix=CHECK -check-prefix=CHECK-64 --input-file=%t-64.layout %s
3 …ak -fobjc-arc -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layo…
4 // RUN: FileCheck -check-prefix=CHECK -check-prefix=CHECK-32 --input-file=%t-32.layout %s
22 // block variable layout: BL_STRONG:1, BL_OPERATOR:0
23 // CHECK: Inline block variable layout: 0x0100, BL_STRONG:1, BL_OPERATOR:0
28 // block variable layout: BL_STRONG:2, BL_BYREF:1, BL_OPERATOR:0
29 // CHECK: Inline block variable layout: 0x0210, BL_STRONG:2, BL_BYREF:1, BL_OPERATOR:0
36 // block variable layout: BL_STRONG:2, BL_BYREF:3, BL_OPERATOR:0
37 // CHECK: Inline block variable layout: 0x0230, BL_STRONG:2, BL_BYREF:3, BL_OPERATOR:0
[all …]
Darc-captured-block-var-inlined-layout.m1 …me-has-weak -triple x86_64-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layo…
2 // RUN: FileCheck -check-prefix=CHECK -check-prefix=CHECK-64 --input-file=%t-64.layout %s
3 …time-has-weak -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.lay…
4 // RUN: FileCheck -check-prefix=CHECK -check-prefix=CHECK-32 --input-file=%t-32.layout %s
20 // CHECK: Inline block variable layout: 0x0100, BL_STRONG:1, BL_OPERATOR:0
25 // CHECK: Inline block variable layout: 0x0210, BL_STRONG:2, BL_BYREF:1, BL_OPERATOR:0
32 // CHECK: Inline block variable layout: 0x0230, BL_STRONG:2, BL_BYREF:3, BL_OPERATOR:0
41 // CHECK: Inline block variable layout: 0x0231, BL_STRONG:2, BL_BYREF:3, BL_WEAK:1, BL_OPERATOR:0
52 // CHECK: Inline block variable layout: 0x0235, BL_STRONG:2, BL_BYREF:3, BL_WEAK:5, BL_OPERATOR:0
67 // CHECK: Inline block variable layout: 0x035, BL_BYREF:3, BL_WEAK:5, BL_OPERATOR:0
[all …]
Darc-captured-32bit-block-var-layout-2.m1 …time-has-weak -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layo…
2 // RUN: FileCheck --input-file=%t-32.layout %s
14 // CHECK: Inline block variable layout: 0x0100, BL_STRONG:1, BL_OPERATOR:0
19 // CHECK: Inline block variable layout: 0x0100, BL_STRONG:1, BL_OPERATOR:0
24 // CHECK: Inline block variable layout: 0x0100, BL_STRONG:1, BL_OPERATOR:0
29 // CHECK: Inline block variable layout: 0x0100, BL_STRONG:1, BL_OPERATOR:0
33 // CHECK: Inline block variable layout: 0x0100, BL_STRONG:1, BL_OPERATOR:0
37 // CHECK: Block variable layout: BL_OPERATOR:0
/external/deqp/data/gles3/shaders/
Duniform_block.test31 layout(location=0) out vec4 o_color;
59 layout(location=0) out vec4 o_color;
82 layout(shared) uniform UniformBlock
97 layout(location=0) out vec4 o_color;
125 layout(location=0) out vec4 o_color;
127 layout(shared) uniform UniformBlock
148 layout(packed) uniform UniformBlock
163 layout(location=0) out vec4 o_color;
191 layout(location=0) out vec4 o_color;
193 layout(packed) uniform UniformBlock
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DBitmapFontAlignmentTest.java41 GlyphLayout layout; field in BitmapFontAlignmentTest
61 layout = new GlyphLayout(); in create()
100 layout.setText(font, text); in renderSingleLine()
101 x += width / 2 - layout.width / 2; in renderSingleLine()
102 y += height / 2 + layout.height / 2; in renderSingleLine()
115 GlyphLayout layout = cache.setText(text, 0, 0); in renderSingleLineCached() local
118 x += width / 2 - layout.width / 2; in renderSingleLineCached()
119 y += height / 2 + layout.height / 2; in renderSingleLineCached()
132 layout.setText(font, text, Color.WHITE, width, Align.left, true); in renderWrapped()
133 x += width / 2 - layout.width / 2; in renderWrapped()
[all …]
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/
Dlinkage.test14 layout(location = 0) out mediump float var;
37 layout(location = 0) out mediump float var;
45 layout(location = 0) in mediump float var;
62 layout(location = 0) out mediump float var;
70 layout(location = 0) in mediump float var;
90 layout(location = 0) out mediump float var;
116 layout(location = 0) out mediump float var;
126 layout(location = 0) in mediump float var;
143 layout(location = 0) out mediump float var;
154 layout(location = 0) in mediump float var;
[all …]
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-main.c1414 void getSyscallArgLayout ( /*OUT*/SyscallArgLayout* layout ) in getSyscallArgLayout() argument
1416 VG_(bzero_inline)(layout, sizeof(*layout)); in getSyscallArgLayout()
1419 layout->o_sysno = OFFSET_x86_EAX; in getSyscallArgLayout()
1420 layout->o_arg1 = OFFSET_x86_EBX; in getSyscallArgLayout()
1421 layout->o_arg2 = OFFSET_x86_ECX; in getSyscallArgLayout()
1422 layout->o_arg3 = OFFSET_x86_EDX; in getSyscallArgLayout()
1423 layout->o_arg4 = OFFSET_x86_ESI; in getSyscallArgLayout()
1424 layout->o_arg5 = OFFSET_x86_EDI; in getSyscallArgLayout()
1425 layout->o_arg6 = OFFSET_x86_EBP; in getSyscallArgLayout()
1426 layout->uu_arg7 = -1; /* impossible value */ in getSyscallArgLayout()
[all …]
/external/ImageMagick/coders/
Dpango.c148 *layout; in ReadPANGOImage() local
270 layout=pango_layout_new(context); in ReadPANGOImage()
273 pango_layout_set_auto_dir(layout,1); in ReadPANGOImage()
278 pango_layout_set_ellipsize(layout,PANGO_ELLIPSIZE_END); in ReadPANGOImage()
280 pango_layout_set_ellipsize(layout,PANGO_ELLIPSIZE_MIDDLE); in ReadPANGOImage()
282 pango_layout_set_ellipsize(layout,PANGO_ELLIPSIZE_NONE); in ReadPANGOImage()
284 pango_layout_set_ellipsize(layout,PANGO_ELLIPSIZE_START); in ReadPANGOImage()
288 pango_layout_set_justify(layout,1); in ReadPANGOImage()
291 pango_layout_set_single_paragraph_mode(layout,1); in ReadPANGOImage()
296 pango_layout_set_wrap(layout,PANGO_WRAP_CHAR); in ReadPANGOImage()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_texture.c166 lpr->layout[level] = alloc_layout_array(num_slices, width, height); in llvmpipe_texture_layout()
167 if (!lpr->layout[level]) { in llvmpipe_texture_layout()
187 if (lpr->layout[level]) { in llvmpipe_texture_layout()
188 FREE(lpr->layout[level]); in llvmpipe_texture_layout()
216 lpr->layout[0] = alloc_layout_array(1, width, height); in llvmpipe_displaytarget_layout()
217 if (!lpr->layout[0]) { in llvmpipe_displaytarget_layout()
265 assert(lpr->layout[0][0] == LP_TEX_LAYOUT_NONE); in llvmpipe_resource_create()
271 assert(lpr->layout[0][0] == LP_TEX_LAYOUT_NONE); in llvmpipe_resource_create()
273 assert(lpr->layout[0]); in llvmpipe_resource_create()
321 FREE(lpr->layout[0]); in llvmpipe_resource_destroy()
[all …]
/external/clang/test/CodeGen/
Dblockstret.c55 const char *layout; // conditional on BLOCK_HAS_OBJC member
61 const char *layout; // conditional on BLOCK_HAS_OBJC member
73 struct block_layout_abi *layout = (struct block_layout_abi *)block; in getBlockSignature() local
74 if ((layout->flags & BLOCK_HAS_OBJC_TYPE) != BLOCK_HAS_OBJC_TYPE) return 0; in getBlockSignature()
75 if (layout->flags & BLOCK_HAS_COPY_DISPOSE) in getBlockSignature()
76 return layout->descriptor->signature; in getBlockSignature()
78 return ((struct block_descriptor_small *)layout->descriptor)->signature; in getBlockSignature()
82 struct block_layout_abi *layout = (struct block_layout_abi *)block; in usesStruct() local
84 return (layout->flags & want) == want; in usesStruct()
Dblocksignature.c46 const char *layout; // conditional on BLOCK_HAS_OBJC
52 const char *layout; // conditional on BLOCK_HAS_OBJC
64 struct block_layout_abi *layout = (struct block_layout_abi *)block;
65 if ((layout->flags & BLOCK_HAS_OBJC_TYPE) != BLOCK_HAS_OBJC_TYPE) return NULL;
66 if (layout->flags & BLOCK_HAS_COPY_DISPOSE)
67 return layout->descriptor->signature;
69 return ((struct block_descriptor_small *)layout->descriptor)->signature;
/external/harfbuzz_ng/src/
Dhb-ot-layout.cc50 hb_ot_layout_t *layout = (hb_ot_layout_t *) calloc (1, sizeof (hb_ot_layout_t)); in HB_SHAPER_DATA_ENSURE_DECLARE() local
51 if (unlikely (!layout)) in HB_SHAPER_DATA_ENSURE_DECLARE()
54 layout->gdef_blob = OT::Sanitizer<OT::GDEF>::sanitize (face->reference_table (HB_OT_TAG_GDEF)); in HB_SHAPER_DATA_ENSURE_DECLARE()
55 layout->gdef = OT::Sanitizer<OT::GDEF>::lock_instance (layout->gdef_blob); in HB_SHAPER_DATA_ENSURE_DECLARE()
57 layout->gsub_blob = OT::Sanitizer<OT::GSUB>::sanitize (face->reference_table (HB_OT_TAG_GSUB)); in HB_SHAPER_DATA_ENSURE_DECLARE()
58 layout->gsub = OT::Sanitizer<OT::GSUB>::lock_instance (layout->gsub_blob); in HB_SHAPER_DATA_ENSURE_DECLARE()
60 layout->gpos_blob = OT::Sanitizer<OT::GPOS>::sanitize (face->reference_table (HB_OT_TAG_GPOS)); in HB_SHAPER_DATA_ENSURE_DECLARE()
61 layout->gpos = OT::Sanitizer<OT::GPOS>::lock_instance (layout->gpos_blob); in HB_SHAPER_DATA_ENSURE_DECLARE()
69 unsigned int gdef_len = hb_blob_get_length (layout->gdef_blob); in HB_SHAPER_DATA_ENSURE_DECLARE()
70 unsigned int gsub_len = hb_blob_get_length (layout->gsub_blob); in HB_SHAPER_DATA_ENSURE_DECLARE()
[all …]
/external/deqp/framework/opengl/
DgluVarType.cpp184 const char* getFormatLayoutName (FormatLayout layout) in getFormatLayoutName() argument
203 return de::getSizedArrayElement<FORMATLAYOUT_LAST>(s_names, layout); in getFormatLayoutName()
260 : layout (layout_) in VariableDeclaration()
271 return layout == other.layout && in operator ==()
287 : layout (Layout()) in InterfaceBlock()
295 std::ostream& operator<< (std::ostream& str, const Layout& layout) in operator <<() argument
299 if (layout.location != -1) in operator <<()
300 layoutDeclarationList.push_back("location=" + de::toString(layout.location)); in operator <<()
302 if (layout.binding != -1) in operator <<()
303 layoutDeclarationList.push_back("binding=" + de::toString(layout.binding)); in operator <<()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateImageObjectUtil.cpp166 vk::VkImageLayout layout, in readSurface() argument
178 …read(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, vk::VK_IM… in readSurface()
183 …readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect… in readSurface()
190 vk::VkImageLayout layout, in readVolume() argument
203 …read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::V… in readVolume()
208 …readUsingBuffer(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, as… in readVolume()
215 vk::VkImageLayout layout, in readSurface1D() argument
226 …read(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect, vk::VK_IMAGE_T… in readSurface1D()
231 readUsingBuffer(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect, in readSurface1D()
239 vk::VkImageLayout layout, in read() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp166 vk::VkImageLayout layout, in readSurface() argument
178 …read(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, vk::VK_IM… in readSurface()
183 …readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect… in readSurface()
190 vk::VkImageLayout layout, in readVolume() argument
203 …read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::V… in readVolume()
208 …readUsingBuffer(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, as… in readVolume()
215 vk::VkImageLayout layout, in readSurface1D() argument
226 …read(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect, vk::VK_IMAGE_T… in readSurface1D()
231 readUsingBuffer(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect, in readSurface1D()
239 vk::VkImageLayout layout, in read() argument
[all …]
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolImageObjectUtil.cpp167 vk::VkImageLayout layout, in readVolume() argument
180 …read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::V… in readVolume()
185 …readUsingBuffer(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, as… in readVolume()
192 vk::VkImageLayout layout, in readSurface1D() argument
203 …read(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect, vk::VK_IMAGE_T… in readSurface1D()
208 readUsingBuffer(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect, in readSurface1D()
216 vk::VkImageLayout layout, in read() argument
227 …DE_ASSERT(layout == vk::VK_IMAGE_LAYOUT_GENERAL || layout == vk::VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTI… in read()
229 de::SharedPtr<Image> stagingResource = copyToLinearImage(queue, allocator, layout, offset, width, in read()
237 vk::VkImageLayout layout, in readUsingBuffer() argument
[all …]

12345678910>>...35