Home
last modified time | relevance | path

Searched refs:rx (Results 1 – 25 of 1748) sorted by relevance

12345678910>>...70

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DExecutionDomainFix.cpp70 void ExecutionDomainFix::setLiveReg(int rx, DomainValue *dv) { in setLiveReg() argument
71 assert(unsigned(rx) < NumRegs && "Invalid index"); in setLiveReg()
74 if (LiveRegs[rx] == dv) in setLiveReg()
76 if (LiveRegs[rx]) in setLiveReg()
77 release(LiveRegs[rx]); in setLiveReg()
78 LiveRegs[rx] = retain(dv); in setLiveReg()
81 void ExecutionDomainFix::kill(int rx) { in kill() argument
82 assert(unsigned(rx) < NumRegs && "Invalid index"); in kill()
84 if (!LiveRegs[rx]) in kill()
87 release(LiveRegs[rx]); in kill()
[all …]
/third_party/boost/libs/yap/example/autodiff_library/
DBinaryOPNode.cpp74 double rx = SV->pop_back(); in calc_eval_function() local
79 x = lx + rx; in calc_eval_function()
82 x = lx - rx; in calc_eval_function()
85 x = lx * rx; in calc_eval_function()
88 x = lx / rx; in calc_eval_function()
91 x = pow(lx,rx); in calc_eval_function()
132 double rx = SV->pop_back(); in calc_grad_reverse_0() local
138 x = lx + rx; in calc_grad_reverse_0()
143 x = lx - rx; in calc_grad_reverse_0()
148 x = lx * rx; in calc_grad_reverse_0()
[all …]
/third_party/libwebsockets/lib/roles/ws/ext/
Dextension-permessage-deflate.c179 (void)inflateEnd(&priv->rx); in lws_extension_callback_pm_deflate()
192 pmdrx->eb_in.len, priv->rx.avail_in); in lws_extension_callback_pm_deflate()
220 pmdrx->eb_in.len, priv->rx.avail_in, wsi->ws->final); in lws_extension_callback_pm_deflate()
225 if (inflateInit2(&priv->rx, in lws_extension_callback_pm_deflate()
248 if (priv->rx.avail_in && pmdrx->eb_in.token && in lws_extension_callback_pm_deflate()
251 priv->rx.avail_in); in lws_extension_callback_pm_deflate()
255 if (!priv->rx.avail_in && pmdrx->eb_in.token && pmdrx->eb_in.len) { in lws_extension_callback_pm_deflate()
256 priv->rx.next_in = (unsigned char *)pmdrx->eb_in.token; in lws_extension_callback_pm_deflate()
257 priv->rx.avail_in = (uInt)pmdrx->eb_in.len; in lws_extension_callback_pm_deflate()
260 priv->rx.next_out = priv->buf_rx_inflated + LWS_PRE; in lws_extension_callback_pm_deflate()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_texture.c49 float rx, ry, rz; in util_map_texcoords2d_onto_cubemap() local
69 rx = 1; in util_map_texcoords2d_onto_cubemap()
74 rx = -1; in util_map_texcoords2d_onto_cubemap()
79 rx = sc; in util_map_texcoords2d_onto_cubemap()
84 rx = sc; in util_map_texcoords2d_onto_cubemap()
89 rx = sc; in util_map_texcoords2d_onto_cubemap()
94 rx = -sc; in util_map_texcoords2d_onto_cubemap()
99 rx = ry = rz = 0; in util_map_texcoords2d_onto_cubemap()
103 out_str[0] = rx; /*s*/ in util_map_texcoords2d_onto_cubemap()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DImage_unittest.cpp28 return new rx::MockImageImpl(arg0); in ACTION()
34 NiceMock<rx::MockGLFactory> mockGLFactory; in TEST()
35 NiceMock<rx::MockEGLFactory> mockEGLFactory; in TEST()
38 rx::MockTextureImpl *textureImpl = new rx::MockTextureImpl(); in TEST()
49 rx::MockImageImpl *imageImpl = static_cast<rx::MockImageImpl *>(image->getImplementation()); in TEST()
58 rx::MockRenderbufferImpl *renderbufferImpl = new rx::MockRenderbufferImpl(); in TEST()
103 NiceMock<rx::MockGLFactory> mockGLFactory; in TEST()
104 NiceMock<rx::MockEGLFactory> mockEGLFactory; in TEST()
107 rx::MockTextureImpl *textureImpl = new rx::MockTextureImpl(); in TEST()
135 rx::MockImageImpl *imageImpl = static_cast<rx::MockImageImpl *>(image->getImplementation()); in TEST()
DCLCommandQueue.cpp28 const rx::CLEventImpl::CreateFunc &createFunc, in CheckCreateEvent()
146 rx::CLEventImpl::CreateFunc eventCreateFunc; in enqueueReadBuffer()
147 rx::CLEventImpl::CreateFunc *const eventCreateFuncPtr = in enqueueReadBuffer()
169 rx::CLEventImpl::CreateFunc eventCreateFunc; in enqueueWriteBuffer()
170 rx::CLEventImpl::CreateFunc *const eventCreateFuncPtr = in enqueueWriteBuffer()
197 rx::CLEventImpl::CreateFunc eventCreateFunc; in enqueueReadBufferRect()
198 rx::CLEventImpl::CreateFunc *const eventCreateFuncPtr = in enqueueReadBufferRect()
226 rx::CLEventImpl::CreateFunc eventCreateFunc; in enqueueWriteBufferRect()
227 rx::CLEventImpl::CreateFunc *const eventCreateFuncPtr = in enqueueWriteBufferRect()
250 rx::CLEventImpl::CreateFunc eventCreateFunc; in enqueueCopyBuffer()
[all …]
DResourceManager.h19 namespace rx
89 ANGLE_INLINE ResourceType *checkObjectAllocation(rx::GLImplFactory *factory, in checkObjectAllocation()
113 ResourceType *checkObjectAllocationImpl(rx::GLImplFactory *factory, in checkObjectAllocationImpl()
135 ANGLE_INLINE Buffer *checkBufferAllocation(rx::GLImplFactory *factory, BufferID handle) in checkBufferAllocation()
141 static Buffer *AllocateNewObject(rx::GLImplFactory *factory, BufferID handle);
153 ShaderProgramID createShader(rx::GLImplFactory *factory,
159 ShaderProgramID createProgram(rx::GLImplFactory *factory);
201 ANGLE_INLINE Texture *checkTextureAllocation(rx::GLImplFactory *factory, in checkTextureAllocation()
208 static Texture *AllocateNewObject(rx::GLImplFactory *factory,
226 Renderbuffer *checkRenderbufferAllocation(rx::GLImplFactory *factory, RenderbufferID handle) in checkRenderbufferAllocation()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DImage_unittest.cpp28 return new rx::MockImageImpl(arg0); in ACTION()
34 NiceMock<rx::MockGLFactory> mockGLFactory; in TEST()
35 NiceMock<rx::MockEGLFactory> mockEGLFactory; in TEST()
38 rx::MockTextureImpl *textureImpl = new rx::MockTextureImpl(); in TEST()
49 rx::MockImageImpl *imageImpl = static_cast<rx::MockImageImpl *>(image->getImplementation()); in TEST()
58 rx::MockRenderbufferImpl *renderbufferImpl = new rx::MockRenderbufferImpl(); in TEST()
103 NiceMock<rx::MockGLFactory> mockGLFactory; in TEST()
104 NiceMock<rx::MockEGLFactory> mockEGLFactory; in TEST()
107 rx::MockTextureImpl *textureImpl = new rx::MockTextureImpl(); in TEST()
134 rx::MockImageImpl *imageImpl = static_cast<rx::MockImageImpl *>(image->getImplementation()); in TEST()
DResourceManager.h20 namespace rx
83 ANGLE_INLINE ResourceType *checkObjectAllocation(rx::GLImplFactory *factory, in checkObjectAllocation()
107 ResourceType *checkObjectAllocationImpl(rx::GLImplFactory *factory, in checkObjectAllocationImpl()
129 ANGLE_INLINE Buffer *checkBufferAllocation(rx::GLImplFactory *factory, BufferID handle) in checkBufferAllocation()
135 static Buffer *AllocateNewObject(rx::GLImplFactory *factory, BufferID handle);
147 GLuint createShader(rx::GLImplFactory *factory,
153 GLuint createProgram(rx::GLImplFactory *factory);
184 ANGLE_INLINE Texture *checkTextureAllocation(rx::GLImplFactory *factory, in checkTextureAllocation()
191 static Texture *AllocateNewObject(rx::GLImplFactory *factory,
211 Renderbuffer *checkRenderbufferAllocation(rx::GLImplFactory *factory, RenderbufferID handle) in checkRenderbufferAllocation()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DD3D11FormatTablesTest.cpp44 rx::Context11 *context11 = rx::GetImplAs<rx::Context11>(context); in TEST_P()
45 rx::Renderer11 *renderer = context11->getRenderer(); in TEST_P()
53 const rx::d3d11::Format &formatInfo = in TEST_P()
54 rx::d3d11::Format::Get(internalFormat, renderer->getRenderer11DeviceCaps()); in TEST_P()
79 const auto &dxgiSupport = rx::d3d11::GetDXGISupport(formatInfo.texFormat, featureLevel); in TEST_P()
161 rx::Context11 *context11 = rx::GetImplAs<rx::Context11>(context); in TEST_P()
162 rx::Renderer11 *renderer = context11->getRenderer(); in TEST_P()
167 const rx::d3d11::Format &formatInfo = in TEST_P()
168 rx::d3d11::Format::Get(internalFormat, renderer->getRenderer11DeviceCaps()); in TEST_P()
177 rx::d3d11::MakeValidSize(image, formatInfo.texFormat, &reqWidth, &reqHeight, &level); in TEST_P()
DD3D11EmulatedIndexedBufferTest.cpp34 rx::Context11 *context11 = rx::GetImplAs<rx::Context11>(mContext); in testSetUp()
37 mSourceBuffer = new rx::Buffer11(mBufferState, mRenderer); in testSetUp()
111 void emulateAndCompare(rx::SourceIndexData *srcData) in emulateAndCompare()
123 rx::Buffer11 *mSourceBuffer;
124 rx::Renderer11 *mRenderer;
125 rx::TranslatedAttribute mTranslatedAttribute;
137 rx::SourceIndexData srcData = {nullptr, mubyteIndices.data(), in TEST_P()
147 rx::SourceIndexData srcData = {nullptr, mushortIndices.data(), in TEST_P()
157 rx::SourceIndexData srcData = {nullptr, muintIndices.data(), in TEST_P()
169 rx::Buffer11 *cleanSourceBuffer = new rx::Buffer11(cleanSourceState, mRenderer); in TEST_P()
[all …]
DVulkanFramebufferTest.cpp34 rx::ContextVk *hackANGLE() const in hackANGLE()
38 return rx::GetImplAs<rx::ContextVk>(context); in hackANGLE()
41 rx::TextureVk *hackTexture(GLuint handle) const in hackTexture()
46 return rx::vk::GetImpl(texture); in hackTexture()
77 rx::TextureVk *textureVk = hackTexture(texture); in TEST_P()
85 rx::ContextVk *contextVk = hackANGLE(); in TEST_P()
86 rx::RendererVk *renderer = contextVk->getRenderer(); in TEST_P()
121 rx::TextureVk *textureVk = hackTexture(texture); in TEST_P()
/third_party/boost/libs/xpressive/test/
Dtest_symbols.cpp36 sregex rx = skip(_s) (+(a1=map1) in test1() local
40 if(!regex_match(str, rx)) in test1()
66 sregex rx = skip(_s) (+(a1=map1) in test2() local
70 if(!regex_match(str, rx)) in test2()
96 sregex rx = skip(_s) (+(a1=map1) in test3() local
100 sregex rx = skip(_s) (+(a1=map1) in test3() local
105 if(!regex_match(str, rx)) in test3()
138 sregex rx = pair >> *(+_s >> pair); in test4() local
144 if(!regex_match(str, what, rx)) in test4()
185 sregex rx = in test5() local
[all …]
Dtest_format.cpp68 sregex rx = sregex::compile("\\$\\(([^\\)]+)\\)"); in test_main() local
73 output = regex_replace(input, rx, format1()); in test_main()
79 output = regex_replace(input, rx, format2()); in test_main()
85 output = regex_replace(input, rx, format3()); in test_main()
91 output = regex_replace(input, rx, format_fun); in test_main()
97 output = regex_replace(input, rx, &format_fun); in test_main()
104 regex_replace(std::back_inserter(output), input.begin(), input.end(), rx, format1()); in test_main()
108 regex_replace(std::back_inserter(output), input.begin(), input.end(), rx, format2()); in test_main()
112 regex_replace(std::back_inserter(output), input.begin(), input.end(), rx, format2()); in test_main()
116 regex_replace(std::back_inserter(output), input.begin(), input.end(), rx, format_fun); in test_main()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DD3D11EmulatedIndexedBufferTest.cpp34 rx::Context11 *context11 = rx::GetImplAs<rx::Context11>(mContext); in testSetUp()
37 mSourceBuffer = new rx::Buffer11(mBufferState, mRenderer); in testSetUp()
111 void emulateAndCompare(rx::SourceIndexData *srcData) in emulateAndCompare()
123 rx::Buffer11 *mSourceBuffer;
124 rx::Renderer11 *mRenderer;
125 rx::TranslatedAttribute mTranslatedAttribute;
137 rx::SourceIndexData srcData = {nullptr, mubyteIndices.data(), in TEST_P()
147 rx::SourceIndexData srcData = {nullptr, mushortIndices.data(), in TEST_P()
157 rx::SourceIndexData srcData = {nullptr, muintIndices.data(), in TEST_P()
169 rx::Buffer11 *cleanSourceBuffer = new rx::Buffer11(cleanSourceState, mRenderer); in TEST_P()
[all …]
DVulkanUniformUpdatesTest.cpp34 rx::ContextVk *hackANGLE() const in hackANGLE()
38 return rx::GetImplAs<rx::ContextVk>(context); in hackANGLE()
41 rx::ProgramVk *hackProgram(GLuint handle) const in hackProgram()
46 return rx::vk::GetImpl(program); in hackProgram()
49 rx::TextureVk *hackTexture(GLuint handle) const in hackTexture()
54 return rx::vk::GetImpl(texture); in hackTexture()
61 rx::ContextVk *contextVk = hackANGLE(); in limitMaxSets()
62 rx::ProgramVk *programVk = hackProgram(program); in limitMaxSets()
65 rx::vk::DynamicDescriptorPool *uniformPool = in limitMaxSets()
66 programVk->getDynamicDescriptorPool(rx::kUniformsAndXfbDescriptorSetIndex); in limitMaxSets()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16InstrInfo.td82 FRI16<op, (outs CPU16Regs:$rx), (ins simm16:$imm),
87 FRI16_ins_base<op, asmstr, "\t$rx, $imm \t# 16 bit inst", itin>;
91 FRI16<_op, (outs CPU16Regs:$rx), (ins pcrel16:$imm, i32imm:$size),
92 !strconcat(asmstr, "\t$rx, $imm\t# 16 bit inst"), [], itin>;
96 FRI16<op, (outs), (ins CPU16Regs:$rx, simm16:$imm),
101 FRI16R_ins_base<op, asmstr, "\t$rx, $imm \t# 16 bit inst", itin>;
105 FRI16<_op, (outs CPU16Regs:$rx), (ins CPU16Regs:$rx_, simm16:$imm),
106 !strconcat(asmstr, "\t$rx, $imm\t# 16 bit inst"), [], itin> {
107 let Constraints = "$rx_ = $rx";
112 FRI16<_op, (outs), (ins CPU16Regs:$rx, brtarget:$imm),
[all …]
DMips16InstrFormats.td21 // rx 3-bit source or destination register
114 // Format RI instruction class in Mips : <|opcode|rx|imm8|>
121 bits<3> rx;
126 let Inst{10-8} = rx;
131 // Format RR instruction class in Mips : <|opcode|rx|ry|funct|>
138 bits<3> rx;
145 let Inst{10-8} = rx;
171 bits<3> rx;
179 let Inst{10-8} = rx;
209 bits<3> rx;
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h29 rx::MipGenerationFunction mipGen,
30 const rx::FastCopyFunctionMap &fastCopyFunctions,
31 rx::PixelReadFunction colorRead,
32 rx::PixelWriteFunction colorWrite,
78 rx::MipGenerationFunction mipGenerationFunction;
79 rx::PixelReadFunction pixelReadFunction;
80 rx::PixelWriteFunction pixelWriteFunction;
83 const rx::FastCopyFunctionMap &fastCopyFunctions;
127 rx::MipGenerationFunction mipGen, in Format()
128 const rx::FastCopyFunctionMap &fastCopyFunctions, in Format()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/apple/
DDisplayApple_api.cpp25 namespace rx namespace
31 return new rx::DisplayCGL(state); in CreateDisplayCGLOrEAGL()
42 return new rx::DisplayEAGL(state); in CreateDisplayCGLOrEAGL()
46 return new rx::DisplayCGL(state); in CreateDisplayCGLOrEAGL()
49 return new rx::DisplayCGL(state); in CreateDisplayCGLOrEAGL()
52 return new rx::DisplayEAGL(state); in CreateDisplayCGLOrEAGL()
/third_party/flutter/skia/experimental/svg/model/
DSkSVGEllipse.cpp23 void SkSVGEllipse::setRx(const SkSVGLength& rx) { in setRx() argument
24 fRx = rx; in setRx()
44 if (const auto* rx = v.as<SkSVGLengthValue>()) { in onSetAttribute() local
45 this->setRx(*rx); in onSetAttribute()
61 const auto rx = lctx.resolve(fRx, SkSVGLengthContext::LengthType::kHorizontal); in resolve() local
64 return (rx > 0 && ry > 0) in resolve()
65 ? SkRect::MakeXYWH(cx - rx, cy - ry, rx * 2, ry * 2) in resolve()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h29 rx::MipGenerationFunction mipGen,
30 const rx::FastCopyFunctionMap &fastCopyFunctions,
31 rx::PixelReadFunction colorRead,
32 rx::PixelWriteFunction colorWrite,
82 rx::MipGenerationFunction mipGenerationFunction;
83 rx::PixelReadFunction pixelReadFunction;
84 rx::PixelWriteFunction pixelWriteFunction;
87 const rx::FastCopyFunctionMap &fastCopyFunctions;
133 rx::MipGenerationFunction mipGen, in Format()
134 const rx::FastCopyFunctionMap &fastCopyFunctions, in Format()
[all …]
/third_party/pixman/pixman/
Dpixman-edge-imp.h44 pixman_fixed_t rx; in RASTERIZE_EDGES() local
49 rx = r->x; in RASTERIZE_EDGES()
59 rx += X_FRAC_FIRST(1) - pixman_fixed_e; in RASTERIZE_EDGES()
64 if (pixman_fixed_to_int (rx) >= width) in RASTERIZE_EDGES()
66 rx = pixman_int_to_fixed (width); in RASTERIZE_EDGES()
72 rx = pixman_int_to_fixed (width) - 1; in RASTERIZE_EDGES()
76 if (rx > lx) in RASTERIZE_EDGES()
81 rxi = pixman_fixed_to_int (rx); in RASTERIZE_EDGES()
137 rxs = RENDER_SAMPLES_X (rx, N_BITS); in RASTERIZE_EDGES()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DIndexDataManagerTest.cpp25 class MockIndexBuffer : public rx::IndexBuffer
49 class MockBufferFactoryD3D : public rx::BufferFactoryD3D
56 MOCK_METHOD0(createVertexBuffer, rx::VertexBuffer *());
57 MOCK_CONST_METHOD1(getVertexConversionType, rx::VertexConversionType(angle::FormatID));
68 rx::IndexBuffer *createIndexBuffer() override in createIndexBuffer()
78 class MockBufferD3D : public rx::BufferD3D
81 MockBufferD3D(rx::BufferFactoryD3D *factory) : BufferD3D(mockState, factory), mData() {} in MockBufferD3D()
125 class MockGLFactoryD3D : public rx::MockGLFactory
130 rx::BufferImpl *createBuffer(const gl::BufferState &state) override in createBuffer()
152 rx::IndexDataManager mIndexDataManager;
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DIndexDataManagerTest.cpp25 class MockIndexBuffer : public rx::IndexBuffer
49 class MockBufferFactoryD3D : public rx::BufferFactoryD3D
56 MOCK_METHOD0(createVertexBuffer, rx::VertexBuffer *());
57 MOCK_CONST_METHOD1(getVertexConversionType, rx::VertexConversionType(angle::FormatID));
69 rx::IndexBuffer *createIndexBuffer() override in createIndexBuffer()
79 class MockBufferD3D : public rx::BufferD3D
82 MockBufferD3D(rx::BufferFactoryD3D *factory) : BufferD3D(mockState, factory), mData() {} in MockBufferD3D()
126 class MockGLFactoryD3D : public rx::MockGLFactory
131 rx::BufferImpl *createBuffer(const gl::BufferState &state) override in createBuffer()
153 rx::IndexDataManager mIndexDataManager;
[all …]

12345678910>>...70