/haiku/src/tools/checkstyle/ |
H A D | checkstyle.py | 6 import re, sys, os namespace 60 cppRules["Line over 100 char"] = re.compile('[^\n]{101,}') 61 cppRules["Spaces instead of tabs"] = re.compile(' ') 63 = re.compile('(for|if|while|switch)\(') 64 cppRules["Missing space at comment start"] = re.compile('//\w') 66 = re.compile('\w(==|[,=>/+\-*;\|])\w') 67 cppRules["Operator at line end"] = re.compile('([*=/+\-\|\&\?]|\&&|\|\|)(?=\n)') 68 cppRules["Missing space"] = re.compile('\){') 69 cppRules["Mixed tabs/spaces"] = re.compile('( \t]|\t )+') 70 cppRules["Malformed else"] = re [all...] |
/haiku/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/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/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_rx_edma.c | 209 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local 217 i = re->m_fifo_head; 218 for (j = 0; j < re->m_fifo_depth; j++) { 219 bf = re->m_fifo[i]; 227 INCR(i, re->m_fifolen); 231 if (i != re->m_fifo_tail) { 235 re->m_fifo_tail); 303 * We're now doing RX DMA! 414 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local 448 bf = re 819 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local 886 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local 920 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local 960 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local [all...] |
H A D | if_ath_rx.c | 173 * Only listen to all beacons if we're scanning. 367 * Always update the per-node beacon RSSI if we're hearing 405 * interval. Ie, we're running really, really early 416 * If we're actually running too fast, then the remainder 418 * So we need to look at whether we're running 669 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; local 758 if (re->m_rxpending != NULL) { 759 m_freem(re->m_rxpending); 760 re->m_rxpending = NULL; 793 if (re [all...] |
/haiku/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/src/libs/libfdt/ |
H A D | fdt_sw.c | 190 struct fdt_reserve_entry *re; local 196 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) 199 re = (struct fdt_reserve_entry *)((char *)fdt + offset); 200 re->address = cpu_to_fdt64(addr); 201 re->size = cpu_to_fdt64(size); 203 fdt_set_off_dt_struct(fdt, offset + sizeof(*re));
|
H A D | fdt_rw.c | 157 struct fdt_reserve_entry *re; local 162 re = fdt_mem_rsv_w_(fdt, fdt_num_mem_rsv(fdt)); 163 err = fdt_splice_mem_rsv_(fdt, re, 0, 1); 167 re->address = cpu_to_fdt64(address); 168 re->size = cpu_to_fdt64(size); 174 struct fdt_reserve_entry *re = fdt_mem_rsv_w_(fdt, n); local 181 return fdt_splice_mem_rsv_(fdt, re, 1, 0);
|
H A D | fdt_ro.c | 177 const struct fdt_reserve_entry *re; local 180 re = fdt_mem_rsv(fdt, n); 181 if (!can_assume(VALID_INPUT) && !re) 184 *address = fdt64_ld_(&re->address); 185 *size = fdt64_ld_(&re->size); 192 const struct fdt_reserve_entry *re; local 194 for (i = 0; (re = fdt_mem_rsv(fdt, i)) != NULL; i++) { 195 if (fdt64_ld_(&re->size) == 0)
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl81xx/ |
H A D | glue.c | 21 HAIKU_FBSD_DRIVER_GLUE(rtl81xx, re, pci);
|
/haiku/3rdparty/pulkomandy/ |
H A D | pkggraph.py | 10 import re namespace
|
/haiku/src/tests/kits/net/service/ |
H A D | testserver.py | 27 import re namespace 36 MULTIPART_FORM_BOUNDARY_RE = re.compile( 38 AUTH_PATH_RE = re.compile( 41 re.IGNORECASE) 160 header_value = re.sub(r':[0-9]+', ':PORT', header_value) 165 header_value = re.sub(
|
/haiku/src/tests/kits/net/netservices2/ |
H A D | testserver.py | 27 import re namespace 36 MULTIPART_FORM_BOUNDARY_RE = re.compile( 38 AUTH_PATH_RE = re.compile( 41 re.IGNORECASE) 160 header_value = re.sub(r':[0-9]+', ':PORT', header_value) 165 header_value = re.sub(
|
/haiku/src/tools/ |
H A D | hardlink_packages.py | 10 import sys, os, subprocess, re, hashlib namespace 57 pattern = re.compile("^[a-z0-9]")
|
/haiku/src/tests/kits/support/barchivable/ |
H A D | InstantiateObjectTester.cpp | 472 // We're not testing the roster, so I'm going to just 550 CppUnit::Exception re(s.c_str()); 551 throw re;
|
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | mkntfs.c | 2129 INDEX_ENTRY *re; local 2169 re = (INDEX_ENTRY*)re_start; 2208 /* Find the last entry in the index root and save it in re. */ 2209 while ((char*)re < re_end && !(re->ie_flags & INDEX_ENTRY_END)) { 2211 re = (INDEX_ENTRY*)((char*)re + le16_to_cpu(re->length)); 2214 i = (char*)re - re_start + le16_to_cpu(re [all...] |
/haiku/headers/private/kernel/arch/m68k/ |
H A D | arch_cpu.h | 90 uint32 re:1; member in struct:mc68060_fslw
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/amrr/ |
H A D | amrr.c | 433 struct ath_rateioctl *re) 432 ath_rate_fetch_node_stats(struct ath_softc *sc, struct ath_node *an, struct ath_rateioctl *re) argument
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_rate/onoe/ |
H A D | onoe.c | 422 struct ath_rateioctl *re) 421 ath_rate_fetch_node_stats(struct ath_softc *sc, struct ath_node *an, struct ath_rateioctl *re) argument
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl81xx/dev/re/ |
H A D | if_re.c | 156 MODULE_DEPEND(re, pci, 1, 1, 1); 157 MODULE_DEPEND(re, ether, 1, 1, 1); 158 MODULE_DEPEND(re, miibus, 1, 1, 1); 165 TUNABLE_INT("hw.re.intr_filter", &intr_filter); 167 TUNABLE_INT("hw.re.msi_disable", &msi_disable); 169 TUNABLE_INT("hw.re.msix_disable", &msix_disable); 171 TUNABLE_INT("hw.re.prefer_iomap", &prefer_iomap); 314 DEBUGNET_DEFINE(re); variable 318 MODULE_DEPEND(re, netmap, 1, 1, 1); 348 "re", [all...] |
/haiku/3rdparty/korli/ |
H A D | generate_ids_from_drivers.sh | 85 pciBsdEtherDriver rtl81xx re rl devs reg
|