Home
last modified time | relevance | path

Searched refs:frag (Results 1 – 25 of 121) sorted by relevance

12345

/external/boringssl/src/ssl/
Dd1_both.c149 hm_fragment *frag = OPENSSL_malloc(sizeof(hm_fragment)); in dtls1_hm_fragment_new() local
150 if (frag == NULL) { in dtls1_hm_fragment_new()
154 memset(frag, 0, sizeof(hm_fragment)); in dtls1_hm_fragment_new()
159 frag->fragment = OPENSSL_malloc(frag_len); in dtls1_hm_fragment_new()
160 if (frag->fragment == NULL) { in dtls1_hm_fragment_new()
172 frag->reassembly = OPENSSL_malloc(bitmask_len); in dtls1_hm_fragment_new()
173 if (frag->reassembly == NULL) { in dtls1_hm_fragment_new()
177 memset(frag->reassembly, 0, bitmask_len); in dtls1_hm_fragment_new()
181 return frag; in dtls1_hm_fragment_new()
184 dtls1_hm_fragment_free(frag); in dtls1_hm_fragment_new()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderIndexingTests.cpp271 std::ostringstream frag; in createVaryingArrayCase() local
272 frag << "#version 300 es\n"; in createVaryingArrayCase()
273 frag << "precision mediump int;\n"; in createVaryingArrayCase()
274 frag << "layout(location = 0) out mediump vec4 o_color;\n"; in createVaryingArrayCase()
276 frag << "uniform mediump int ui_zero, ui_one, ui_two, ui_three;\n"; in createVaryingArrayCase()
278 frag << "uniform int ui_four;\n"; in createVaryingArrayCase()
279 frag << "in ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n"; in createVaryingArrayCase()
280 frag << "\n"; in createVaryingArrayCase()
281 frag << "void main()\n"; in createVaryingArrayCase()
282 frag << "{\n"; in createVaryingArrayCase()
[all …]
Des3fShaderLoopTests.cpp247 std::ostringstream frag; in createGenericLoopCase() local
248 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase()
251 frag << "#version 300 es\n"; in createGenericLoopCase()
255 frag << "layout(location = 0) out mediump vec4 o_color;\n"; in createGenericLoopCase()
263 frag << "in mediump vec3 v_color;\n"; in createGenericLoopCase()
268 frag << "in mediump vec4 v_coords;\n"; in createGenericLoopCase()
273 frag << "in mediump float v_one;\n"; in createGenericLoopCase()
300 frag << "\n"; in createGenericLoopCase()
301 frag << "void main()\n"; in createGenericLoopCase()
302 frag << "{\n"; in createGenericLoopCase()
[all …]
Des3fShaderSwitchTests.cpp92 std::ostringstream frag; in makeSwitchCase() local
93 std::ostringstream& op = isVertex ? vtx : frag; in makeSwitchCase()
98 frag << "#version 300 es\n" in makeSwitchCase()
104 frag << "in mediump vec4 v_color;\n"; in makeSwitchCase()
109 frag << "in highp vec4 v_coords;\n"; in makeSwitchCase()
119 frag << "\n" in makeSwitchCase()
139 frag << " o_color = v_color;\n"; in makeSwitchCase()
144 frag << " o_color = vec4(res, 1.0);\n"; in makeSwitchCase()
148 frag << "}\n"; in makeSwitchCase()
150 return new ShaderSwitchCase(context, name, desc, isVertex, vtx.str().c_str(), frag.str().c_str(), in makeSwitchCase()
Des3fShaderPrecisionTests.cpp72 ostringstream frag; in createFloatPrecisionEvalProgram() local
73 ostringstream& op = isVertexCase ? vtx : frag; in createFloatPrecisionEvalProgram()
79 frag << "#version 300 es\n" in createFloatPrecisionEvalProgram()
85 frag << "flat in " << precName << " " << typeName << " v_out;\n"; in createFloatPrecisionEvalProgram()
91 frag << "flat in " << precName << " " << typeName << " v_in0;\n" in createFloatPrecisionEvalProgram()
97 frag << "\nvoid main (void)\n{\n"; in createFloatPrecisionEvalProgram()
109 frag << " o_out = floatBitsToUint(v_out);\n"; in createFloatPrecisionEvalProgram()
115 frag << " o_out = floatBitsToUint(res);\n"; in createFloatPrecisionEvalProgram()
119 frag << "}\n"; in createFloatPrecisionEvalProgram()
121 return new glu::ShaderProgram(context, glu::makeVtxFragSources(vtx.str(), frag.str())); in createFloatPrecisionEvalProgram()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderIndexingTests.cpp314 std::ostringstream frag; in createVaryingArrayCase() local
315 frag << "#version 310 es\n"; in createVaryingArrayCase()
316 frag << "precision mediump int;\n"; in createVaryingArrayCase()
317 frag << "layout(location = 0) out mediump vec4 o_color;\n"; in createVaryingArrayCase()
320 frag << "layout(std140, binding = 0) uniform something0 { mediump int ui_zero; };\n"; in createVaryingArrayCase()
321 frag << "layout(std140, binding = 1) uniform something1 { mediump int ui_one; };\n"; in createVaryingArrayCase()
322 frag << "layout(std140, binding = 2) uniform something2 { mediump int ui_two; };\n"; in createVaryingArrayCase()
323 frag << "layout(std140, binding = 3) uniform something3 { mediump int ui_three; };\n"; in createVaryingArrayCase()
326 frag << "layout(std140, binding = 4) uniform something4 { mediump int ui_four; };\n"; in createVaryingArrayCase()
327 frag << "layout(location = 0) in ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n"; in createVaryingArrayCase()
[all …]
DvktShaderRenderLoopTests.cpp309 std::ostringstream frag; in createGenericLoopCase() local
310 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase()
313 frag << "#version 310 es\n"; in createGenericLoopCase()
317 frag << "layout(location=0) out mediump vec4 o_color;\n"; in createGenericLoopCase()
325 frag << "layout(location=0) in mediump vec3 v_color;\n"; in createGenericLoopCase()
330 frag << "layout(location=0) in mediump vec4 v_coords;\n"; in createGenericLoopCase()
335 frag << "layout(location=1) in mediump float v_one;\n"; in createGenericLoopCase()
379 frag << "\n"; in createGenericLoopCase()
380 frag << "void main()\n"; in createGenericLoopCase()
381 frag << "{\n"; in createGenericLoopCase()
[all …]
DvktShaderRenderSwitchTests.cpp109 std::ostringstream frag; in makeSwitchCase() local
110 std::ostringstream& op = isVertex ? vtx : frag; in makeSwitchCase()
115 frag << "#version 310 es\n" in makeSwitchCase()
121 frag << "layout(location = 0) in mediump vec4 v_color;\n"; in makeSwitchCase()
126 frag << "layout(location = 0) in highp vec4 v_coords;\n"; in makeSwitchCase()
136 frag << "\n" in makeSwitchCase()
156 frag << " o_color = v_color;\n"; in makeSwitchCase()
161 frag << " o_color = vec4(res, 1.0);\n"; in makeSwitchCase()
165 frag << "}\n"; in makeSwitchCase()
167 …ovePtr<ShaderSwitchCase>(new ShaderSwitchCase(testCtx, name, desc, isVertex, vtx.str(), frag.str(), in makeSwitchCase()
/external/deqp/modules/gles2/functional/
Des2fShaderIndexingTests.cpp300 std::ostringstream frag; in createVaryingArrayCase() local
301 frag << "precision mediump int;\n"; in createVaryingArrayCase()
303 frag << "uniform mediump int ui_zero, ui_one, ui_two, ui_three;\n"; in createVaryingArrayCase()
305 frag << "uniform int ui_four;\n"; in createVaryingArrayCase()
306 frag << "varying ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n"; in createVaryingArrayCase()
307 frag << "\n"; in createVaryingArrayCase()
308 frag << "void main()\n"; in createVaryingArrayCase()
309 frag << "{\n"; in createVaryingArrayCase()
310 frag << " ${PRECISION} ${VAR_TYPE} res = ${VAR_TYPE}(0.0);\n"; in createVaryingArrayCase()
313 frag << " res += var[0];\n"; in createVaryingArrayCase()
[all …]
Des2fShaderAlgorithmTests.cpp76 std::ostringstream frag; in createExpressionCase() local
77 std::ostringstream& op = isVertexCase ? vtx : frag; in createExpressionCase()
85 frag << "varying mediump vec3 v_color;\n"; in createExpressionCase()
90 frag << "varying mediump vec4 v_coords;\n"; in createExpressionCase()
100 frag << "\n"; in createExpressionCase()
101 frag << "void main()\n"; in createExpressionCase()
102 frag << "{\n"; in createExpressionCase()
116 frag << " gl_FragColor = vec4(v_color, 1.0);\n"; in createExpressionCase()
121 frag << " gl_FragColor = vec4(res, 1.0);\n"; in createExpressionCase()
125 frag << "}\n"; in createExpressionCase()
[all …]
Des2fShaderLoopTests.cpp279 std::ostringstream frag; in createGenericLoopCase() local
280 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase()
291 frag << "varying mediump vec3 v_color;\n"; in createGenericLoopCase()
296 frag << "varying mediump vec4 v_coords;\n"; in createGenericLoopCase()
301 frag << "varying mediump float v_one;\n"; in createGenericLoopCase()
328 frag << "\n"; in createGenericLoopCase()
329 frag << "void main()\n"; in createGenericLoopCase()
330 frag << "{\n"; in createGenericLoopCase()
335 frag << " ${PRECISION} vec4 coords = v_coords;\n"; in createGenericLoopCase()
344 frag << " ${COUNTER_PRECISION} int one = int(v_one + 0.5);\n"; in createGenericLoopCase()
[all …]
/external/vulkan-validation-layers/demos/
DCMakeLists.txt35 add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/demos/tri-frag.spv
36 COMMAND ${GLSLANG_VALIDATOR} -s -V ${PROJECT_SOURCE_DIR}/demos/tri.frag
37 COMMAND move frag.spv ${CMAKE_BINARY_DIR}/demos/tri-frag.spv
38 DEPENDS tri.frag ${GLSLANG_VALIDATOR}
45 add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/demos/cube-frag.spv
46 COMMAND ${GLSLANG_VALIDATOR} -s -V ${PROJECT_SOURCE_DIR}/demos/cube.frag
47 COMMAND move frag.spv ${CMAKE_BINARY_DIR}/demos/cube-frag.spv
48 DEPENDS cube.frag ${GLSLANG_VALIDATOR}
58 add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/demos/tri-frag.spv
59 COMMAND ${GLSLANG_VALIDATOR} -s -V -o tri-frag.spv ${PROJECT_SOURCE_DIR}/demos/tri.frag
[all …]
/external/deqp/modules/gles3/performance/
Des3pShaderControlStatementTests.cpp191 std::ostringstream frag; in init() local
192 std::ostringstream& op = isVertexCase ? vtx : frag; in init()
199 frag << "#version 300 es\n"; in init()
200 frag << "layout(location = 0) out mediump vec4 o_color;\n"; in init()
212 frag << "in mediump vec4 v_color;\n"; in init()
218 frag << "in mediump vec4 v_value0;\n"; in init()
219 frag << "in mediump vec4 v_value1;\n"; in init()
224 frag << "in mediump float v_compareValue;\n"; in init()
233 frag << "\n"; in init()
234 frag << "void main()\n"; in init()
[all …]
/external/ipsec-tools/src/racoon/
Disakmp_frag.c93 vchar_t *frag; local
128 if ((frag = vmalloc(fraglen)) == NULL) {
134 set_isakmp_header1(frag, iph1, ISAKMP_NPTYPE_FRAG);
135 hdr = (struct isakmp *)frag->v;
151 if (isakmp_send(iph1, frag) < 0) {
156 vfree(frag);
182 struct isakmp_frag *frag; local
190 if (msg->l < sizeof(*isakmp) + sizeof(*frag)) {
196 frag = (struct isakmp_frag *)(isakmp + 1);
202 if (msg->l < sizeof(*isakmp) + ntohs(frag->len) ||
[all …]
/external/deqp/modules/gles2/performance/
Des2pShaderControlStatementTests.cpp191 std::ostringstream frag; in init() local
192 std::ostringstream& op = isVertexCase ? vtx : frag; in init()
208 frag << "varying mediump vec4 v_color;\n"; in init()
214 frag << "varying mediump vec4 v_value0;\n"; in init()
215 frag << "varying mediump vec4 v_value1;\n"; in init()
220 frag << "varying mediump float v_compareValue;\n"; in init()
229 frag << "\n"; in init()
230 frag << "void main()\n"; in init()
231 frag << "{\n"; in init()
269 frag << " gl_FragColor = v_color;\n"; in init()
[all …]
/external/iptables/extensions/
Dlibip6t_frag.c110 const struct ip6t_frag *frag = (struct ip6t_frag *)match->data; in frag_print() local
113 print_ids("id", frag->ids[0], frag->ids[1], in frag_print()
114 frag->invflags & IP6T_FRAG_INV_IDS); in frag_print()
116 if (frag->flags & IP6T_FRAG_LEN) { in frag_print()
118 frag->invflags & IP6T_FRAG_INV_LEN ? "!" : "", in frag_print()
119 frag->hdrlen); in frag_print()
122 if (frag->flags & IP6T_FRAG_RES) in frag_print()
125 if (frag->flags & IP6T_FRAG_FST) in frag_print()
128 if (frag->flags & IP6T_FRAG_MF) in frag_print()
131 if (frag->flags & IP6T_FRAG_NMF) in frag_print()
[all …]
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp100 …const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; … in executeStencilCompare()
101 …stencilBufferValue = stencilBuffer.getPixStencil(fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoo… in executeStencilCompare()
138 …const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; … in executeStencilSFail()
139 …stencilBufferValue = stencilBuffer.getPixStencil(fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoo… in executeStencilSFail()
141 …ue, (SFAIL_EXPRESSION), stencilState.writeMask), fragSampleNdx, frag.pixelCoord.x(), frag.pixelCoo… in executeStencilSFail()
173 …const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; … in executeDepthCompare()
174 …float depthBufferValue = depthBuffer.getPixDepth(fragSampleNdx, frag.pixelCoord.x(), frag.pixel… in executeDepthCompare()
175 float sampleDepthFloat = frag.sampleDepths[fragSampleNdx]; \ in executeDepthCompare()
191 …const Fragment& frag = inputFragments[fragNdxOffset + regSampleNdx/numSamplesPerFragment]; … in executeDepthCompare()
192 …deUint32 depthBufferValue = depthBuffer.getPixelUint(fragSampleNdx, frag.pixelCoord.x(), frag.pi… in executeDepthCompare()
[all …]
/external/jetty/src/java/org/eclipse/jetty/webapp/
DFragmentConfiguration.java76 for (Resource frag : frags) in findWebFragments()
78 …if (frag.isDirectory()) //tolerate the case where the library is a directory, not a jar. useful fo… in findWebFragments()
80 …metaData.addFragment(frag, Resource.newResource(frag.getURL()+"/META-INF/web-fragment.xml")); … in findWebFragments()
84 …metaData.addFragment(frag, Resource.newResource("jar:"+frag.getURL()+"!/META-INF/web-fragment.xml"… in findWebFragments()
/external/deqp/modules/gles3/stress/
Des3sLongRunningShaderTests.cpp126 std::ostringstream vert, frag; in genSources() local
131 frag << "#version 300 es\n"; in genSources()
139 frag << "flat in highp int v_iterCount;\n"; in genSources()
143 (isVertCase ? vert : frag) << "uniform highp int u_iterCount;\n"; in genSources()
148 frag << "in mediump vec4 v_color;\n"; in genSources()
151 frag << "out mediump vec4 o_color;\n"; in genSources()
160 frag << "\nvoid main (void)\n{\n"; in genSources()
167 std::ostringstream& op = isVertCase ? vert : frag; in genSources()
198 frag << " o_color = v_color;\n"; in genSources()
201 frag << " o_color = color;\n"; in genSources()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXObject.java329 DTM frag = support.createDocumentFragment(); in rtf() local
332 frag.appendTextChild(str()); in rtf()
334 result = frag.getDocument(); in rtf()
354 DTM frag = support.createDocumentFragment(); in rtree() local
357 frag.appendTextChild(str()); in rtree()
359 docFrag = (DocumentFragment)frag.getNode(frag.getDocument()); in rtree()
363 DTM frag = support.getDTM(result); in rtree() local
364 docFrag = (DocumentFragment)frag.getNode(frag.getDocument()); in rtree()
/external/tinycompress/
Dcplay.c92 unsigned long buffer_size, unsigned int frag);
157 unsigned int card = 0, device = 0, frag = 0; in main() local
173 frag = strtol(optarg, NULL, 10); in main()
193 play_samples(file, card, device, buffer_size, frag); in main()
200 unsigned long buffer_size, unsigned int frag) in play_samples() argument
241 if ((buffer_size != 0) && (frag != 0)) { in play_samples()
242 config.fragment_size = buffer_size/frag; in play_samples()
243 config.fragments = frag; in play_samples()
/external/jetty/src/java/org/eclipse/jetty/websocket/
DFragmentExtension.java68 int frag=length/2; in addFrame() local
70 super.addFrame((byte)(flags&0x7),opcode,content,offset,frag); in addFrame()
71 length-=frag; in addFrame()
72 offset+=frag; in addFrame()
/external/okhttp/website/static/
Dhtml5shiv.min.js4 …est(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement…
5 …place(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}…
8 for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}…
/external/squashfs-tools/kernel/fs/squashfs/
Dinode.c136 unsigned int frag_offset, frag_size, frag; in squashfs_read_inode() local
145 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode()
146 if (frag != SQUASHFS_INVALID_FRAG) { in squashfs_read_inode()
148 frag_size = squashfs_frag_lookup(sb, frag, &frag_blk); in squashfs_read_inode()
178 unsigned int frag_offset, frag_size, frag; in squashfs_read_inode() local
187 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode()
188 if (frag != SQUASHFS_INVALID_FRAG) { in squashfs_read_inode()
190 frag_size = squashfs_frag_lookup(sb, frag, &frag_blk); in squashfs_read_inode()
/external/autotest/server/site_tests/video_VDAStress/
Doutput_test_video_params.py87 frag = INVALID_PARAM
92 frag = h264_fragments(path)
95 frag = vp8_fragments(path)
109 filename, dimen[0], dimen[1], frame, frag, fps[0], fps[1], profile)

12345