Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 25 of 52) sorted by relevance

123

/trunk/main/xmlscript/source/xmldlg_imexp/
H A Dxmldlg_impmodels.cxx63 ControlImportContext ctx( in endElement() local
87 ctx.importEvents( _events ); in endElement()
118 ControlImportContext ctx( in endElement() local
195 ControlImportContext ctx( in endElement() local
247 ControlImportContext ctx( in endElement() local
273 ctx.importBooleanProperty( in endElement()
319 ControlImportContext ctx( in endElement() local
345 ctx.importBooleanProperty( in endElement()
497 ControlImportContext ctx( in endElement() local
583 ControlImportContext ctx( in endElement() local
[all …]
/trunk/main/sal/rtl/source/
H A Ddigest.c427 sal_uInt8 *p = ctx->m_pData + ctx->m_nDatLen; in rtl_digest_updateMD2()
592 A = ctx->m_nA; in __rtl_digest_updateMD5()
792 if (len < ctx->m_nL) ctx->m_nH += 1; in rtl_digest_updateMD5()
1269 if (len < ctx->m_nL) ctx->m_nH += 1; in rtl_digest_updateSHA()
1457 if (len < ctx->m_nL) ctx->m_nH += 1; in rtl_digest_updateSHA1()
1613 &(ctx->m_hash), ctx->m_opad, DIGEST_CBLOCK_HMAC_MD5); in __rtl_digest_ipadHMAC_MD5()
1698 &(ctx->m_hash), ctx->m_opad, RTL_DIGEST_LENGTH_MD5); in rtl_digest_initHMAC_MD5()
1756 rtl_digest_updateMD5 (&(ctx->m_hash), ctx->m_opad, 64); in rtl_digest_getHMAC_MD5()
1842 &(ctx->m_hash), ctx->m_opad, DIGEST_CBLOCK_HMAC_SHA1); in __rtl_digest_ipadHMAC_SHA1()
1927 &(ctx->m_hash), ctx->m_opad, RTL_DIGEST_LENGTH_SHA1); in rtl_digest_initHMAC_SHA1()
[all …]
H A Dcipher.c233 CipherContextBF *ctx,
669 rtl_zeroMemory (&(ctx->m_iv), sizeof(ctx->m_iv)); in __rtl_cipherBF_init()
670 ctx->m_offset = 0; in __rtl_cipherBF_init()
881 k = ctx->m_offset; in __rtl_cipherBF_updateCFB()
1170 S = &(ctx->m_S[0]); in rtl_cipherARCFOUR_init_Impl()
1192 ctx->m_X = 0; in rtl_cipherARCFOUR_init_Impl()
1193 ctx->m_Y = 0; in rtl_cipherARCFOUR_init_Impl()
1222 x = ctx->m_X; in rtl_cipherARCFOUR_update_Impl()
1223 y = ctx->m_Y; in rtl_cipherARCFOUR_update_Impl()
1226 ctx->m_X = x; in rtl_cipherARCFOUR_update_Impl()
[all …]
/trunk/main/libxmlsec/
H A Dxmlsec1-nssmangleciphers.patch447 - keyItem.data = ctx->key;
450 - ivItem.data = ctx->iv;
483 ctx->cipherCtx = PK11_CreateContextBySymKey(ctx->cipher,
486 + ctx->symkey, secParam);
853 - ctx->keySize = 24;
861 - ctx->keySize = 16;
865 - ctx->keySize = 24;
869 - ctx->keySize = 32;
947 + ctx->cipherCtx = NULL ;
999 - xmlSecAssert2(ctx->keySize <= sizeof(ctx->key), -1);
[all …]
H A Dxmlsec1-customkeymanage.patch2407 + ctx->material = NULL ;
2720 + ret = xmlSecNssKWDes3Encrypt( ctx->symkey, ctx->cipher,
2751 + ret = xmlSecNssKWDes3Encrypt( ctx->symkey, ctx->cipher,
2775 + ret = xmlSecNssKWDes3Encrypt( ctx->symkey, ctx->cipher,
2801 + ret = xmlSecNssKWDes3Encrypt( ctx->symkey, ctx->cipher,
3011 + switch( ctx->cipher ) {
3797 + if( ctx->slot != NULL ) {
3799 + ctx->slot = NULL ;
3804 + ctx->symkey = NULL ;
4246 + ctx->slot = slot ;
[all …]
/trunk/main/testtools/source/bridgetest/pyuno/
H A Dimporter.py29 def __init__(self,method,ctx): argument
31 self.ctx = ctx
34 self.tobj = self.ctx.ServiceManager.createInstanceWithContext( \
35 "com.sun.star.test.bridge.CppTestObject",self.ctx)
48 e.Source = self.ctx
49 e = EventObject( self.ctx )
53 ctx = uno.getComponentContext()
61 ctx , ctx, ("acceptor.uno","connector.uno"), "com.sun.star.loader.SharedLibrary" )
67 def suite( ctx ): argument
69 suite.addTest(ImporterTestCase("testStandard",ctx))
[all …]
H A Dcore.py27 def suite(ctx): argument
29 suite.addTest(TestCase("testErrors",ctx))
32 suite.addTest(TestCase("testStruct",ctx))
33 suite.addTest(TestCase("testType",ctx))
34 suite.addTest(TestCase("testEnum",ctx))
35 suite.addTest(TestCase("testBool",ctx))
36 suite.addTest(TestCase("testChar",ctx))
42 suite.addTest(TestCase("testInvoke",ctx))
78 def __init__(self,method,ctx): argument
80 self.ctx = ctx
[all …]
H A Dimpl.py87 def __init__(self,method,ctx): argument
89 self.ctx = ctx
92 self.tobj = self.ctx.ServiceManager.createInstanceWithContext( \
94 self.pipe = self.ctx.ServiceManager.createInstanceWithContext( \
95 "com.sun.star.io.Pipe" , self.ctx )
98 dataOut = self.ctx.ServiceManager.createInstanceWithContext( \
99 "com.sun.star.io.DataOutputStream", self.ctx )
106 dataInput = self.ctx.ServiceManager.createInstanceWithContext( \
107 "com.sun.star.io.DataInputStream", self.ctx )
182 def suite( ctx ): argument
[all …]
H A Dmain.py30 ctx = uno.getComponentContext() variable
32 unohelper.addComponentsToContext(ctx,ctx,(os.environ["FOO"]+"/cppobj.uno",os.environ["FOO"]+"/bridg…
34 unohelper.addComponentsToContext(ctx,ctx,("vnd.openoffice.pymodule:samplecomponent",),"com.sun.star…
39 suite.addTest(importer.suite(ctx))
40 suite.addTest(core.suite(ctx))
41 suite.addTest(impl.suite(ctx))
H A Dtestcomp.py24 ctx = uno.getComponentContext() variable
26 loader = pythonloader.Loader( ctx )
27 comp = loader.activate( "org.openoffice.comp.pyuno.PythonTestObject" , "", "samplecomponent", ctx )
28 ctx.ServiceManager.insert( comp)
30 bridgetest = ctx.ServiceManager.createInstanceWithContext( "com.sun.star.test.bridge.BridgeTest", c…
/trunk/main/scripting/source/pyprov/
H A Dmailmerge.py72 def __init__( self, ctx ): argument
73 self.ctx = ctx
224 ctx = uno.getComponentContext()
275 def __init__( self, ctx ): argument
276 self.ctx = ctx
344 def __init__( self, ctx ): argument
345 self.ctx = ctx
420 def __init__( self, ctx ): argument
423 self.ctx = ctx
428 return PyMailSMTPService(self.ctx);
[all …]
H A Dpythonscript.py182 def __init__( self, ctx, location ): argument
188 …self.m_uriRefFac = ctx.ServiceManager.createInstanceWithContext("com.sun.star.uri.UriReferenceFact…
269 def __init__( self, ctx, doc, inv ): argument
270 self.ctx = ctx
282 "com.sun.star.frame.Desktop", self.ctx )
285 return self.ctx
516 servicename, ctx )
766 def getModelFromDocUrl(ctx, url): argument
908 def __init__( self, ctx, *args ): argument
931 ctx).createDocumentContent(doc)
[all …]
/trunk/main/testtools/com/sun/star/comp/bridge/
H A DTestComponentMain.java47 XComponentContext ctx; field in TestComponentMain.InstanceProvider
49 public InstanceProvider( XComponentContext ctx ) in InstanceProvider() argument
51 this.ctx = ctx; in InstanceProvider()
60 o = ctx.getServiceManager().createInstanceWithContext( in getInstance()
61 "com.sun.star.comp.bridge.TestComponent$_TestObject" , ctx ); in getInstance()
98 … XComponentContext ctx = com.sun.star.comp.helper.Bootstrap.createInitialComponentContext( null ); in main() local
99 XMultiComponentFactory smgr = ctx.getServiceManager(); in main()
109 XAcceptor xAcceptor = Acceptor.create(ctx); in main()
119 smgr.createInstanceWithContext("com.sun.star.bridge.BridgeFactory",ctx)); in main()
122 "", protDcp, xConnection, new InstanceProvider(ctx)); in main()
/trunk/main/pyuno/source/loader/
H A Dpythonloader.py62 def __init__(self, ctx ): argument
65 self.ctx = ctx
72 exp = self.ctx.getValueByName( "/singletons/com.sun.star.util.theMacroExpander" )
121 return mod.getComponentFactory( implementationName, self.ctx.ServiceManager, regKey )
123 … return implHelper.getComponentFactory( implementationName,regKey,self.ctx.ServiceManager)
132 return mod.writeRegistryInfo( self.ctx.ServiceManager, regKey )
134 return implHelper.writeRegistryInfo( regKey, self.ctx.ServiceManager )
/trunk/main/sal/osl/unx/
H A Dbacktrace.c67 jmp_buf ctx; in backtrace() local
78 setjmp(ctx); in backtrace()
80 fpval = ((long*)(ctx))[FRAME_PTR_OFFSET]; in backtrace()
154 jmp_buf ctx; in backtrace() local
157 setjmp(ctx); in backtrace()
158 fp = (struct frame*)(((size_t*)(ctx))[FRAME_PTR_OFFSET]); in backtrace()
233 jmp_buf ctx; in backtrace() local
241 setjmp(ctx); in backtrace()
242 fp = (struct frame*)(((size_t*)(ctx))[FRAME_PTR_OFFSET]); in backtrace()
H A Ddiagnose.c173 jmp_buf ctx; in osl_diagnose_backtrace_Impl() local
181 setjmp (ctx); in osl_diagnose_backtrace_Impl()
183 fpval = ((long*)(ctx))[FRAME_PTR_OFFSET]; in osl_diagnose_backtrace_Impl()
218 jmp_buf ctx; in osl_diagnose_backtrace_Impl() local
221 setjmp (ctx); in osl_diagnose_backtrace_Impl()
222 fp = (struct frame*)(((long*)(ctx))[FRAME_PTR_OFFSET]); in osl_diagnose_backtrace_Impl()
/trunk/main/pyuno/demo/
H A Dswritercomp.py45 def __init__( self, ctx ): argument
46 self.ctx = ctx
51 ctx = self.ctx
52 smgr = ctx.ServiceManager
53 desktop = smgr.createInstanceWithContext( "com.sun.star.frame.Desktop",ctx)
H A Dhello_world_comp.py30 def __init__( self, ctx ): argument
32 self.ctx = ctx
38 desktop = self.ctx.ServiceManager.createInstanceWithContext(
39 "com.sun.star.frame.Desktop", self.ctx )
/trunk/main/pyuno/source/module/
H A Dpyuno_runtime.cxx255 c->xContext = ctx; in create()
257 ctx->getServiceManager()->createInstanceWithContext( in create()
259 ctx ), in create()
267 ctx->getServiceManager()->createInstanceWithContext( in create()
269 ctx ), in create()
277 ctx->getServiceManager()->createInstanceWithContext( in create()
279 ctx ), in create()
289 ctx ), in create()
299 ctx ), in create()
306 Any a = ctx->getValueByName(OUString( in create()
[all …]
/trunk/main/scripting/workben/ifc/scripting/
H A D_XScriptInvocation.java92 XModel ctx = null; in runInvokeTest() local
94 ctx = loadDocument(context); in runInvokeTest()
99 if (ctx != null) in runInvokeTest()
100 map.put("SCRIPTING_DOC_REF", ctx); in runInvokeTest()
136 if (ctx != null) in runInvokeTest()
137 ctx.dispose(); in runInvokeTest()
/trunk/main/ridljar/test/com/sun/star/uno/
H A DType_Test.java92 Type ctx = new Type(com.sun.star.uno.XComponentContext.class); in testIsSupertypeOf() local
100 assertTrue("XInterface :> XComponentContext", ifc.isSupertypeOf(ctx)); in testIsSupertypeOf()
101 assertTrue("not XComponentContext :> XInterface", !ctx.isSupertypeOf(ifc)); in testIsSupertypeOf()
103 ctx.isSupertypeOf(ctx)); in testIsSupertypeOf()
/trunk/main/unoxml/source/dom/
H A Ddocumentbuilder.cxx245 static xmlParserInputPtr resolve_func(void *ctx, in resolve_func() argument
250 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr)ctx; in resolve_func()
289 static void warning_func(void * ctx, const char * /*msg*/, ...) in warning_func() argument
292 buf.append(make_error_message(static_cast< xmlParserCtxtPtr >(ctx))); in warning_func()
298 static void error_func(void * ctx, const char * /*msg*/, ...) in error_func() argument
301 buf.append(make_error_message(static_cast< xmlParserCtxtPtr >(ctx))); in error_func()
/trunk/main/slideshow/source/engine/OGLTrans/
H A DOGLTrans_TransitionerImpl.cxx228 unx::GLXContext ctx;
606 GLWin.ctx = glXCreateContext(GLWin.dpy, in createWindow()
610 if( GLWin.ctx == NULL ) { in createWindow()
643 if( !glXMakeCurrent( GLWin.dpy, GLWin.win, GLWin.ctx ) ) { in createWindow()
835 if(GLWin.ctx)//if we have a rendering context, let's init the slides in createWindow()
1136 glXMakeCurrent( GLWin.dpy, GLWin.win, GLWin.ctx ); in createWindow()
1195 if(GLWin.ctx) in createWindow()
1201 glXDestroyContext(GLWin.dpy, GLWin.ctx); in createWindow()
1202 GLWin.ctx = NULL; in createWindow()
1218 glXMakeCurrent( GLWin.dpy, GLWin.win, GLWin.ctx ); in createWindow()
[all …]
/trunk/main/svtools/source/java/
H A Djavacontext.cxx37 JavaContext::JavaContext( const Reference< XCurrentContext > & ctx ) in JavaContext() argument
40 m_xNextContext( ctx ), in JavaContext()
45 JavaContext::JavaContext( const Reference< XCurrentContext > & ctx, in JavaContext() argument
48 m_xNextContext( ctx ), in JavaContext()
/trunk/main/unoxml/source/xpath/
H A Dxpathapi.cxx131 xmlXPathContextPtr ctx, in lcl_registerNamespaces() argument
143 xmlXPathRegisterNs(ctx, p, u); in lcl_registerNamespaces()
191 xmlXPathContextPtr ctx, in lcl_registerExtensions() argument
200 xmlXPathRegisterFuncLookup(ctx, in lcl_registerExtensions()
208 xmlXPathRegisterVariableLookup(ctx, in lcl_registerExtensions()

Completed in 139 milliseconds

123