Home
last modified time | relevance | path

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

123

/AOO42X/main/xmlscript/source/xmldlg_imexp/
H A Dxmldlg_impmodels.cxx63 ControlImportContext ctx( in endElement() local
71 Reference< beans::XPropertySet > xControlModel( ctx.getControlModel() ); in endElement()
77 ctx.importDefaults( _nBasePosX, _nBasePosY, _xAttributes ); in endElement()
78 ctx.importLongProperty( OUString( RTL_CONSTASCII_USTRINGPARAM("ProgressValue") ), in endElement()
81 ctx.importLongProperty( OUString( RTL_CONSTASCII_USTRINGPARAM("ProgressValueMin") ), in endElement()
84 ctx.importLongProperty( OUString( RTL_CONSTASCII_USTRINGPARAM("ProgressValueMax") ), in endElement()
87 ctx.importEvents( _events ); in endElement()
118 ControlImportContext ctx( in endElement() local
126 Reference< beans::XPropertySet > xControlModel( ctx.getControlModel() ); in endElement()
131 ctx.importDefaults( _nBasePosX, _nBasePosY, _xAttributes ); in endElement()
[all …]
/AOO42X/main/sal/rtl/source/
H A Ddigest.c55 void *ctx, const sal_uInt8 *Data, sal_uInt32 DatLen);
57 typedef void (SAL_CALL Digest_delete_t) (void *ctx);
60 void *ctx, const void *Data, sal_uInt32 DatLen);
63 void *ctx, sal_uInt8 *Buffer, sal_uInt32 BufLen);
233 static void __rtl_digest_initMD2 (DigestContextMD2 *ctx);
234 static void __rtl_digest_updateMD2 (DigestContextMD2 *ctx);
235 static void __rtl_digest_endMD2 (DigestContextMD2 *ctx);
290 static void __rtl_digest_initMD2 (DigestContextMD2 *ctx) in __rtl_digest_initMD2() argument
292 rtl_zeroMemory (ctx, sizeof (DigestContextMD2)); in __rtl_digest_initMD2()
298 static void __rtl_digest_updateMD2 (DigestContextMD2 *ctx) in __rtl_digest_updateMD2() argument
[all …]
H A Dcipher.c233 CipherContextBF *ctx,
241 CipherContextBF *ctx,
250 CipherContextBF *ctx,
259 CipherContextBF *ctx,
268 CipherContextBF *ctx,
657 CipherContextBF *ctx, in __rtl_cipherBF_init() argument
666 key = &(ctx->m_key); in __rtl_cipherBF_init()
669 rtl_zeroMemory (&(ctx->m_iv), sizeof(ctx->m_iv)); in __rtl_cipherBF_init()
670 ctx->m_offset = 0; in __rtl_cipherBF_init()
710 rtl_copyMemory (ctx->m_iv.m_byte, pArgData, nArgLen); in __rtl_cipherBF_init()
[all …]
/AOO42X/main/libxmlsec/
H A Dxmlsec1-nssmangleciphers.patch50 -static int xmlSecNssBlockCipherCtxInit (xmlSecNssBlockCipherCtxPtr ctx,
56 -static int xmlSecNssBlockCipherCtxUpdate (xmlSecNssBlockCipherCtxPtr ctx,
62 -static int xmlSecNssBlockCipherCtxFinal (xmlSecNssBlockCipherCtxPtr ctx,
331 xmlSecNssBlockCipherCtxInit(xmlSecNssBlockCipherCtxPtr ctx,
346 xmlSecAssert2(ctx != NULL, -1);
347 - xmlSecAssert2(ctx->cipher != 0, -1);
348 + xmlSecAssert2( ctx->cipher != CKM_INVALID_MECHANISM , -1 ) ;
349 + xmlSecAssert2( ctx->symkey != NULL , -1 ) ;
350 xmlSecAssert2(ctx->cipherCtx == NULL, -1);
351 - xmlSecAssert2(ctx->keyInitialized != 0, -1);
[all …]
H A Dxmlsec1-customkeymanage.patch1169 - slot = PK11_GetBestSlot(ctx->digestType, NULL);
1170 + slot = xmlSecNssSlotGet(ctx->digestType);
2389 + xmlSecNssKeyWrapCtxPtr ctx ,
2397 + xmlSecAssert2( ctx != NULL , -1 ) ;
2398 + xmlSecAssert2( ctx->cipher != CKM_INVALID_MECHANISM , -1 ) ;
2399 + xmlSecAssert2( ctx->symkey != NULL , -1 ) ;
2400 + xmlSecAssert2( ctx->keyId != NULL , -1 ) ;
2405 + if( ctx->material != NULL ) {
2406 + xmlSecBufferDestroy( ctx->material ) ;
2407 + ctx->material = NULL ;
[all …]
/AOO42X/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()
55 … not ("com.sun.star.connection.Acceptor" in ctx.ServiceManager.getAvailableServiceNames()),
58 … not ("com.sun.star.connection.Connector" in ctx.ServiceManager.getAvailableServiceNames()),
61 ctx , ctx, ("acceptor.uno","connector.uno"), "com.sun.star.loader.SharedLibrary" )
[all …]
H A Dcore.py27 def suite(ctx): argument
29 suite.addTest(TestCase("testErrors",ctx))
30 suite.addTest(TestCase("testBaseTypes",ctx))
31 suite.addTest(TestCase("testOutparam",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))
37 suite.addTest(TestCase("testUnicode",ctx))
[all …]
H A Dimpl.py87 def __init__(self,method,ctx): argument
89 self.ctx = ctx
92 self.tobj = self.ctx.ServiceManager.createInstanceWithContext( \
93 "com.sun.star.test.bridge.CppTestObject",self.ctx)
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 )
[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…
/AOO42X/main/scripting/source/pyprov/
H A Dmailmerge.py72 def __init__( self, ctx ): argument
73 self.ctx = ctx
224 ctx = uno.getComponentContext()
225 …aConfigProvider = ctx.ServiceManager.createInstance("com.sun.star.configuration.ConfigurationProvi…
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
[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
281 return self.ctx.ServiceManager.createInstanceWithContext(
282 "com.sun.star.frame.Desktop", self.ctx )
285 return self.ctx
514 ctx = self.provCtx.scriptContext.getComponentContext()
515 dlgprov = ctx.ServiceManager.createInstanceWithContext(
516 servicename, ctx )
[all …]
/AOO42X/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()
/AOO42X/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 )
/AOO42X/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()
/AOO42X/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 )
/AOO42X/main/pyuno/source/module/
H A Dpyuno_runtime.cxx239 PyRef stRuntimeImpl::create( const Reference< XComponentContext > &ctx ) in create() argument
255 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()
287 ctx->getServiceManager()->createInstanceWithContext( in create()
289 ctx ), in create()
[all …]
/AOO42X/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()
/AOO42X/main/ridljar/test/com/sun/star/uno/
H A DType_Test.java93 Type ctx = new Type(com.sun.star.uno.XComponentContext.class); in testIsSupertypeOf() local
101 assure("XInterface :> XComponentContext", ifc.isSupertypeOf(ctx)); in testIsSupertypeOf()
102 assure("not XComponentContext :> XInterface", !ctx.isSupertypeOf(ifc)); in testIsSupertypeOf()
104 ctx.isSupertypeOf(ctx)); in testIsSupertypeOf()
/AOO42X/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()
/AOO42X/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 …]
/AOO42X/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()
/AOO42X/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()

123