Home
last modified time | relevance | path

Searched refs:tabsize (Results 1 - 25 of 42) sorted by relevance

12

/third_party/python/Tools/scripts/
H A Dpindent.py48 # -t tabsize : set the number of spaces a tab character is worth (default 8)
101 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
105 self.tabsize = tabsize
122 self._write(line.expandtabs(self.tabsize))
154 tabs, spaces = divmod(indent*self.indentsize, self.tabsize)
266 indent = len(indentws.expandtabs(self.tabsize))
267 current = len(currentws.expandtabs(self.tabsize))
280 current = len(currentws.expandtabs(self.tabsize))
332 stepsize = STEPSIZE, tabsize
[all...]
H A Duntabify.py11 tabsize = 8
22 tabsize = int(optvalue)
25 process(filename, tabsize)
28 def process(filename, tabsize, verbose=True):
36 newtext = text.expandtabs(tabsize)
/third_party/ffmpeg/libavfilter/
H A Daf_superequalizer.c49 int winlen, tabsize; member
150 s->tabsize = 1 << wb; in equ_init()
152 s->ires = av_calloc(s->tabsize + 2, sizeof(float)); in equ_init()
153 s->irest = av_calloc(s->tabsize, sizeof(float)); in equ_init()
154 s->fsamples = av_calloc(s->tabsize, sizeof(float)); in equ_init()
155 s->fsamples_out = av_calloc(s->tabsize + 2, sizeof(float)); in equ_init()
173 const int tabsize = s->tabsize; in make_fir() local
182 for (; i < tabsize; i++) in make_fir()
213 for (; i < s->tabsize; in filter_frame()
[all...]
H A Dvf_drawtext.c176 int tabsize; ///< tab size member
233 {"tabsize", "set tab size", OFFSET(tabsize), AV_OPT_TYPE_INT, {.i64=4}, 0, INT_MAX , FLAGS},
806 /* set the tabsize in pixels */ in init()
808 av_log(ctx, AV_LOG_ERROR, "Could not set tabsize.\n"); in init()
811 s->tabsize *= glyph->advance; in init()
1524 if (code == '\t') x = (x / s->tabsize + 1)*s->tabsize; in draw_text()
/third_party/backends/backend/escl/
H A Descl_capabilities.c83 * \fn static SANE_String_Const *char_to_array(SANE_String_Const *tab, int *tabsize, SANE_String_Const mode, int good_array)
90 char_to_array(SANE_String_Const *tab, int *tabsize, SANE_String_Const mode, int good_array) in char_to_array() argument
105 for (i = 0; i < (*tabsize); i++) { in char_to_array()
109 (*tabsize)++; in char_to_array()
110 if (*tabsize == 1) in char_to_array()
111 board = (SANE_String_Const *)malloc(sizeof(SANE_String_Const) * ((*tabsize) + 1)); in char_to_array()
113 board = (SANE_String_Const *)realloc(tab, sizeof(SANE_String_Const) * ((*tabsize) + 1)); in char_to_array()
114 board[*tabsize - 1] = (SANE_String_Const)strdup(convert); in char_to_array()
115 board[*tabsize] = NULL; in char_to_array()
120 * \fn static SANE_Int *int_to_array(SANE_Int *tab, int *tabsize, in
126 int_to_array(SANE_Int *tab, int *tabsize, int cont) int_to_array() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dlzwenc.c55 int tabsize; ///< Number of values in hash table member
155 s->tab[hash_code].code = s->tabsize; in addCode()
159 s->tabsize++; in addCode()
161 if (s->tabsize >= (1 << s->bits) + (s->mode == FF_LZW_GIF)) in addCode()
184 s->tabsize = 258; in clearTable()
250 if (s->tabsize >= s->maxcode - 1) { in ff_lzw_encode()
/third_party/python/Objects/stringlib/clinic/
H A Dtransmogrify.h.h6 "expandtabs($self, /, tabsize=8)\n"
11 "If tabsize is not given, a tab size of 8 characters is assumed.");
17 stringlib_expandtabs_impl(PyObject *self, int tabsize);
23 static const char * const _keywords[] = {"tabsize", NULL}; in stringlib_expandtabs()
27 int tabsize = 8; in stringlib_expandtabs() local
36 tabsize = _PyLong_AsInt(args[0]); in stringlib_expandtabs()
37 if (tabsize == -1 && PyErr_Occurred()) { in stringlib_expandtabs()
41 return_value = stringlib_expandtabs_impl(self, tabsize); in stringlib_expandtabs()
/third_party/python/Objects/stringlib/
H A Dtransmogrify.h30 tabsize: int = 8
34 If tabsize is not given, a tab size of 8 characters is assumed.
38 stringlib_expandtabs_impl(PyObject *self, int tabsize) in stringlib_expandtabs_impl() argument
51 if (tabsize > 0) { in stringlib_expandtabs_impl()
52 Py_ssize_t incr = tabsize - (j % tabsize); in stringlib_expandtabs_impl()
84 if (tabsize > 0) { in stringlib_expandtabs_impl()
85 i = tabsize - (j % tabsize); in stringlib_expandtabs_impl()
/third_party/python/Lib/
H A Dtabnanny.py186 def indent_level(self, tabsize):
190 # il = il + (i//tabsize + 1)*tabsize * count[i]
203 for i in range(tabsize, len(count)):
204 il = il + i//tabsize * count[i]
205 return trailing + tabsize * (il + self.nt)
H A Dtextwrap.py37 Each tab will become 0 .. 'tabsize' spaces, depending on its position
39 tabsize (default: 8)
40 Expand tabs in input text to 0 .. 'tabsize' spaces, unless
122 tabsize=8,
135 self.tabsize = tabsize
151 text = text.expandtabs(self.tabsize)
H A Dtokenize.py159 tabsize = 8 variable
491 column = (column//tabsize + 1)*tabsize
/kernel/linux/linux-5.10/security/selinux/
H A Dnlmsgtab.c151 static int nlmsg_perm(u16 nlmsg_type, u32 *perm, const struct nlmsg_perm *tab, size_t tabsize) in nlmsg_perm() argument
155 for (i = 0; i < tabsize/sizeof(struct nlmsg_perm); i++) in nlmsg_perm()
/third_party/python/Parser/
H A Dtokenizer.h45 int tabsize; /* Tab spacing */ member
/kernel/linux/linux-5.10/scripts/dtc/libfdt/
H A Dfdt.c303 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s) in fdt_find_string_() argument
306 const char *last = strtab + tabsize - len; in fdt_find_string_()
H A Dlibfdt_internal.h23 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s);
/kernel/linux/linux-6.6/scripts/dtc/libfdt/
H A Dfdt.c315 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s) in fdt_find_string_() argument
318 const char *last = strtab + tabsize - len; in fdt_find_string_()
H A Dlibfdt_internal.h23 const char *fdt_find_string_(const char *strtab, int tabsize, const char *s);
/kernel/linux/linux-6.6/security/selinux/
H A Dnlmsgtab.c154 static int nlmsg_perm(u16 nlmsg_type, u32 *perm, const struct nlmsg_perm *tab, size_t tabsize) in nlmsg_perm() argument
159 for (i = 0; i < tabsize/sizeof(struct nlmsg_perm); i++) in nlmsg_perm()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
H A Dtinyxmlparser.cpp185 tabsize = _tabsize; in TiXmlParsingData()
192 int tabsize; member in TiXmlParsingData
200 // Do nothing if the tabsize is 0. in Stamp()
201 if ( tabsize < 1 ) in Stamp()
258 col = (col / tabsize + 1) * tabsize; in Stamp()
H A Dtinyxml.cpp915 tabsize = 4; in TiXmlDocument()
922 tabsize = 4; in TiXmlDocument()
932 tabsize = 4; in TiXmlDocument()
1122 target->tabsize = tabsize;
H A Dtinyxml.h1490 set, the default of 4 is used. The tabsize is set per document. Setting
1491 the tabsize to 0 disables row/column tracking.
1504 void SetTabSize( int _tabsize ) { tabsize = _tabsize; } in SetTabSize()
1506 int TabSize() const { return tabsize; } in TabSize()
1552 int tabsize; member in TiXmlDocument
/third_party/python/Objects/clinic/
H A Dunicodeobject.c.h210 "expandtabs($self, /, tabsize=8)\n"
215 "If tabsize is not given, a tab size of 8 characters is assumed.");
221 unicode_expandtabs_impl(PyObject *self, int tabsize);
227 static const char * const _keywords[] = {"tabsize", NULL}; in unicode_expandtabs()
231 int tabsize = 8; in unicode_expandtabs() local
240 tabsize = _PyLong_AsInt(args[0]); in unicode_expandtabs()
241 if (tabsize == -1 && PyErr_Occurred()) { in unicode_expandtabs()
245 return_value = unicode_expandtabs_impl(self, tabsize); in unicode_expandtabs()
/third_party/python/Lib/lib2to3/pgen2/
H A Dtokenize.py136 tabsize = 8 variable
396 elif line[pos] == '\t': column = (column//tabsize + 1)*tabsize
/third_party/ltp/testcases/kernel/kvm/
H A Dlib_x86.c194 size_t tabsize, void *stack_base) in kvm_create_stack_descriptor()
196 int ret = kvm_find_free_descriptor(table, tabsize); in kvm_create_stack_descriptor()
193 kvm_create_stack_descriptor(struct segment_descriptor *table, size_t tabsize, void *stack_base) kvm_create_stack_descriptor() argument
/third_party/ltp/testcases/kernel/kvm/include/
H A Dkvm_x86.h194 size_t tabsize, void *stack_base);

Completed in 25 milliseconds

12