| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
| csv.py | 248 quotechar = reduce(lambda a, b, quotes = quotes:
252 delim = reduce(lambda a, b, delims = delims:
324 modes[char] = reduce(lambda a, b: a[1] > b[1] and a or b,
330 - reduce(lambda a, b: (0, a[1] + b[1]),
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_multibytecodec_support.py | 272 _unichr = lambda c: eval("u'\\U%08x'" % int(c, 16))
273 unichrs = lambda s: u''.join(_unichr(c) for c in s.split('+'))
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
| CommandLine.py | 537 long = filter(lambda x: x.prefix == '--', options)
538 short = filter(lambda x: x.prefix == '-', options)
|
| /external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
| EigenDecompositionImpl.java | 232 for (double lambda : realEigenvalues) { 233 determinant *= lambda;
|
| /external/autotest/client/common_lib/cros/network/ |
| interface.py | 219 read_file = (lambda path: self._run('cat "%s"' % path).stdout.rstrip() 554 defaults.sort(key=lambda x: x.metric)
|
| /external/autotest/client/cros/crash/ |
| user_crash_test.py | 290 lambda: utils.system('pgrep -f crash_reporter.*:%s' % basename, 300 lambda: self._log_reader.can_find(expected_message),
|
| /external/autotest/client/cros/input_playback/ |
| input_playback.py | 173 lambda: len(self._get_input_events()) == expected, 520 lambda: len(self._get_input_events()) == expected,
|
| /external/autotest/client/site_tests/firmware_TouchMTB/ |
| firmware_summary.py | 307 subkey = lambda key: (key[2], key[3], key[1]) 311 sum_len = lambda lst: sum([len(str(l)) if l else 0 for l in lst])
|
| /external/autotest/scheduler/ |
| rdb.py | 320 key=lambda host: len(set(preferred_deps) & set(host.labels)), 453 key=lambda request: request.priority, reverse=True):
|
| /external/autotest/server/ |
| autotest_unittest.py | 34 self.host.job.record = lambda *args: None 35 self.host.verify_job_repo_url = lambda *args: None
|
| /external/autotest/site_utils/ |
| test_runner_utils_unittest.py | 108 lambda log_entry, log_in_subdir=False: None) 132 lambda log_entry, log_in_subdir=False: None)
|
| /external/chromium-trace/catapult/common/py_utils/py_utils/ |
| cloud_storage.py | 270 py_utils.WaitFor(lambda: _AttemptPseudoLockAcquisition(pseudo_lock_path, 278 py_utils.WaitFor(lambda: _AttemptPseudoLockRelease(pseudo_lock_fd),
|
| cloud_storage_unittest.py | 336 cloud_storage.ReadHash = lambda _: 'hashNeW' 339 cloud_storage.CalculateHash = lambda _: 'hashNeW'
|
| /external/deqp/modules/gles3/scripts/ |
| genutil.py | 170 def unary(func): return lambda val: val.applyUnary(func) 173 def binary(func): return lambda a, b: (b.expandVec(a)).applyBinary(func, a.expandVec(b)) 176 def frac(val): return val.applyUnary(lambda x: x - math.floor(x)) 179 def exp2(val): return val.applyUnary(lambda x: math.pow(2.0, x)) 182 def log2(val): return val.applyUnary(lambda x: math.log(x, 2.0)) 185 def rsq(val): return val.applyUnary(lambda x: 1.0 / math.sqrt(x)) 197 def step(a, b): return (b.expandVec(a)).applyBinary(lambda edge, x: [1.0, 0.0][x < edge], a.expandVec(b)) 383 outScalars = map(lambda ndx: inScalars[ndx], indexList)
|
| /external/deqp/modules/gles31/scripts/ |
| genutil.py | 170 def unary(func): return lambda val: val.applyUnary(func) 173 def binary(func): return lambda a, b: (b.expandVec(a)).applyBinary(func, a.expandVec(b)) 176 def frac(val): return val.applyUnary(lambda x: x - math.floor(x)) 179 def exp2(val): return val.applyUnary(lambda x: math.pow(2.0, x)) 182 def log2(val): return val.applyUnary(lambda x: math.log(x, 2.0)) 185 def rsq(val): return val.applyUnary(lambda x: 1.0 / math.sqrt(x)) 197 def step(a, b): return (b.expandVec(a)).applyBinary(lambda edge, x: [1.0, 0.0][x < edge], a.expandVec(b)) 385 outScalars = map(lambda ndx: inScalars[ndx], indexList)
|
| /external/fonttools/Lib/fontTools/misc/ |
| etree.py | 295 buf.writable = lambda: True 395 namespaces.items(), key=lambda x: x[1]
|
| /external/libchrome/third_party/jinja2/ |
| loaders.py | 61 return source, path, lambda: mtime == getmtime(path) 285 return source, None, lambda: source == self.mapping.get(template) 449 lambda x: sys.modules.pop(package_name, None))
|
| /external/libcxx/utils/libcxx/ |
| compiler.py | 186 with_fn = lambda: libcxx.util.guardedTempFilename(suffix='.o') 189 with_fn = lambda: libcxx.util.nullContext(object_file)
|
| /external/mesa3d/src/mesa/tnl/ |
| t_vb_program.c | 195 vp_fetch_texel(struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lambda, 204 &lambda, (GLfloat (*)[4]) color);
|
| /external/python/cpython2/Lib/ |
| cgitb.py | 130 formatvalue=lambda value: '=' + pydoc.html.repr(value)) 214 formatvalue=lambda value: '=' + pydoc.text.repr(value))
|
| csv.py | 252 quotechar = reduce(lambda a, b, quotes = quotes: 256 delim = reduce(lambda a, b, delims = delims: 329 modes[char] = reduce(lambda a, b: a[1] > b[1] and a or b, 335 - reduce(lambda a, b: (0, a[1] + b[1]),
|
| /external/python/cpython2/Lib/multiprocessing/ |
| connection.py | 157 address = property(lambda self: self._listener._address) 158 last_accepted = property(lambda self: self._listener._last_accepted)
|
| /external/python/cpython2/Lib/test/ |
| test_cgi.py | 107 return map(lambda x:x[0], list) 110 return map(lambda p:(p[0], p[1][0]), list)
|
| test_turtle.py | 188 self._assert_arithmetic_cases(test_cases, lambda x, y: x + y) 197 self._assert_arithmetic_cases(test_cases, lambda x, y: x - y)
|
| /external/python/cpython2/Lib/xml/sax/ |
| saxutils.py | 86 buffer.close = lambda: None 91 buffer.writable = lambda: True
|