/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceUtils.cpp | 32 rr::VertexAttribType mapGLPureIntegerVertexAttributeType (deUint32 type) in mapGLPureIntegerVertexAttributeType() 36 case GL_UNSIGNED_BYTE: return rr::VERTEXATTRIBTYPE_PURE_UINT8; in mapGLPureIntegerVertexAttributeType() 37 case GL_UNSIGNED_SHORT: return rr::VERTEXATTRIBTYPE_PURE_UINT16; in mapGLPureIntegerVertexAttributeType() 38 case GL_UNSIGNED_INT: return rr::VERTEXATTRIBTYPE_PURE_UINT32; in mapGLPureIntegerVertexAttributeType() 39 case GL_BYTE: return rr::VERTEXATTRIBTYPE_PURE_INT8; in mapGLPureIntegerVertexAttributeType() 40 case GL_SHORT: return rr::VERTEXATTRIBTYPE_PURE_INT16; in mapGLPureIntegerVertexAttributeType() 41 case GL_INT: return rr::VERTEXATTRIBTYPE_PURE_INT32; in mapGLPureIntegerVertexAttributeType() 44 return rr::VERTEXATTRIBTYPE_LAST; in mapGLPureIntegerVertexAttributeType() 48 rr::VertexAttribType mapGLFloatVertexAttributeType (deUint32 type, bool normalizedInteger, int size… in mapGLFloatVertexAttributeType() 57 return rr::VERTEXATTRIBTYPE_FLOAT; in mapGLFloatVertexAttributeType() [all …]
|
D | sglrShaderProgram.hpp | 59 …VertexAttribute (const std::string& name_, rr::GenericVecType type_) : name(name_), type(type_)… in VertexAttribute() 62 rr::GenericVecType type; 67 …VertexToFragmentVarying (rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), f… in VertexToFragmentVarying() 69 rr::GenericVecType type; 75 …VertexToGeometryVarying (rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), f… in VertexToGeometryVarying() 77 rr::GenericVecType type; 83 …GeometryToFragmentVarying (rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), … in GeometryToFragmentVarying() 85 rr::GenericVecType type; 91 FragmentOutput (rr::GenericVecType type_) : type(type_) { } in FragmentOutput() 93 rr::GenericVecType type; [all …]
|
D | sglrShaderProgram.cpp | 32 : m_geometryDecl (rr::GEOMETRYSHADERINPUTTYPE_LAST, rr::GEOMETRYSHADEROUTPUTTYPE_LAST, 0, 0) in ShaderProgramDeclaration() 115 if (m_geometryDecl.inputType == rr::GEOMETRYSHADERINPUTTYPE_LAST || in valid() 116 m_geometryDecl.outputType == rr::GEOMETRYSHADEROUTPUTTYPE_LAST) in valid() 121 if (m_geometryDecl.inputType != rr::GEOMETRYSHADERINPUTTYPE_LAST || in valid() 122 m_geometryDecl.outputType != rr::GEOMETRYSHADEROUTPUTTYPE_LAST || in valid() 134 : rr::VertexShader (decl.getVertexInputCount(), decl.getVertexOutputCount()) in ShaderProgram() 135 , rr::GeometryShader (decl.getGeometryInputCount(), in ShaderProgram() 141 , rr::FragmentShader (decl.getFragmentInputCount(), decl.getFragmentOutputCount()) in ShaderProgram() 155 this->rr::VertexShader::m_inputs[ndx].type = decl.m_vertexAttributes[ndx].type; in ShaderProgram() 163 this->rr::VertexShader::m_outputs[ndx].type = decl.m_vertexToGeometryVaryings[ndx].type; in ShaderProgram() [all …]
|
D | sglrReferenceUtils.hpp | 38 rr::VertexAttribType mapGLPureIntegerVertexAttributeType (deUint32 type); 39 rr::VertexAttribType mapGLFloatVertexAttributeType (deUint32 type, bool normalizedInteger, int … 41 rr::PrimitiveType mapGLPrimitiveType (deUint32 type); 42 rr::IndexType mapGLIndexType (deUint32 type); 43 rr::GeometryShaderOutputType mapGLGeometryShaderOutputType (deUint32 primitive); 44 rr::GeometryShaderInputType mapGLGeometryShaderInputType (deUint32 primitive); 45 rr::TestFunc mapGLTestFunc (deUint32 func); 46 rr::StencilOp mapGLStencilOp (deUint32 op); 47 rr::BlendEquation mapGLBlendEquation (deUint32 equation); 48 rr::BlendEquationAdvanced mapGLBlendEquationAdvanced (deUint32 equation); [all …]
|
/external/syzkaller/vendor/google.golang.org/grpc/ |
D | balancer.go | 165 func (rr *roundRobin) watchAddrUpdates() error { 166 updates, err := rr.w.Next() 171 rr.mu.Lock() 172 defer rr.mu.Unlock() 181 for _, v := range rr.addrs { 191 rr.addrs = append(rr.addrs, &addrInfo{addr: addr}) 193 for i, v := range rr.addrs { 195 copy(rr.addrs[i:], rr.addrs[i+1:]) 196 rr.addrs = rr.addrs[:len(rr.addrs)-1] 205 open := make([]Address, len(rr.addrs)) [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineReferenceRenderer.cpp | 37 rr::BlendFunc mapVkBlendFactor (VkBlendFactor blend) in mapVkBlendFactor() 41 case VK_BLEND_FACTOR_ZERO: return rr::BLENDFUNC_ZERO; in mapVkBlendFactor() 42 case VK_BLEND_FACTOR_ONE: return rr::BLENDFUNC_ONE; in mapVkBlendFactor() 43 case VK_BLEND_FACTOR_SRC_COLOR: return rr::BLENDFUNC_SRC_COLOR; in mapVkBlendFactor() 44 case VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR: return rr::BLENDFUNC_ONE_MINUS_SRC_COLOR; in mapVkBlendFactor() 45 case VK_BLEND_FACTOR_DST_COLOR: return rr::BLENDFUNC_DST_COLOR; in mapVkBlendFactor() 46 case VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR: return rr::BLENDFUNC_ONE_MINUS_DST_COLOR; in mapVkBlendFactor() 47 case VK_BLEND_FACTOR_SRC_ALPHA: return rr::BLENDFUNC_SRC_ALPHA; in mapVkBlendFactor() 48 case VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA: return rr::BLENDFUNC_ONE_MINUS_SRC_ALPHA; in mapVkBlendFactor() 49 case VK_BLEND_FACTOR_DST_ALPHA: return rr::BLENDFUNC_DST_ALPHA; in mapVkBlendFactor() [all …]
|
D | vktPipelineReferenceRenderer.hpp | 45 class ColorVertexShader : public rr::VertexShader 48 ColorVertexShader (void) : rr::VertexShader(2, 2) in ColorVertexShader() 50 m_inputs[0].type = rr::GENERICVECTYPE_FLOAT; in ColorVertexShader() 51 m_inputs[1].type = rr::GENERICVECTYPE_FLOAT; in ColorVertexShader() 53 m_outputs[0].type = rr::GENERICVECTYPE_FLOAT; in ColorVertexShader() 54 m_outputs[1].type = rr::GENERICVECTYPE_FLOAT; in ColorVertexShader() 59 virtual void shadeVertices (const rr::VertexAttrib* inputs, in shadeVertices() 60 rr::VertexPacket* const* packets, in shadeVertices() 68 rr::VertexPacket* const packet = packets[packetNdx]; in shadeVertices() 80 class TexCoordVertexShader : public rr::VertexShader [all …]
|
/external/mdnsresponder/mDNSCore/ |
D | mDNS.c | 117 #define LORecordAnswersAddressType(rr) ((rr)->ARType == AuthRecordLocalOnly && \ argument 118 (rr)->resrec.RecordType & kDNSRecordTypeUniqueMask && \ 119 ((rr)->resrec.rrtype == kDNSType_A || (rr)->resrec.rrtype == kDNSType_AAAA || \ 120 (rr)->resrec.rrtype == kDNSType_CNAME)) 122 #define FollowCNAME(q, rr, AddRecord) (AddRecord && (q)->qtype != kDNSType_CNAME && \ argument 123 (rr)->RecordType != kDNSRecordTypePacketNegative && \ 124 (rr)->rrtype == kDNSType_CNAME) 247 …port AuthGroup *AuthGroupForRecord(AuthHash *r, const mDNSu32 slot, const ResourceRecord *const rr) in AuthGroupForRecord() argument 249 return(AuthGroupForName(r, slot, rr->namehash, rr->name)); in AuthGroupForRecord() 252 mDNSlocal AuthGroup *GetAuthGroup(AuthHash *r, const mDNSu32 slot, const ResourceRecord *const rr) in GetAuthGroup() argument [all …]
|
D | uDNS.c | 61 mDNSlocal void SetRecordRetry(mDNS *const m, AuthRecord *rr, mDNSu32 random) in SetRecordRetry() argument 63 rr->LastAPTime = m->timenow; in SetRecordRetry() 65 if (rr->expire && rr->refreshCount < MAX_UPDATE_REFRESH_COUNT) in SetRecordRetry() 67 mDNSs32 remaining = rr->expire - m->timenow; in SetRecordRetry() 68 rr->refreshCount++; in SetRecordRetry() 72 rr->ThisAPInterval = 7 * (remaining/10) + (random ? random : mDNSRandom(remaining/10)); in SetRecordRetry() 74 if (rr->ThisAPInterval < MIN_UPDATE_REFRESH_TIME) in SetRecordRetry() 75 rr->ThisAPInterval = MIN_UPDATE_REFRESH_TIME; in SetRecordRetry() 77 …rr->ThisAPInterval/mDNSPlatformOneSecond, (rr->expire - m->timenow)/mDNSPlatformOneSecond, ARDispl… in SetRecordRetry() 81 rr->ThisAPInterval = MIN_UPDATE_REFRESH_TIME; in SetRecordRetry() [all …]
|
D | DNSCommon.c | 139 const CacheRecord *rr; in NumCacheRecordsForInterfaceID() local 140 FORALL_CACHERECORDS(slot, cg, rr) in NumCacheRecordsForInterfaceID() 141 if (rr->resrec.InterfaceID == id) used++; in NumCacheRecordsForInterfaceID() 174 mDNSexport char *GetRRDisplayString_rdb(const ResourceRecord *const rr, const RDataBody *const rd1,… in GetRRDisplayString_rdb() argument 179 …ength = mDNS_snprintf(buffer, MaxMsg-1, "%4d %##s %s ", rr->rdlength, rr->name->c, DNSTypeName(rr-… in GetRRDisplayString_rdb() 180 if (rr->RecordType == kDNSRecordTypePacketNegative) return(buffer); in GetRRDisplayString_rdb() 181 …if (!rr->rdlength) { mDNS_snprintf(buffer+length, RemSpc, "<< ZERO RDATA LENGTH >>"); return(buffe… in GetRRDisplayString_rdb() 183 switch (rr->rrtype) in GetRRDisplayString_rdb() 199 while (t < rd->txt.c + rr->rdlength) in GetRRDisplayString_rdb() 212 const rdataOPT *const end = (const rdataOPT *)&rd->data[rr->rdlength]; in GetRRDisplayString_rdb() [all …]
|
/external/skqp/src/core/ |
D | SkRRectPriv.h | 18 static bool IsCircle(const SkRRect& rr) { in IsCircle() argument 19 return rr.isOval() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsCircle() 22 static SkVector GetSimpleRadii(const SkRRect& rr) { in GetSimpleRadii() argument 23 SkASSERT(!rr.isComplex()); in GetSimpleRadii() 24 return rr.fRadii[0]; in GetSimpleRadii() 27 static bool IsSimpleCircular(const SkRRect& rr) { in IsSimpleCircular() argument 28 return rr.isSimple() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsSimpleCircular() 31 static bool EqualRadii(const SkRRect& rr) { in EqualRadii() argument 32 return rr.isRect() || SkRRectPriv::IsCircle(rr) || SkRRectPriv::IsSimpleCircular(rr); in EqualRadii() 35 static const SkVector* GetRadiiArray(const SkRRect& rr) { return rr.fRadii; } in GetRadiiArray() argument [all …]
|
/external/skia/src/core/ |
D | SkRRectPriv.h | 18 static bool IsCircle(const SkRRect& rr) { in IsCircle() argument 19 return rr.isOval() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsCircle() 22 static SkVector GetSimpleRadii(const SkRRect& rr) { in GetSimpleRadii() argument 23 SkASSERT(!rr.isComplex()); in GetSimpleRadii() 24 return rr.fRadii[0]; in GetSimpleRadii() 27 static bool IsSimpleCircular(const SkRRect& rr) { in IsSimpleCircular() argument 28 return rr.isSimple() && SkScalarNearlyEqual(rr.fRadii[0].fX, rr.fRadii[0].fY); in IsSimpleCircular() 31 static bool EqualRadii(const SkRRect& rr) { in EqualRadii() argument 32 return rr.isRect() || SkRRectPriv::IsCircle(rr) || SkRRectPriv::IsSimpleCircular(rr); in EqualRadii() 35 static const SkVector* GetRadiiArray(const SkRRect& rr) { return rr.fRadii; } in GetRadiiArray() argument [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fDepthStencilTests.cpp | 98 rr::FaceType visibleFace; //!< Quad visible face. 101 StencilParams stencil[rr::FACETYPE_LAST]; 109 : visibleFace (rr::FACETYPE_LAST) in DepthStencilParams() 138 log << params.stencil[rr::FACETYPE_FRONT]; in operator <<() 141 log << params.stencil[rr::FACETYPE_BACK]; in operator <<() 153 …log << TestLog::Message << "Triangles are " << (params.visibleFace == rr::FACETYPE_FRONT ? "front"… in operator <<() 160 rr::WindowRectangle rect; 174 ClearCommand (const rr::WindowRectangle& rect_, in ClearCommand() 189 rr::WindowRectangle rect; 202 rr::FragmentOperationState state; [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fDepthStencilTests.cpp | 98 rr::FaceType visibleFace; //!< Quad visible face. 101 StencilParams stencil[rr::FACETYPE_LAST]; 109 : visibleFace (rr::FACETYPE_LAST) in DepthStencilParams() 138 log << params.stencil[rr::FACETYPE_FRONT]; in operator <<() 141 log << params.stencil[rr::FACETYPE_BACK]; in operator <<() 153 …log << TestLog::Message << "Triangles are " << (params.visibleFace == rr::FACETYPE_FRONT ? "front"… in operator <<() 160 rr::WindowRectangle rect; 174 ClearCommand (const rr::WindowRectangle& rect_, in ClearCommand() 189 rr::WindowRectangle rect; 202 rr::FragmentOperationState state; [all …]
|
D | es3fFboTestUtil.hpp | 63 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const in… 64 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShad… 78 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const in… 79 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShad… 97 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const in… 98 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShad… 126 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const i… 127 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentSha… 148 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const i… 149 …void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentSha… [all …]
|
D | es3fFboTestUtil.cpp | 55 static rr::GenericVecType mapDataTypeToGenericVecType(glu::DataType type) in mapDataTypeToGenericVecType() 59 case glu::TYPE_FLOAT_VEC4: return rr::GENERICVECTYPE_FLOAT; in mapDataTypeToGenericVecType() 60 case glu::TYPE_INT_VEC4: return rr::GENERICVECTYPE_INT32; in mapDataTypeToGenericVecType() 61 case glu::TYPE_UINT_VEC4: return rr::GENERICVECTYPE_UINT32; in mapDataTypeToGenericVecType() 64 return rr::GENERICVECTYPE_LAST; in mapDataTypeToGenericVecType() 79 << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT) in FlatColorShader() 80 << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT) in FlatColorShader() 111 void FlatColorShader::shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packe… in shadeVertices() 115 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices() 117 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices() [all …]
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | compound_packet_unittest.cc | 35 ReceiverReport rr; in TEST() local 36 rr.From(kSenderSsrc); in TEST() 37 EXPECT_TRUE(rr.WithReportBlock(rb)); in TEST() 38 rr.Append(&fir); in TEST() 40 rtc::scoped_ptr<RawPacket> packet(rr.Build()); in TEST() 51 ReceiverReport rr; in TEST() local 52 rr.From(kSenderSsrc); in TEST() 53 empty.Append(&rr); in TEST() 67 ReceiverReport rr; in TEST() local 68 EXPECT_TRUE(rr.WithReportBlock(rb)); in TEST() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawInstancedTests.cpp | 115 rr::PrimitiveType mapVkPrimitiveTopology (vk::VkPrimitiveTopology primitiveTopology) in mapVkPrimitiveTopology() 119 case vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST: return rr::PRIMITIVETYPE_POINTS; in mapVkPrimitiveTopology() 120 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST: return rr::PRIMITIVETYPE_LINES; in mapVkPrimitiveTopology() 121 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP: return rr::PRIMITIVETYPE_LINE_STRIP; in mapVkPrimitiveTopology() 122 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST: return rr::PRIMITIVETYPE_TRIANGLES; in mapVkPrimitiveTopology() 123 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN: return rr::PRIMITIVETYPE_TRIANGLE_FAN; in mapVkPrimitiveTopology() 124 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP: return rr::PRIMITIVETYPE_TRIANGLE_STRIP; in mapVkPrimitiveTopology() 125 …case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY: return rr::PRIMITIVETYPE_LINES_ADJACENCY; in mapVkPrimitiveTopology() 126 …case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY: return rr::PRIMITIVETYPE_LINE_STRIP_ADJ… in mapVkPrimitiveTopology() 127 …case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY: return rr::PRIMITIVETYPE_TRIANGLES_AD… in mapVkPrimitiveTopology() [all …]
|
/external/deqp/framework/referencerenderer/ |
D | rrPrimitiveAssembler.hpp | 29 namespace rr namespace 80 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec() 82 const int provokingOffset = (provokingConvention == rr::PROVOKINGVERTEX_FIRST) ? (0) : (2); in exec() 97 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec() 114 …*(outputIterator++) = Triangle(vert0, vert1, vertices[ndx], (provokingConvention == rr::PROVOKINGV… in exec() 124 …*(outputIterator++) = Triangle(vert0, vert1, vertices[ndx], (provokingConvention == rr::PROVOKINGV… in exec() 142 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec() 149 const int provokingOffset = (provokingConvention == rr::PROVOKINGVERTEX_FIRST) ? (1) : (2); in exec() 205 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec() 207 const int provokingOffset = (provokingConvention == rr::PROVOKINGVERTEX_FIRST) ? (0) : (1); in exec() [all …]
|
/external/autotest/client/cros/ |
D | routing.py | 156 return (rr for rr in self.routes if rr.isUsable()) 159 return any(rr for rr in self._filterUsableRoutes() 160 if (rr.interface == interface and rr.isDefaultRoute())) 163 return [rr for rr in self._filterUsableRoutes() if rr.isDefaultRoute()] 166 return any(rr for rr in self._filterUsableRoutes() 167 if (rr.interface == interface and rr.isInterfaceRoute())) 170 for rr in self._filterUsableRoutes(): 171 if rr.matches(ip): 172 return rr
|
/external/deqp/modules/glshared/ |
D | glsTextureBufferCase.cpp | 154 class CoordVertexShader : public rr::VertexShader 158 : rr::VertexShader(1, 1) in CoordVertexShader() 160 m_inputs[0].type = rr::GENERICVECTYPE_FLOAT; in CoordVertexShader() 161 m_outputs[0].type = rr::GENERICVECTYPE_FLOAT; in CoordVertexShader() 164 …void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int nu… in shadeVertices() 168 rr::VertexPacket* const packet = packets[packetNdx]; in shadeVertices() 179 class TextureVertexShader : public rr::VertexShader 183 : rr::VertexShader (1, 1) in TextureVertexShader() 186 m_inputs[0].type = rr::GENERICVECTYPE_FLOAT; in TextureVertexShader() 187 m_outputs[0].type = rr::GENERICVECTYPE_FLOAT; in TextureVertexShader() [all …]
|
/external/skia/tests/ |
D | RRectInPathTest.cpp | 177 SkRRect rr; in test_tricky_radii() local 181 rr.setRectRadii(bounds, vec); in test_tricky_radii() 182 path_contains_rrect_check(reporter, rr, dir, start); in test_tricky_radii() 191 SkRRect rr; in test_tricky_radii() local 192 rr.setRectRadii(r, radii); in test_tricky_radii() 193 path_contains_rrect_nocheck(reporter, rr, dir, start); in test_tricky_radii() 202 SkRRect rr; in test_empty_crbug_458524() local 205 rr.setRectXY(bounds, rad, rad); in test_empty_crbug_458524() 206 path_contains_rrect_check(reporter, rr, dir, start); in test_empty_crbug_458524() 211 rr.transform(matrix, &other); in test_empty_crbug_458524() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/util/ |
D | vktDrawUtil.cpp | 51 static VkCompareOp mapCompareOp (rr::TestFunc compareFunc) in mapCompareOp() 55 case rr::TESTFUNC_NEVER: return VK_COMPARE_OP_NEVER; in mapCompareOp() 56 case rr::TESTFUNC_LESS: return VK_COMPARE_OP_LESS; in mapCompareOp() 57 case rr::TESTFUNC_EQUAL: return VK_COMPARE_OP_EQUAL; in mapCompareOp() 58 case rr::TESTFUNC_LEQUAL: return VK_COMPARE_OP_LESS_OR_EQUAL; in mapCompareOp() 59 case rr::TESTFUNC_GREATER: return VK_COMPARE_OP_GREATER; in mapCompareOp() 60 case rr::TESTFUNC_NOTEQUAL: return VK_COMPARE_OP_NOT_EQUAL; in mapCompareOp() 61 case rr::TESTFUNC_GEQUAL: return VK_COMPARE_OP_GREATER_OR_EQUAL; in mapCompareOp() 62 case rr::TESTFUNC_ALWAYS: return VK_COMPARE_OP_ALWAYS; in mapCompareOp() 69 rr::PrimitiveType mapVkPrimitiveToRRPrimitive(const vk::VkPrimitiveTopology& primitiveTopology) in mapVkPrimitiveToRRPrimitive() [all …]
|
/external/skqp/tests/ |
D | RRectInPathTest.cpp | 177 SkRRect rr; in test_tricky_radii() local 181 rr.setRectRadii(bounds, vec); in test_tricky_radii() 182 path_contains_rrect_check(reporter, rr, dir, start); in test_tricky_radii() 191 SkRRect rr; in test_tricky_radii() local 192 rr.setRectRadii(r, radii); in test_tricky_radii() 193 path_contains_rrect_nocheck(reporter, rr, dir, start); in test_tricky_radii() 202 SkRRect rr; in test_empty_crbug_458524() local 205 rr.setRectXY(bounds, rad, rad); in test_empty_crbug_458524() 206 path_contains_rrect_check(reporter, rr, dir, start); in test_empty_crbug_458524() 211 rr.transform(matrix, &other); in test_empty_crbug_458524() [all …]
|
/external/autotest/client/cros/netprotos/ |
D | zeroconf.py | 170 for rr in answers: # Answers RRs 173 if rr.type == dpkt.dns.DNS_A: 174 data = socket.inet_ntoa(rr.ip) 175 elif rr.type == dpkt.dns.DNS_PTR: 176 data = rr.ptrname 177 elif rr.type == dpkt.dns.DNS_TXT: 178 data = tuple(rr.text) # Convert the list to a hashable tuple 179 elif rr.type == dpkt.dns.DNS_SRV: 180 data = rr.srvname, rr.priority, rr.weight, rr.port 183 if not rr.name in self._peer_records: [all …]
|