| /trunk/main/testtools/source/bridgetest/pyuno/ |
| H A D | core.py | 70 def __init__( self ): argument 73 def transportAny( self, arg ): argument 78 def __init__(self,method,ctx): argument 79 unittest.TestCase.__init__(self,method) 80 self.ctx = ctx 82 def setUp(self): argument 84 self.tobj = self.ctx.ServiceManager.createInstanceWithContext( 85 'com.sun.star.test.bridge.CppTestObject' , self.ctx ) 87 self.tobj.Bool = 1 88 self.tobj.Char = 'h' [all …]
|
| H A D | impl.py | 33 def __init__( self ): argument 34 self.s = uno.ByteSequence("") 35 self.closed = 0 37 def closeOutput(self): argument 38 self.closed = 1 40 def writeBytes( self, seq ): argument 41 self.s = self.s + seq 43 def flush( self ): argument 46 def getSequence( self ): argument 47 return self.s [all …]
|
| H A D | samplecomponent.py | 57 xCall.callRecursivly( self, nToCall -1 ) 60 def __init__(self,ctx): argument 61 self.__dict__["callid"] = 0 62 self.__dict__["sequenceBroken"] = 0 64 def transportAny( self, value ): argument 67 def raiseException( self, ArgumentPosition, Message, Context ): argument 70 def raiseRuntimeExceptionOneway(self, Message, Context ): argument 73 def setValues( self, bBool, cChar, nByte, nShort, nUShort, nLong,\ argument 76 self.__dict__["data"] = TestDataElements( bBool, cChar, nByte, nShort, nUShort, nLong, 79 self.__dict__["Struct"] = aStruct [all …]
|
| /trunk/main/solenv/bin/modules/ |
| H A D | SourceConfig.pm | 57 my $self = {}; 58 $self->{USER_SOURCE_ROOT} = undef; 59 $self->{SOURCE_CONFIG_FILE} = undef; 67 $self->{SOURCE_CONFIG_FILE} = $source_root; 73 $self->{USER_SOURCE_ROOT} = $source_root; 80 $self->{SOURCE_ROOT} = $source_root; 81 $self->{DEBUG} = 0; 82 $self->{VERBOSE} = 0; 83 $self->{REPOSITORIES} = {}; 84 $self->{ACTIVATED_REPOSITORIES} = {}; [all …]
|
| /trunk/main/scripting/source/pyprov/ |
| H A D | pythonscript.py | 93 def __init__(self , target ): argument 94 self.target = target 96 def isDebugLevel( self ): argument 97 return self.use >= self.DEBUG 99 def debug( self, msg ): argument 100 if self.isDebugLevel(): 101 self.log( self.DEBUG, msg ) 103 def isErrorLevel( self ): argument 104 return self.use >= self.ERROR 106 def error( self, msg ): argument [all …]
|
| H A D | mailmerge.py | 72 def __init__( self, ctx ): argument 73 self.ctx = ctx 74 self.listeners = [] 75 self.supportedtypes = ('Insecure', 'Ssl') 76 self.server = None 77 self.connectioncontext = None 78 self.notify = EventObject(self) 81 def addConnectionListener(self, xListener): argument 84 self.listeners.append(xListener) 85 def removeConnectionListener(self, xListener): argument [all …]
|
| /trunk/main/toolkit/src2xml/source/ |
| H A D | srclexer.py | 27 def __init__ (self): argument 30 def str (self): argument 34 def __init__ (self): argument 37 def str (self): argument 93 def __init__ (self): argument 94 self.defines = {} 95 self.tokens = [] 111 def __init__ (self, chars, filepath = None): argument 112 self.filepath = filepath 113 self.parentLexer = None [all …]
|
| H A D | srcparser.py | 94 def __init__ (self): argument 95 self.leftTokens = [] 96 self.leftScope = None 100 def __init__ (self, tokens, defines): argument 101 self.tokens = tokens 102 self.defines = defines 104 def expand (self): argument 105 self.pos = 0 106 while self.pos < len(self.tokens): 107 self.expandToken() [all …]
|
| H A D | expression.py | 50 def __init__ (self): argument 51 self.left = None 52 self.right = None 53 self.parent = None 54 self.op = None 58 def __init__ (self, tokens): argument 59 self.tokens = tokens 61 def jumpToRoot (self): argument 62 while self.ptr.parent != None: 63 self.ptr = self.ptr.parent [all …]
|
| H A D | globals.py | 45 def __init__ (self, name): argument 46 self.name = name 47 self.tokens = [] 48 self.vars = {} 52 def __init__ (self): argument 53 self.children = [] 55 def appendChild (self, childnode): argument 56 self.children.append(childnode) 57 childnode.parent = self 59 def getChildren (self): argument [all …]
|
| H A D | macroparser.py | 29 def __init__ (self, buf): argument 30 self.buffer = buf 31 self.macro = None 32 self.debug = False 34 def parse (self): argument 39 if self.debug: 41 print("parsing '%s'"%self.buffer) 44 bufSize = len(self.buffer) 47 c = self.buffer[i] 52 content = self.buffer[i:] [all …]
|
| /trunk/main/l10ntools/scripts/tool/ |
| H A D | sdf.py | 30 def __init__ (self, filename=""): argument 31 self._filename = filename 33 def __getitem__(self, key): argument 34 if key in self._dict: 35 return self._dict[key] 39 def has_key(self, key): argument 40 return key in self._dict 42 def __setitem__(self, key, value): argument 43 self._dict[key] = value 45 def get_languages_found_in_sdf(self): argument [all …]
|
| H A D | l10ntool.py | 39 def get_outputfile_format_str(self): argument 42 return self._options.pattern 47 …def merge_file(self, inputfilename, outputfilename, parsed_file_ref, lang, is_forced_lang, sdfdata… argument 51 def parse_file(self, filename): argument 55 def merge_one_big_file(self, inputfile, outputfilename, parsed_file_ref, lang, sdfdata): argument 59 def extract_file(self, inputfile): argument 64 def format_outputfile(self, filename, language): argument 68 return self.get_outputfile_format_str().replace('[', '%(').replace(']',')s') % \ 69 …oExt': file, 'language': language, 'extension': extension, 'path_prefix': self._options.path_prefi… 70 'path_postfix': self._options.path_postfix, 'path': self.get_path() } [all …]
|
| H A D | pseudo.py | 28 def __str__(self): argument 29 return str(self._list) 31 def __init__(self, newlist=[]): argument 32 self._list = self._remove_dupes(newlist) 34 def __or__(self, other): argument 36 if self._list != None and other != None: 37 tmplist.extend(self._list) 39 return PseudoSet(self._remove_dupes(tmplist)) 43 def __sub__(self,other): argument 45 if self._list != None and other != None: [all …]
|
| /trunk/main/solenv/bin/modules/installer/patch/ |
| H A D | MsiTable.pm | 45 my $self = { 54 bless($self, $class); 58 $self->ReadFile($filename); 60 return $self; 68 my ($self, @data) = @_; 73 $self->{'is_valid'} = 0; 77 $self->{'columns'} = []; 78 $self->{'column_specs'} = []; 83 push @{$self->{'columns'}}, $name; 84 push @{$self->{'column_specs'}}, $spec; [all …]
|
| H A D | Msi.pm | 92 my $self = { 103 bless($self, $class); 108 my $property_table = $self->GetTable("Property"); 110 $self->{'version'} = $property_table->GetValue("Property", "DEFINEDVERSION", "Value") 111 unless defined $self->{'version'}; 112 $self->{'product_name'} = $property_table->GetValue("Property", "DEFINEDPRODUCT", "Value") 113 unless defined $self->{'product_name'}; 117 $self->{'language'} = $language 118 unless defined $self->{'language'}; 121 return $self; [all …]
|
| H A D | MsiRow.pm | 42 my $self = { 46 bless($self, $class); 49 while (scalar @{$self->{'values'}} < $column_count) 51 push @{$self->{'values'}}, ""; 54 return $self; 67 my ($self, $column) = @_; 71 return $self->{'values'}->[$column]; 75 my $column_index = $self->{'table'}->GetColumnIndex($column); 76 return $self->{'values'}->[$column_index]; 85 my ($self, $column, $value) = @_; [all …]
|
| /trunk/main/pyuno/source/module/ |
| H A D | uno.py | 119 def __init__(self,typeName, value): argument 120 self.typeName = typeName 121 self.value = value 122 pyuno.checkEnum( self ) 124 def __repr__(self): argument 125 return "<uno.Enum %s (%r)>" % (self.typeName, self.value) 127 def __eq__(self, that): argument 130 return (self.typeName == that.typeName) and (self.value == that.value) 136 def __init__(self, typeName, typeClass): argument 137 self.typeName = typeName [all …]
|
| H A D | unohelper.py | 129 def __init__(self, ctor,serviceNames): argument 130 self.ctor = ctor 131 self.serviceNames = serviceNames 134 def __init__(self): argument 135 self.impls = {} 137 def addImplementation( self, ctor, implementationName, serviceNames ): argument 138 self.impls[implementationName] = _ImplementationHelperEntry(ctor,serviceNames) 140 def writeRegistryInfo( self, regKey, smgr ): argument 141 for i in list(self.impls.items()): 148 def getComponentFactory( self, implementationName , regKey, smgr ): argument [all …]
|
| /trunk/main/filter/source/config/tools/merge/ |
| H A D | pyAltFCFGMerge | 181 def __init__(self, defaults={}): argument 182 dict.__init__(self) 184 self[n] = v 186 def __getittem__(self,key): argument 188 return dict.__getittem__(self,key) 192 def read(self,filename): argument 200 self.load(f) 205 def load(self, buff): argument 212 self[n] = props[n] 344 def __init__(self, sPropFile, lCommandLineArgs): argument [all …]
|
| /trunk/main/sc/workben/celltrans/ |
| H A D | parse.py | 40 def __init__ (self, locale): argument 41 self.locale = locale 42 self.funcList = {} 44 def addKeywordMap (self, funcName, localeName, engName): argument 45 if funcName not in self.funcList: 46 self.funcList[funcName] = [] 48 self.funcList[funcName].append([localeName, engName]) 50 def getLocaleFuncVarName (self, func, pair): argument 51 return func.lower() + "_" + getAscii(pair[1]).lower() + "_" + self.locale 53 def dumpCode (self): argument [all …]
|
| /trunk/main/vcl/aqua/source/a11y/ |
| H A D | aqua11ywrapper.mm | 71 self = [ super init ]; 72 if ( self != nil ) { 73 [ self setDefaults: rxAccessibleContext ]; 75 return self; 126 …xBroadcaster->addEventListener( new AquaA11yEventListener( self, rxAccessibleContext -> getAccessi… 188 …Reference < XAccessibleRelationSet > rxAccessibleRelationSet = [ self accessibleContext ] -> getAc… 199 Reference < XAccessible > rFirstMateAccessible = [ self getFirstRadioButtonInGroup ]; 200 …essible.is() && rFirstMateAccessible -> getAccessibleContext().get() == [ self accessibleContext ]… 223 return [ AquaA11yRoleHelper getNativeRoleFrom: [ self accessibleContext ] ]; 231 …NSString * subRole = [ AquaA11yRoleHelper getNativeSubroleFrom: [ self accessibleContext ] -> getA… [all …]
|
| /trunk/main/solenv/bin/modules/installer/ |
| H A D | logger.pm | 141 my $self = { 168 $self->{$key} = $value; 171 bless($self, $class); 173 return $self; 185 my ($self, $format, @arguments) = @_; 193 $self->print($message, 0); 208 my ($self, $message, $force) = @_; 215 foreach my $target ($self, @{$self->{'forward'}}) 219 $self->{'id'}, 240 my ($self, $relative_time, $log_id, $pid, $message, $force) = @_; [all …]
|
| /trunk/main/solenv/bin/ |
| H A D | buildalyzer | 26 def __init__(self, line): 27 self.directory = '' 28 self.outputfile = '' 29 self.includeflags = [] 30 self.cxxflags = [] 31 self.inputfiles = [] 32 self.nolink = False 34 self.directory = options.pop(0) 38 self.outputfile = option 43 self.nolink = True [all …]
|
| /trunk/main/desktop/test/deployment/passive/ |
| H A D | passive_python.py | 36 def __init__(self, context): argument 37 self.context = context 39 def getImplementationName(self): argument 40 return self.implementationName 42 def supportsService(self, ServiceName): argument 43 return ServiceName in self.serviceNames 45 def getSupportedServiceNames(self): argument 46 return self.serviceNames 48 def queryDispatch(self, URL, TargetFrame, SearchFlags): argument 49 return self.context.getValueByName( \ [all …]
|