Home
last modified time | relevance | path

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

12345678910>>...52

/external/chromium_org/third_party/libjingle/source/talk/base/
Dstringencode_unittest.cc234 std::vector<std::string> fields; in TEST() local
236 EXPECT_EQ(5ul, tokenize("one two three four five", ' ', &fields)); in TEST()
237 fields.clear(); in TEST()
238 EXPECT_EQ(1ul, tokenize("one", ' ', &fields)); in TEST()
241 fields.clear(); in TEST()
242 EXPECT_EQ(5ul, tokenize(" one two three four five ", ' ', &fields)); in TEST()
243 fields.clear(); in TEST()
244 EXPECT_EQ(1ul, tokenize(" one ", ' ', &fields)); in TEST()
245 fields.clear(); in TEST()
246 EXPECT_EQ(0ul, tokenize(" ", ' ', &fields)); in TEST()
[all …]
/external/chromium_org/third_party/icu/source/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/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/clang/bindings/python/tests/cindex/
Dtest_type.py32 fields = list(teststruct.get_children())
33 assert all(x.kind == CursorKind.FIELD_DECL for x in fields)
34 assert all(x.translation_unit is not None for x in fields)
36 assert fields[0].spelling == 'a'
37 assert not fields[0].type.is_const_qualified()
38 assert fields[0].type.kind == TypeKind.INT
39 assert fields[0].type.get_canonical().kind == TypeKind.INT
41 assert fields[1].spelling == 'b'
42 assert not fields[1].type.is_const_qualified()
43 assert fields[1].type.kind == TypeKind.TYPEDEF
[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/chromium_org/third_party/icu/source/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/chromium_org/third_party/WebKit/Source/web/
DWebPasswordFormData.cpp51 bool locateSpecificPasswords(PasswordFormFields* fields, in locateSpecificPasswords() argument
55 ASSERT(fields); in locateSpecificPasswords()
58 switch (fields->passwords.size()) { in locateSpecificPasswords()
61 *password = fields->passwords[0]; in locateSpecificPasswords()
64 if (fields->passwords[0]->value() == fields->passwords[1]->value()) in locateSpecificPasswords()
66 *password = fields->passwords[0]; in locateSpecificPasswords()
69 *oldPassword = fields->passwords[0]; in locateSpecificPasswords()
70 *password = fields->passwords[1]; in locateSpecificPasswords()
74 if (fields->passwords[0]->value() == fields->passwords[1]->value() in locateSpecificPasswords()
75 && fields->passwords[0]->value() == fields->passwords[2]->value()) { in locateSpecificPasswords()
[all …]
DWebPasswordFormUtils.cpp58 void findPasswordFormFields(HTMLFormElement* form, PasswordFormFields* fields) in findPasswordFormFields() argument
61 ASSERT(fields); in findPasswordFormFields()
70 fields->submit = control; in findPasswordFormFields()
79 if ((fields->passwords.size() < maxPasswords) in findPasswordFormFields()
83 if (fields->passwords.isEmpty() && latestInputElement) { in findPasswordFormFields()
84 fields->userName = latestInputElement; in findPasswordFormFields()
86 if (!fields->alternateUserNames.isEmpty() && !latestInputElement->value().isEmpty()) in findPasswordFormFields()
87 fields->alternateUserNames.removeLast(); in findPasswordFormFields()
89 fields->passwords.append(inputElement); in findPasswordFormFields()
99 fields->alternateUserNames.append(inputElement->value()); 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 …]
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DDynamicMessage.java49 private final FieldSet<FieldDescriptor> fields; field in DynamicMessage
56 private DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, in DynamicMessage() argument
59 this.fields = fields; in DynamicMessage()
152 return fields.getAllFields(); in getAllFields()
157 return fields.hasField(field); in hasField()
162 Object result = fields.getField(field); in getField()
177 return fields.getRepeatedFieldCount(field); in getRepeatedFieldCount()
182 return fields.getRepeatedField(field, index); in getRepeatedField()
190 FieldSet<FieldDescriptor> fields) { in isInitialized() argument
194 if (!fields.hasField(field)) { in isInitialized()
[all …]
DFieldSet.java71 private final SmallSortedMap<FieldDescriptorType, Object> fields; field in FieldSet
77 this.fields = SmallSortedMap.newFieldMap(16); in FieldSet()
85 this.fields = SmallSortedMap.newFieldMap(0); in FieldSet()
110 fields.makeImmutable(); in makeImmutable()
135 for (int i = 0; i < fields.getNumArrayEntries(); i++) { in clone()
136 Map.Entry<FieldDescriptorType, Object> entry = fields.getArrayEntryAt(i); in clone()
141 fields.getOverflowEntries()) { in clone()
153 fields.clear(); in clear()
164 for (int i = 0; i < fields.getNumArrayEntries(); i++) { in getAllFields()
165 cloneFieldEntry(result, fields.getArrayEntryAt(i)); in getAllFields()
[all …]
/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/
Daddress_field_util.cc32 std::map<char, AddressField> fields; in InitFields() local
33 fields.insert(std::make_pair('R', COUNTRY)); in InitFields()
34 fields.insert(std::make_pair('S', ADMIN_AREA)); in InitFields()
35 fields.insert(std::make_pair('C', LOCALITY)); in InitFields()
36 fields.insert(std::make_pair('D', DEPENDENT_LOCALITY)); in InitFields()
37 fields.insert(std::make_pair('x', SORTING_CODE)); in InitFields()
38 fields.insert(std::make_pair('Z', POSTAL_CODE)); in InitFields()
39 fields.insert(std::make_pair('A', STREET_ADDRESS)); in InitFields()
40 fields.insert(std::make_pair('O', ORGANIZATION)); in InitFields()
41 fields.insert(std::make_pair('N', RECIPIENT)); in InitFields()
[all …]
/external/chromium_org/components/autofill/core/browser/
Dautofill_manager_unittest.cc221 form->fields.push_back(field); in CreateTestCreditCardFormData()
223 form->fields.push_back(field); in CreateTestCreditCardFormData()
227 form->fields.push_back(field); in CreateTestCreditCardFormData()
230 form->fields.push_back(field); in CreateTestCreditCardFormData()
232 form->fields.push_back(field); in CreateTestCreditCardFormData()
294 ASSERT_EQ(form_size, filled_form.fields.size()); in ExpectFilledForm()
298 filled_form.fields[0]); in ExpectFilledForm()
300 filled_form.fields[1]); in ExpectFilledForm()
302 filled_form.fields[2]); in ExpectFilledForm()
304 filled_form.fields[3]); in ExpectFilledForm()
[all …]
Dpersonal_data_manager_unittest.cc600 form.fields.push_back(field); in TEST_F()
603 form.fields.push_back(field); in TEST_F()
606 form.fields.push_back(field); in TEST_F()
609 form.fields.push_back(field); in TEST_F()
611 form.fields.push_back(field); in TEST_F()
613 form.fields.push_back(field); in TEST_F()
615 form.fields.push_back(field); in TEST_F()
642 form.fields.push_back(field); in TEST_F()
645 form.fields.push_back(field); in TEST_F()
647 form.fields.push_back(field); in TEST_F()
[all …]
Dform_structure_unittest.cc47 form.fields.begin(); in operator <<()
48 iter != form.fields.end(); ++iter) { in operator <<()
74 form.fields.push_back(field); in TEST()
79 form.fields.push_back(field); in TEST()
84 form.fields.push_back(field); in TEST()
90 form.fields.push_back(field); in TEST()
107 form.fields.push_back(field); in TEST()
112 form.fields.push_back(field); in TEST()
117 form.fields.push_back(field); in TEST()
122 form.fields.push_back(field); in TEST()
[all …]
/external/chromium_org/third_party/jinja2/
Dnodes.py123 fields = () variable in Node
127 def __init__(self, *fields, **attributes): argument
130 if fields:
131 if len(fields) != len(self.fields):
132 if not self.fields:
137 len(self.fields),
138 len(self.fields) != 1 and 's' or ''
140 for name, arg in izip(self.fields, fields):
155 for name in self.fields:
203 if 'ctx' in node.fields:
[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 …]
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_socket_utils.cc84 ppapi::PPB_X509Certificate_Fields* fields) { in GetCertificateFields() argument
86 fields->SetField(PP_X509CERTIFICATE_PRIVATE_ISSUER_COMMON_NAME, in GetCertificateFields()
88 fields->SetField(PP_X509CERTIFICATE_PRIVATE_ISSUER_LOCALITY_NAME, in GetCertificateFields()
90 fields->SetField(PP_X509CERTIFICATE_PRIVATE_ISSUER_STATE_OR_PROVINCE_NAME, in GetCertificateFields()
92 fields->SetField(PP_X509CERTIFICATE_PRIVATE_ISSUER_COUNTRY_NAME, in GetCertificateFields()
94 fields->SetField(PP_X509CERTIFICATE_PRIVATE_ISSUER_ORGANIZATION_NAME, in GetCertificateFields()
96 fields->SetField(PP_X509CERTIFICATE_PRIVATE_ISSUER_ORGANIZATION_UNIT_NAME, in GetCertificateFields()
100 fields->SetField(PP_X509CERTIFICATE_PRIVATE_SUBJECT_COMMON_NAME, in GetCertificateFields()
102 fields->SetField(PP_X509CERTIFICATE_PRIVATE_SUBJECT_LOCALITY_NAME, in GetCertificateFields()
104 fields->SetField(PP_X509CERTIFICATE_PRIVATE_SUBJECT_STATE_OR_PROVINCE_NAME, in GetCertificateFields()
[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/chromium_org/third_party/mesa/src/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 = ralloc_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 = ralloc_strdup(this->fields.structure, in glsl_type()
98 fields[i].name); in glsl_type()
118 return this->fields.array->contains_sampler(); in contains_sampler()
121 if (this->fields.structure[i].type->contains_sampler()) in contains_sampler()
133 const glsl_type *const t = (this->is_array()) ? this->fields.array : this; in sampler_index()
[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 = ralloc_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 = ralloc_strdup(this->fields.structure, in glsl_type()
98 fields[i].name); in glsl_type()
118 return this->fields.array->contains_sampler(); in contains_sampler()
121 if (this->fields.structure[i].type->contains_sampler()) in contains_sampler()
133 const glsl_type *const t = (this->is_array()) ? this->fields.array : this; in sampler_index()
[all …]
/external/chromium_org/components/autofill/core/common/
Dform_data.cc27 void SerializeFormFieldDataVector(const std::vector<FormFieldData> fields, in SerializeFormFieldDataVector() argument
29 pickle->WriteInt(static_cast<int>(fields.size())); in SerializeFormFieldDataVector()
30 for (size_t i = 0; i < fields.size(); ++i) { in SerializeFormFieldDataVector()
31 SerializeFormFieldData(fields[i], pickle); in SerializeFormFieldDataVector()
36 std::vector<FormFieldData>* fields) { in DeserializeFormFieldDataVector() argument
46 fields->push_back(temp); in DeserializeFormFieldDataVector()
63 fields(data.fields) { in FormData()
75 fields == form.fields; in operator ==()
89 for (size_t i = 0; i < form.fields.size(); ++i) { in operator <<()
90 os << form.fields[i] << ","; in operator <<()
[all …]
/external/chromium_org/third_party/icu/source/test/cintltst/
Dreapits.c1010 UChar *fields[10]; in TestRegexCAPI() local
1030 memset(fields, -1, sizeof(fields)); in TestRegexCAPI()
1032 uregex_split(re, buf, sizeof(buf)/2, &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1038 TEST_ASSERT_STRING("first ", fields[0], TRUE); in TestRegexCAPI()
1039 TEST_ASSERT_STRING(" second", fields[1], TRUE); in TestRegexCAPI()
1040 TEST_ASSERT_STRING(" third", fields[2], TRUE); in TestRegexCAPI()
1041 TEST_ASSERT(fields[3] == NULL); in TestRegexCAPI()
1062 memset(fields, -1, sizeof(fields)); in TestRegexCAPI()
1064 uregex_split(re, buf, sizeof(buf)/2, &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1070 TEST_ASSERT_STRING("first ", fields[0], TRUE); in TestRegexCAPI()
[all …]
/external/icu4c/test/cintltst/
Dreapits.c1051 UChar *fields[10]; in TestRegexCAPI() local
1071 memset(fields, -1, sizeof(fields)); in TestRegexCAPI()
1073 uregex_split(re, buf, sizeof(buf)/2, &requiredCapacity, fields, 10, &status); in TestRegexCAPI()
1079 TEST_ASSERT_STRING("first ", fields[0], TRUE); in TestRegexCAPI()
1080 TEST_ASSERT_STRING(" second", fields[1], TRUE); in TestRegexCAPI()
1081 TEST_ASSERT_STRING(" third", fields[2], TRUE); in TestRegexCAPI()
1082 TEST_ASSERT(fields[3] == NULL); in TestRegexCAPI()
1103 memset(fields, -1, sizeof(fields)); in TestRegexCAPI()
1105 uregex_split(re, buf, sizeof(buf)/2, &requiredCapacity, fields, 2, &status); in TestRegexCAPI()
1111 TEST_ASSERT_STRING("first ", fields[0], TRUE); in TestRegexCAPI()
[all …]

12345678910>>...52