/third_party/vk-gl-cts/framework/opengl/simplereference/ |
H A 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, glu::ContextType ctxType) in mapGLFloatVertexAttributeType() 57 return rr in mapGLFloatVertexAttributeType() [all...] |
H A 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_), flatshade((flags & VARYINGFLAG_FLATSHADE) != 0) { } in VertexToFragmentVarying() 69 rr::GenericVecType type; 75 VertexToGeometryVarying (rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), flatshade((flags & VARYINGFLAG_FLATSHADE) != 0) { } in VertexToGeometryVarying() 77 rr::GenericVecType type; 83 GeometryToFragmentVarying (rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), flatshade((flags & VARYINGFLAG_FLATSHADE) != 0) { } in GeometryToFragmentVarying() 85 rr::GenericVecType type; 91 FragmentOutput (rr::GenericVecType type_) : type(type_) { } in FragmentOutput() 93 rr [all...] |
H A 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 in ShaderProgram() [all...] |
H A D | sglrReferenceUtils.hpp | 38 rr::VertexAttribType mapGLPureIntegerVertexAttributeType (deUint32 type); 39 rr::VertexAttribType mapGLFloatVertexAttributeType (deUint32 type, bool normalizedInteger, int size, glu::ContextType ctxType); 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 [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A 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 in mapVkBlendFactor() [all...] |
H A 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 ColorVertexShaderDualSource : public rr [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A 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 in mapVkBlendFactor() [all...] |
H A 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 ColorVertexShaderDualSource : public rr [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | ShaderCore.hpp | 28 using namespace rr; 95 using Float = rr::Float4; 96 using Int = rr::Int4; 97 using UInt = rr::UInt4; 101 Pointer(rr::Pointer<Byte> base, rr::Int limit); 102 Pointer(rr::Pointer<Byte> base, unsigned int limit); 103 Pointer(rr::Pointer<Byte> base, rr::Int limit, SIMD::Int offset); 104 Pointer(rr [all...] |
H A D | ShaderCore.cpp | 631 rr::RValue<rr::Bool> AnyTrue(rr::RValue<sw::SIMD::Int> const &ints) in AnyTrue() 633 return rr::SignMask(ints) != 0; in AnyTrue() 636 rr::RValue<rr::Bool> AnyFalse(rr::RValue<sw::SIMD::Int> const &ints) in AnyFalse() 638 return rr::SignMask(~ints) != 0; in AnyFalse() 641 rr::RValue<sw::SIMD::Float> Sign(rr [all...] |
/third_party/skia/src/core/ |
H A 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 in IsSimpleCircular() 35 EqualRadii(const SkRRect& rr) EqualRadii() argument 39 GetRadiiArray(const SkRRect& rr) GetRadiiArray() argument 48 ContainsPoint(const SkRRect& rr, const SkPoint& p) ContainsPoint() argument [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_dns_write.c | 176 const ares_dns_rr_t *rr, in ares_dns_write_rr_name() 183 name = ares_dns_rr_get_str(rr, key); in ares_dns_write_rr_name() 192 const ares_dns_rr_t *rr, in ares_dns_write_rr_str() 199 str = ares_dns_rr_get_str(rr, key); in ares_dns_write_rr_str() 224 const ares_dns_rr_t *rr, in ares_dns_write_rr_binstrs() 233 bin = ares_dns_rr_get_bin(rr, key, &bin_len); in ares_dns_write_rr_binstrs() 268 const ares_dns_rr_t *rr, in ares_dns_write_rr_be32() 274 return ares__buf_append_be32(buf, ares_dns_rr_get_u32(rr, key)); in ares_dns_write_rr_be32() 278 const ares_dns_rr_t *rr, in ares_dns_write_rr_be16() 284 return ares__buf_append_be16(buf, ares_dns_rr_get_u16(rr, ke in ares_dns_write_rr_be16() 175 ares_dns_write_rr_name(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist, ares_bool_t validate_hostname, ares_dns_rr_key_t key) ares_dns_write_rr_name() argument 191 ares_dns_write_rr_str(ares__buf_t *buf, const ares_dns_rr_t *rr, ares_dns_rr_key_t key) ares_dns_write_rr_str() argument 223 ares_dns_write_rr_binstrs(ares__buf_t *buf, const ares_dns_rr_t *rr, ares_dns_rr_key_t key) ares_dns_write_rr_binstrs() argument 267 ares_dns_write_rr_be32(ares__buf_t *buf, const ares_dns_rr_t *rr, ares_dns_rr_key_t key) ares_dns_write_rr_be32() argument 277 ares_dns_write_rr_be16(ares__buf_t *buf, const ares_dns_rr_t *rr, ares_dns_rr_key_t key) ares_dns_write_rr_be16() argument 287 ares_dns_write_rr_u8(ares__buf_t *buf, const ares_dns_rr_t *rr, ares_dns_rr_key_t key) ares_dns_write_rr_u8() argument 297 ares_dns_write_rr_a(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_a() argument 312 ares_dns_write_rr_ns(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_ns() argument 320 ares_dns_write_rr_cname(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_cname() argument 328 ares_dns_write_rr_soa(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_soa() argument 376 ares_dns_write_rr_ptr(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_ptr() argument 384 ares_dns_write_rr_hinfo(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_hinfo() argument 402 ares_dns_write_rr_mx(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_mx() argument 419 ares_dns_write_rr_txt(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_txt() argument 427 ares_dns_write_rr_aaaa(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_aaaa() argument 442 ares_dns_write_rr_srv(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_srv() argument 471 ares_dns_write_rr_naptr(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_naptr() argument 512 ares_dns_write_rr_opt(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_opt() argument 587 ares_dns_write_rr_tlsa(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_tlsa() argument 624 ares_dns_write_rr_svcb(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_svcb() argument 675 ares_dns_write_rr_https(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_https() argument 726 ares_dns_write_rr_uri(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_uri() argument 758 ares_dns_write_rr_caa(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_caa() argument 789 ares_dns_write_rr_raw_rr(ares__buf_t *buf, const ares_dns_rr_t *rr, ares__llist_t **namelist) ares_dns_write_rr_raw_rr() argument 842 const ares_dns_rr_t *rr; ares_dns_write_rr() local [all...] |
H A D | ares_dns_parse.c | 46 ares_dns_rr_t *rr, in ares_dns_parse_and_set_dns_name() 57 status = ares_dns_rr_set_str_own(rr, key, name); in ares_dns_parse_and_set_dns_name() 67 ares_dns_rr_t *rr, ares_dns_rr_key_t key, ares_bool_t blank_allowed) in ares_dns_parse_and_set_dns_str() 82 status = ares_dns_rr_set_str_own(rr, key, str); in ares_dns_parse_and_set_dns_str() 93 ares_dns_rr_t *rr, ares_dns_rr_key_t key) in ares_dns_parse_and_set_dns_binstr() 105 status = ares_dns_rr_set_bin_own(rr, key, bin, bin_len); in ares_dns_parse_and_set_dns_binstr() 114 ares_dns_rr_t *rr, in ares_dns_parse_and_set_be32() 125 return ares_dns_rr_set_u32(rr, key, u32); in ares_dns_parse_and_set_be32() 129 ares_dns_rr_t *rr, in ares_dns_parse_and_set_be16() 140 return ares_dns_rr_set_u16(rr, ke in ares_dns_parse_and_set_be16() 44 ares_dns_parse_and_set_dns_name(ares__buf_t *buf, ares_bool_t is_hostname, ares_dns_rr_t *rr, ares_dns_rr_key_t key) ares_dns_parse_and_set_dns_name() argument 65 ares_dns_parse_and_set_dns_str( ares__buf_t *buf, size_t max_len, ares_bool_t allow_multiple, ares_dns_rr_t *rr, ares_dns_rr_key_t key, ares_bool_t blank_allowed) ares_dns_parse_and_set_dns_str() argument 91 ares_dns_parse_and_set_dns_binstr(ares__buf_t *buf, size_t max_len, ares_bool_t allow_multiple, ares_dns_rr_t *rr, ares_dns_rr_key_t key) ares_dns_parse_and_set_dns_binstr() argument 113 ares_dns_parse_and_set_be32(ares__buf_t *buf, ares_dns_rr_t *rr, ares_dns_rr_key_t key) ares_dns_parse_and_set_be32() argument 128 ares_dns_parse_and_set_be16(ares__buf_t *buf, ares_dns_rr_t *rr, ares_dns_rr_key_t key) ares_dns_parse_and_set_be16() argument 143 ares_dns_parse_and_set_u8(ares__buf_t *buf, ares_dns_rr_t *rr, ares_dns_rr_key_t key) ares_dns_parse_and_set_u8() argument 158 ares_dns_parse_rr_a(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_a() argument 174 ares_dns_parse_rr_ns(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_ns() argument 183 ares_dns_parse_rr_cname(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_cname() argument 192 ares_dns_parse_rr_soa(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_soa() argument 241 ares_dns_parse_rr_ptr(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_ptr() argument 250 ares_dns_parse_rr_hinfo(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_hinfo() argument 274 ares_dns_parse_rr_mx(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_mx() argument 292 ares_dns_parse_rr_txt(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_txt() argument 299 ares_dns_parse_rr_aaaa(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_aaaa() argument 315 ares_dns_parse_rr_srv(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_srv() argument 345 ares_dns_parse_rr_naptr(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_naptr() argument 392 ares_dns_parse_rr_opt(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength, unsigned short raw_class, unsigned int raw_ttl) ares_dns_parse_rr_opt() argument 457 ares_dns_parse_rr_tlsa(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_tlsa() argument 499 ares_dns_parse_rr_svcb(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_svcb() argument 550 ares_dns_parse_rr_https(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_https() argument 601 ares_dns_parse_rr_uri(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_uri() argument 645 ares_dns_parse_rr_caa(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength) ares_dns_parse_rr_caa() argument 688 ares_dns_parse_rr_raw_rr(ares__buf_t *buf, ares_dns_rr_t *rr, size_t rdlength, unsigned short raw_type) ares_dns_parse_rr_raw_rr() argument 889 ares_dns_parse_rr_data(ares__buf_t *buf, size_t rdlength, ares_dns_rr_t *rr, ares_dns_rec_type_t type, unsigned short raw_type, unsigned short raw_class, unsigned int raw_ttl) ares_dns_parse_rr_data() argument 1003 ares_dns_rr_t *rr = NULL; ares_dns_parse_rr() local [all...] |
/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | ttable.c | 94 #define for_rr(start, i) for (i = start; i < num; i++) if (rr[i].res >= 0) 97 static void disable(struct result *rr, int i, int src) in disable() argument 100 rr[i].res = -1; in disable() 104 static void one_bit_all(struct result *rr, int num, int mask) in one_bit_all() argument 113 if (rr[k].res != rr[first].res) in one_bit_all() 116 rr[first].dontcare = mask_of(ARRAY_SIZE(bits)) & ~mask; in one_bit_all() 119 disable(rr, k, k); in one_bit_all() 124 static void neighbour_same(struct result *rr, int num, int mask) in neighbour_same() argument 128 if (!(k & mask) || (rr[ in neighbour_same() 140 optimizer(struct result *rr, int num) optimizer() argument 166 struct result *rr = calloc(sizeof(struct result), 1U << ARRAY_SIZE(bits)); table() local [all...] |
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | ttable.c | 94 #define for_rr(start, i) for (i = start; i < num; i++) if (rr[i].res >= 0) 97 static void disable(struct result *rr, int i, int src) in disable() argument 100 rr[i].res = -1; in disable() 104 static void one_bit_all(struct result *rr, int num, int mask) in one_bit_all() argument 113 if (rr[k].res != rr[first].res) in one_bit_all() 116 rr[first].dontcare = mask_of(ARRAY_SIZE(bits)) & ~mask; in one_bit_all() 119 disable(rr, k, k); in one_bit_all() 124 static void neighbour_same(struct result *rr, int num, int mask) in neighbour_same() argument 128 if (!(k & mask) || (rr[ in neighbour_same() 140 optimizer(struct result *rr, int num) optimizer() argument 166 struct result *rr = calloc(sizeof(struct result), 1U << ARRAY_SIZE(bits)); table() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/cms/ |
H A D | cms_ess.c | 29 CMS_ReceiptRequest *rr; in IMPLEMENT_ASN1_FUNCTIONS() local 38 rr = ASN1_item_unpack(str, ASN1_ITEM_rptr(CMS_ReceiptRequest)); in IMPLEMENT_ASN1_FUNCTIONS() 39 if (rr == NULL) in IMPLEMENT_ASN1_FUNCTIONS() 42 *prr = rr; in IMPLEMENT_ASN1_FUNCTIONS() 44 CMS_ReceiptRequest_free(rr); in IMPLEMENT_ASN1_FUNCTIONS() 121 CMS_ReceiptRequest *rr; in CMS_ReceiptRequest_create0_ex() local 123 rr = CMS_ReceiptRequest_new(); in CMS_ReceiptRequest_create0_ex() 124 if (rr == NULL) in CMS_ReceiptRequest_create0_ex() 127 ASN1_STRING_set0(rr->signedContentIdentifier, id, idlen); in CMS_ReceiptRequest_create0_ex() 129 if (!ASN1_STRING_set(rr in CMS_ReceiptRequest_create0_ex() 166 CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr) CMS_add1_ReceiptRequest() argument 191 CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr, ASN1_STRING **pcid, int *pallorfirst, STACK_OF(GENERAL_NAMES) **plist, STACK_OF(GENERAL_NAMES) **prto) CMS_ReceiptRequest_get0_values() argument 255 CMS_ReceiptRequest *rr = NULL; ossl_cms_Receipt_verify() local 384 CMS_ReceiptRequest *rr = NULL; ossl_cms_encode_Receipt() local [all...] |
/third_party/openssl/crypto/cms/ |
H A D | cms_ess.c | 29 CMS_ReceiptRequest *rr; in IMPLEMENT_ASN1_FUNCTIONS() local 38 rr = ASN1_item_unpack(str, ASN1_ITEM_rptr(CMS_ReceiptRequest)); in IMPLEMENT_ASN1_FUNCTIONS() 39 if (rr == NULL) in IMPLEMENT_ASN1_FUNCTIONS() 42 *prr = rr; in IMPLEMENT_ASN1_FUNCTIONS() 44 CMS_ReceiptRequest_free(rr); in IMPLEMENT_ASN1_FUNCTIONS() 121 CMS_ReceiptRequest *rr; in CMS_ReceiptRequest_create0_ex() local 123 rr = CMS_ReceiptRequest_new(); in CMS_ReceiptRequest_create0_ex() 124 if (rr == NULL) in CMS_ReceiptRequest_create0_ex() 127 ASN1_STRING_set0(rr->signedContentIdentifier, id, idlen); in CMS_ReceiptRequest_create0_ex() 129 if (!ASN1_STRING_set(rr in CMS_ReceiptRequest_create0_ex() 166 CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr) CMS_add1_ReceiptRequest() argument 191 CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr, ASN1_STRING **pcid, int *pallorfirst, STACK_OF(GENERAL_NAMES) **plist, STACK_OF(GENERAL_NAMES) **prto) CMS_ReceiptRequest_get0_values() argument 255 CMS_ReceiptRequest *rr = NULL; ossl_cms_Receipt_verify() local 384 CMS_ReceiptRequest *rr = NULL; ossl_cms_encode_Receipt() local [all...] |
/third_party/node/test/common/ |
H A D | dns.js | 74 const rr = { 82 rr.type = name; 86 rr.ttl = buffer.readInt32BE(offset); 93 rr.address = `${buffer[offset + 0]}.${buffer[offset + 1]}.` + 98 rr.address = buffer.toString('hex', offset, offset + 16) 104 rr.entries = []; 107 rr.entries.push(buffer.toString('utf8', 117 rr.priority = buffer.readInt16BE(buffer, offset); 120 rr.exchange = domain; 129 rr [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
H A D | ns_parse.c | 264 ns_rr rr; in ns_parserr_0100() local 265 memset(&rr, 0x0, sizeof(ns_rr)); in ns_parserr_0100() 266 ret = ns_parserr(&handle, ns_s_qd, 0, &rr); in ns_parserr_0100() 268 EXPECT_STREQ("ns_parserr_0100", rr.name, "www.abc.com"); in ns_parserr_0100() 269 EXPECT_EQ("ns_parserr_0100", rr.rr_class, 1); in ns_parserr_0100() 270 EXPECT_EQ("ns_parserr_0100", rr.type, 1); in ns_parserr_0100() 271 EXPECT_EQ("ns_parserr_0100", rr.ttl, 0); in ns_parserr_0100() 272 EXPECT_EQ("ns_parserr_0100", rr.rdlength, 0); in ns_parserr_0100() 273 EXPECT_PTREQ("ns_parserr_0100", rr.rdata, NULL); in ns_parserr_0100() 275 memset(&rr, in ns_parserr_0100() 301 ns_rr rr; ns_parserr_0200() local 324 ns_rr rr; ns_parserr_0300() local [all...] |
/third_party/node/deps/cares/src/tools/ |
H A D | adig.c | 497 static void print_opts(const ares_dns_rr_t *rr, ares_dns_rr_key_t key) in print_opts() argument 501 for (i = 0; i < ares_dns_rr_get_opt_cnt(rr, key); i++) { in print_opts() 511 opt = ares_dns_rr_get_opt(rr, key, i, &val, &val_len); in print_opts() 558 static void print_addr(const ares_dns_rr_t *rr, ares_dns_rr_key_t key) in print_addr() argument 560 const struct in_addr *addr = ares_dns_rr_get_addr(rr, key); in print_addr() 567 static void print_addr6(const ares_dns_rr_t *rr, ares_dns_rr_key_t key) in print_addr6() argument 569 const struct ares_in6_addr *addr = ares_dns_rr_get_addr6(rr, key); in print_addr6() 576 static void print_u8(const ares_dns_rr_t *rr, ares_dns_rr_key_t key) in print_u8() argument 578 unsigned char u8 = ares_dns_rr_get_u8(rr, key); in print_u8() 582 static void print_u16(const ares_dns_rr_t *rr, ares_dns_rr_key_ argument 588 print_u32(const ares_dns_rr_t *rr, ares_dns_rr_key_t key) print_u32() argument 594 print_name(const ares_dns_rr_t *rr, ares_dns_rr_key_t key) print_name() argument 600 print_str(const ares_dns_rr_t *rr, ares_dns_rr_key_t key) print_str() argument 606 print_bin(const ares_dns_rr_t *rr, ares_dns_rr_key_t key) print_bin() argument 613 print_binp(const ares_dns_rr_t *rr, ares_dns_rr_key_t key) print_binp() argument 621 print_rr(const ares_dns_rr_t *rr) print_rr() argument 694 const ares_dns_rr_t *rr = ares_dns_record_rr_get(dnsrec, section, i); has_opt() local 714 const ares_dns_rr_t *rr = ares_dns_record_rr_get(dnsrec, section, i); print_section() local 725 const ares_dns_rr_t *rr = has_opt(dnsrec, ARES_SECTION_ADDITIONAL); print_opt_psuedosection() local 785 ares_dns_rr_t *rr = NULL; enqueue_query() local [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFboTestUtil.hpp | 63 void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPackets) const; 64 void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const; 78 void shadeVertices (const rr::VertexAttrib* inputs, rr::VertexPacket* const* packets, const int numPackets) const; 79 void shadeFragments (rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const; 97 void shadeVertices (const rr::VertexAttrib* inputs, rr [all...] |
H A 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" : "back") << "-facing" << TestLog::EndMessage; in operator <<() 160 rr::WindowRectangle rect; 174 ClearCommand (const rr::WindowRectangle& rect_, in ClearCommand() 189 rr::WindowRectangle rect; 202 rr [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A 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" : "back") << "-facing" << TestLog::EndMessage; in operator <<() 160 rr::WindowRectangle rect; 174 ClearCommand (const rr::WindowRectangle& rect_, in ClearCommand() 189 rr::WindowRectangle rect; 202 rr [all...] |
/third_party/node/deps/openssl/openssl/ssl/record/ |
H A D | rec_layer_d1.c | 233 SSL3_RECORD *rr; in dtls1_process_buffered_records() local 244 rr = RECORD_LAYER_get_rrec(&s->rlayer); in dtls1_process_buffered_records() 261 bitmap = dtls1_get_bitmap(s, rr, &is_next_epoch); in dtls1_process_buffered_records() 291 rr->length = 0; in dtls1_process_buffered_records() 348 SSL3_RECORD *rr; in dtls1_read_bytes() local 385 rr = s->rlayer.rrec; in dtls1_read_bytes() 391 if (SSL_is_init_finished(s) && SSL3_RECORD_get_length(rr) == 0) { in dtls1_read_bytes() 420 if ((SSL3_RECORD_get_length(rr) == 0) in dtls1_read_bytes() 442 if (SSL3_RECORD_get_type(rr) != SSL3_RT_ALERT in dtls1_read_bytes() 443 && SSL3_RECORD_get_length(rr) ! in dtls1_read_bytes() 1003 dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr, unsigned int *is_next_epoch) dtls1_get_bitmap() argument [all...] |
/third_party/openssl/ssl/record/ |
H A D | rec_layer_d1.c | 233 SSL3_RECORD *rr; in dtls1_process_buffered_records() local 244 rr = RECORD_LAYER_get_rrec(&s->rlayer); in dtls1_process_buffered_records() 261 bitmap = dtls1_get_bitmap(s, rr, &is_next_epoch); in dtls1_process_buffered_records() 291 rr->length = 0; in dtls1_process_buffered_records() 348 SSL3_RECORD *rr; in dtls1_read_bytes() local 385 rr = s->rlayer.rrec; in dtls1_read_bytes() 391 if (SSL_is_init_finished(s) && SSL3_RECORD_get_length(rr) == 0) { in dtls1_read_bytes() 420 if ((SSL3_RECORD_get_length(rr) == 0) in dtls1_read_bytes() 442 if (SSL3_RECORD_get_type(rr) != SSL3_RT_ALERT in dtls1_read_bytes() 443 && SSL3_RECORD_get_length(rr) ! in dtls1_read_bytes() 1003 dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr, unsigned int *is_next_epoch) dtls1_get_bitmap() argument [all...] |