Home
last modified time | relevance | path

Searched refs:sw (Results 1 - 25 of 467) sorted by relevance

12345678910>>...19

/third_party/libinput/test/
H A Dtest-switch.c113 enum libinput_switch sw = _i; /* ranged test */ in START_TEST() local
118 litest_switch_action(dev, sw, LIBINPUT_SWITCH_STATE_ON); in START_TEST()
121 if (libinput_device_switch_has_switch(dev->libinput_device, sw) > 0) { in START_TEST()
123 litest_is_switch_event(event, sw, LIBINPUT_SWITCH_STATE_ON); in START_TEST()
129 litest_switch_action(dev, sw, LIBINPUT_SWITCH_STATE_OFF); in START_TEST()
132 if (libinput_device_switch_has_switch(dev->libinput_device, sw) > 0) { in START_TEST()
134 litest_is_switch_event(event, sw, LIBINPUT_SWITCH_STATE_OFF); in START_TEST()
148 enum libinput_switch sw = _i; /* ranged test */ in START_TEST() local
150 if (libinput_device_switch_has_switch(dev->libinput_device, sw) <= 0) in START_TEST()
156 litest_switch_action(dev, sw, LIBINPUT_SWITCH_STATE_O in START_TEST()
194 enum libinput_switch sw = _i; /* ranged test */ START_TEST() local
239 enum libinput_switch sw = LIBINPUT_SWITCH_LID; START_TEST() local
279 struct litest_device *sw = litest_current_device(); START_TEST() local
319 struct litest_device *sw = litest_current_device(); START_TEST() local
351 struct litest_device *sw = litest_current_device(); START_TEST() local
390 struct litest_device *sw = litest_current_device(); START_TEST() local
431 struct litest_device *sw = litest_current_device(); START_TEST() local
466 struct litest_device *sw = litest_current_device(); START_TEST() local
507 struct litest_device *sw = litest_current_device(); START_TEST() local
555 struct litest_device *sw = litest_current_device(); START_TEST() local
599 struct litest_device *sw = litest_current_device(); START_TEST() local
641 struct litest_device *sw; START_TEST() local
682 struct litest_device *touchpad, *sw; START_TEST() local
721 struct litest_device *sw = litest_current_device(); START_TEST() local
776 struct litest_device *sw = litest_current_device(); START_TEST() local
844 struct litest_device *sw = litest_current_device(); START_TEST() local
905 struct litest_device *sw = litest_current_device(); START_TEST() local
921 struct litest_device *sw = litest_current_device(); START_TEST() local
962 struct litest_device *sw = litest_current_device(); START_TEST() local
1031 struct litest_device *sw = litest_current_device(); START_TEST() local
1088 struct litest_device *sw = litest_current_device(); START_TEST() local
1141 struct litest_device *sw = litest_current_device(); START_TEST() local
1176 struct litest_device *sw = litest_current_device(); START_TEST() local
1244 struct litest_device *sw = litest_current_device(); START_TEST() local
1288 struct litest_device *sw = litest_current_device(); START_TEST() local
1334 struct litest_device *sw = litest_current_device(); START_TEST() local
1375 struct litest_device *sw = litest_current_device(); START_TEST() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DDevice.hpp39 class Device : public sw::Renderer
51 explicit Device(sw::Context *context);
61 void drawIndexedPrimitive(sw::DrawType type, unsigned int indexOffset, unsigned int primitiveCount);
62 void drawPrimitive(sw::DrawType type, unsigned int primiveCount);
63 void setPixelShader(const sw::PixelShader *shader);
69 void setScissorRect(const sw::Rect &rect);
70 void setVertexShader(const sw::VertexShader *shader);
74 bool stretchRect(sw::Surface *sourceSurface, const sw::SliceRectF *sourceRect, sw
[all...]
H A Dutilities.cpp1183 sw::Format ConvertReadFormatType(GLenum format, GLenum type) in ConvertReadFormatType()
1190 case GL_UNSIGNED_BYTE: return sw::FORMAT_L8; in ConvertReadFormatType()
1191 case GL_HALF_FLOAT: return sw::FORMAT_L16F; in ConvertReadFormatType()
1192 case GL_HALF_FLOAT_OES: return sw::FORMAT_L16F; in ConvertReadFormatType()
1193 case GL_FLOAT: return sw::FORMAT_L32F; in ConvertReadFormatType()
1200 case GL_UNSIGNED_BYTE: return sw::FORMAT_A8L8; in ConvertReadFormatType()
1201 case GL_HALF_FLOAT: return sw::FORMAT_A16L16F; in ConvertReadFormatType()
1202 case GL_HALF_FLOAT_OES: return sw::FORMAT_A16L16F; in ConvertReadFormatType()
1203 case GL_FLOAT: return sw::FORMAT_A32L32F; in ConvertReadFormatType()
1210 case GL_UNSIGNED_BYTE: return sw in ConvertReadFormatType()
[all...]
H A Dutilities.h63 sw::Format ConvertReadFormatType(GLenum format, GLenum type);
95 sw::DepthCompareMode ConvertDepthComparison(GLenum comparison);
96 sw::StencilCompareMode ConvertStencilComparison(GLenum comparison);
97 sw::Color<float> ConvertColor(es2::Color color);
98 sw::BlendFactor ConvertBlendFunc(GLenum blend);
99 sw::BlendOperation ConvertBlendOp(GLenum blendOp);
100 sw::LogicalOperation ConvertLogicalOperation(GLenum logicalOperation);
101 sw::StencilOperation ConvertStencilOp(GLenum stencilOp);
102 sw::AddressingMode ConvertTextureWrap(GLenum wrap);
103 sw
[all...]
H A DVertexDataManager.cpp163 sw::Resource *staticBuffer = buffer ? buffer->getResource() : nullptr; in prepareVertexData()
187 case GL_BYTE: translated[i].type = sw::STREAMTYPE_SBYTE; break; in prepareVertexData()
188 case GL_UNSIGNED_BYTE: translated[i].type = sw::STREAMTYPE_BYTE; break; in prepareVertexData()
189 case GL_SHORT: translated[i].type = sw::STREAMTYPE_SHORT; break; in prepareVertexData()
190 case GL_UNSIGNED_SHORT: translated[i].type = sw::STREAMTYPE_USHORT; break; in prepareVertexData()
191 case GL_INT: translated[i].type = sw::STREAMTYPE_INT; break; in prepareVertexData()
192 case GL_UNSIGNED_INT: translated[i].type = sw::STREAMTYPE_UINT; break; in prepareVertexData()
193 case GL_FIXED: translated[i].type = sw::STREAMTYPE_FIXED; break; in prepareVertexData()
194 case GL_FLOAT: translated[i].type = sw::STREAMTYPE_FLOAT; break; in prepareVertexData()
195 case GL_HALF_FLOAT: translated[i].type = sw in prepareVertexData()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSpirvShaderDebug.hpp53 struct PrintValue::Ty<sw::SpirvShader::Object::ID>
55 static inline std::string fmt(sw::SpirvShader::Object::ID v) { return "Object<" + std::to_string(v.value()) + ">"; } in fmt()
56 static inline std::vector<Value *> val(sw::SpirvShader::Object::ID v) { return {}; } in val()
59 struct PrintValue::Ty<sw::SpirvShader::Type::ID>
61 static inline std::string fmt(sw::SpirvShader::Type::ID v) { return "Type<" + std::to_string(v.value()) + ">"; } in fmt()
62 static inline std::vector<Value *> val(sw::SpirvShader::Type::ID v) { return {}; } in val()
65 struct PrintValue::Ty<sw::SpirvShader::Block::ID>
67 static inline std::string fmt(sw::SpirvShader::Block::ID v) { return "Block<" + std::to_string(v.value()) + ">"; } in fmt()
68 static inline std::vector<Value *> val(sw::SpirvShader::Block::ID v) { return {}; } in val()
72 struct PrintValue::Ty<sw
[all...]
H A DShaderCore.hpp26 namespace sw { namespace
223 sw::SIMD::UInt halfToFloatBits(sw::SIMD::UInt halfBits);
224 sw::SIMD::UInt floatToHalfBits(sw::SIMD::UInt floatBits, bool storeInUpperBits);
228 rr::RValue<rr::Bool> AnyTrue(rr::RValue<sw::SIMD::Int> const &ints);
230 rr::RValue<rr::Bool> AnyFalse(rr::RValue<sw::SIMD::Int> const &ints);
238 rr::RValue<sw::SIMD::Float> Sign(rr::RValue<sw::SIMD::Float> const &val);
242 std::pair<rr::RValue<sw
[all...]
H A DShaderCore.cpp22 namespace sw { namespace
631 rr::RValue<rr::Bool> AnyTrue(rr::RValue<sw::SIMD::Int> const &ints) in AnyTrue()
636 rr::RValue<rr::Bool> AnyFalse(rr::RValue<sw::SIMD::Int> const &ints) in AnyFalse()
641 rr::RValue<sw::SIMD::Float> Sign(rr::RValue<sw::SIMD::Float> const &val) in Sign()
643 return rr::As<sw::SIMD::Float>((rr::As<sw::SIMD::UInt>(val) & sw::SIMD::UInt(0x80000000)) | sw::SIMD::UInt(0x3f800000)); in Sign()
648 std::pair<rr::RValue<sw
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
H A DImage.cpp309 sw::Format SelectInternalFormat(GLint format) in SelectInternalFormat()
313 case GL_RGBA4: return sw::FORMAT_A8B8G8R8; in SelectInternalFormat()
314 case GL_RGB5_A1: return sw::FORMAT_A8B8G8R8; in SelectInternalFormat()
315 case GL_RGBA8: return sw::FORMAT_A8B8G8R8; in SelectInternalFormat()
316 case GL_RGB565: return sw::FORMAT_R5G6B5; in SelectInternalFormat()
317 case GL_RGB8: return sw::FORMAT_X8B8G8R8; in SelectInternalFormat()
319 case GL_DEPTH_COMPONENT32F: return sw::FORMAT_D32F_LOCKABLE; in SelectInternalFormat()
320 case GL_DEPTH_COMPONENT16: return sw::FORMAT_D32F_LOCKABLE; in SelectInternalFormat()
321 case GL_DEPTH_COMPONENT24: return sw::FORMAT_D32F_LOCKABLE; in SelectInternalFormat()
322 case GL_DEPTH_COMPONENT32_OES: return sw in SelectInternalFormat()
[all...]
/third_party/musl/src/setjmp/riscv32/
H A Dsetjmp.S10 sw s0, 0(a0)
11 sw s1, 4(a0)
12 sw s2, 8(a0)
13 sw s3, 12(a0)
14 sw s4, 16(a0)
15 sw s5, 20(a0)
16 sw s6, 24(a0)
17 sw s7, 28(a0)
18 sw s8, 32(a0)
19 sw s
[all...]
/third_party/musl/src/setjmp/or1k/
H A Dsetjmp.s13 l.sw 0(r3), r1
14 l.sw 4(r3), r2
15 l.sw 8(r3), r9
16 l.sw 12(r3), r10
17 l.sw 16(r3), r14
18 l.sw 20(r3), r16
19 l.sw 24(r3), r18
20 l.sw 28(r3), r20
21 l.sw 32(r3), r22
22 l.sw 3
[all...]
/third_party/musl/src/setjmp/mips/
H A Dsetjmp.S12 sw $ra, 0($4)
13 sw $sp, 4($4)
14 sw $16, 8($4)
15 sw $17, 12($4)
16 sw $18, 16($4)
17 sw $19, 20($4)
18 sw $20, 24($4)
19 sw $21, 28($4)
20 sw $22, 32($4)
21 sw
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DOutputASM.cpp327 mCurrentOffset = sw::align(mCurrentOffset, ComponentsPerRegister); in nextRegister()
372 mCurrentOffset = sw::align(mCurrentOffset, baseAlignment); in getBlockLayoutInfo()
412 sw::PixelShader *Shader::getPixelShader() const in getPixelShader()
417 sw::VertexShader *Shader::getVertexShader() const in getVertexShader()
532 Instruction *callMain = emit(sw::Shader::OPCODE_CALL); in output()
533 callMain->dst.type = sw::Shader::PARAMETER_LABEL; in output()
536 emit(sw::Shader::OPCODE_RET); in output()
555 sw::Shader::Opcode OutputASM::getOpcode(sw::Shader::Opcode op, TIntermTyped *in) const in getOpcode()
561 case sw in getOpcode()
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_need_swtnl.c43 if (svga->state.sw.need_swvfetch != svga->curr.velems->need_swvfetch) { in update_need_swvfetch()
44 svga->state.sw.need_swvfetch = svga->curr.velems->need_swvfetch; in update_need_swvfetch()
128 if (need_pipeline != svga->state.sw.need_pipeline) { in update_need_pipeline()
129 svga->state.sw.need_pipeline = need_pipeline; in update_need_pipeline()
134 if (0 && svga->state.sw.need_pipeline) in update_need_pipeline()
135 debug_printf("sw.need_pipeline = %d\n", svga->state.sw.need_pipeline); in update_need_pipeline()
137 if (svga->state.sw.need_pipeline) { in update_need_pipeline()
164 svga->state.sw.need_swvfetch = FALSE; in update_need_swtnl()
165 svga->state.sw in update_need_swtnl()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
H A DDataReadWriteTest.java48 StringWriter sw = new StringWriter(); in testOpenClose()
49 XMLRecordWriter xrw = new XMLRecordWriter(sw); in testOpenClose()
53 String str = sw.toString(); in testOpenClose()
64 StringWriter sw = new StringWriter(); in testBool()
65 XMLRecordWriter xrw = new XMLRecordWriter(sw); in testBool()
69 String str = sw.toString(); in testBool()
99 StringWriter sw = new StringWriter(); in testBoolArray()
100 XMLRecordWriter xrw = new XMLRecordWriter(sw); in testBoolArray()
103 String str = sw.toString(); in testBoolArray()
120 StringWriter sw in testCharacter()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/
H A DDataReadWriteTest.java51 StringWriter sw = new StringWriter(); in testOpenClose()
52 XMLRecordWriter xrw = new XMLRecordWriter(sw); in testOpenClose()
56 String str = sw.toString(); in testOpenClose()
67 StringWriter sw = new StringWriter(); in testBool()
68 XMLRecordWriter xrw = new XMLRecordWriter(sw); in testBool()
72 String str = sw.toString(); in testBool()
102 StringWriter sw = new StringWriter(); in testBoolArray()
103 XMLRecordWriter xrw = new XMLRecordWriter(sw); in testBoolArray()
106 String str = sw.toString(); in testBoolArray()
123 StringWriter sw in testCharacter()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
H A DDisplay.cpp157 const sw::Format renderTargetFormats[] = in initialize()
159 // sw::FORMAT_A1R5G5B5, in initialize()
160 // sw::FORMAT_A2R10G10B10, // The color_ramp conformance test uses ReadPixels with UNSIGNED_BYTE causing it to think that rendering skipped a colour value. in initialize()
161 sw::FORMAT_A8R8G8B8, in initialize()
162 sw::FORMAT_A8B8G8R8, in initialize()
163 sw::FORMAT_R5G6B5, in initialize()
164 // sw::FORMAT_X1R5G5B5, // Has no compatible OpenGL ES renderbuffer format in initialize()
165 sw::FORMAT_X8R8G8B8, in initialize()
166 sw::FORMAT_X8B8G8R8 in initialize()
169 const sw in initialize()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkPipelineCache.hpp32 namespace sw { namespace
37 } // namespace sw
60 SpirvBinaryKey(const sw::SpirvBinary &spirv,
66 const sw::SpirvBinary &getBinary() const { return spirv; } in getBinary()
71 const sw::SpirvBinary spirv;
83 // sw::ShaderBinary()
85 inline sw::SpirvBinary getOrOptimizeSpirv(const PipelineCache::SpirvBinaryKey &key, CreateOnCacheMiss &&create, CacheHit &&cacheHit);
103 // std::shared_ptr<sw::ComputeProgram>()
105 inline std::shared_ptr<sw::ComputeProgram> getOrCreateComputeProgram(const PipelineCache::ComputeProgramKey &key, Function &&create);
121 std::map<SpirvBinaryKey, sw
[all...]
/third_party/pcre2/pcre2/src/sljit/
H A DsljitNativeX86_32.c288 args_size = 3 * SSIZE_OF(sw); in sljit_emit_enter()
305 args_size = SSIZE_OF(sw); in sljit_emit_enter()
334 args_size += SSIZE_OF(sw); in sljit_emit_enter()
340 args_size -= SSIZE_OF(sw); in sljit_emit_enter()
364 size *= SSIZE_OF(sw); in sljit_emit_enter()
370 size += SSIZE_OF(sw); in sljit_emit_enter()
403 args_size += SSIZE_OF(sw); in sljit_emit_enter()
432 local_size -= SSIZE_OF(sw); in sljit_emit_enter()
467 size = SLJIT_LOCALS_OFFSET_BASE - SSIZE_OF(sw); in sljit_emit_enter()
473 size -= SSIZE_OF(sw); in sljit_emit_enter()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DFrameBufferOzone.cpp17 namespace sw namespace
21 buffer = sw::Surface::create(width, height, 1, format, nullptr, in FrameBufferOzone()
22 sw::Surface::pitchB(width, 0, format, true), in FrameBufferOzone()
23 sw::Surface::sliceB(width, height, 0, format, true)); in FrameBufferOzone()
33 framebuffer = buffer->lockInternal(0, 0, 0, sw::LOCK_READWRITE, sw::PUBLIC); in lock()
45 void FrameBufferOzone::blit(sw::Surface *source, const Rect *sourceRect, const Rect *destRect) in blit()
/third_party/lzma/CPP/Common/
H A DCommandLineParser.cpp99 CSwitchResult &sw = _switches[switchIndex]; in ParseString() local
102 if (!form.Multi && sw.ThereIs) in ParseString()
108 sw.ThereIs = true; in ParseString()
117 sw.WithMinus = false; in ParseString()
118 sw.PostCharIndex = -1; in ParseString()
125 sw.WithMinus = (s[pos] == '-'); in ParseString()
126 if (sw.WithMinus) in ParseString()
139 sw.PostCharIndex = FindCharPosInString(form.PostCharSet, (char)c); in ParseString()
140 if (sw.PostCharIndex >= 0) in ParseString()
150 sw in ParseString()
[all...]
/third_party/musl/porting/liteos_a/kernel/src/locale/
H A D__mo_lookup.c12 int sw = *mo - 0x950412de; in __mo_lookup() local
13 uint32_t b = 0, n = swapc(mo[2], sw); in __mo_lookup()
14 uint32_t o = swapc(mo[3], sw); in __mo_lookup()
15 uint32_t t = swapc(mo[4], sw); in __mo_lookup()
21 uint32_t ol = swapc(mo[o+2*(b+n/2)], sw); in __mo_lookup()
22 uint32_t os = swapc(mo[o+2*(b+n/2)+1], sw); in __mo_lookup()
27 uint32_t tl = swapc(mo[t+2*(b+n/2)], sw); in __mo_lookup()
28 uint32_t ts = swapc(mo[t+2*(b+n/2)+1], sw); in __mo_lookup()
/third_party/musl/src/locale/
H A D__mo_lookup.c12 int sw = *mo - 0x950412de; in __mo_lookup() local
13 uint32_t b = 0, n = swapc(mo[2], sw); in __mo_lookup()
14 uint32_t o = swapc(mo[3], sw); in __mo_lookup()
15 uint32_t t = swapc(mo[4], sw); in __mo_lookup()
21 uint32_t ol = swapc(mo[o+2*(b+n/2)], sw); in __mo_lookup()
22 uint32_t os = swapc(mo[o+2*(b+n/2)+1], sw); in __mo_lookup()
27 uint32_t tl = swapc(mo[t+2*(b+n/2)], sw); in __mo_lookup()
28 uint32_t ts = swapc(mo[t+2*(b+n/2)+1], sw); in __mo_lookup()
/third_party/skia/third_party/externals/swiftshader/tests/SystemUnitTests/
H A DSynchronizationTests.cpp24 sw::CountedEvent ev; in TEST()
30 sw::CountedEvent ev(true); in TEST()
36 sw::CountedEvent ev(true); in TEST()
43 sw::CountedEvent ev; in TEST()
50 sw::CountedEvent ev; in TEST()
58 sw::CountedEvent ev; in TEST()
74 sw::CountedEvent ev; in TEST()
90 sw::CountedEvent ev; in TEST()
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DClipper.cpp22 inline void clipEdge(sw::float4 &Vo, const sw::float4 &Vi, const sw::float4 &Vj, float di, float dj) in clipEdge()
32 void clipNear(sw::Polygon &polygon) in clipNear()
34 const sw::float4 **V = polygon.P[polygon.i]; in clipNear()
35 const sw::float4 **T = polygon.P[polygon.i + 1]; in clipNear()
70 void clipFar(sw::Polygon &polygon) in clipFar()
72 const sw::float4 **V = polygon.P[polygon.i]; in clipFar()
73 const sw::float4 **T = polygon.P[polygon.i + 1]; in clipFar()
108 void clipLeft(sw
262 namespace sw { global() namespace
[all...]

Completed in 15 milliseconds

12345678910>>...19