Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 29) sorted by relevance

12

/device/sample/etc/
Dfix_apns_full_conf.py17 import re
66 RE_TYPE = re.compile(r"^\s*type")
67 RE_IA_DEFAULT = re.compile(r"(?!.*ia)default")
69 RE_BEAR_BITMASK = re.compile(r"bearer_bitmask=\"[\d|]+\"")
71 if re.match(RE_TYPE, line):
73 ofile.write(re.sub(RE_IA_DEFAULT, "default,ia", line))
74 elif re.search(RE_BEAR_BITMASK, line):
82 ofile.write(re.sub(RE_BEAR_BITMASK, res, line))
/device/google/cuttlefish_vmm/
Dgen_android_bp.py28 import re
117 match = re.match(
120 re.DOTALL | re.MULTILINE,
161 return re.sub("^(?!$)", "// ", text, flags=re.MULTILINE)
207 name = re.sub("/bin/|/|-|_bin_", "_", str(path))
/device/google/trout/tools/
Dlogcat_diff.py29 import re
42 self.rgx = re.compile(RE_TEXT, re.MULTILINE)
/device/google/cuttlefish/tools/
Dtombstone_to_line.py28 import re
36 (re.compile('(.* pc )([0-9a-f]+) +([^ ]+) .*'), 1, 3, 2),
37 (re.compile('(.*)#[0-9]+ 0x[0-9a-f]+ +\((.*)\+0x([0-9a-f]+)\)'), 1, 2, 3)]
/device/generic/opengl-transport/host/libs/virglrenderer/
Dgen_entries.py29 import re
32 re_func = re.compile(r"""^(.*[\* ])([A-Za-z_][A-Za-z0-9_]*)\((.*)\);$""")
33 re_param = re.compile(r"""^(.*[\* ])([A-Za-z_][A-Za-z0-9_]*)$""")
/device/google/trout/tools/tracing/tooling/
Dqnx_perfetto.py28 import re
30 trace_input_regex = re.compile( r"(?P<CPU>\d+) (?P<time_s>\d+)\.(?P<time_ns>\d+)\.(?P<time_us>\d+)u…
Dcalculate_time_offset.py21 import re
54 match = re.search(pattern, time_str)
Dtracing_agent.py22 import re
/device/google/cuttlefish/guest/monitoring/tombstone_transmit/
Dtombstone_transmit.cpp119 std::regex re(R"(tombstone_\d+(\.pb)?)"); in main() local
124 if (regex_match(ts_name, re)) { in main()
/device/google/cuttlefish/host/commands/openwrt_control_server/
Dmain.cpp189 std::regex re("wan_ipaddr=[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+"); in FindIpaddrLauncherLog() local
194 if (std::regex_search(line, matches, re)) { in FindIpaddrLauncherLog()
/device/generic/goldfish-opengl/system/gralloc/
DCMakeLists.txt3 # which will re-generate this file.
13 # which will re-generate this file.
/device/linaro/dragonboard/installer/db845c/
DREADME29 then re-connect the USB-C cable so that you can flash the board.
66 button. Then re-connect USB-C cable. There will be no HDMI
/device/google/cuttlefish/host/commands/assemble_cvd/
Dboot_image_utils.cc483 std::regex re("[1-9][0-9]*([.][0-9]+)*"); in ReadAndroidVersionFromBootImage() local
484 …CF_EXPECT(std::regex_match(os_version, re), "Version string is not a valid version \"" + os_versio… in ReadAndroidVersionFromBootImage()
/device/google/coral/json-c/
DREADME.md17 If you're not using a release tarball, you'll also need:
DChangeLog40 a re-serialized object more exactly matches the input.
84 * Allow json_tokener_parse_ex() to be re-used to parse multiple object.
DRELEASE_CHECKLIST.txt25 Generally, unless we're doing a major release, change:
/device/google/redbull/json-c/
DREADME.md17 If you're not using a release tarball, you'll also need:
DChangeLog40 a re-serialized object more exactly matches the input.
84 * Allow json_tokener_parse_ex() to be re-used to parse multiple object.
DRELEASE_CHECKLIST.txt25 Generally, unless we're doing a major release, change:
/device/google/sunfish/json-c/
DREADME.md17 If you're not using a release tarball, you'll also need:
DChangeLog40 a re-serialized object more exactly matches the input.
84 * Allow json_tokener_parse_ex() to be re-used to parse multiple object.
DRELEASE_CHECKLIST.txt25 Generally, unless we're doing a major release, change:
/device/google/cuttlefish/
DREADME.md47 4. Enter a branch name. Start with `aosp-main` if you don't know what you're
/device/google/contexthub/firmware/
DCodingStandard.txt39 19. Absolutely no inline assembly unless you're in a folder under "cpu" or "variant". Allowed in
/device/google/cuttlefish/tools/gigabyte-ampere-cuttlefish-installer/
DREADME.md57 When you're ready to make this README your own, just edit this file and use the handy template belo…

12