Searched refs:re (Results 1 - 25 of 853) sorted by relevance

1234567891011>>

/xsrc/external/mit/xedit/dist/lisp/test/
H A Dregex.lsp41 (defun re-test (expect &rest arguments &aux result (error t) unused error-value)
45 (setq result (apply #'re-exec arguments))
48 (format t "ERROR: (re-exec~{ ~S~}) => ~S~%" arguments error-value)
50 (format t "(re-exec~{ ~S~}) => should be ~S not ~S~%"
54 (defun re-error (&rest arguments &aux result (error t) unused error-value)
58 (setq result (apply #'re-comp arguments))
61 (format t "ERROR: no error for (re-comp~{ ~S~})" arguments)))
63 (re-error "")
64 (re-error "a**")
65 (re
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/genxml/
H A Dutil.py27 import re
29 alphanum_nono = re.compile(r'[ /\[\]()\-:.,=>#&*\'"+\\]+')
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/
H A Dgen-symbol-redefs.py27 import re
50 m = re.match("[0-9a-z]+ [BT] (.*)", line)
56 has_good_prefix = re.match(args.newprefix, symbol) != None
58 if re.match(prefix, symbol):
65 if re.match("__driDriverGetExtensions", symbol):
/xsrc/external/mit/freetype/dist/builds/meson/
H A Dextract_freetype_version.py14 import re
25 RE_MAJOR = re.compile(r"^ \#define \s+ FREETYPE_MAJOR \s+ (.*) $", re.X)
26 RE_MINOR = re.compile(r"^ \#define \s+ FREETYPE_MINOR \s+ (.*) $", re.X)
27 RE_PATCH = re.compile(r"^ \#define \s+ FREETYPE_PATCH \s+ (.*) $", re.X)
/xsrc/external/mit/MesaLib/dist/.gitlab-ci/bare-metal/
H A Dfastboot_run.py26 import re
54 if re.search("fastboot: processing commands", line) or \
55 re.search("Listening for fastboot command on", line):
59 if re.search("data abort", line):
71 if re.search("---. end Kernel panic", line):
76 if re.search("PON REASON", line):
81 if re.search("watchdog: BUG: soft lockup - CPU.* stuck", line):
87 if re.search("NETDEV WATCHDOG", line):
92 result = re.search("hwci: mesa: (\S*)", line)
H A Dcros_servo_run.py27 import re
97 if re.search("load_archive: loading locale_en.bin", line):
104 if re.search("POWER_GOOD not seen in time", line):
110 if re.search("---. end Kernel panic", line):
117 if re.search("R8152: Bulk read error 0xffffffbf", line):
125 if re.search("Kernel panic - not syncing: Asynchronous SError Interrupt", line):
130 if re.search("NETDEV WATCHDOG", line):
144 if re.search("a6xx_hfi_send_msg.*Unexpected message id .* on the response queue", line):
148 if re.search("coreboot.*bootblock starting", line):
153 result = re
[all...]
H A Dpoe_run.py26 import re
52 if re.search("Booting Linux", line):
61 if re.search("---. end Kernel panic", line):
65 if re.search("binner overflow mem", line):
69 result = re.search("hwci: mesa: (\S*)", line)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/codegen/
H A Dgen_llvm_types.py23 import os, sys, re
119 match = re.match(r'(\s*)struct(\s*)(\w+)', line)
124 is_fwd_decl = re.search(r';', line)
143 is_llvm_typedef = re.search(r'@llvm_typedef', line)
152 is_llvm_struct = re.search(r'@llvm_struct', line)
161 is_llvm_func_start = re.search(r'@llvm_func_start', line)
167 is_llvm_func_end = re.search(r'@llvm_func_end', line)
174 is_llvm_func = re.search(r'@llvm_func', line)
181 is_llvm_enum = re.search(r'@llvm_enum', line)
190 is_llvm_pfn = re
[all...]
H A Dgen_archrast.py26 import re
42 match = re.match(r'(\s*)([\w\*]+)(\s+)(counter\s+)*([\w]+)(\[\d+\])*', line)
53 end_of_event = re.match(r'(\s*)};', line)
73 preprocessor = re.search(r'#if|#endif', line)
76 enum = re.match(r'(\s*)(\w+)(\s*)', line)
81 end_of_enum = re.match(r'(\s*)};', line)
117 match = re.match(r'(\s*)event(\s*)(\w+)', line)
130 match = re.match(r'(\s*)enum(\s*)(\w+)', line)
H A Dgen_llvm_ir_macros.py23 import os, sys, re
89 s1 = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', name)
90 return re.sub('([a-z0-9])([A-Z])', r'\1_\2', s1).upper()
106 #match = re.search(r'\*Create', line)
107 match = re.search(r'[\*\s]Create(\w*)\(', line)
111 if re.search(r'^\s*Create', line) is not None:
118 end_paren = re.search(r'\)', line)
126 delfunc = re.search(r'LLVM_DELETED_FUNCTION|= delete;', func_sig)
129 func = re.search(r'(.*?)\*[\n\s]*(Create\w*)\((.*?)\)', func_sig)
147 reg_arg = re
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/codegen/
H A Dgen_llvm_types.py22 import os, sys, re
118 match = re.match(r'(\s*)struct(\s*)(\w+)', line)
123 is_fwd_decl = re.search(r';', line)
142 is_llvm_typedef = re.search(r'@llvm_typedef', line)
151 is_llvm_struct = re.search(r'@llvm_struct', line)
160 is_llvm_func_start = re.search(r'@llvm_func_start', line)
166 is_llvm_func_end = re.search(r'@llvm_func_end', line)
173 is_llvm_func = re.search(r'@llvm_func', line)
180 is_llvm_enum = re.search(r'@llvm_enum', line)
189 is_llvm_pfn = re
[all...]
H A Dgen_llvm_ir_macros.py22 import os, sys, re
88 s1 = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', name)
89 return re.sub('([a-z0-9])([A-Z])', r'\1_\2', s1).upper()
107 deprecated = re.search(r'LLVM_ATTRIBUTE_DEPRECATED', line)
109 #match = re.search(r'\*Create', line)
110 match = re.search(r'[\*\s]Create(\w*)\(', line)
119 if re.search(r'^\s*Create', line) is not None:
126 end_paren = re.search(r'\)', line)
134 delfunc = re.search(r'LLVM_DELETED_FUNCTION|= delete;', func_sig)
137 func = re
[all...]
H A Dgen_archrast.py25 import re
43 match = re.match(r'^(\s*)([\w\*]+)(\s+)([\w]+)(\[\d+\])*;\s*(\/\/.*)*$', line)
60 end_of_event = re.match(r'(\s*)};', line)
80 preprocessor = re.search(r'#if|#endif', line)
83 enum = re.match(r'(\s*)(\w+)(\s*)', line)
88 end_of_enum = re.match(r'(\s*)};', line)
177 match = re.match(r'^\s*\/\/\/\s*(.*)$', line) # i.e. "/// more event desc..."
185 match = re.match(r'^\s*\/\/\/\s*@(brief|breif)\s*(.*)$', line) # i.e. "///@brief My event desc..."
192 match = re.match(r'event(\s*)(((\w*)::){0,1}(\w+))', line) # i.e. "event SWTag::CounterEvent"
225 match = re
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dtrace-parser.py3 import re
149 flush_batch_match = re.compile(r": flush_batch: (\S+): cleared=(\S+), gmem_reason=(\S+), num_draws=(\S+)")
150 framebuffer_match = re.compile(r": framebuffer: (\S+)x(\S+)x(\S+)@(\S+), nr_cbufs: (\S+)")
151 surface_match = re.compile(r": surface: (\S+)x(\S+)@(\S+), fmt=(\S+)")
154 gmem_match = re.compile(r": render_gmem: (\S+)x(\S+) bins of (\S+)x(\S+)")
155 sysmem_match = re.compile(r": render_sysmem")
156 state_restore_match = re.compile(r"\+(\S+): end_state_restore")
157 prologue_match = re.compile(r"\+(\S+): end_prologue")
158 binning_ib_match = re.compile(r"\+(\S+): end_binning_ib")
159 vsc_overflow_match = re
[all...]
/xsrc/external/mit/xorgproto/dist/scripts/
H A Dkeysym-generator.py18 import re
28 "modules and re-run this tool."
36 start_token = re.compile(r"#define _EVDEVK.*")
37 end_token = re.compile(r"#undef _EVDEVK\n")
51 pattern = re.compile(r"^#define\s+(?P<name>\w+)\s+(0x[0-9A-Fa-f]+)")
55 match = re.match(pattern, line)
79 filter(lambda v: re.match(r"^v[2-6]\.[0-9]+(\.[0-9]+)?$", v), tags)
187 reserved_range = re.compile(r"#define.*0x10081.*")
188 normal_range = re.compile(r"#define.*0x1008.*")
191 expected_pattern = re
[all...]
/xsrc/external/mit/freetype/dist/src/tools/
H A Dchktrcmp.py11 import re
52 c_pathname_pat = re.compile( '^.*\.[ch]$', re.IGNORECASE )
53 trace_use_pat = re.compile( '^[ \t]*#define[ \t]+FT_COMPONENT[ \t]+trace_' )
77 trace_def_pat_opn = re.compile( '^.*FT_TRACE_DEF[ \t]*\([ \t]*' )
78 trace_def_pat_cls = re.compile( '[ \t\)].*$' )
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_check_va.py3 import re
17 p = re.compile('timestamp=(.*), VA=(.*)-(.*), destroyed=(.*), is_virtual=(.*)')
/xsrc/external/mit/xedit/dist/
H A DMakefile.am25 noinst_PROGRAMS = lisp/lsp lisp/re/tests
42 liblisp_a_CFLAGS = $(CWARNFLAGS) -I$(top_srcdir)/lisp/re -I$(top_srcdir)/lisp/mp -DLISP -DLISPDIR=\"$(LISPDIR)\" $(PKGDEPS_CFLAGS)
98 lisp/re/re.c \
99 lisp/re/rec.c \
100 lisp/re/re.h \
101 lisp/re/reo.c \
102 lisp/re/rep.h
108 xedit_CFLAGS = $(CWARNFLAGS) $(PKGDEPS_CFLAGS) -I$(top_srcdir)/lisp/re
[all...]
/xsrc/external/mit/libX11/dist/src/
H A DEvToWire.c48 register XEvent *re, /* in: from */
51 switch (event->u.u.type = re->type) {
55 register XKeyEvent *ev = (XKeyEvent*) re;
72 register XButtonEvent *ev = (XButtonEvent *) re;
88 register XMotionEvent *ev = (XMotionEvent *)re;
105 register XCrossingEvent *ev = (XCrossingEvent *) re;
129 register XFocusChangeEvent *ev = (XFocusChangeEvent *) re;
137 register XKeymapEvent *ev = (XKeymapEvent *) re;
145 register XExposeEvent *ev = (XExposeEvent *) re;
157 (XGraphicsExposeEvent *) re;
46 _XEventToWire(register Display * dpy,register XEvent * re,register xEvent * event) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/registers/
H A Dmergedbs.py33 import re
/xsrc/external/mit/fontconfig/dist/src/
H A Dcutout.py5 import re
40 stripped = re.sub('^\s+', '', l)
41 stripped = re.sub('\s*,\s*', ',', stripped)
/xsrc/external/mit/libdrm/dist/
H A Dgen_table_fourcc.py30 import re
51 fm_re[k] = re.findall(v, data, flags=re.M)
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dvk_icd_gen.py26 import re
55 re.match(r'\d+\.\d+', version)
58 re.match(r'\d+\.\d+\.\d+', version)
/xsrc/external/mit/libXpresent/dist/src/
H A DXpresent.c208 XPresentRedirectNotifyEvent *re = malloc (sizeof (XPresentRedirectNotifyEvent) + nnotifies * sizeof (XPresentNotify)); local in function:XPresentWireToCookie
209 XPresentNotify *XNotify = (XPresentNotify *) (re + 1);
211 cookie->data = re;
213 re->type = cookie->type;
214 re->serial = cookie->serial;
215 re->send_event = cookie->send_event;
216 re->display = cookie->display;
217 re->extension = cookie->extension;
218 re->evtype = cookie->evtype;
220 re
[all...]
/xsrc/external/mit/libX11/dist/modules/im/ximcp/
H A DimEvToWire.c46 register XEvent *re, /* pointer to where event should be reformatted */
50 switch (event->u.u.type = re->type) {
54 register XKeyEvent *ev = (XKeyEvent*) re;
75 register XButtonEvent *ev = (XButtonEvent *) re;
91 register XMotionEvent *ev = (XMotionEvent *)re;
108 register XCrossingEvent *ev = (XCrossingEvent *) re;
132 register XFocusChangeEvent *ev = (XFocusChangeEvent *) re;
140 register XKeymapEvent *ev = (XKeymapEvent *) re;
148 register XExposeEvent *ev = (XExposeEvent *) re;
160 (XGraphicsExposeEvent *) re;
45 _XimProtoEventToWire(register XEvent * re,register xEvent * event,Bool sw) argument
422 _XimProtoWireToEvent(register XEvent * re,register xEvent * event,Bool sw) argument
[all...]

Completed in 9 milliseconds

1234567891011>>