Home
last modified time | relevance | path

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

123456

/packages/modules/Bluetooth/system/embdrv/lc3/src/
Dmdct.c46 { x[1*n].re + x[4*n].re, x[1*n].im + x[4*n].im }; in fft_5()
48 { x[1*n].re - x[4*n].re, x[1*n].im - x[4*n].im }; in fft_5()
51 { x[2*n].re + x[3*n].re, x[2*n].im + x[3*n].im }; in fft_5()
53 { x[2*n].re - x[3*n].re, x[2*n].im - x[3*n].im }; in fft_5()
55 y[0].re = x[0].re + s14.re + s23.re; in fft_5()
59 y[1].re = x[0].re + s14.re * cos1 - d14.im * sin1 in fft_5()
60 + s23.re * cos2 - d23.im * sin2; in fft_5()
62 y[1].im = x[0].im + s14.im * cos1 + d14.re * sin1 in fft_5()
63 + s23.im * cos2 + d23.re * sin2; in fft_5()
65 y[2].re = x[0].re + s14.re * cos2 - d14.im * sin2 in fft_5()
[all …]
/packages/modules/NeuralNetworks/tools/api/
Dgenerate_api.py7 import re
71 match = re.search(LINESEARCH, orig)
82 args = re.split("\s+", match[3])
83 bodymatch = re.search(BODYSEARCH, body_orig)
91 bodymatch = re.search(BODYSEARCH, body_orig)
97 match = re.search(LINESEARCH, orig)
103 patterns = re.split("\s+", patterns_string.strip())
105 wildcard_match = re.search("^(.*)\*$", pattern)
106 lowest_version_match = re.search("^(.*)\+$", pattern)
109 if re.search("^" + re.escape(wildcard_match[1]), self.kind):
[all …]
/packages/modules/SdkExtensions/
Dapi-to-sdk-ext-info.py28 import re
31 re_package = re.compile(r"^package (.*?) \{(.*?)^\}", re.M + re.S)
32 re_class = re.compile(r"^ .*? (?:class|interface) (\S+) .*?\{(.*?)^ \}", re.M + re.S)
33 re_method = re.compile("^ (?:ctor|method).* (\S+)\([^)]*\);", re.M)
34 re_field = re.compile(r"^ field.* (\S+)(?: =.*);", re.M)
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/
Dgatt.py15 import re
159 matches = re.findall("'([a0-Z9]*)'O and size = '([a0-Z9]*)'", description)
188 uuid = formatUuid(re.findall("'([a0-Z9]*)'O", description)[0])
204 uuid = formatUuid(re.findall("'([a0-Z9-]*)'O", description)[0])
261 all_matches = list(map(formatUuid, re.findall("'([a0-Z9]*)'O", description)))
318 all_matches = re.findall("'([a0-Z9]*)'O", description)
341 service_uuid = formatUuid(re.findall("'([a0-Z9]*)'O", description)[0])
360 all_matches = list(map(stringCharHandleToInt, re.findall("'([a0-Z9]*)'O", description)))
374 handles = re.findall("'([a0-Z9]*)'O", description)
379 uuid_match = re.findall("0x([a0-Z9]*)'O", description)
[all …]
Dhogp.py4 import re
94 PATTERN = re.compile(
135 PATTERN = re.compile(rf"handle = (?P<handle>\S*)\s* uuid = (?P<uuid>\S*)")
169 … PATTERN = re.compile(r"Start Handle: (?P<start_handle>\S*) End Handle: (?P<end_handle>\S*)")
256 blocks = re.split("Handle:", body)
259 PATTERN = re.compile(f"0x{HEX*2}(?:{HEX*2})?")
/packages/apps/Camera2/tests/exiftool_parser/
Dparser.py17 import re
35 p = re.compile(
38 , re.M)
67 _id = re.search("0x[0-9a-f]{4}", s)
71 name = re.search("[0-9]*?\).*?(?:(?: = )|(?: \(SubDirectory\) -->))", s)
75 value = re.search("\(SubDirectory\) -->", s)
79 value = re.search("\(.*\)\n", s)
83 value = re.search("=.*\n", s)
/packages/services/Telecomm/scripts/
Daosp_tag_preupload.py3 import re
46 if re.search(AOSP_COMMIT_TAG_REGEX, str(commit_line_str), re.IGNORECASE):
55 return re.search(AOSP_BRANCH_REGEX, str(branch_info)) is not None
58 if re.search(AOSP_COMMIT_LINK_REGEX, aosp_line):
61 if re.search(AOSP_INFEASIBLE_REGEX, aosp_line, re.IGNORECASE):
/packages/modules/Bluetooth/system/embdrv/lc3/test/neon/
Dmdct_neon.c38 x[i].re = (double)rand() / RAND_MAX; in check_fft()
45 if (fabsf(y[i].re - y_neon[i].re) > 1e-6f || in check_fft()
52 if (fabsf(y[i].re - y_neon[i].re) > 1e-6f || in check_fft()
59 if (fabsf(y[i].re - y_neon[i].re) > 1e-6f || in check_fft()
/packages/providers/CalendarProvider/
Dmaketests.py13 import sys, urllib, re
35 DTSTART_TZID = re.compile("DTSTART;TZID=(.*):(.*)")
36 DTSTART = re.compile("DTSTART:(.*)")
37 DURATION = re.compile("DURATION:(.*)")
38 RRULE = re.compile("RRULE:(.*)")
39 TIME = re.compile("(....)-(..)-(..)T(..):(..):(..)....([+-])(..):(..)")
40 TIMEZ = re.compile("(....)-(..)-(..)T(..):(..):(..)....Z")
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothProfileConnector.java139 } catch (RemoteException re) { in doBind()
140 logError("Failed to bind service. " + re); in doBind()
156 } catch (RemoteException re) { in doUnbind()
157 logError("Unable to unbind service: " + re); in doUnbind()
182 } catch (RemoteException re) { in connect()
183 logError("Failed to register state change callback. " + re); in connect()
199 } catch (RemoteException re) { in disconnect()
200 logError("Failed to unregister state change callback" + re); in disconnect()
/packages/apps/Messaging/build/
Dcolorize_errors.py20 import re
27 ERROR = re.compile(r"^Error:")
28 WARNING = re.compile(r"^Warning:")
29 STARTS_WITH_WS = re.compile(r"^\s")
Dprocess_style_output.py20 import re
26 PATTERN = re.compile(r"(?P<file>[^:]+):(?P<line>\d+)(?P<column>:\d+)?:\s(?P<message>.*)")
/packages/services/Car/tools/GenericCarApiBuilder/scripts/
Dcheck_car_version.py26 import re
38 argGroup = re.search("\((.*)\)",api)
42 new_arg = re.sub('[^ (]*?(?=\))|[^ ]*?(?=,)', "", arg)
43 return re.sub("\((.*)\)", new_arg, api)
Dcompare_hidden_apis_across_releases.py18 import re
26 argGroup = re.search("\((.*)\)",api)
30 new_arg = re.sub('[^ (]*?(?=\))|[^ ]*?(?=,)', "", arg)
31 return re.sub("\((.*)\)", new_arg, api)
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/
Dinput.py3 import re
24 MATCHER = re.compile(r"^\s*([^ ].{1,15})-(\d+)\s+\(\s*([-0-9]+)\) .* (\d+\.\d+): tracing_mark_write…
25 MATCHER_FOR_OLD = re.compile(r"^\s*([^ ].{1,15})-(\d+) .* (\d+\.\d+): tracing_mark_write: ([BE].*)$…
51 mark_matcher = re.compile(r"([BE])\|(\d+).*")
/packages/modules/Bluetooth/system/blueberry/decorators/
Dandroid_bluetooth_client_decorator.py12 import re
46 s1 = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', cls_name)
47 return re.sub('([a-z0-9])([A-Z])', r'\1_\2', s1).lower()
/packages/services/Car/tools/watchdog/parser/
Dperf_stats_parser.py32 import re
275 and not re.match(STATS_COLLECTION_PATTERN, line) \
277 if match := re.match(PACKAGE_CPU_STATS_PATTERN, line):
290 elif match := re.match(PROCESS_CPU_STATS_PATTERN, line):
312 while not re.match(STATS_COLLECTION_PATTERN,
314 if match := re.match(TOTAL_CPU_TIME_PATTERN, line):
316 elif match := re.match(TOTAL_IDLE_CPU_TIME_PATTERN, line):
318 elif match := re.match(CPU_IO_WAIT_TIME_PATTERN, line):
320 elif match := re.match(CONTEXT_SWITCHES_PATTERN, line):
322 elif match := re.match(IO_BLOCKED_PROCESSES_PATTERN, line):
[all …]
/packages/services/Car/tools/GenericCarApiBuilder/scripts/api-coverage/
Ddiff_apis_versions.py23 import re
55 argGroup = re.search("\((.*)\)",api)
59 new_arg = re.sub('[^ (]*?(?=\))|[^ ]*?(?=,)', "", arg)
60 return re.sub("\((.*)\)", new_arg, api)
/packages/services/Car/tools/GenericCarApiBuilder/
Dannotation_classlist_repohook.py18 import re
32 argGroup = re.search("\((.*)\)",api)
36 new_arg = re.sub('[^ (]*?(?=\))|[^ ]*?(?=,)', "", arg)
37 return re.sub("\((.*)\)", new_arg, api)
/packages/apps/Settings/src/com/android/settings/display/
DThemePreferenceController.java119 } catch (RemoteException re) { in onPreferenceChange()
120 throw re.rethrowFromSystemServer(); in onPreferenceChange()
167 } catch (RemoteException re) { in getAvailableThemes()
168 throw re.rethrowFromSystemServer(); in getAvailableThemes()
/packages/apps/Settings/src/com/android/settings/development/
DEnableVerboseVendorLoggingPreferenceController.java123 } catch (RemoteException re) { in setVerboseLoggingEnabled()
124 if (DBG) Log.e(TAG, "aidlService.setVerboseLoggingEnabled fail: " + re); in setVerboseLoggingEnabled()
153 } catch (RemoteException re) { in getVerboseLoggingEnabled()
154 if (DBG) Log.e(TAG, "aidlService.getVerboseLoggingEnabled fail: " + re); in getVerboseLoggingEnabled()
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/lib/
Duwb_base_test.py4 import re
13 RELEASE_ID_REGEX = re.compile(r"\w+\.\d+\.\d+")
70 if re.match(RELEASE_ID_REGEX, build_info["build_id"]):
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dos_utils.py20 import re
102 HOST_CRASH_LINE_REGEX = re.compile(r"^.* - crash_callback: (?P<line>.*)$")
104 ASAN_OUTPUT_START_REGEX = re.compile(r"^==.*AddressSanitizer.*$")
/packages/modules/adb/
Dtest_device.py25 import re
83 self.assertTrue(re.search(r'tcp:5566.+tcp:6655', msg))
89 self.assertFalse(re.search(r'tcp:5566.+tcp:6677', msg))
90 self.assertTrue(re.search(r'tcp:5566.+tcp:6655', msg))
95 self.assertFalse(re.search(r'tcp:5566.+tcp:6655', msg))
96 self.assertTrue(re.search(r'tcp:5566.+tcp:6677', msg))
118 self.assertTrue(re.search(r'tcp:5566.+tcp:6655', msg))
121 self.assertTrue(re.search(r'tcp:5566.+tcp:6655', msg))
122 self.assertTrue(re.search(r'tcp:7788.+tcp:8877', msg))
125 self.assertFalse(re.search(r'tcp:5566.+tcp:6655', msg))
[all …]
/packages/modules/Bluetooth/system/test/
DREADME.md12 ## After you're done
80 Probably not. See [After you're done](#After-you're-done)

123456