/cts/tools/selinux/ |
D | SELinuxNeverallowTestGen.py | 3 import re 17 no_comments = re.sub(r'#.+?$', r'', policy_str, flags = re.M) 19 return re.findall(r'(^neverallow\s.+?;)', no_comments, flags = re.M |re.S);
|
/cts/suite/audio_quality/lib/src/ |
D | SimpleScriptExec.cpp | 48 regex_t re; in checkIfPassed() local 53 if (regcomp(&re, match.string(), cflags) != 0) { in checkIfPassed() 58 if (regexec(&re, str.string(), nmatch, pmatch, 0) == 0) { in checkIfPassed() 62 regfree(&re); in checkIfPassed()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskCase.cpp | 111 typename std::map<android::String8, T>& map, const char* re) in findAllGeneric() argument 114 if (regcomp(®ex, re, REG_EXTENDED | REG_NOSUB) != 0) { in findAllGeneric() 167 std::list<TaskCase::BufferPair>* TaskCase::findAllBuffers(const android::String8& re) in findAllBuffers() argument 170 if (!translateVarName(re, translated)) { in findAllBuffers() 205 std::list<TaskCase::ValuePair>* TaskCase::findAllValues(const android::String8& re) in findAllValues() argument 208 if (!translateVarName(re, translated)) { in findAllValues() 229 std::list<TaskCase::IndexPair>* TaskCase::findAllIndices(const android::String8& re) in findAllIndices() argument 232 if (!translateVarName(re, translated)) { in findAllIndices() 243 regex_t re; in translateVarName() local 246 if (regcomp(&re, "[a-z0-9_]*[$]([a-z0-9]+)[_]*", REG_EXTENDED) != 0) { in translateVarName() [all …]
|
/cts/tools/cts-media/ |
D | get_achievable_rates.py | 17 import argparse, math, re, sys 91 for k, v in re.findall(r'([^ =]+)=([^ [=]+(?:|\[[^\]]+\]))(?:, |$)', value)) 125 return re.match(r'^[^:]+: *\[(?P<values>.*)\]\.$', line).group('values') 139 for m in re.finditer(self.MESSAGE_PATTERN + r'(?P<sep>,? +|$)', values): 153 values = re.split(r' *, *', values) 168 for line in re.split(r'[\r\n]+', trace.text): 215 for m in re.finditer(self.MESSAGE_PATTERN + '(?: |$)', message)) 249 for m in re.finditer(self.MESSAGE_PATTERN + '(?: |$)', message)) 264 VIDEO_ENCODER_DECODER_TEST_REGEX = re.compile( 267 VIDEO_DECODER_PERF_TEST_REGEX = re.compile(
|
/cts/suite/audio_quality/test_description/conf/ |
D | detect_usb_audio.py | 20 import os, re, sys 37 m = re.search("card(\d+)$", sound_dev)
|
/cts/apps/CameraITS/tools/ |
D | validate_scene.py | 20 import re 41 scene_name = re.split("/|\.", out_path)[-2]
|
/cts/suite/audio_quality/lib/include/task/ |
D | TaskCase.h | 50 std::list<BufferPair>* findAllBuffers(const android::String8& re); 111 std::list<ValuePair>* findAllValues(const android::String8& re); 118 std::list<IndexPair>* findAllIndices(const android::String8& re);
|
/cts/tools/utils/cts/ |
D | tools.py | 19 import re 173 exp = re.compile(pattern) 188 exp = re.compile(pattern)
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | ReadElf.java | 176 ReadElf re = new ReadElf(new File(arg)); in main() local 177 re.getSymbol("x"); in main() 178 re.getDynamicSymbol("x"); in main() 179 re.close(); in main()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_throw/ |
D | Test_opc_throw.java | 38 } catch (RuntimeException re) { in testN1()
|
/cts/tools/utils/ |
D | buildCts.py | 21 import re 61 pattern = re.compile(r'^\s*([^:#=\s]+)\s*:=\s*(.*?[^\\])$', re.MULTILINE + re.DOTALL)
|
/cts/hostsidetests/theme/ |
D | android_device.py | 19 import re
|
/cts/suite/cts/utils/ |
D | get_csv_report.py | 18 import re 106 m = re.search(r'.*;/data\s+([\w\.]+)\s+([\w\.]+)\s+([\w\.]+)\s+([\w\.]+);', partitions)
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringBuilderSpanTest.java | 71 for (int re = rs; re < replPositionSet.size(); re++) { in replace() 75 replPositionSet.getPosition(rs), replPositionSet.getPosition(re)); in replace()
|
D | TextUtilsTest.java | 79 String re = TextUtils.ellipsize(text, p, width, TruncateAt.START).toString(); in getEllipsis() local 80 return re.substring(0, re.indexOf("x")); in getEllipsis()
|
/cts/apps/CameraITS/pymodules/its/ |
D | objects.py | 18 import re
|
D | device.py | 19 import re
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | camera_response_fast.rsh | 21 // do some computation in the radiance space, then re-apply the response to
|
D | camera_response.rsh | 21 // do some computation in the radiance space, then re-apply the response to
|
/cts/tests/tests/os/jni/seccomp-tests/ |
D | local-modifications-android-2.diff | 103 /* Might as well check siginfo for sanity while we're here. */
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 21 function. Version 2 of Dhrystone is the result of such a re-
|
/cts/tests/tests/media/res/raw/ |
D | football_qvga.yuv | 22 …H1')/>FJJFEEFGGFE@;1,-+(()1<EINUgz����~zvmaUT^ccc`aekponmnpppniffb_epquymq{re[ZXRSf~td`^``eeVa��hO… 25 …ZYYZ[_a^\^``^^_]\``acbbgkmnmlnlhmruvz|{}}xsqldWV\oO]������SF�ܢ-?���������re]YXX\_^_baba]aks�����… 30 …klkjlnljihjkkkklmoqoljgfddfhiinx�������������������������vlaWKAIWdmu����}re\SONLJIMSZaddffggiquu… 41 …re[X[]^_ab_^\[[\[[[\\]]^\XSOV_jtz{}wlpxwtslehou}��������qmv}�~ynn�������}toqvvwsnmjifdcbcdehihijkl… 43 …ffhgfifcgpy�����{rj_Z\YWXZ[^dhikmkllnpruwxxqkhecdcefea`a`blx���������������re[W^dhjijlkoruy}��{vq… 78 …eglpvxjh}�{u�y~�����}pjlmlkkjlnnppmljhgkpsvwvrpmikmmqtsqrpmnnmpqv��������|re[QH@5.'+-)+0517Ts����… 84 …deedcccddbcdddedccddccbddccccddcbbbbcbbccbacdcckz�{of[QOLC>=;5.0:BJVev����re]\cccccccdcddccdcdccc… 90 …��������������������������������������þ�����ɔt��~pprT1+.1434656717Vha_ao~�|re]Zn~���������������ط�… 114 …wicda\UJGOXTHEJSas|���xe^����P8Knvrposvvvurrrqqpoostrsstspqolkhgef{�������re[Z^dgfkx������r]NKJFD… 121 …JNONMKGHJGILJLNLLNPTVSPPqrsqnkkkhdeeccb``bbacb`a^]\]biu���tswz{����������~re]SJEGNU[aehea[YVUY[[`… [all …]
|
D | testmp3_3.raw | 1 …iEOjnFf38IqC1clrtba6VwxQrxLARzU5l7pXXhrhb+6c4sKY5jiFCf/ebZSX5DUVmY31tK1ykq+re/R6odMu+i/Y6JfPon5tX5…
|