Home
last modified time | relevance | path

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

12345678910>>...42

/external/skia/tests/
DSkSLMemoryLayoutTest.cpp17 SkSL::MemoryLayout layout(SkSL::MemoryLayout::k140_Standard); in DEF_TEST() local
20 REPORTER_ASSERT(r, 4 == layout.size(*context.fFloat_Type)); in DEF_TEST()
21 REPORTER_ASSERT(r, 8 == layout.size(*context.fVec2_Type)); in DEF_TEST()
22 REPORTER_ASSERT(r, 12 == layout.size(*context.fVec3_Type)); in DEF_TEST()
23 REPORTER_ASSERT(r, 16 == layout.size(*context.fVec4_Type)); in DEF_TEST()
24 REPORTER_ASSERT(r, 4 == layout.size(*context.fInt_Type)); in DEF_TEST()
25 REPORTER_ASSERT(r, 8 == layout.size(*context.fIVec2_Type)); in DEF_TEST()
26 REPORTER_ASSERT(r, 12 == layout.size(*context.fIVec3_Type)); in DEF_TEST()
27 REPORTER_ASSERT(r, 16 == layout.size(*context.fIVec4_Type)); in DEF_TEST()
28 REPORTER_ASSERT(r, 1 == layout.size(*context.fBool_Type)); in DEF_TEST()
[all …]
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_image.c538 struct ilo_image_layout *layout) in image_init_gen6_hardware_layout() argument
543 layout->walk = image_get_gen7_walk(dev, info); in image_init_gen6_hardware_layout()
545 layout->walk = image_get_gen6_walk(dev, info); in image_init_gen6_hardware_layout()
547 layout->interleaved_samples = in image_init_gen6_hardware_layout()
550 layout->valid_tilings = image_get_gen6_valid_tilings(dev, info); in image_init_gen6_hardware_layout()
551 if (!layout->valid_tilings) in image_init_gen6_hardware_layout()
554 layout->tiling = image_get_gen6_tiling(dev, info, layout->valid_tilings); in image_init_gen6_hardware_layout()
557 layout->aux = ILO_IMAGE_AUX_HIZ; in image_init_gen6_hardware_layout()
559 image_get_gen7_mcs_enable(dev, info, layout->tiling)) in image_init_gen6_hardware_layout()
560 layout->aux = ILO_IMAGE_AUX_MCS; in image_init_gen6_hardware_layout()
[all …]
/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.c83 ChannelLayout layout; member
105 for (s=0;s<st->layout.nb_streams;s++) in ms_get_preemph_mem()
107 if (s < st->layout.nb_coupled_streams) in ms_get_preemph_mem()
113 return (opus_val32*)(void*)(ptr+st->layout.nb_channels*120*sizeof(opus_val32)); in ms_get_preemph_mem()
125 for (s=0;s<st->layout.nb_streams;s++) in ms_get_window_mem()
127 if (s < st->layout.nb_coupled_streams) in ms_get_window_mem()
136 static int validate_encoder_layout(const ChannelLayout *layout) in validate_encoder_layout() argument
139 for (s=0;s<layout->nb_streams;s++) in validate_encoder_layout()
141 if (s < layout->nb_coupled_streams) in validate_encoder_layout()
143 if (get_left_channel(layout, s, -1)==-1) in validate_encoder_layout()
[all …]
/external/ltp/doc/
Dltp-howto.lyx28 \layout Title
31 \layout Date
34 \layout Author
37 \layout Abstract
43 \layout Section
46 \layout Standard
50 \layout Subsection
53 \layout Standard
57 \layout Standard
64 \layout Itemize
[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 …]
/external/protobuf/php/ext/google/protobuf/
Dstorage.c294 MessageLayout* layout = ALLOC(MessageLayout); in create_layout() local
300 layout->fields = ALLOC_N(MessageField, nfields); in create_layout()
322 layout->fields[upb_fielddef_index(field)].offset = off; in create_layout()
323 layout->fields[upb_fielddef_index(field)].case_offset = in create_layout()
355 layout->fields[upb_fielddef_index(field)].offset = off; in create_layout()
373 layout->fields[upb_fielddef_index(field)].case_offset = off; in create_layout()
378 layout->size = off; in create_layout()
380 layout->msgdef = msgdef; in create_layout()
381 upb_msgdef_ref(layout->msgdef, &layout->msgdef); in create_layout()
383 return layout; in create_layout()
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Dstorage.c401 MessageLayout* layout = ALLOC(MessageLayout); in create_layout() local
407 layout->fields = ALLOC_N(MessageField, nfields); in create_layout()
429 layout->fields[upb_fielddef_index(field)].offset = off; in create_layout()
430 layout->fields[upb_fielddef_index(field)].case_offset = in create_layout()
464 layout->fields[upb_fielddef_index(field)].offset = off; in create_layout()
484 layout->fields[upb_fielddef_index(field)].case_offset = off; in create_layout()
489 layout->size = off; in create_layout()
491 layout->msgdef = msgdef; in create_layout()
492 upb_msgdef_ref(layout->msgdef, &layout->msgdef); in create_layout()
494 return layout; in create_layout()
[all …]
/external/skia/src/sksl/
Dsksl_fp.include5 layout(builtin=15) in vec4 sk_FragCoord;
6 layout(builtin=3) float sk_ClipDistance[1];
12 layout(builtin=9999) vec4 gl_LastFragData[1];
13 layout(builtin=9999) vec4 gl_LastFragColor;
14 layout(builtin=9999) vec4 gl_LastFragColorARM;
15 layout(builtin=9999) int gl_SampleMaskIn[1];
16 layout(builtin=9999) out int gl_SampleMask[1];
17 layout(builtin=9999) vec4 gl_SecondaryFragColorEXT;
19 layout(builtin=10003) vec4 sk_InColor;
20 layout(builtin=10004) out vec4 sk_OutColor;
[all …]
Dsksl_frag.include5 layout(builtin=15) in vec4 sk_FragCoord;
6 layout(builtin=3) float sk_ClipDistance[1];
12 layout(builtin=9999) vec4 gl_LastFragData[1];
13 layout(builtin=9999) vec4 gl_LastFragColor;
14 layout(builtin=9999) vec4 gl_LastFragColorARM;
15 layout(builtin=9999) int gl_SampleMaskIn[1];
16 layout(builtin=9999) out int gl_SampleMask[1];
17 layout(builtin=9999) out vec4 gl_SecondaryFragColorEXT;
19 layout(location=0,index=0,builtin=10001) out vec4 sk_FragColor;
Dsksl_geom.include5 layout(builtin=10002) in sk_PerVertex {
6 layout(builtin=0) vec4 gl_Position;
7 layout(builtin=1) float gl_PointSize;
8 layout(builtin=3) float sk_ClipDistance[];
12 layout(builtin=0) vec4 gl_Position;
13 layout(builtin=1) float gl_PointSize;
14 layout(builtin=3) float sk_ClipDistance[];
17 layout(builtin=8) int sk_InvocationID;
/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 …]
/external/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c211 const struct anv_descriptor_set_layout *layout) in sha1_update_descriptor_set_layout() argument
213 size_t size = sizeof(*layout) + in sha1_update_descriptor_set_layout()
214 sizeof(layout->binding[0]) * layout->binding_count; in sha1_update_descriptor_set_layout()
215 _mesa_sha1_update(ctx, layout, size); in sha1_update_descriptor_set_layout()
230 struct anv_pipeline_layout *layout; in anv_CreatePipelineLayout() local
234 layout = vk_alloc2(&device->alloc, pAllocator, sizeof(*layout), 8, in anv_CreatePipelineLayout()
236 if (layout == NULL) in anv_CreatePipelineLayout()
239 layout->num_sets = pCreateInfo->setLayoutCount; in anv_CreatePipelineLayout()
243 memset(layout->stage, 0, sizeof(layout->stage)); in anv_CreatePipelineLayout()
247 layout->set[set].layout = set_layout; in anv_CreatePipelineLayout()
[all …]
/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/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/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/harfbuzz_ng/src/
Dhb-ot-layout.cc47 hb_ot_layout_t *layout = (hb_ot_layout_t *) calloc (1, sizeof (hb_ot_layout_t)); in HB_SHAPER_DATA_ENSURE_DECLARE() local
48 if (unlikely (!layout)) in HB_SHAPER_DATA_ENSURE_DECLARE()
51 layout->gdef_blob = OT::Sanitizer<OT::GDEF>::sanitize (face->reference_table (HB_OT_TAG_GDEF)); in HB_SHAPER_DATA_ENSURE_DECLARE()
52 layout->gdef = OT::Sanitizer<OT::GDEF>::lock_instance (layout->gdef_blob); in HB_SHAPER_DATA_ENSURE_DECLARE()
54 layout->gsub_blob = OT::Sanitizer<OT::GSUB>::sanitize (face->reference_table (HB_OT_TAG_GSUB)); in HB_SHAPER_DATA_ENSURE_DECLARE()
55 layout->gsub = OT::Sanitizer<OT::GSUB>::lock_instance (layout->gsub_blob); in HB_SHAPER_DATA_ENSURE_DECLARE()
57 layout->gpos_blob = OT::Sanitizer<OT::GPOS>::sanitize (face->reference_table (HB_OT_TAG_GPOS)); in HB_SHAPER_DATA_ENSURE_DECLARE()
58 layout->gpos = OT::Sanitizer<OT::GPOS>::lock_instance (layout->gpos_blob); in HB_SHAPER_DATA_ENSURE_DECLARE()
60 layout->math.init (face); in HB_SHAPER_DATA_ENSURE_DECLARE()
61 layout->fvar.init (face); in HB_SHAPER_DATA_ENSURE_DECLARE()
[all …]
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-main.c1377 void getSyscallArgLayout ( /*OUT*/SyscallArgLayout* layout ) in getSyscallArgLayout() argument
1379 VG_(bzero_inline)(layout, sizeof(*layout)); in getSyscallArgLayout()
1382 layout->o_sysno = OFFSET_x86_EAX; in getSyscallArgLayout()
1383 layout->o_arg1 = OFFSET_x86_EBX; in getSyscallArgLayout()
1384 layout->o_arg2 = OFFSET_x86_ECX; in getSyscallArgLayout()
1385 layout->o_arg3 = OFFSET_x86_EDX; in getSyscallArgLayout()
1386 layout->o_arg4 = OFFSET_x86_ESI; in getSyscallArgLayout()
1387 layout->o_arg5 = OFFSET_x86_EDI; in getSyscallArgLayout()
1388 layout->o_arg6 = OFFSET_x86_EBP; in getSyscallArgLayout()
1389 layout->uu_arg7 = -1; /* impossible value */ in getSyscallArgLayout()
[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()
/external/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c182 struct radv_pipeline_layout *layout; in radv_CreatePipelineLayout() local
187 layout = vk_alloc2(&device->alloc, pAllocator, sizeof(*layout), 8, in radv_CreatePipelineLayout()
189 if (layout == NULL) in radv_CreatePipelineLayout()
192 layout->num_sets = pCreateInfo->setLayoutCount; in radv_CreatePipelineLayout()
201 layout->set[set].layout = set_layout; in radv_CreatePipelineLayout()
203 layout->set[set].dynamic_offset_start = dynamic_offset_count; in radv_CreatePipelineLayout()
211 layout->dynamic_offset_count = dynamic_offset_count; in radv_CreatePipelineLayout()
212 layout->push_constant_size = 0; in radv_CreatePipelineLayout()
215 layout->push_constant_size = MAX2(layout->push_constant_size, in radv_CreatePipelineLayout()
219 layout->push_constant_size = align(layout->push_constant_size, 16); in radv_CreatePipelineLayout()
[all …]

12345678910>>...42