/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
H A D | clockres.py | 26 values = d.keys()
27 values.sort()
29 for i in range(len(values) - 1):
30 diff = values[i+1] - values[i]
|
H A D | CommandLine.py | 299 values = None # Dictionary of passed options (or default values)
variable in class:Application 405 """ Parse the command line and fill in self.values and self.files.
416 self.values = values = {}
419 values[o.prefix+o.name] = o.default
421 values[o.prefix+o.name] = 0
462 if values.has_key(optionname):
463 values[optionname] = values[optionnam [all...] |
H A D | pybench.py | 161 clock()-timing only gives rather inaccurate values (on Linux,
479 for testclass in setupmod.__dict__.values():
818 rounds = self.values['-n']
819 reportfile = self.values['-f']
820 show_bench = self.values['-s']
821 compare_to = self.values['-c']
822 hidenoise = self.values['-d']
823 warp = int(self.values['-w'])
824 withgc = self.values['--with-gc']
825 limitnames = self.values[' [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_colorsys.py | 29 values = [
41 for (rgb, hsv) in values:
56 values = [
68 for (rgb, hls) in values:
|
H A D | test_generators.py | 949 # values = [None] * 3
950 # for values[0] in x():
951 # for values[1] in y():
952 # for values[2] in z():
953 # yield values
955 # So some 3-lists of values *may* be generated, each time we successfully
960 # iterators have side-effects, so that which values *can* be generated at
961 # each slot depend on the values iterated at previous slots.
965 values = [None] * len(gs)
969 yield values
[all...] |
H A D | test_sets.py | 77 self.assertIn(v, self.values)
90 self.values = []
91 self.set = Set(self.values)
92 self.dup = Set(self.values)
101 self.values = [3]
102 self.set = Set(self.values)
103 self.dup = Set(self.values)
118 self.values = [(0, "zero")]
119 self.set = Set(self.values)
120 self.dup = Set(self.values)
[all...] |
H A D | test_cgi.py | 9 # The regression test will have real values in sys.argv, which
139 self.assertItemsEqual(expect.values(), fcd.values())
167 self.assertItemsEqual(sd.values(),
168 first_elts(expect.values()))
181 self.assertItemsEqual(expect.values(), d.values())
|
H A D | test_optparse.py | 408 values = Values()
409 self.assertEqual(vars(values), {})
410 self.assertEqual(values, {})
411 self.assertNotEqual(values, {"foo": "bar"})
412 self.assertNotEqual(values, "")
415 values = Values(defaults=dict)
416 self.assertEqual(vars(values), dict)
417 self.assertEqual(values, dict)
418 self.assertNotEqual(values, {"foo": "bar"})
419 self.assertNotEqual(values, {})
[all...] |
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/src/ |
H A D | mm_jpeg_exif.c | 83 uint8_t *values = (uint8_t *)malloc(count); local 84 if (values == NULL) { 88 memcpy(values, data, count); 89 p_info_data[numOfEntries].tag_entry.data._bytes = values; 111 uint16_t *values = (uint16_t *)malloc(count * sizeof(uint16_t)); local 112 if (values == NULL) { 116 memcpy(values, data, count * sizeof(uint16_t)); 117 p_info_data[numOfEntries].tag_entry.data._shorts = values; 126 uint32_t *values = (uint32_t *)malloc(count * sizeof(uint32_t)); local 127 if (values 141 rat_t *values = (rat_t *)malloc(count * sizeof(rat_t)); local 155 uint8_t *values = (uint8_t *)malloc(count); local 167 int32_t *values = (int32_t *)malloc(count * sizeof(int32_t)); local 182 srat_t *values = (srat_t *)malloc(count * sizeof(srat_t)); local [all...] |
/device/google/wahoo/power-libperfmgr/ |
H A D | Power.cpp | 239 uint64_t *values; local 254 values = stats + (RPM_MODE_XO * MAX_RPM_PARAMS); 256 state->residencyInMsecSinceBoot = values[1]; 257 state->totalTransitions = values[0]; 263 values = stats + (voter * MAX_RPM_PARAMS); 264 state->voters[i].totalTimeInMsecVotedForSinceBoot = values[0] / RPM_CLK; 265 state->voters[i].totalNumberOfTimesVotedSinceBoot = values[1]; 271 values = stats + (RPM_MODE_VMIN * MAX_RPM_PARAMS); 273 state->residencyInMsecSinceBoot = values[1]; 274 state->totalTransitions = values[ [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
H A D | optparse.py | 189 format string controlling how short options with values are
779 def process(self, opt, value, values, parser):
789 self.action, self.dest, opt, value, values, parser)
791 def take_action(self, action, dest, opt, value, values, parser):
793 setattr(values, dest, value)
795 setattr(values, dest, self.const)
797 setattr(values, dest, True)
799 setattr(values, dest, False)
801 values.ensure_value(dest, []).append(value)
803 values [all...] |
H A D | UserDict.py | 44 def values(self): return self.data.values()
member in class:UserDict 119 def values(self):
member in class:DictMixin
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | optparse.py | 189 format string controlling how short options with values are
778 def process(self, opt, value, values, parser):
788 self.action, self.dest, opt, value, values, parser)
790 def take_action(self, action, dest, opt, value, values, parser):
792 setattr(values, dest, value)
794 setattr(values, dest, self.const)
796 setattr(values, dest, True)
798 setattr(values, dest, False)
800 values.ensure_value(dest, []).append(value)
802 values [all...] |
H A D | imputil.py | 285 ispkg, code, values = result
299 # insert additional values into the module (before executing the code)
300 module.__dict__.update(values)
396 is provided in case the module's code expects certain values (such
398 object, then these names/values will be inserted *after* the module
561 values = result[2]
562 values['__pkgdir__'] = pathname
563 values['__path__'] = [ pathname ]
564 return 1, result[1], values
|
/device/linaro/bootloader/edk2/IntelFspPkg/Tools/ |
H A D | PatchFv.py | 188 # Parse INF file in order to get fdBase and then assign those values to dictVariable
577 values = [self.parseBrace()]
583 values.append(self.parseBrace())
587 for each in values:
597 values = [self.parseMul()]
605 values.append(self.parseMul())
610 values.append(self.parseMul())
616 for each in values:
627 # retval sum(values)
630 values [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/ |
H A D | domreg.py | 67 for creator in registered.values():
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/ |
H A D | domreg.py | 67 for creator in registered.values():
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
H A D | bytearrayobject.c | 476 PyObject *values)
484 if (values == (PyObject *)self) {
487 values = PyByteArray_FromObject(values);
488 if (values == NULL)
490 err = bytearray_setslice(self, lo, hi, values);
491 Py_DECREF(values);
494 if (values == NULL) {
500 if (_getbuffer(values, &vbytes) < 0) {
503 Py_TYPE(values) 475 bytearray_setslice(PyByteArrayObject *self, Py_ssize_t lo, Py_ssize_t hi, PyObject *values) argument 588 bytearray_ass_subscript(PyByteArrayObject *self, PyObject *index, PyObject *values) argument [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
H A D | bytearrayobject.c | 476 PyObject *values)
484 if (values == (PyObject *)self) {
487 values = PyByteArray_FromObject(values);
488 if (values == NULL)
490 err = bytearray_setslice(self, lo, hi, values);
491 Py_DECREF(values);
494 if (values == NULL) {
500 if (_getbuffer(values, &vbytes) < 0) {
503 Py_TYPE(values) 475 bytearray_setslice(PyByteArrayObject *self, Py_ssize_t lo, Py_ssize_t hi, PyObject *values) argument 588 bytearray_ass_subscript(PyByteArrayObject *self, PyObject *index, PyObject *values) argument [all...] |
/device/google/cuttlefish_common/guest/hals/camera/ |
H A D | Exif.cpp | 95 // array of floats from |values| 100 const float (&values)[N], 109 static_cast<uint32_t>(values[i] * denominator), 127 float values[1] = { value }; local 129 return createEntry(exifData, ifd, tag, values, denominator); 286 // Create mandatory exif fields and set their default values 315 // Exif orientation values, please refer to 97 createEntry(ExifData* exifData, ExifIfd ifd, int tag, const float (&values)[N], float denominator = 1000.0) argument
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/ |
H A D | decoder.py | 240 values = []
247 return values, end + 1
248 _append = values.append
272 return values, end
300 their corresponding ``float`` values, which is outside the JSON spec.
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
H A D | cvslib.py | 203 for e in self.entries.values():
221 for e in self.values():
255 for e in self.values():
264 def values(self):
member in class:CVS
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/ |
H A D | decoder.py | 239 values = []
246 return values, end + 1
247 _append = values.append
272 return values, end
300 their corresponding ``float`` values, which is outside the JSON spec.
|
/device/linaro/bootloader/edk2/UefiCpuPkg/ResetVector/Vtf0/ |
H A D | Main.asm | 81 ; Some values were calculated in 32-bit mode. Make sure the upper
82 ; 32-bits of 64-bit registers are zero for these values.
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/sax/ |
H A D | xmlreader.py | 336 def values(self):
member in class:AttributesImpl 337 return self._attrs.values()
369 return self._qnames.values()
|