/external/python/cpython2/Lib/lib2to3/fixes/ |
H A D | fix_dict.py | 55 def transform(self, node, results): 56 head = results["head"] 57 method = results["method"][0] # Extract node for method name 58 tail = results["tail"] 73 results["parens"].clone()] 94 results = {} 96 self.p1.match(node.parent.parent, results) and 97 results["node"] is node): 100 return results["func"].value in iter_exempt 103 return results["fun [all...] |
H A D | fix_imports.py | 108 results = match(node) 109 if results: 112 if "bare_with_attr" not in results and \ 115 return results 122 def transform(self, node, results): 123 import_mod = results.get("module_name") 128 if "name_import" in results: 132 if "multiple_imports" in results: 137 results = self.match(node) 138 if results [all...] |
H A D | fix_map.py | 59 def transform(self, node, results): 68 elif "map_lambda" in results: 69 new = ListComp(results["xp"].clone(), 70 results["fp"].clone(), 71 results["it"].clone()) 73 if "map_none" in results: 74 new = results["arg"].clone() 76 if "arglist" in results: 77 args = results["arglist"]
|
H A D | fix_buffer.py | 20 def transform(self, node, results): 21 name = results["name"]
|
H A D | fix_funcattrs.py | 18 def transform(self, node, results): 19 attr = results["attr"][0]
|
H A D | fix_getcwdu.py | 17 def transform(self, node, results): 18 name = results["name"]
|
H A D | fix_methodattrs.py | 21 def transform(self, node, results): 22 attr = results["attr"][0]
|
H A D | fix_nonzero.py | 18 def transform(self, node, results): 19 name = results["name"]
|
H A D | fix_paren.py | 37 def transform(self, node, results): 38 target = results["target"]
|
H A D | fix_raw_input.py | 15 def transform(self, node, results): 16 name = results["name"]
|
/external/v8/tools/testrunner/local/ |
H A D | pool_unittest.py | 17 results = set() 20 results.add(result.value) 21 self.assertEquals(set(range(0, 10)), results) 24 results = set() 28 # Item 10 will not appear in results due to an internal exception. 29 results.add(result.value) 32 self.assertEquals(expect, results) 35 results = set() 38 results.add(result.value) 42 results) [all...] |
/external/webrtc/talk/ |
H A D | PRESUBMIT.py | 81 results = [] 82 results.extend(input_api.canned_checks.CheckLicense( 84 return results 87 results = [] 88 results.extend(_CommonChecks(input_api, output_api)) 89 return results 92 results = [] 93 results.extend(_CommonChecks(input_api, output_api)) 94 return results
|
/external/ltp/utils/ffsb-6.0-rc2/ |
H A D | ffsb_op.c | 58 void init_ffsb_op_results(ffsb_op_results_t * results) argument 60 memset(results, 0, sizeof(ffsb_op_results_t)); 63 static int exclusive_op(ffsb_op_results_t * results, unsigned int op_num) argument 70 ret += results->ops[i]; 85 static void print_op_results(unsigned int op_num, ffsb_op_results_t * results, argument 91 double op_pcnt = 100 * (double)results->ops[op_num] / (double)total_ops; 92 double weight_pcnt = 100 * (double)results->op_weight[op_num] / 95 ffsb_printsize(buf, results->bytes[op_num] / runtime, 256); 99 generic_op_print(ffsb_op_list[op_num].op_name, results->ops[op_num], 105 ffsb_op_results_t * results, doubl 112 print_results(struct ffsb_op_results *results, double runtime) argument [all...] |
/external/skia/tests/ |
H A D | StringTest.cpp | 218 SkTArray<SkString> results; local 220 SkStrSplit("a-_b_c-dee--f-_-_-g-", "-_", &results); 221 REPORTER_ASSERT(r, results.count() == 6); 222 REPORTER_ASSERT(r, results[0].equals("a")); 223 REPORTER_ASSERT(r, results[1].equals("b")); 224 REPORTER_ASSERT(r, results[2].equals("c")); 225 REPORTER_ASSERT(r, results[3].equals("dee")); 226 REPORTER_ASSERT(r, results[4].equals("f")); 227 REPORTER_ASSERT(r, results[5].equals("g")); 229 results 243 SkTArray<SkString> results; local [all...] |
/external/autotest/client/site_tests/platform_AesThroughput/ |
H A D | platform_AesThroughput.py | 16 self.results = {'bytes_per_sec_ideal_min' : 20 * 1024 * 1024} 22 results = self.openssl_speed('aes-256-cbc', '-multi %d' % num_cpus) 23 parsed = self.parse_results(results) 33 def parse_results(self, results, name=''): 34 # Split the results into lines. 36 type, times = results.split("\n")[-1].split(' ') 50 logging.debug(results) 56 self.results.update(keyvals) 60 self.write_perf_keyval(self.results)
|
/external/deqp/scripts/log/ |
H A D | log_to_csv.py | 28 results = parser.parseFile(filename) 30 for result in results:
|
/external/jsilver/src/com/google/clearsilver/jsilver/examples/basic/ |
H A D | iterate.cs | 4 <?cs each:result = results ?>
|
/external/libopus/silk/fixed/ |
H A D | autocorr_FIX.c | 37 opus_int32 *results, /* O Result (length correlationCount) */ 47 *scale = _celt_autocorr(inputData, results, NULL, 0, corrCount-1, inputDataSize, arch); 36 silk_autocorr( opus_int32 *results, opus_int *scale, const opus_int16 *inputData, const opus_int inputDataSize, const opus_int correlationCount, int arch ) argument
|
/external/libopus/silk/float/ |
H A D | autocorrelation_FLP.c | 37 silk_float *results, /* O result (length correlationCount) */ 50 results[ i ] = (silk_float)silk_inner_product_FLP( inputData, inputData + i, inputDataSize - i ); 36 silk_autocorrelation_FLP( silk_float *results, const silk_float *inputData, opus_int inputDataSize, opus_int correlationCount ) argument
|
/external/toolchain-utils/automation/clients/report/dejagnu/ |
H A D | manifest.py | 14 class Manifest(namedtuple('Manifest', 'tool board results')): 25 will be applied for all test results, but only in selected test runs. Note 29 The meaning of lines above is as follows: corresponding test results to follow 43 results = [result 44 for result in test_run.results 47 return cls(test_run.tool, test_run.board, results) 53 results = [] 79 results.append(result) 86 return cls(tool, board, results) 97 for result in sorted(self.results, ke [all...] |
/external/tpm2/ |
H A D | EventSequenceComplete.c | 63 out->results.count = 0; 71 out->results.digests[out->results.count].hashAlg = hashAlg; 74 (BYTE *) &out->results.digests[out->results.count].digest); 80 (BYTE *) &out->results.digests[out->results.count].digest); 81 out->results.count++;
|
/external/v8/ |
H A D | PRESUBMIT.py | 72 results = [] 75 results.append(output_api.PresubmitError("C++ lint check failed")) 78 results.append(output_api.PresubmitError( 83 results.append(output_api.PresubmitError("Status file check failed")) 84 results.extend(input_api.canned_checks.CheckAuthorizedAuthor( 86 return results 128 results = [] 130 results.append(output_api.PresubmitError( 134 results.append(output_api.PresubmitPromptOrNotify( 139 return results [all...] |
/external/valgrind/none/tests/darwin/ |
H A D | access_extended.c | 23 int results[3]; local 35 retval = syscall(SYS_access_extended, entries, entries_szB, results, 40 name1, results[0], strerror(results[0])); 42 name1, results[1], strerror(results[1])); 44 name2, results[2], strerror(results[2]));
|
/external/autotest/client/site_tests/power_BacklightSuspend/ |
H A D | power_BacklightSuspend.py | 16 results = {} 19 results['initial_brightness'] = backlight.get_level() 25 if resume_level == results['initial_brightness']: 37 results['resume_brightness'] = resume_level 38 self.write_perf_keyval(results)
|
/external/easymock/src/org/easymock/internal/ |
H A D | UnorderedBehavior.java | 26 private final List<ExpectedInvocationAndResults> results = new ArrayList<ExpectedInvocationAndResults>();
field in class:UnorderedBehavior 36 for (ExpectedInvocationAndResults entry : results) {
44 results.add(new ExpectedInvocationAndResults(expected, list));
48 for (ExpectedInvocationAndResults entry : results) {
70 for (ExpectedInvocationAndResults entry : results) {
79 List<ErrorMessage> messages = new ArrayList<ErrorMessage>(results
81 for (ExpectedInvocationAndResults entry : results) {
104 } else if (results.isEmpty() || !this.checkOrder) {
107 ExpectedInvocation lastMethodCall = results.get(results [all...] |