Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 25 of 95) sorted by relevance

1234

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dlpwatch.py51 fields = line.split()
52 n = len(fields)
53 if len(fields) >= 6 and fields[n-1] == 'bytes':
54 rank, user, job = fields[0:3]
55 files = fields[3:-2]
56 bytes = int(fields[n-2])
69 if fields and fields[0] != 'Rank':
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_uuid.py19 for (string, curly, hex, bytes, bytes_le, fields, integer, urn,
152 uuid.UUID(fields=fields), uuid.UUID(int=integer),
159 equal(u.fields, fields)
160 equal(u.time_low, fields[0])
161 equal(u.time_mid, fields[1])
162 equal(u.time_hi_version, fields[2])
163 equal(u.clock_seq_hi_variant, fields[3])
164 equal(u.clock_seq_low, fields[4])
165 equal(u.node, fields[5])
214 badvalue(lambda: uuid.UUID(fields=(1,)))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dmailcap.py76 key, fields = parseline(line)
77 if not (key and fields):
86 caps[key].append(fields)
88 caps[key] = [fields]
97 fields = []
101 fields.append(field)
103 if len(fields) < 2:
105 key, view, rest = fields[0], fields[1], fields[2:]
106 fields = {'view': view}
115 if fkey in fields:
[all …]
Dmimetools.py43 fields = str.split('/')
44 for i in range(len(fields)):
45 fields[i] = fields[i].strip().lower()
46 self.type = '/'.join(fields)
47 self.maintype = fields[0]
48 self.subtype = '/'.join(fields[1:])
Duuid.py101 def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None, argument
128 if [hex, bytes, bytes_le, fields, int].count(None) != 4:
146 if fields is not None:
147 if len(fields) != 6:
150 clock_seq_hi_variant, clock_seq_low, node) = fields
221 fields = property(get_fields) variable in UUID
522 return UUID(fields=(time_low, time_mid, time_hi_version,
Dast.py94 fields = [(a, _format(b)) for a, b in iter_fields(node)]
96 ('%s=%s' % field for field in fields)
98 (b for a, b in fields)
101 rv += fields and ', ' or ' '
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dasdl.py161 def p_product(self, (_0, fields, _1)): argument
164 fields.reverse()
165 return Product(fields)
183 def p_constructor_1(self, (id, _0, fields, _1)): argument
186 fields.reverse()
187 return Constructor(id, fields)
193 def p_fields_1(self, (field, _, fields)): argument
195 return fields + [field]
251 def __init__(self, name, fields=None): argument
253 self.fields = fields or []
[all …]
Dasdl_c.py77 if t.fields:
177 if cons.fields:
179 for f in cons.fields:
202 for f in product.fields:
225 def get_args(self, fields): argument
233 for f in fields:
253 args = self.get_args(cons.fields)
275 self.get_args(prod.fields), [], union=False)
402 def buildArgs(self, fields): argument
403 return ", ".join(fields + ["arena"])
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
Dmkstringprep.py79 fields = l.split(";") variable
80 if len(fields) > 1:
82 fields = fields[:-1] variable
83 if len(fields) == 1:
84 fields = fields[0].split("-") variable
85 if len(fields) > 1:
88 start, end = fields
92 start = end = fields[0]
98 code, value = fields
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/
Dcheckextensions_win32.py138 fields = line.strip().split("=", 2)
139 if fields[0]=="SOURCE":
140 if os.path.splitext(fields[1])[1].lower() in ['.cpp', '.c']:
141 ret.append( win32api.GetFullPathName(os.path.join(dsp_path, fields[1] ) ) )
/device/generic/goldfish/gnss/
Dgnss_hw_listener.cpp96 if (const char* fields = testNmeaField(begin, end, "GPRMC", ',')) { in parse() local
97 return parseGPRMC(fields, end, ts); in parse()
98 } else if (const char* fields = testNmeaField(begin, end, "GPGGA", ',')) { in parse() local
99 return parseGPGGA(fields, end, ts); in parse()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_csv.c117 PyObject *fields; /* field list for current record */ member
547 PyList_Append(self->fields, field); in parse_save_field()
763 Py_XDECREF(self->fields); in parse_reset()
764 self->fields = PyList_New(0); in parse_reset()
765 if (self->fields == NULL) in parse_reset()
777 PyObject *fields = NULL; in Reader_iternext() local
819 fields = self->fields; in Reader_iternext()
820 self->fields = NULL; in Reader_iternext()
822 return fields; in Reader_iternext()
831 Py_XDECREF(self->fields); in Reader_dealloc()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_csv.c117 PyObject *fields; /* field list for current record */ member
557 PyList_Append(self->fields, field); in parse_save_field()
773 Py_XDECREF(self->fields); in parse_reset()
774 self->fields = PyList_New(0); in parse_reset()
775 if (self->fields == NULL) in parse_reset()
787 PyObject *fields = NULL; in Reader_iternext() local
833 fields = self->fields; in Reader_iternext()
834 self->fields = NULL; in Reader_iternext()
836 return fields; in Reader_iternext()
845 Py_XDECREF(self->fields); in Reader_dealloc()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dast.py94 fields = [(a, _format(b)) for a, b in iter_fields(node)]
96 ('%s=%s' % field for field in fields)
98 (b for a, b in fields)
101 rv += fields and ', ' or ' '
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
Dmakechangelog.py51 fields = parsedateprog.group(1, 2, 3, 4, 5, 6)
54 tfields = map(string.atoi, fields) + [0, 0, 0]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/msi/
Dmsilib.py84 self.fields = []
87 self.fields.append((index,name,type))
90 fields = []
92 self.fields.sort()
93 fields = [None]*len(self.fields)
94 for index, name, type in self.fields:
124 fields[index] = "`%s` %s%s" % (name, tname, flags)
127 fields = ", ".join(fields)
129 return "CREATE TABLE %s (%s PRIMARY KEY %s)" % (self.name, fields, keys)
/device/linaro/bootloader/edk2/UefiCpuPkg/Application/Cpuid/
DCpuid.uni6 // the values of all the bit fields in the registers returned by each CPUID
22 …b-leafs that a CPU supports. It also displays the values of all the bit fields in the registers r…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dstructseq.h18 struct PyStructSequence_Field *fields; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dstructseq.h18 struct PyStructSequence_Field *fields; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SmbiosMeasurementDxe/
DSmbiosMeasurementDxe.inf5 # filter some fields in SMBIOS table.
11 # A platform may use its own policy to filter some fields in SMBIOS table.
/device/google/sunfish/thermal-engine/
Dthermal_client.h79 struct field_data *fields; member
/device/google/crosshatch/sdm845/thermal-engine/
Dthermal_client.h79 struct field_data *fields; member
/device/google/bonito/sdm710/thermal-engine/
Dthermal_client.h79 struct field_data *fields; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dstructseq.c491 for (i = 0; desc->fields[i].name != NULL; ++i) in PyStructSequence_InitType()
492 if (desc->fields[i].name == PyStructSequence_UnnamedField) in PyStructSequence_InitType()
508 if (desc->fields[i].name == PyStructSequence_UnnamedField) in PyStructSequence_InitType()
510 members[k].name = desc->fields[i].name; in PyStructSequence_InitType()
515 members[k].doc = desc->fields[i].doc; in PyStructSequence_InitType()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dstructseq.c492 for (i = 0; desc->fields[i].name != NULL; ++i) in PyStructSequence_InitType()
493 if (desc->fields[i].name == PyStructSequence_UnnamedField) in PyStructSequence_InitType()
509 if (desc->fields[i].name == PyStructSequence_UnnamedField) in PyStructSequence_InitType()
511 members[k].name = desc->fields[i].name; in PyStructSequence_InitType()
516 members[k].doc = desc->fields[i].doc; in PyStructSequence_InitType()

1234