Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 153) sorted by relevance

1234567

/aoo42x/main/testtools/source/bridgetest/pyuno/
H A Dcore.py100 self.tobj.Interface = self.ctx
101 self.tobj.Any = self.tobj.String
110 self.tobj.Sequence = (self.testElement,self.testElement2)
113 self.failUnless( 42 == self.tobj.Long , "Long attribute" )
120 self.failUnless( self.tobj.Bool , "Bool attribute2" )
122 self.failUnless( self.tobj.Sequence[0] == self.testElement , "Sequence test")
123 self.failUnless( self.tobj.Sequence[1] == self.testElement2 , "Sequence2 test")
126 self.failUnless( self.ctx == self.tobj.Interface ,
128 self.failUnless( not self.ctx == self.tobj , "object not identical test " )
196 self.failUnless( uni == self.tobj.String )
[all …]
H A Dimpl.py41 self.s = self.s + seq
47 return self.s
52 self.s = seq
61 if( nByteCount + self.nIndex > len(self.s) ):
62 nByteCount = len(self.s) - self.nIndex
67 if( self.nIndex + nByteCount > len(self.s) ):
68 nRet = len(self.s) - self.nIndex
71 retSeq = uno.ByteSequence(self.s.value[self.nIndex : self.nIndex + nRet ])
72 self.nIndex = self.nIndex + nRet
80 return len( self.s ) - self.nIndex
[all …]
H A Dsamplecomponent.py60 def __init__(self,ctx): argument
61 self.__dict__["callid"] = 0
62 self.__dict__["sequenceBroken"] = 0
64 def transportAny( self, value ): argument
93 v = self.__dict__["data"]
102 self.__dict__["callid"] = callid
114 def checkExistence( self, name ): argument
125 self.__dict__[name] = value
127 def __getattr__( self, name ): argument
129 return self.__dict__[name]
[all …]
/aoo42x/main/solenv/bin/modules/
H A DSourceConfig.pm57 my $self = {};
81 $self->{DEBUG} = 0;
98 …${$self->{REPOSITORIES}}{File::Basename::basename($self->{USER_SOURCE_ROOT})} = $self->{USER_SOURC…
100 …$self->{SOURCE_CONFIG_FILE} = get_config_file($self->{SOURCE_ROOT}) if (!defined $self->{SOURCE_CO…
103 …${$self->{REPOSITORIES}}{File::Basename::basename($self->{USER_SOURCE_ROOT})} = $self->{USER_SOURC…
113 return $self;
147 my $self = shift;
152 my $self = shift;
163 my $self = shift;
174 my $self = shift;
[all …]
/aoo42x/main/scripting/source/pyprov/
H A Dpythonscript.py97 return self.use >= self.DEBUG
101 self.log( self.DEBUG, msg )
104 return self.use >= self.ERROR
108 self.log( self.ERROR, msg )
193 self.m_baseUri = expandUri( self.s_UriMap[location] )
492 self.provCtx.getPersistentUrlFromStorageUrl( self.uri + "$" + self.funcName ) )
494 ret = not self.provCtx.sfa.isReadOnly( self.uri )
558 self.provCtx.sfa.move( self.uri, copyUrl )
559 out = self.provCtx.sfa.openFileWrite( self.uri )
598 self.funcnames = self.provCtx.getFuncsByUrl( self.uri )
[all …]
H A Dmailmerge.py73 self.ctx = ctx
78 self.notify = EventObject(self)
144 if self.server:
276 self.ctx = ctx
281 self.notify = EventObject(self)
329 if self.server:
345 self.ctx = ctx
350 self.notify = EventObject(self)
423 self.ctx = ctx
440 self.ctx = ctx
[all …]
/aoo42x/main/toolkit/src2xml/source/
H A Dsrclexer.py30 def str (self): argument
37 def str (self): argument
115 self.bufsize = len(self.chars)
139 def init (self): argument
187 self.init()
221 self.tokens.append(self.token)
223 if not self.parentLexer and self.debug:
236 self.tokens.append(self.token)
270 if c == '\\' and self.chars[self.nextPos(i)] == "\n":
449 if i < self.bufsize - 1 and self.chars[i+1] == '/':
[all …]
H A Dsrcparser.py106 while self.pos < len(self.tokens):
110 token = self.tokens[self.pos]
119 self.tokens[self.pos:self.pos+1] = macro.tokens
136 self.tokens[self.pos:self.pos+lastPos+1] = newtokens
155 tk = self.tokens[self.pos+i]
159 print(self.tokens[self.pos+j], end=' ')
214 self.tokenSize = len(self.tokens)
217 macroExp = MacroExpander(self.tokens, self.defines)
267 self.leftTokens = self.tokenBuf[:]
270 self.stmtData.leftTokens = self.tokenBuf[:]
[all …]
H A Dexpression.py63 self.ptr = self.ptr.parent
65 def build (self): argument
78 self.ptr.parent.left = self.ptr
79 self.ptr = self.ptr.parent
90 self.ptr.right.parent = self.ptr
93 self.ptr = self.ptr.right
98 self.ptr.left.parent = self.ptr
99 self.ptr = self.ptr.left
102 self.ptr.right.parent = self.ptr
103 self.ptr = self.ptr.right
[all …]
H A Dglobals.py46 self.name = name
47 self.tokens = []
48 self.vars = {}
52 def __init__ (self): argument
53 self.children = []
64 def __init__ (self): argument
67 def dump (self): argument
80 self.name = name
85 self.rid = rid
86 self.attrs = {}
[all …]
H A Dmacroparser.py30 self.buffer = buf
31 self.macro = None
32 self.debug = False
34 def parse (self): argument
39 if self.debug:
107 if self.debug:
127 if self.debug:
130 if not self.isValidMacro(self.macro):
133 if self.debug:
150 def getMacro (self): argument
[all …]
/aoo42x/main/l10ntools/scripts/tool/
H A Dsdf.py48 def read(self): argument
140 self.gid = splitted[ self.const._GID_POS ]
141 self.lid = splitted[ self.const._LID_POS ]
146 self.text = splitted[ self.const._TEXT_POS ]
149 self.title = splitted[ self.const._TITLE_POS ]
150 self.date = splitted[ self.const._DATE_POS ]
153 return self.project + "\\" + self.source_file
159 …return ''.join([self.project, "\t", self.source_file, "\t", self.dummy1, "\t", self.resource_type,…
160self.gid, "\t", self.lid, "\t", self.helpid, "\t", self.platform, "\t", self.dummy2, "\t" , self.l…
161 …"\t", self.text, "\t", self.helptext, "\t", self.quickhelptext, "\t" , self.title, "\t", self.date…
[all …]
H A Dl10ntool.py70 'path_postfix': self._options.path_postfix, 'path': self.get_path() }
76 def get_path(self): argument
80 return self._options.outputfile[:self._options.outputfile.rfind('/')]
129 def extract(self): argument
132 f.write(self.extract_file(self._options.inputfile))
152 (self._options, self.args) = parser.parse_args()
160 self._options.languages = parse_complex_arg(self._options.languages)
161 self.test_options()
163 def __init__(self): argument
170 self.extract()
[all …]
H A Dpseudo.py28 def __str__(self): argument
32 self._list = self._remove_dupes(newlist)
60 def __iter__(self): argument
66 def __keys__(self): argument
83 self[n] = v
100 def __iter__(self): argument
108 return list(zip(self._keylist, self._valuelist))
110 def items(self): argument
111 return list(zip(self._keylist,self._valuelist))
116 def keys(self): argument
[all …]
/aoo42x/main/solenv/bin/modules/installer/patch/
H A DMsiTable.pm45 my $self = {
60 return $self;
113 my ($self) = @_;
176 $self->{'index_column_index'} = $self->GetColumnIndex($items[0]);
189 return $self;
228 my $self = shift;
238 my $self = shift;
253 my ($self) = @_;
268 my ($self) = @_;
399 my $self = shift;
[all …]
H A DMsi.pm92 my $self = {
103 bless($self, $class);
121 return $self;
129 my ($self) = @_;
131 return $self->{'is_valid'};
145 my $self = shift;
183 my ($self, $table_name) = @_;
221 my ($self, $table) = @_;
392 my ($self) = @_;
466 my ($self) = @_;
[all …]
H A DMsiRow.pm42 my $self = {
46 bless($self, $class);
54 return $self;
67 my ($self, $column) = @_;
104 my ($self) = @_;
105 return @{$self->{'values'}};
113 my $self = shift;
142 my ($self, $new_table) = @_;
144 my $clone = { %$self };
157 my ($self, $new_table) = @_;
[all …]
/aoo42x/main/pyuno/source/module/
H A Duno.py124 def __repr__(self): argument
125 return "<uno.Enum %s (%r)>" % (self.typeName, self.value)
130 return (self.typeName == that.typeName) and (self.value == that.value)
140 def __repr__(self): argument
141 return "<Type instance %s (%r)>" % (self.typeName, self.typeClass)
148 def __hash__(self): argument
171 self.value=value
173 def __repr__(self): argument
194 def __repr__(self): argument
204 def __len__(self): argument
[all …]
H A Dunohelper.py130 self.ctor = ctor
134 def __init__(self): argument
135 self.impls = {}
169 self.implName = implName
171 self.clazz = clazz
226 def _unohelper_getHandle( self): argument
253 def getTypes( self ): argument
264 self.hashMap = hashMap
268 if name in self.hashMap:
280 self.clazz = clazz
[all …]
/aoo42x/main/filter/source/config/tools/merge/
H A DpyAltFCFGMerge182 dict.__init__(self)
184 self[n] = v
192 def read(self,filename): argument
200 self.load(f)
205 def load(self, buff): argument
212 self[n] = props[n]
345 self.m_bEmpty = 1
388 def isHelp(self): argument
459 self.m_aCfg = aCfg
461 self.m_aFragmentsDir = self.m_aCfg.getValue(PROP_FRAGMENTSDIR)
[all …]
/aoo42x/main/sc/workben/celltrans/
H A Dparse.py42 self.funcList = {}
53 def dumpCode (self): argument
102 "p"+self.locale.capitalize(), "a"+self.locale.capitalize())
120 bh = ord(self.bytes[self.i])
121 bl = ord(self.bytes[self.i+1])
123 self.i += 2
128 while self.i < self.size:
141 def parse (self): argument
147 self.size = len(self.bytes)
148 self.i = 0
[all …]
/aoo42x/main/vcl/aqua/source/a11y/
H A Daqua11ywrapper.mm71 self = [ super init ];
72 if ( self != nil ) {
75 return self;
419 // find index of self
424 if ( self == child ) {
518 return self; // TODO ???
869 // if( self == ancestor )
875 return self;
922 wrapper = self ;
1044 [ self setDefaults: [ self accessibleContext ] ];
[all …]
/aoo42x/main/solenv/bin/modules/installer/
H A Dlogger.pm141 my $self = {
168 $self->{$key} = $value;
171 bless($self, $class);
173 return $self;
215 foreach my $target ($self, @{$self->{'forward'}})
219 $self->{'id'},
302 close $self->{'file'};
310 open $self->{'file'}, ">", $self->{'filename'}
405 my ($self) = @_;
414 my ($self) = @_;
[all …]
/aoo42x/main/solenv/bin/
H A Dbuildalyzer27 self.directory = ''
28 self.outputfile = ''
30 self.cxxflags = []
31 self.inputfiles = []
32 self.nolink = False
60 CxxTargets.by_name[self.getFullOutputname()] = self
61 def __str__(self):
64 return self.directory + '/' + self.outputfile
70 self.name = name
71 CxxFlags.by_name[self.name] = self
[all …]
/aoo42x/main/desktop/test/deployment/passive/
H A Dpassive_python.py36 def __init__(self, context): argument
37 self.context = context
39 def getImplementationName(self): argument
40 return self.implementationName
45 def getSupportedServiceNames(self): argument
46 return self.serviceNames
63 def __init__(self, context): argument
64 self.context = context
66 def getImplementationName(self): argument
67 return self.implementationName
[all …]

Completed in 133 milliseconds

1234567