Home
last modified time | relevance | path

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

12345

/vim-8.2.3635/runtime/autoload/
H A Dpython3complete.vim287 return Scope(self.name,indent,self.docstr)
330 c = Class(self.name,self.supers,indent, self.docstr)
338 if len(self.docstr) > 0: str += self.childindent()+'"""'+self.docstr+'"""\n'
351 return Function(self.name,self.params,indent, self.docstr)
354 (self.currentindent(),self.name,','.join(self.params))
355 if len(self.docstr) > 0: str += self.childindent()+'"""'+self.docstr+'"""\n'
362 self.scope = self.top
419 self.scope=self.scope.pop(indent)
433 self.scope=self.scope.pop(indent)
483 self.currentscope = self.scope
[all …]
H A Dpythoncomplete.vim305 return Scope(self.name,indent,self.docstr)
348 c = Class(self.name,self.supers,indent, self.docstr)
356 if len(self.docstr) > 0: str += self.childindent()+'"""'+self.docstr+'"""\n'
369 return Function(self.name,self.params,indent, self.docstr)
372 (self.currentindent(),self.name,','.join(self.params))
373 if len(self.docstr) > 0: str += self.childindent()+'"""'+self.docstr+'"""\n'
380 self.scope = self.top
437 self.scope=self.scope.pop(indent)
451 self.scope=self.scope.pop(indent)
501 self.currentscope = self.scope
[all …]
H A Dgnat.vim30 let &l:errorformat = self.Error_Format
39 execute "!" . self.Get_Command('Pretty')
43 execute "!" . self.Get_Command('Find')
47 execute "!" . self.Get_Command('Tags')
56 let self.Project_File = a:1
58 if ! filereadable (self.Project_File)
59 let self.Project_File = findfile (
64 elseif strlen (self.Project_File) > 0
65 let self.Project_File = browse (0, 'GNAT Project File?', '', self.Project_File)
76 "if strlen (self.Project_File) > 0
[all …]
H A DRstFold.vim13 if has_key(self.levels, curline - 1)
20 if !has_key(self.header_types, key)
21 let self.max_level += 1
22 let self.header_types[key] = self.max_level
24 let self.levels[curline] = self.header_types[key]
H A Ddecada.vim33 let l:make_prg = substitute (g:self.Make_Command, '%<', self.Unit_Name(), '')
34 let &errorformat = g:self.Error_Format
H A Drubycomplete.vim272 "self", "super",
628 def self.preload_rails
643 def self.get_completions(base)
663 input.sub!(/self\./, '')
745 cv = eval("self.class.constants")
817 classes = eval("self.class.constants") - constants
/vim-8.2.3635/src/
H A Dif_py_both.h1478 self->destruct(self->cur); in IterDestructor()
3003 self->self = selfdict; in FunctionNew()
3006 if (self->argv || self->self) in FunctionNew()
3109 dict_unref(self->self); in FunctionDestructor()
3110 if (self->argv || self->self) in FunctionDestructor()
3144 return self->self == NULL in FunctionAttr()
3186 pt->pt_dict = self->self; in set_partial()
3225 if (self->argv || self->self) in FunctionCall()
3291 if (self->self) in FunctionRepr()
5101 return RBItem(self->buf, n, self->start, self->end); in RangeItem()
[all …]
H A Dif_python3.c901 #define DESTRUCTOR_FINISH(self) Py_TYPE(self)->tp_free((PyObject*)self) argument
1428 if (CheckBuffer((BufferObject *) self)) in BufferSubscript()
1521 ((RangeObject *)(self))->start, in RangeAsItem()
1522 ((RangeObject *)(self))->end, in RangeAsItem()
1523 &((RangeObject *)(self))->end); in RangeAsItem()
1530 ((RangeObject *)(self))->start, in RangeAsSlice()
1531 ((RangeObject *)(self))->end, in RangeAsSlice()
1532 &((RangeObject *)(self))->end); in RangeAsSlice()
1547 ((RangeObject *)(self))->end-((RangeObject *)(self))->start+1, in RangeSubscript()
1566 return RangeAsItem(self, n, val); in RangeAsSubscript()
[all …]
H A Dif_python.c776 #define DESTRUCTOR_FINISH(self) self->ob_type->tp_free((PyObject*)self); argument
1180 OutputGetattr(PyObject *self, char *name) in OutputGetattr() argument
1236 BufferGetattr(PyObject *self, char *name) in BufferGetattr() argument
1285 RangeGetattr(PyObject *self, char *name) in RangeGetattr() argument
1303 ((RangeObject *)(self))->start, in RangeAssItem()
1304 ((RangeObject *)(self))->end, in RangeAssItem()
1305 &((RangeObject *)(self))->end); in RangeAssItem()
1312 ((RangeObject *)(self))->start, in RangeAssSlice()
1313 ((RangeObject *)(self))->end, in RangeAssSlice()
1314 &((RangeObject *)(self))->end); in RangeAssSlice()
[all …]
H A Dif_ruby.c1394 buffer_name(VALUE self) in buffer_name() argument
1396 buf_T *buf = get_buf(self); in buffer_name()
1402 buffer_number(VALUE self) in buffer_number() argument
1404 buf_T *buf = get_buf(self); in buffer_number()
1410 buffer_count(VALUE self) in buffer_count() argument
1412 buf_T *buf = get_buf(self); in buffer_count()
1428 buf_T *buf = get_buf(self); in buffer_aref()
1673 window_buffer(VALUE self) in window_buffer() argument
1681 window_height(VALUE self) in window_height() argument
1719 window_cursor(VALUE self) in window_cursor() argument
[all …]
H A Dprofiler.c232 profile_self(proftime_T *self, proftime_T *total, proftime_T *children) in profile_self() argument
245 profile_add(self, total); in profile_self()
246 profile_sub(self, children); in profile_self()
455 proftime_T *self, in prof_func_line() argument
461 if (prefer_self && profile_equal(total, self)) in prof_func_line()
465 if (!prefer_self && profile_equal(total, self)) in prof_func_line()
468 fprintf(fd, "%s ", profile_msg(self)); in prof_func_line()
H A Dif_mzsch.c1902 vim_mz_window *self = NULL; in window_new() local
1905 MZ_GC_VAR_IN_REG(0, self); in window_new()
1919 CLEAR_POINTER(self); in window_new()
1926 WINDOW_REF(win) = self; in window_new()
1928 self->win = win; in window_new()
1932 return (Scheme_Object *)self; in window_new()
2290 vim_mz_buffer *self = NULL; in buffer_new() local
2293 MZ_GC_VAR_IN_REG(0, self); in buffer_new()
2303 CLEAR_POINTER(self); in buffer_new()
2310 BUFFER_REF(buf) = self; in buffer_new()
[all …]
/vim-8.2.3635/src/testdir/
H A Dtest_channel.py24 def setup(self): argument
27 def handle(self): argument
31 received = self.request.recv(4096).decode('utf-8')
71 self.request.sendall(cmd.encode('utf-8'))
79 self.request.sendall(cmd.encode('utf-8'))
87 self.request.sendall(cmd.encode('utf-8'))
95 self.request.sendall(cmd.encode('utf-8'))
99 self.request.sendall(cmd.encode('utf-8'))
110 self.request.sendall(cmd.encode('utf-8'))
216 self.request.close()
[all …]
H A Dtest_netbeans.py24 def process_msgs(self, msgbuf): argument
43 cmd = re.search('.*"(.*)"', self.prev_line).group(1)
124 self.server.shutdown()
129 self.prev_line = line
132 self.request.sendall(response.encode('utf-8'))
137 if self.debug:
141 def handle(self): argument
144 self.debug = 0
145 self.prev_line = ''
165 if self.debug:
[all …]
H A Dtest_memory_usage.vim45 let val = s:memory_usage(self.pid)
46 if self.max < val
47 let self.max = val
49 call add(self.hist, val)
50 if len(self.hist) < 20
53 let sample = remove(self.hist, 0)
54 return len(uniq([sample] + self.hist)) == 1
65 let self.job = term_getjob(self.buf)
67 let self.pid = job_info(self.job).process
71 call term_sendkeys(self.buf, ":qall!\<CR>")
[all …]
H A Dtest_python2.vim2039 psar.self['self'] = psar.self
2177 cb.append('a.self: ' + s(a.self))
2178 cb.append('pa1.self: ' + s(pa1.self))
2179 cb.append('pa2.self: ' + s(pa2.self))
2180 cb.append('pa3.self: ' + s(pa3.self))
2181 cb.append('pa4.self: ' + s(pa4.self))
2182 cb.append('sa.self: ' + s(sa.self))
2183 cb.append('psa1.self: ' + s(psa1.self))
2184 cb.append('psa2.self: ' + s(psa2.self))
2185 cb.append('psa3.self: ' + s(psa3.self))
[all …]
H A Dtest_python3.vim2226 psar.self['self'] = psar.self
2364 cb.append('a.self: ' + s(a.self))
2365 cb.append('pa1.self: ' + s(pa1.self))
2366 cb.append('pa2.self: ' + s(pa2.self))
2367 cb.append('pa3.self: ' + s(pa3.self))
2368 cb.append('pa4.self: ' + s(pa4.self))
2369 cb.append('sa.self: ' + s(sa.self))
2370 cb.append('psa1.self: ' + s(psa1.self))
2371 cb.append('psa2.self: ' + s(psa2.self))
2372 cb.append('psa3.self: ' + s(psa3.self))
[all …]
H A Dtest_profile.vim74 call assert_equal('count total (s) self (s)', lines[6])
81 call assert_equal('count total (s) self (s)', lines[14])
89 call assert_equal('count total (s) self (s) function', lines[22])
94 call assert_equal('count total (s) self (s) function', lines[27])
167 call assert_equal('count total (s) self (s)', lines[6])
181 call assert_equal('count total (s) self (s)', lines[21])
195 call assert_equal('count total (s) self (s)', lines[36])
294 call assert_equal('count total (s) self (s)', lines[6])
385 " if self and total are equal we only get one number
388 " if self and total are equal we only get one number
[all …]
H A Dtest_partial.vim62 return self.name . '/' . a:arg1 . '/' . a:arg2
97 return self.name . '/' . a:arg
124 return self.name
146 let s:result = self.name . '/' . a:arg
294 return self.name
/vim-8.2.3635/runtime/tools/
H A Ddemoserver.py37 def handle(self): argument
40 thesocket = self.request
43 data = self.request.recv(4096).decode('utf-8')
69 self.request.sendall(encoded.encode('utf-8'))
/vim-8.2.3635/runtime/syntax/
H A Dxquery.vim26self and as ascending at attribute base-uri boundary-space by case cast castable child collation c…
37 …dant attribute self descendant-or-self following-sibling following namespace parent ancestor prece…
H A D2html.vim1123 let self.progress_ticks = map(range(pb_len+1), "v:val * self.max_value / pb_len")
1132 if max_len != self.max_len
1140 let self.needs_redraw = 1
1142 let self.pb_len = pb_len
1147 let pb_len = self.pb_len
1153 while cur_value < cur_val_max && self.cur_value > self.progress_ticks[cur_value]
1158 if self.last_value != cur_value || self.needs_redraw || self.cur_value == self.max_value
1159 let self.needs_redraw = 1
1173 \"%=%#".c_color."#%( ".printf("%3.d ",100*self.cur_value/self.max_value)."%% %)"
1183 let self.cur_value = (self.cur_value > self.max_value ? self.max_value : self.cur_value)
[all …]
H A Dst.vim3 " Maintainer: Arndt Hesse <hesse@self.de>
15 syn keyword stKeyword super self class true false new not
/vim-8.2.3635/runtime/doc/
H A Dif_pyth.txt56 def __call__(self):
351 def __init__(self, module):
352 self.module = module
354 def load_module(self, fullname, path=None):
355 return self.module
682 keyword argument `self`, see |Dictionary-function|. You can also use
695 self `None` or a |python-Dictionary| object with self
706 Constructor additionally accepts `args`, `self` and `auto_rebind`
718 return self
722 print f(self={}) # Like call('DictFun', [], {})
[all …]
H A Dif_ruby.txt151 self[{n}] Returns the buffer object for the number {n}. The first number
160 self[{n}] Returns a line from the buffer. {n} is the line number.
161 self[{n}] = {str}
181 self[{n}] Returns the window object for the number {n}. The first number

12345