Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 126) 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/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/
Dgatt.py15 import re
125 matches = re.findall("'([a0-Z9]*)'O and size = '([a0-Z9]*)'", description)
154 uuid = formatUuid(re.findall("'([a0-Z9]*)'O", description)[0])
170 uuid = formatUuid(re.findall("'([a0-Z9-]*)'O", description)[0])
227 all_matches = list(map(formatUuid, re.findall("'([a0-Z9]*)'O", description)))
284 all_matches = re.findall("'([a0-Z9]*)'O", description)
307 service_uuid = formatUuid(re.findall("'([a0-Z9]*)'O", description)[0])
326 all_matches = list(map(stringCharHandleToInt, re.findall("'([a0-Z9]*)'O", description)))
340 handles = re.findall("'([a0-Z9]*)'O", description)
345 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})?")
D_helpers.py22 import re
80 regex = re.compile(docstring)
/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/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/apps/Settings/src/com/android/settings/development/
DEnableVerboseVendorLoggingPreferenceController.java111 } catch (RemoteException re) { in setVerboseLoggingEnabled()
112 if (DBG) Log.e(TAG, "aidlService.setVerboseLoggingEnabled fail: " + re); in setVerboseLoggingEnabled()
141 } catch (RemoteException re) { in getVerboseLoggingEnabled()
142 if (DBG) Log.e(TAG, "aidlService.getVerboseLoggingEnabled fail: " + re); in getVerboseLoggingEnabled()
/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/modules/adb/
Dtest_device.py25 import re
103 self.assertTrue(re.search(r'tcp:5566.+tcp:6655', msg))
109 self.assertFalse(re.search(r'tcp:5566.+tcp:6677', msg))
110 self.assertTrue(re.search(r'tcp:5566.+tcp:6655', msg))
115 self.assertFalse(re.search(r'tcp:5566.+tcp:6655', msg))
116 self.assertTrue(re.search(r'tcp:5566.+tcp:6677', msg))
138 self.assertTrue(re.search(r'tcp:5566.+tcp:6655', msg))
141 self.assertTrue(re.search(r'tcp:5566.+tcp:6655', msg))
142 self.assertTrue(re.search(r'tcp:7788.+tcp:8877', msg))
145 self.assertFalse(re.search(r'tcp:5566.+tcp:6655', msg))
[all …]
/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.*$")
Dasync_subprocess_logger.py19 import re
81 tagLength = len(re.sub('[^\w\s]', '', loggableTag))
Dlogging_client_interceptor.py18 import re
67 tagLength = len(re.sub('[^\w\s]', '', self.inLogTag)) + 11
/packages/modules/Bluetooth/system/test/
DREADME.md12 ## After you're done
80 Probably not. See [After you're done](#After-you're-done)
/packages/modules/Bluetooth/system/build/toolchain/clang/
Dget_clang_suffix.py3 import re
22 clang_version_match = re.search(CLANG_VERSION_REGEX, clang_version_out)
/packages/modules/common/tools/
Dcheck_allowed_deps.py7 import re
36 key_match = re.match(r'(\S+):', line)
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DImapTempFileLiteral.java104 } catch (RuntimeException re) { in destroy()
106 LogUtils.w(TAG, "Failed to remove temp file: " + re.getMessage()); in destroy()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAbstractContactsProvider.java232 } catch (RuntimeException re) { in bulkInsert()
234 throw re; in bulkInsert()
280 } catch (RuntimeException re) { in applyBatch()
282 throw re; in applyBatch()

123456