/haiku-fatelf/src/tools/checkstyle/ |
H A D | checkstyle.py | 5 import re, sys, os 49 cppRules["Line over 80 char"] = re.compile('[^\n]{81,}') 50 cppRules["Spaces instead of tabs"] = re.compile(' ') 52 = re.compile('(for|if|while|switch)\(') 53 cppRules["Missing space at comment start"] = re.compile('//\w') 55 = re.compile('\w(==|[,=>/+\-*;\|])\w') 56 cppRules["Operator at line end"] = re.compile('([*=/+\-\|\&\?]|\&&|\|\|)(?=\n)') 57 cppRules["Missing space"] = re.compile('\){') 58 cppRules["Mixed tabs/spaces"] = re.compile('( \t]|\t )+') 59 cppRules["Malformed else"] = re [all...] |
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | rpmatch.c | 34 const int nomatch, const char **lastp, regex_t *re) 42 regfree (re); 46 if (regcomp (re, pattern, REG_EXTENDED) != 0) 52 return regexec (re, response, 0, NULL, 0) == 0 ? match : nomatch; 33 try(const char *response, const char *pattern, const int match, const int nomatch, const char **lastp, regex_t *re) argument
|
H A D | mountlist.c | 544 struct rootdir_entry *re = xmalloc (sizeof *re); local 545 re->name = name; 546 re->dev = statbuf.st_dev; 547 re->ino = statbuf.st_ino; 550 *rootdir_tail = re; 551 rootdir_tail = &re->next; 564 struct rootdir_entry *re; local 566 for (re = rootdir_list; re; r 587 struct rootdir_entry *re = rootdir_list; local [all...] |
H A D | regex.c | 34 # define re_set_registers(bu, re, nu, st, en) \ 35 __re_set_registers (bu, re, nu, st, en)
|
/haiku-fatelf/3rdparty/mmu_man/irc/Haiku/ |
H A D | gen_err_list.py | 5 import re 16 match = re.match(r'#\s?define\s+(?P<define>\w+)\s+(?P<expr>.+)', line) 31 m = re.match(r"B_TO_POSIX_ERROR\((?P<expr>.*)\)", expr) 37 m = re.match(r"B_FROM_POSIX_ERROR\((?P<expr>.*)\)", expr) 43 m = re.match(r"\((?P<expr>.*)\)", expr) 49 m = re.match(r"(?P<expr>\w+)$", expr) 57 m = re.match(r"(?P<base>.*_BASE)\s*\+\s*(?P<offset>\w+)$", expr) 71 if re.match(r".*_BASE", define): 94 match = re.match(r'\t*case (?P<define>\w+):', line) 98 match = re [all...] |
/haiku-fatelf/headers/cpp/std/ |
H A D | ldcomplex.h | 39 complex (long double r = 0, long double i = 0): re (r), im (i) { } 40 complex (const complex<float>& r): re (r.real ()), im (r.imag ()) { } 41 complex (const complex<double>& r): re (r.real ()), im (r.imag ()) { } 48 long double real () const { return re; } 51 long double re, im; member in class:complex 87 : re (r.real ()), im (r.imag ()) 91 : re (r.real ()), im (r.imag ())
|
H A D | dcomplex.h | 39 complex (double r = 0, double i = 0): re (r), im (i) { } 40 complex (const complex<float>& r): re (r.real ()), im (r.imag ()) { } 48 double real () const { return re; } 51 double re, im; member in class:complex 87 : re (r.real ()), im (r.imag ())
|
H A D | complext.cc | 98 FLOAT re, im = 0; local 105 is >> re; local 118 x = complex<FLOAT> (re, im); 158 FLOAT ar = abs (y.re); 164 t = y.re / y.im; 166 nr = (ths->re * t + ths->im) / d; 167 ni = (ths->im * t - ths->re) / d; 171 t = y.im / y.re; 172 d = y.re * (1 + t*t); 173 nr = (ths->re [all...] |
H A D | fcomplex.h | 39 complex (float r = 0, float i = 0): re (r), im (i) { } 48 float real () const { return re; } 51 float re, im; member in class:complex
|
H A D | complext.h | 58 complex (_FLT r = 0, _FLT i = 0): re (r), im (i) { } 63 _FLT real () const { return re; } 66 _FLT re, im; member in class:complex 83 ths->re += r.re; 98 ths->re -= r.re; 113 _FLT f = ths->re * r.re - ths->im * r.im; 114 ths->im = ths->re * [all...] |
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | rpmatch.c | 92 try (const char *response, const char *pattern, char **lastp, regex_t *re) argument 102 regfree (re); 112 if (regcomp (re, safe_pattern, REG_EXTENDED) != 0) 118 return regexec (re, response, 0, NULL, 0) == 0;
|
H A D | mountlist.c | 540 struct rootdir_entry *re = xmalloc (sizeof *re); local 541 re->name = name; 542 re->dev = statbuf.st_dev; 543 re->ino = statbuf.st_ino; 546 *rootdir_tail = re; 547 rootdir_tail = &re->next; 560 struct rootdir_entry *re; local 562 for (re = rootdir_list; re; r 583 struct rootdir_entry *re = rootdir_list; local [all...] |
H A D | regex.c | 38 # define re_set_registers(bu, re, nu, st, en) \ 39 __re_set_registers (bu, re, nu, st, en)
|
/haiku-fatelf/src/libs/print/libgutenprint/test/ |
H A D | pixma_parse.h | 160 OPEN_READER(re, s) 161 UPDATE_CACHE(re, s) 162 tmp= SHOW_UBITS(re, s, n); 163 LAST_SKIP_BITS(re, s, n) 164 CLOSE_READER(re, s) 188 OPEN_READER(re, s) 189 UPDATE_CACHE(re, s) 190 UPDATE_CACHE(re, s) 191 CLOSE_READER(re, s)
|
/haiku-fatelf/src/bin/gawk/ |
H A D | regex.c | 28 # define re_set_registers(bu, re, nu, st, en) \ 29 __re_set_registers (bu, re, nu, st, en)
|
/haiku-fatelf/src/system/libroot/posix/glibc/regex/ |
H A D | regex.c | 37 # define re_set_registers(bu, re, nu, st, en) \ 38 __re_set_registers (bu, re, nu, st, en)
|
/haiku-fatelf/src/libs/libfdt/ |
H A D | fdt_sw.c | 112 struct fdt_reserve_entry *re; local 121 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) 124 re = (struct fdt_reserve_entry *)((char *)fdt + offset); 125 re->address = cpu_to_fdt64(addr); 126 re->size = cpu_to_fdt64(size); 128 fdt_set_off_dt_struct(fdt, offset + sizeof(*re));
|
H A D | fdt_rw.c | 174 struct fdt_reserve_entry *re; local 179 re = _fdt_mem_rsv_w(fdt, fdt_num_mem_rsv(fdt)); 180 err = _fdt_splice_mem_rsv(fdt, re, 0, 1); 184 re->address = cpu_to_fdt64(address); 185 re->size = cpu_to_fdt64(size); 191 struct fdt_reserve_entry *re = _fdt_mem_rsv_w(fdt, n); local 199 err = _fdt_splice_mem_rsv(fdt, re, 1, 0);
|
/haiku-fatelf/src/bin/network/wget/ |
H A D | maint.mk | 110 # use this macro. The shell variables "re" and "msg" must be defined. 113 test "x$$re" != x || { echo '$(ME): re not defined' 1>&2; exit 1; }; \ 115 grep $(_ignore_case) -nE "$$re" $$($(VC_LIST_EXCEPT)) && \ 127 @re='\<free *\( *\(' msg='don'\''t cast free argument' \ 131 @re='\*\) *x(m|c|re)alloc\>' \ 136 @re='\*\) *alloca\>' msg='don'\''t cast alloca return value' \ 140 @re='[ ] ' msg='found SPACE-TAB sequence; remove the SPACE' \ 147 @re [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/network/rtl81xx/dev/re/ |
H A D | glue.c | 21 HAIKU_FBSD_DRIVER_GLUE(rtl81xx, re, pci);
|
/haiku-fatelf/src/bin/bash/support/ |
H A D | bashbug.sh | 216 echo "$0: type \`n' to re-enter the editor." 236 echo "$0: type \`n' to re-enter the editor."
|
H A D | checkbashisms | 141 while (my ($re,$expl) = each %bashisms) { 142 if (m/($re)/) {
|
/haiku-fatelf/src/bin/coreutils/src/ |
H A D | test.c | 90 /* Increment our position in the argument list. Check that we're not 111 * beyond - call when we're beyond the end of the argument list (an 319 bool le, re; local 324 re = get_mtime (argv[op + 1], &rt); 325 return le && (!re || timespec_cmp (lt, rt) > 0); 348 bool le, re; local 353 re = get_mtime (argv[op + 1], &rt); 354 return re && (!le || timespec_cmp (lt, rt) < 0);
|
/haiku-fatelf/src/libs/ncurses/ncurses/widechar/ |
H A D | lib_wacs.c | 90 * If we're running in a UTF-8 locale, will use the Unicode equivalents
|
/haiku-fatelf/src/libs/edit/ |
H A D | search.c | 110 regex_t re; local 124 if (regcomp(&re, pat, 0) == 0) { 125 rv = regexec(&re, str, 0, NULL, 0) == 0; 126 regfree(&re); 132 if ((re = regcomp(pat)) != NULL) { 133 rv = regexec(re, str); 134 free((ptr_t) re);
|