/external/deqp/external/openglcts/modules/gles31/ |
D | es31cShaderStorageBufferObjectTests.cpp | 74 const char* const kGLSLVer = "#version 310 es" NL "precision highp float;" NL "precision highp int;… 502 …NL "layout(std430, binding = 1) buffer InputBuffer {" NL " vec4 position[3];" NL "} g_input_buffe… in Run() 503 "void main() {" NL " gl_Position = g_input_buffer.position[gl_VertexID];" NL "}"; in Run() 504 const char* const glsl_fs = NL "layout(location = 0) out vec4 o_color;" NL "void main() {" NL in Run() 505 " o_color = vec4(0.0, 1.0, 0.0, 1.0);" NL "}"; in Run() 556 …const char* const glsl_cs = NL "layout(local_size_x = 1) in;" NL "buffer Buffer {" NL " int resul… in Run() 557 "void main() {" NL " result = 7;" NL "}"; in Run() 901 …NL "layout(std430) buffer Buffer {" NL " vec4 position[3];" NL "} g_input_buffer;" NL "void main(… in Run() 902 " gl_Position = g_input_buffer.position[gl_VertexID];" NL "}", in Run() 903 NL "coherent buffer Buffer {" NL " buffer vec4 position0;" NL " coherent vec4 position1;" NL in Run() [all …]
|
D | es31cComputeShaderTests.cpp | 513 …NL "layout(local_size_x = 1, local_size_y = 1) in;" NL "layout(std430) buffer Output {" NL " vec4… in Setup() 514 "} g_out;" NL "void main() {" NL " g_out.data = vec4(1.0, 2.0, 3.0, 4.0);" NL "}"; in Setup() 576 return NL "1. Verify that declared local work size has correct effect." NL in Purpose() 577 "2. Verify that the number of shader invocations is correct." NL in Purpose() 578 …3. Verify that the built-in variables: gl_WorkGroupSize, gl_WorkGroupID, gl_GlobalInvocationID," NL in Purpose() 579 " gl_LocalInvocationID and gl_LocalInvocationIndex has correct values." NL in Purpose() 585 return NL "1. Create several CS with various local sizes." NL in Method() 586 "2. Dispatch each CS with DispatchCompute and DispatchComputeIndirect commands." NL in Method() 602 ss << NL "layout(local_size_x = " << x << ", local_size_y = " << y << ", local_size_z = " << z in GenSource() 603 << ") in;" NL "layout(std430, binding = " << binding in GenSource() [all …]
|
D | es31cShaderImageLoadStoreTests.cpp | 55 const char* const kGLSLSIA = NL "#extension GL_OES_shader_image_atomic : require"; 58 NL "precision highp float;" NL "precision highp int;" NL "precision highp sampler2D;" NL 59 …"precision highp sampler3D;" NL "precision highp samplerCube;" NL "precision highp sampler2DArray;… 60 …"precision highp isampler2D;" NL "precision highp isampler3D;" NL "precision highp isamplerCube;" … 61 …"precision highp isampler2DArray;" NL "precision highp usampler2D;" NL "precision highp usampler3D… 62 …"precision highp usamplerCube;" NL "precision highp usampler2DArray;" NL "precision highp image2D;… 63 "precision highp image3D;" NL "precision highp imageCube;" NL "precision highp image2DArray;" NL 64 "precision highp iimage2D;" NL "precision highp iimage3D;" NL "precision highp iimageCube;" NL 65 … "precision highp iimage2DArray;" NL "precision highp uimage2D;" NL "precision highp uimage3D;" NL 66 "precision highp uimageCube;" NL "precision highp uimage2DArray;"; [all …]
|
D | es31cShaderAtomicCountersTests.cpp | 51 return NL ""; in Title() 55 return NL ""; in Purpose() 59 return NL ""; in Method() 63 return NL ""; in PassCriteria() 790 return NL "Atomic Counters usage in the Compute Shader stage"; in Title() 794 return NL "Verify that atomic counters work as expected in the Compute Shader stage." NL in Purpose() 795 "In particular make sure that values returned by GLSL built-in functions" NL in Purpose() 796 "atomicCounterIncrement and atomicCounterDecrement are unique in every shader invocation." NL in Purpose() 801 return NL ""; in Method() 805 return NL ""; in PassCriteria() [all …]
|
D | es31cShaderImageSizeTests.cpp | 46 …"#version 310 es\n" NL "precision highp float;" NL "precision highp int;" NL "precision highp imag… 47 "precision highp image3D;" NL "precision highp imageCube;" NL "precision highp image2DArray;" NL 48 "precision highp iimage2D;" NL "precision highp iimage3D;" NL "precision highp iimageCube;" NL 49 "precision highp iimage2DArray;" NL "precision highp uimage2D;" NL "precision highp uimage3D;" NL 50 "precision highp uimageCube;" NL "precision highp uimage2DArray;"; 57 return NL ""; in Title() 61 return NL ""; in Purpose() 65 return NL ""; in Method() 69 return NL ""; in PassCriteria() 392 os << NL "#define KSIZE 4"; in GenShader() [all …]
|
D | es31cVertexAttribBindingTests.cpp | 53 return NL ""; in Title() 58 return NL ""; in Purpose() 63 return NL ""; in Method() 68 return NL ""; in PassCriteria() 335 "#version 310 es" NL "layout(location = 7) in vec4 vs_in_position;" NL in Run() 336 "layout(location = 1) in vec3 vs_in_color;" NL "out vec3 g_color;" NL "void main() {" NL in Run() 337 " gl_Position = vs_in_position;" NL " g_color = vs_in_color;" NL "}"; in Run() 339 … "#version 310 es" NL "precision highp float;" NL "in vec3 g_color;" NL "out vec4 fs_out_color;" NL in Run() 340 "void main() {" NL " fs_out_color = vec4(g_color, 1);" NL "}"; in Run() 447 "#version 310 es" NL "layout(location = 0) in vec4 vs_in_attrib0;" NL in Run() [all …]
|
D | es31cDrawIndirectTests.cpp | 60 s_tcuLog->writeMessage(NL); in ~DILogger() 176 …return api::glslVer() + NL "in vec4 i_vertex;" NL "void main()" NL "{" NL " gl_Position = i_ver… in vshSimple() 181 …return api::glslVer() + NL "in vec4 i_vertex;" NL "void main()" NL "{" NL " gl_Position = i_ver… in vshSimple_point() 182 "#if defined(GL_ES)" NL " gl_PointSize = 1.0;" NL "#endif" NL "}"; in vshSimple_point() 188 return api::glslVer() + NL "precision highp float; " NL "out vec4 outColor;" NL "void main() {" NL in fshSimple() 189 " outColor = vec4(0.1,0.2,0.3,1.0);" NL "}"; in fshSimple() 1085 return "1. Create buffer" NL "2. Bind buffer" NL "3. Set data using glBufferData" NL in Method() 1086 "4. Get data using GetBufferSubData<api>" NL "5. Verify results"; in Method() 1243 return "1. Create buffer" NL "2. Bind buffer" NL "3. Allocate buffer using glBufferData" NL in Method() 1244 …"4. Set data using glBufferSubData" NL "5. Get data using GetBufferSubData<api>" NL "6. Verify res… in Method() [all …]
|
D | es31cExplicitUniformLocationTest.cpp | 61 s_tcuLog->writeMessage(NL); in ~Logger() 1045 ret << NL " if (any(greaterThan(" << absoluteF << "(texture(" << uniform.getName(); in streamUniformValidator() 1053 ret << NL " if (any(greaterThan(" << absoluteF << "(" << uniform.getName(); in streamUniformValidator() 1061 ret << NL " if (" << absoluteF << "(" << uniform.getName(); in streamUniformValidator() 1067 ret << NL " " << outTemporary << " = vec4 (1.0, 0.0, 0.0, 1.0);"; in streamUniformValidator() 1068 ret << NL " }"; in streamUniformValidator() 1091 ret << NL " if (any(greaterThan(abs(" << subroutineUniform.getName(); in streamSubroutineValidator() 1096 ret << NL " " << outTemporary << " = vec4 (1.0, 0.0, 0.0, 1.0);"; in streamSubroutineValidator() 1097 ret << NL " }"; in streamSubroutineValidator() 1116 str << "#version 310 es" NL "precision highp float;" NL "precision highp int;"; in streamShaderHeader() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderStorageBufferObjectTests.cpp | 656 …NL "layout(std430, binding = 1) buffer InputBuffer {" NL " vec4 position[3];" NL "} g_input_buffe… in Run() 657 "void main() {" NL " gl_Position = g_input_buffer.position[gl_VertexID];" NL "}"; in Run() 659 const char* const glsl_fs = NL "layout(location = 0) out vec4 o_color;" NL "void main() {" NL in Run() 660 " o_color = vec4(0.0, 1.0, 0.0, 1.0);" NL "}"; in Run() 710 …const char* const glsl_cs = NL "layout(local_size_x = 1) in;" NL "buffer Buffer {" NL " int resul… in Run() 711 "void main() {" NL " result = 7;" NL "}"; in Run() 1080 …NL "layout(std430) buffer Buffer {" NL " vec4 position[3];" NL "} g_input_buffer;" NL "void main(… in Run() 1081 " gl_Position = g_input_buffer.position[gl_VertexID];" NL "}", in Run() 1082 NL "coherent buffer Buffer {" NL " buffer vec4 position0;" NL " coherent vec4 position1;" NL in Run() 1083 " restrict readonly vec4 position2;" NL "} g_input_buffer;" NL "void main() {" NL in Run() [all …]
|
D | gl4cES31CompatibilityShaderStorageBufferObjectTests.cpp | 77 const char* const kGLSLVer = "#version 310 es" NL "precision highp float;" NL "precision highp int;… 506 …NL "layout(std430, binding = 1) buffer InputBuffer {" NL " vec4 position[3];" NL "} g_input_buffe… in Run() 507 "void main() {" NL " gl_Position = g_input_buffer.position[gl_VertexID];" NL "}"; in Run() 508 const char* const glsl_fs = NL "layout(location = 0) out vec4 o_color;" NL "void main() {" NL in Run() 509 " o_color = vec4(0.0, 1.0, 0.0, 1.0);" NL "}"; in Run() 560 …const char* const glsl_cs = NL "layout(local_size_x = 1) in;" NL "buffer Buffer {" NL " int resul… in Run() 561 "void main() {" NL " result = 7;" NL "}"; in Run() 905 …NL "layout(std430) buffer Buffer {" NL " vec4 position[3];" NL "} g_input_buffer;" NL "void main(… in Run() 906 " gl_Position = g_input_buffer.position[gl_VertexID];" NL "}", in Run() 907 NL "coherent buffer Buffer {" NL " buffer vec4 position0;" NL " coherent vec4 position1;" NL in Run() [all …]
|
D | gl4cComputeShaderTests.cpp | 504 …NL "layout(local_size_x = 1, local_size_y = 1) in;" NL "layout(std430) buffer Output {" NL " vec4… in Setup() 505 "} g_out;" NL "void main() {" NL " g_out.data = vec4(1.0, 2.0, 3.0, 4.0);" NL "}"; in Setup() 567 return NL "1. Verify that declared local work size has correct effect." NL in Purpose() 568 "2. Verify that the number of shader invocations is correct." NL in Purpose() 569 …3. Verify that the built-in variables: gl_WorkGroupSize, gl_WorkGroupID, gl_GlobalInvocationID," NL in Purpose() 570 " gl_LocalInvocationID and gl_LocalInvocationIndex has correct values." NL in Purpose() 576 return NL "1. Create several CS with various local sizes." NL in Method() 577 "2. Dispatch each CS with DispatchCompute and DispatchComputeIndirect commands." NL in Method() 593 ss << NL "layout(local_size_x = " << x << ", local_size_y = " << y << ", local_size_z = " << z in GenSource() 594 << ") in;" NL "layout(std430, binding = " << binding in GenSource() [all …]
|
D | gl4cES31CompatibilityShaderImageLoadStoreTests.cpp | 56 const char* const kGLSLSIA = NL "#extension GL_OES_shader_image_atomic : require"; 58 NL "precision highp float;" NL "precision highp int;" NL "precision highp sampler2D;" NL 59 …"precision highp sampler3D;" NL "precision highp samplerCube;" NL "precision highp sampler2DArray;… 60 …"precision highp isampler2D;" NL "precision highp isampler3D;" NL "precision highp isamplerCube;" … 61 …"precision highp isampler2DArray;" NL "precision highp usampler2D;" NL "precision highp usampler3D… 62 …"precision highp usamplerCube;" NL "precision highp usampler2DArray;" NL "precision highp image2D;… 63 "precision highp image3D;" NL "precision highp imageCube;" NL "precision highp image2DArray;" NL 64 "precision highp iimage2D;" NL "precision highp iimage3D;" NL "precision highp iimageCube;" NL 65 … "precision highp iimage2DArray;" NL "precision highp uimage2D;" NL "precision highp uimage3D;" NL 66 "precision highp uimageCube;" NL "precision highp uimage2DArray;"; [all …]
|
D | gl4cShaderImageLoadStoreTests.cpp | 1410 …const char* src_vs = "#version 420 core" NL "layout(location = 0) in vec4 i_position;" NL "void ma… in Write() 1411 " gl_Position = i_position;" NL "}"; in Write() 1476 …os << "#version 420 core" NL "layout(" << FormatEnumToString(internalformat) << ") writeonly unifo… in GenFS() 1477 …<< TypePrefix<T>() << "image2D g_image;" NL "void main() {" NL " ivec2 coord = ivec2(gl_FragCoord… in GenFS() 1479 << TypePrefix<T>() << "vec4" << value << ");" NL " discard;" NL "}"; in GenFS() 1599 …const char* src_vs = "#version 420 core" NL "layout(location = 0) in vec4 i_position;" NL "void ma… in Read() 1600 " gl_Position = i_position;" NL "}"; in Read() 1658 os << "#version 420 core" NL "layout(location = 0) out vec4 o_color;" NL "layout(" in GenFS() 1660 << "image2D g_image;" NL "void main() {" NL " ivec2 coord = ivec2(gl_FragCoord.xy);" NL " " in GenFS() 1661 …<< TypePrefix<T>() << "vec4 v = imageLoad(g_image, coord);" NL " if (v != " << TypePrefix<T>() <<… in GenFS() [all …]
|
D | gl4cShaderAtomicCountersTests.cpp | 52 return NL ""; in Title() 57 return NL ""; in Purpose() 62 return NL ""; in Method() 67 return NL ""; in PassCriteria() 894 return NL "Atomic Counter Buffer - basic operations"; in Title() 899 return NL in Purpose() 900 "Verify that basic buffer operations work as expected with new buffer target." NL in Purpose() 901 …ted commands: BindBuffer, BufferData, BufferSubData, MapBuffer, MapBufferRange, UnmapBuffer and" NL in Purpose() 907 return NL ""; in Method() 912 return NL ""; in PassCriteria() [all …]
|
D | gl4cShaderImageSizeTests.cpp | 436 os << NL "#extension GL_ARB_compute_shader : require"; in GenShader() 438 os << NL "layout(binding = 0, rgba32i) writeonly uniform iimage2D g_result;"; in GenShader() 441 …os << NL "layout(binding = 1, rgba32" << ImageFormatPostfix<T>() << ") uniform " << ImageTypePrefi… in GenShader() 442 …<< "image2D g_image_2d;" NL "layout(binding = 2, rgba32" << ImageFormatPostfix<T>() << ") uniform " in GenShader() 443 << ImageTypePrefix<T>() << "image3D g_image_3d;" NL "layout(binding = 3, rgba32" in GenShader() 445 …<< "imageCube g_image_cube;" NL "layout(binding = 4, rgba32" << ImageFormatPostfix<T>() << ") unif… in GenShader() 446 … << ImageTypePrefix<T>() << "imageCubeArray g_image_cube_array;" NL "layout(binding = 5, rgba32" in GenShader() 448 …<< "image2DRect g_image_rect;" NL "layout(binding = 6, rgba32" << ImageFormatPostfix<T>() << ") un… in GenShader() 449 << ImageTypePrefix<T>() << "image2DArray g_image_2d_array;" NL "layout(binding = 7, rgba32" in GenShader() 454 …os << NL "layout(binding = 1, rgba32" << ImageFormatPostfix<T>() << ") uniform " << ImageTypePrefi… in GenShader() [all …]
|
D | gl4cVertexAttribBindingTests.cpp | 56 return NL ""; in Title() 61 return NL ""; in Purpose() 66 return NL ""; in Method() 71 return NL ""; in PassCriteria() 310 "#version 430 core" NL "layout(location = 0) in vec4 vs_in_position;" NL in Run() 311 …"layout(location = 1) in vec3 vs_in_color;" NL "out StageData {" NL " vec3 color;" NL "} vs_out;"… in Run() 312 …"out gl_PerVertex { vec4 gl_Position; };" NL "void main() {" NL " gl_Position = vs_in_position;" … in Run() 313 " vs_out.color = vs_in_color;" NL "}"; in Run() 314 …const char* const glsl_fs = "#version 430 core" NL "in StageData {" NL " vec3 color;" NL "} fs_in… in Run() 315 "layout(location = 0) out vec4 fs_out_color;" NL "void main() {" NL in Run() [all …]
|
/external/openssh/openbsd-compat/ |
D | bsd-cygwin_util.c | 76 #define NL(x) x, (sizeof (x) - 1) macro 83 { NL("ALLUSERSPROFILE=") }, 84 { NL("COMPUTERNAME=") }, 85 { NL("COMSPEC=") }, 86 { NL("CYGWIN=") }, 87 { NL("OS=") }, 88 { NL("PATH=") }, 89 { NL("PATHEXT=") }, 90 { NL("PROGRAMFILES=") }, 91 { NL("SYSTEMDRIVE=") }, [all …]
|
/external/python/cpython3/Modules/ |
D | makesetup | 85 NL='\ 136 *=*) DEFS="$line$NL$DEFS"; continue;; 137 'include '*) DEFS="$line$NL$DEFS"; continue;; 258 *) DEFS="SHAREDMODS=$SHAREDMODS$NL$DEFS";; 266 DEFS="BASEMODLIBS=$BASELIBS$NL$DEFS" 267 DEFS="LOCALMODLIBS=$LOCALLIBS$NL$DEFS" 273 EXTDECLS="${EXTDECLS}extern PyObject* PyInit_$mod(void);$NL" 274 INITBITS="${INITBITS} {\"$mod\", PyInit_$mod},$NL" 281 1i$NL/* Generated automatically from $config by makesetup. */ 282 /MARKER 1/i$NL$EXTDECLS [all …]
|
/external/python/cpython2/Modules/ |
D | makesetup | 82 NL='\ 131 *=*) DEFS="$line$NL$DEFS"; continue;; 132 'include '*) DEFS="$line$NL$DEFS"; continue;; 248 *) DEFS="SHAREDMODS=$SHAREDMODS$NL$DEFS";; 256 DEFS="BASEMODLIBS=$BASELIBS$NL$DEFS" 257 DEFS="LOCALMODLIBS=$LOCALLIBS$NL$DEFS" 263 EXTDECLS="${EXTDECLS}extern void init$mod(void);$NL" 264 INITBITS="${INITBITS} {\"$mod\", init$mod},$NL" 271 1i$NL/* Generated automatically from $config by makesetup. */ 272 /MARKER 1/i$NL$EXTDECLS [all …]
|
/external/python/cpython3/Lib/xml/dom/ |
D | minicompat.py | 78 NL = NodeList() 79 NL.extend(other) 80 return NL 83 NL = NodeList() 84 NL.extend(other) 85 return NL
|
/external/python/cpython2/Lib/xml/dom/ |
D | minicompat.py | 79 NL = NodeList() 80 NL.extend(other) 81 return NL 84 NL = NodeList() 85 NL.extend(other) 86 return NL
|
/external/python/cpython2/Lib/email/ |
D | base64mime.py | 43 NL = '\n' variable 65 maxlinelen=76, eol=NL): 111 if line.endswith(NL): 122 def encode(s, binary=True, maxlinelen=76, eol=NL): 148 if enc.endswith(NL) and eol != NL:
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/XRay/ |
D | Graph.h | 210 const NeighborLookupT &NL; variable 214 auto It = NL.find(A); in begin() 215 if (It == NL.end()) in begin() 221 auto It = NL.find(A); in cbegin() 222 if (It == NL.end()) in cbegin() 230 auto It = NL.find(A); in end() 231 if (It == NL.end()) in end() 236 auto It = NL.find(A); in cend() 237 if (It == NL.end()) in cend() 245 auto I = NL.find(A); in size() [all …]
|
/external/python/cpython3/Lib/email/ |
D | base64mime.py | 41 NL = '\n' variable 76 def body_encode(s, maxlinelen=76, eol=NL): 95 if enc.endswith(NL) and eol != NL:
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCSelfInitChecker.cpp | 83 const char *NL, const char *Sep) const override; 339 const char *NL, const char *Sep) const { in printState() argument 347 Out << Sep << NL << *this << " :" << NL; in printState() 350 Out << " An init method has been called." << NL; in printState() 355 << NL; in printState() 359 << NL; in printState() 363 Out << NL; in printState() 380 Out << NL; in printState()
|