Home
last modified time | relevance | path

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

12345678910>>...31

/external/icu4c/i18n/
Dregexcst.pl37 @fields = split();
42 for ($i=0; $i<@fields; $i++) {
43 if ($fields[$i] =~ /^#/) {
44 @fields = @fields[0 .. $i-1];
49 if (@fields == 0) {
59 if (@fields[0] =~ /.*:$/) {
60 $state_name = @fields[0];
71 if (@fields == 1) {
74 shift @fields; # shift off label field in preparation
93 if ($fields[0] =~ /^'.'$/) {
[all …]
/external/icu4c/common/
Drbbicst.pl36 @fields = split();
41 for ($i=0; $i<@fields; $i++) {
42 if ($fields[$i] =~ /^#/) {
43 @fields = @fields[0 .. $i-1];
48 if (@fields == 0) {
58 if (@fields[0] =~ /.*:$/) {
59 $state_name = @fields[0];
70 if (@fields == 1) {
73 shift @fields; # shift off label field in preparation
92 if ($fields[0] =~ /^'.'$/) {
[all …]
/external/clang/bindings/python/tests/cindex/
Dtest_type.py29 fields = list(teststruct.get_children())
30 assert all(x.kind == CursorKind.FIELD_DECL for x in fields)
32 assert fields[0].spelling == 'a'
33 assert not fields[0].type.is_const_qualified()
34 assert fields[0].type.kind == TypeKind.INT
35 assert fields[0].type.get_canonical().kind == TypeKind.INT
37 assert fields[1].spelling == 'b'
38 assert not fields[1].type.is_const_qualified()
39 assert fields[1].type.kind == TypeKind.TYPEDEF
40 assert fields[1].type.get_canonical().kind == TypeKind.INT
[all …]
/external/webkit/Source/WebKit/chromium/src/
DWebPasswordFormData.cpp54 bool locateSpecificPasswords(PasswordFormFields* fields, in locateSpecificPasswords() argument
58 ASSERT(fields); in locateSpecificPasswords()
61 switch (fields->passwords.size()) { in locateSpecificPasswords()
64 *password = fields->passwords[0]; in locateSpecificPasswords()
67 if (fields->passwords[0]->value() == fields->passwords[1]->value()) in locateSpecificPasswords()
69 *password = fields->passwords[0]; in locateSpecificPasswords()
72 *oldPassword = fields->passwords[0]; in locateSpecificPasswords()
73 *password = fields->passwords[1]; in locateSpecificPasswords()
77 if (fields->passwords[0]->value() == fields->passwords[1]->value() in locateSpecificPasswords()
78 && fields->passwords[0]->value() == fields->passwords[2]->value()) { in locateSpecificPasswords()
[all …]
DWebPasswordFormUtils.cpp61 void findPasswordFormFields(HTMLFormElement* form, PasswordFormFields* fields) in findPasswordFormFields() argument
64 ASSERT(fields); in findPasswordFormFields()
74 fields->submit = formElement; in findPasswordFormFields()
83 if ((fields->passwords.size() < maxPasswords) in findPasswordFormFields()
86 if (fields->passwords.isEmpty()) in findPasswordFormFields()
88 fields->passwords.append(inputElement); in findPasswordFormFields()
92 if (!fields->passwords.isEmpty()) { in findPasswordFormFields()
108 fields->userName = inputElement; in findPasswordFormFields()
/external/protobuf/java/src/main/java/com/google/protobuf/
DDynamicMessage.java48 private final FieldSet<FieldDescriptor> fields; field in DynamicMessage
55 private DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, in DynamicMessage() argument
58 this.fields = fields; in DynamicMessage()
151 return fields.getAllFields(); in getAllFields()
156 return fields.hasField(field); in hasField()
161 Object result = fields.getField(field); in getField()
174 return fields.getRepeatedFieldCount(field); in getRepeatedFieldCount()
179 return fields.getRepeatedField(field, index); in getRepeatedField()
187 FieldSet<FieldDescriptor> fields) { in isInitialized() argument
191 if (!fields.hasField(field)) { in isInitialized()
[all …]
DFieldSet.java70 private Map<FieldDescriptorType, Object> fields; field in FieldSet
79 fields = new TreeMap<FieldDescriptorType, Object>(); in FieldSet()
87 this.fields = Collections.emptyMap(); in FieldSet()
109 fields.entrySet()) { in makeImmutable()
112 fields.put(entry.getKey(), Collections.unmodifiableList(value)); in makeImmutable()
115 fields = Collections.unmodifiableMap(fields); in makeImmutable()
122 fields.clear(); in clear()
129 return Collections.unmodifiableMap(fields); in getAllFields()
137 return fields.entrySet().iterator(); in iterator()
150 return fields.get(descriptor) != null; in hasField()
[all …]
DUnknownFieldSet.java89 private UnknownFieldSet(final Map<Integer, Field> fields) { in UnknownFieldSet() argument
90 this.fields = fields; in UnknownFieldSet()
92 private Map<Integer, Field> fields; field in UnknownFieldSet
100 fields.equals(((UnknownFieldSet) other).fields); in equals()
105 return fields.hashCode(); in hashCode()
110 return fields; in asMap()
115 return fields.containsKey(number); in hasField()
123 final Field result = fields.get(number); in getField()
129 for (final Map.Entry<Integer, Field> entry : fields.entrySet()) { in writeTo()
199 for (final Map.Entry<Integer, Field> entry : fields.entrySet()) { in getSerializedSize()
[all …]
/external/bluetooth/glib/tests/
Dgen-casemap-txt.pl71 @fields = split (';', $_, 30);
74 printf STDERR ("Entry for $fields[$CODE] has wrong number of fields (%d)\n", $#fields);
77 $code = hex ($fields[$CODE]);
82 if ($fields[$NAME] =~ /Last>/)
86 @gfields = @fields;
101 &process_one ($code, @fields);
120 @fields = split ('\s*;\s*', $_, 30);
122 $raw_code = $fields[$CASE_CODE];
131 if (defined $fields[5]) {
136 $upper[$code] = &make_hex ($fields[$CASE_UPPER]);
[all …]
/external/chromium/chrome/browser/autofill/
Dform_structure_unittest.cc31 form.fields.begin(); in operator <<()
32 iter != form.fields.end(); ++iter) { in operator <<()
54 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("username"), in TEST()
60 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("password"), in TEST()
66 form.fields.push_back(webkit_glue::FormField(string16(), in TEST()
81 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("username"), in TEST()
87 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("password"), in TEST()
93 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("state"), in TEST()
99 form.fields.push_back(webkit_glue::FormField(string16(), in TEST()
127 form.fields.push_back(webkit_glue::FormField(ASCIIToUTF16("username"), in TEST()
[all …]
Dpersonal_data_manager_unittest.cc525 form.fields.push_back(field); in TEST_F()
528 form.fields.push_back(field); in TEST_F()
531 form.fields.push_back(field); in TEST_F()
534 form.fields.push_back(field); in TEST_F()
537 form.fields.push_back(field); in TEST_F()
540 form.fields.push_back(field); in TEST_F()
543 form.fields.push_back(field); in TEST_F()
572 form.fields.push_back(field); in TEST_F()
575 form.fields.push_back(field); in TEST_F()
578 form.fields.push_back(field); in TEST_F()
[all …]
Dautofill_manager_unittest.cc160 form->fields.push_back(field); in CreateTestAddressFormData()
163 form->fields.push_back(field); in CreateTestAddressFormData()
166 form->fields.push_back(field); in CreateTestAddressFormData()
169 form->fields.push_back(field); in CreateTestAddressFormData()
172 form->fields.push_back(field); in CreateTestAddressFormData()
175 form->fields.push_back(field); in CreateTestAddressFormData()
178 form->fields.push_back(field); in CreateTestAddressFormData()
181 form->fields.push_back(field); in CreateTestAddressFormData()
184 form->fields.push_back(field); in CreateTestAddressFormData()
187 form->fields.push_back(field); in CreateTestAddressFormData()
[all …]
/external/proguard/src/proguard/classfile/editor/
DClassEditor.java123 Field[] fields = targetClass.fields; in addField() local
126 if (fields.length <= fieldsCount) in addField()
128 targetClass.fields = new ProgramField[fieldsCount+1]; in addField()
129 System.arraycopy(fields, 0, in addField()
130 targetClass.fields, 0, in addField()
132 fields = targetClass.fields; in addField()
141 fields[targetClass.u2fieldsCount++] = field; in addField()
152 Field[] fields = targetClass.fields; in removeField() local
157 System.arraycopy(fields, fieldIndex+1, in removeField()
158 fields, fieldIndex, in removeField()
[all …]
/external/mesa3d/src/glsl/
Dglsl_types.cpp63 memset(& fields, 0, sizeof(fields)); in glsl_type()
78 memset(& fields, 0, sizeof(fields)); in glsl_type()
81 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type() argument
93 this->fields.structure = hieralloc_array(this->mem_ctx, in glsl_type()
96 this->fields.structure[i].type = fields[i].type; in glsl_type()
97 this->fields.structure[i].name = hieralloc_strdup(this->fields.structure, in glsl_type()
98 fields[i].name); in glsl_type()
255 this->fields.array = array; in glsl_type()
362 assert(t->fields.array == base); in get_array_instance()
384 if (key1->fields.structure[i].type != key2->fields.structure[i].type) in record_key_compare()
[all …]
/external/icu4c/test/cintltst/
Dreapits.c1014 UChar *fields[10]; in TestRegexCAPI() local
1034 memset(fields, -1, sizeof(fields)); in TestRegexCAPI()
1036 uregex_split(re, buf, sizeof(buf)/2, &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1042 TEST_ASSERT_STRING("first ", fields[0], TRUE); in TestRegexCAPI()
1043 TEST_ASSERT_STRING(" second", fields[1], TRUE); in TestRegexCAPI()
1044 TEST_ASSERT_STRING(" third", fields[2], TRUE); in TestRegexCAPI()
1045 TEST_ASSERT(fields[3] == NULL); in TestRegexCAPI()
1066 memset(fields, -1, sizeof(fields)); in TestRegexCAPI()
1068 uregex_split(re, buf, sizeof(buf)/2, &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1074 TEST_ASSERT_STRING("first ", fields[0], TRUE); in TestRegexCAPI()
[all …]
/external/regex-re2/re2/
Dunicode.py174 fields = [s.strip() for s in line.split(";")]
175 if len(fields) != nfields:
177 (len(fields), nfields, line))
184 codes = _URange(fields[0])
185 (name, cont) = _ParseContinue(fields[1])
197 fields[0] = "%04X..%04X" % (codes[0], codes[-1])
198 fields[1] = name
208 doline(codes, fields)
236 def DoLine(codes, fields): argument
238 (_, foldtype, lower, _) = fields
[all …]
/external/protobuf/src/google/protobuf/
Dreflection_ops.cc60 vector<const FieldDescriptor*> fields; in Merge() local
61 from_reflection->ListFields(from, &fields); in Merge()
62 for (int i = 0; i < fields.size(); i++) { in Merge()
63 const FieldDescriptor* field = fields[i]; in Merge()
126 vector<const FieldDescriptor*> fields; in Clear() local
127 reflection->ListFields(*message, &fields); in Clear()
128 for (int i = 0; i < fields.size(); i++) { in Clear()
129 reflection->ClearField(message, fields[i]); in Clear()
149 vector<const FieldDescriptor*> fields; in IsInitialized() local
150 reflection->ListFields(message, &fields); in IsInitialized()
[all …]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
DStructure.java56 private Field[] fields; field in Structure
69 fields = new Field[structure.fields.length]; in Structure()
70 for (int i = 0; i < fields.length; ++i) { in Structure()
71 fields[i] = (Field) structure.fields[i].clone(); in Structure()
99 fields = new Field[fieldsAmount]; in Structure()
103 fields[i] = new Field(names[nameIndex], types[typeIndex], blenderContext); in Structure()
122 for (Field field : fields) { in fill()
134 for (Field field : fields) { in getFieldValue()
150 for (Field field : fields) { in getFlatFieldValue()
206 return fields.length; in getFieldsAmount()
[all …]
/external/icu4c/tools/gensprep/
Dgensprep.c274 char *fields[][2], int32_t fieldCount, in normalizationCorrectionsLineFn()
284 code=(uint32_t)uprv_strtoul(fields[0][0], &end, 16); in normalizationCorrectionsLineFn()
286 …intf(stderr, "gensprep: error parsing NormalizationCorrections.txt mapping at %s\n", fields[0][0]); in normalizationCorrectionsLineFn()
290 s = fields[1][0]; in normalizationCorrectionsLineFn()
297 u_versionFromString(version,fields[3][0] ); in normalizationCorrectionsLineFn()
319 char *fields[4][2]; in parseNormalizationCorrections() local
325 … u_parseDelimitedFile(filename, ';', fields, 4, normalizationCorrectionsLineFn, NULL, pErrorCode); in parseNormalizationCorrections()
337 char *fields[][2], int32_t fieldCount, in strprepProfileLineFn()
349 s = u_skipWhitespace(fields[0][0]); in strprepProfileLineFn()
353 length = fields[0][1] - s; in strprepProfileLineFn()
[all …]
/external/icu4c/test/intltest/
Dregextst.cpp1600 UnicodeString fields[10]; in API_Pattern() local
1603 n = pat1->split("Now is the time", fields, 10, status); in API_Pattern()
1606 REGEX_ASSERT(fields[0]=="Now"); in API_Pattern()
1607 REGEX_ASSERT(fields[1]=="is"); in API_Pattern()
1608 REGEX_ASSERT(fields[2]=="the"); in API_Pattern()
1609 REGEX_ASSERT(fields[3]=="time"); in API_Pattern()
1610 REGEX_ASSERT(fields[4]==""); in API_Pattern()
1612 n = pat1->split("Now is the time", fields, 2, status); in API_Pattern()
1615 REGEX_ASSERT(fields[0]=="Now"); in API_Pattern()
1616 REGEX_ASSERT(fields[1]=="is the time"); in API_Pattern()
[all …]
/external/chromium/testing/gmock/src/
Dgmock-matchers.cc70 string JoinAsTuple(const Strings& fields) { in JoinAsTuple() argument
71 switch (fields.size()) { in JoinAsTuple()
75 return fields[0]; in JoinAsTuple()
77 string result = "(" + fields[0]; in JoinAsTuple()
78 for (size_t i = 1; i < fields.size(); i++) { in JoinAsTuple()
80 result += fields[i]; in JoinAsTuple()
/external/icu4c/tools/toolutil/
Dudbgutil.cpp288 const Field *fields = _udbg_enumFields(type); in udbg_enumName() local
289 if(fields == NULL) { in udbg_enumName()
292 return fields[field].str + fields[field].prefix; in udbg_enumName()
302 const Field *fields = _udbg_enumFields(type); in udbg_enumArrayValue() local
303 if(fields == NULL) { in udbg_enumArrayValue()
306 return fields[field].num; in udbg_enumArrayValue()
315 const Field *fields = _udbg_enumFields(type); in udbg_enumByName() local
317 if(!strcmp(value, fields[field].str + fields[field].prefix)) { in udbg_enumByName()
318 return fields[field].num; in udbg_enumByName()
323 if(!strcmp(value, fields[field].str)) { in udbg_enumByName()
[all …]
/external/v8/tools/
Dlogreader.js134 LogReader.prototype.dispatchLogRow_ = function(fields) { argument
136 var command = fields[0];
150 parsedFields.push(fields[1 + i]);
152 parsedFields.push(parser(fields[1 + i]));
155 parsedFields.push(fields.slice(1 + i));
178 var fields = this.csvParser_.parseLine(line);
179 this.dispatchLogRow_(fields);
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DParseHelper.cpp51 bool TParseContext::parseVectorFields(const TString& compString, int vecSize, TVectorFields& fields in parseVectorFields() argument
53 fields.num = (int) compString.size(); in parseVectorFields()
54 if (fields.num > 4) { in parseVectorFields()
65 for (int i = 0; i < fields.num; ++i) { in parseVectorFields()
68 fields.offsets[i] = 0; in parseVectorFields()
72 fields.offsets[i] = 0; in parseVectorFields()
76 fields.offsets[i] = 0; in parseVectorFields()
80 fields.offsets[i] = 1; in parseVectorFields()
84 fields.offsets[i] = 1; in parseVectorFields()
88 fields.offsets[i] = 1; in parseVectorFields()
[all …]
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
DFieldSerializer.java67 List<Field> fields = new ArrayList<Field>(); in initialize() local
71 Collections.addAll(fields, processingClass.getDeclaredFields()); in initialize()
75 List<SavedField> cachedFields = new ArrayList<SavedField>(fields.size()); in initialize()
76 for (Field field : fields) { in initialize()
122 SavedField[] fields = savedFields.get(c); in readObject()
131 for (SavedField savedField : fields) { in readObject()
159 SavedField[] fields = savedFields.get(object.getClass()); in writeObject() local
160 if (fields == null) in writeObject()
164 for (SavedField savedField : fields) { in writeObject()

12345678910>>...31