/external/icu4c/i18n/ |
regexcst.pl | 37 @fields = split(); 40 # Remove # comments, which are any fields beginning with a #, plus all 42 for ($i=0; $i<@fields; $i++) { 43 if ($fields[$i] =~ /^#/) { 44 @fields = @fields[0 .. $i-1]; 48 # ignore blank lines, and those with no fields left after stripping comments.. 49 if (@fields == 0) { 59 if (@fields[0] =~ /.*:$/) { 60 $state_name = @fields[0] [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
WebPasswordFormData.cpp | 54 bool locateSpecificPasswords(PasswordFormFields* fields, 58 ASSERT(fields); 61 switch (fields->passwords.size()) { 64 *password = fields->passwords[0]; 67 if (fields->passwords[0]->value() == fields->passwords[1]->value()) 69 *password = fields->passwords[0]; 72 *oldPassword = fields->passwords[0]; 73 *password = fields->passwords[1]; 77 if (fields->passwords[0]->value() == fields->passwords[1]->value( [all...] |
WebPasswordFormUtils.cpp | 39 // fields. 57 // Maximum number of password fields we will observe before throwing our 61 void findPasswordFormFields(HTMLFormElement* form, PasswordFormFields* fields) 64 ASSERT(fields); 67 // First, find the password fields and activated submit button 74 fields->submit = formElement; 83 if ((fields->passwords.size() < maxPasswords) 86 if (fields->passwords.isEmpty()) 88 fields->passwords.append(inputElement); 92 if (!fields->passwords.isEmpty()) [all...] |
/external/icu4c/common/ |
rbbicst.pl | 36 @fields = split(); 39 # Remove # comments, which are any fields beginning with a #, plus all 41 for ($i=0; $i<@fields; $i++) { 42 if ($fields[$i] =~ /^#/) { 43 @fields = @fields[0 .. $i-1]; 47 # ignore blank lines, and those with no fields left after stripping comments.. 48 if (@fields == 0) { 58 if (@fields[0] =~ /.*:$/) { 59 $state_name = @fields[0] [all...] |
/tools/motodev/src/plugins/db.core/src/com/motorolamobility/studio/android/db/core/model/ |
TableModel.java | 32 private List<Field> fields;
field in class:TableModel 36 fields = new LinkedList<Field>();
42 * @param fields The table fields
44 public TableModel(String name, List<Field> fields)
47 this.fields = fields;
67 * @return the fields
71 return fields;
75 * @param fields the fields to set [all...] |
/libcore/luni/src/main/java/java/util/ |
Grego.java | 115 public static int[] dayToFields(long day, int[] fields) {
116 if (fields == null || fields.length < 5) {
117 fields = new int[5];
151 fields[0] = year;
152 fields[1] = month;
153 fields[2] = dayOfMonth;
154 fields[3] = dayOfWeek;
155 fields[4] = dayOfYear;
157 return fields;
[all...] |
GregorianCalendar.java | 362 if (fields[ERA] == AD) { 380 int month = fields[MONTH] + value; 389 set(YEAR, fields[YEAR] + value); 390 int days = daysInMonth(isLeapYear(fields[YEAR]), fields[MONTH]); 391 if (fields[DATE] > days) { 481 fields[DAY_OF_YEAR] = dayOfYear; 482 if(fields[YEAR] == changeYear && gregorianCutover <= timeVal + zoneOffset){ 486 boolean leapYear = isLeapYear(fields[YEAR]); 492 fields[DAY_OF_WEEK] = mod7(days - 3) + 1 [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
NoExecutePermissionTest.java | 44 String[] fields = line.split("\\s+"); local 48 if (fields != null && fields.length >= 1) { 49 String permissions = fields[1]; 50 if (fields.length >= 6) { 51 String tag = fields[5];
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldObjectInputStreamGetFieldTest.java | 100 ObjectInputStream.GetField fields = object.getField; local 103 fields.defaulted("noField"); 108 fields.defaulted("longValue")); 110 // Now the same with defaulted fields. 114 fields = defaultedObject.getField; 117 fields.defaulted("longValue")); 124 ObjectInputStream.GetField fields = object.getField; local 128 fields.get("noValue", false); 134 fields.get("noValue", (byte) 0); 140 fields.get("noValue", (char) 0) [all...] |
/external/chromium/webkit/glue/ |
form_data.cc | 19 fields(data.fields) { 31 fields == form.fields);
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
DynamicMessage.java | 48 private final FieldSet<FieldDescriptor> fields; field in class:DynamicMessage 55 private DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, 58 this.fields = fields; 151 return fields.getAllFields(); 156 return fields.hasField(field); 161 Object result = fields.getField(field); 174 return fields.getRepeatedFieldCount(field); 179 return fields.getRepeatedField(field, index); 187 FieldSet<FieldDescriptor> fields) { 254 private FieldSet<FieldDescriptor> fields; field in class:DynamicMessage.Builder [all...] |
/libcore/luni/src/main/java/java/text/ |
DecimalFormatSymbols.java | 587 ObjectOutputStream.PutField fields = stream.putFields(); local 588 fields.put("currencySymbol", currencySymbol); 589 fields.put("decimalSeparator", getDecimalSeparator()); 590 fields.put("digit", getDigit()); 591 fields.put("exponential", exponentSeparator.charAt(0)); 592 fields.put("exponentialSeparator", exponentSeparator); 593 fields.put("groupingSeparator", getGroupingSeparator()); 594 fields.put("infinity", infinity); 595 fields.put("intlCurrencySymbol", intlCurrencySymbol); 596 fields.put("minusSign", getMinusSign()) 609 ObjectInputStream.GetField fields = stream.readFields(); local [all...] |
DecimalFormat.java | 1147 ObjectOutputStream.PutField fields = stream.putFields(); local 1185 ObjectInputStream.GetField fields = stream.readFields(); local [all...] |
/tools/motodev/src/plugins/android.codeutils/src/com/motorola/studio/android/db/wizards/model/ |
Table.java | 32 private final List<Field> fields = new ArrayList<Field>(); field in class:Table 42 Iterator<Field> it = fields.iterator(); 80 return fields; 83 public void setFields(List<Field> fields) 85 this.fields.clear(); 86 if (fields != null) 88 for (Field field : fields) 90 this.fields.add(field); 101 fields.add(field); 110 fields.remove(obj) [all...] |
/external/proguard/src/proguard/classfile/editor/ |
ClassEditor.java | 123 Field[] fields = targetClass.fields; local 126 if (fields.length <= fieldsCount) 128 targetClass.fields = new ProgramField[fieldsCount+1]; 129 System.arraycopy(fields, 0, 130 targetClass.fields, 0, 132 fields = targetClass.fields; 141 fields[targetClass.u2fieldsCount++] = field; 152 Field[] fields = targetClass.fields local 173 Field[] fields = targetClass.fields; local [all...] |
/external/icu4c/test/intltest/ |
ucdtest.h | 12 char *fields[][2], int32_t fieldCount, 17 char *fields[][2], int32_t fieldCount, 44 char *fields[][2], int32_t fieldCount, 49 char *fields[][2], int32_t fieldCount,
|
/external/clang/bindings/python/tests/cindex/ |
test_type.py | 32 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.TYPEDE [all...] |
/external/chromium/testing/gmock/src/ |
gmock-matchers.cc | 68 // Joins a vector of strings as if they are fields of a tuple; returns 70 string JoinAsTuple(const Strings& fields) { 71 switch (fields.size()) { 75 return fields[0]; 77 string result = "(" + fields[0]; 78 for (size_t i = 1; i < fields.size(); i++) { 80 result += fields[i];
|
/external/regex-re2/re2/ |
unicode.py | 129 number of fields. The first field is known to be the Unicode value 132 The reader calls doline(codes, fields) for each entry in the table. 140 nfields: the number of expected fields per line in that file. 148 raise InputError("invalid number of fields %d" % (nfields,)) 172 # Split fields on ";", chop more white space. 173 # Must have the expected number of fields. 174 fields = [s.strip() for s in line.split(";")] 175 if len(fields) != nfields: 176 raise InputError("wrong number of fields %d %d - %s" % 177 (len(fields), nfields, line) [all...] |
/external/chromium/chrome/browser/autofill/ |
personal_data_manager_unittest.cc | 525 form.fields.push_back(field); 528 form.fields.push_back(field); 531 form.fields.push_back(field); 534 form.fields.push_back(field); 537 form.fields.push_back(field); 540 form.fields.push_back(field); 543 form.fields.push_back(field); 572 form.fields.push_back(field); 575 form.fields.push_back(field); 578 form.fields.push_back(field) [all...] |
/frameworks/base/core/jni/ |
android_media_ToneGenerator.cpp | 39 static fields_t fields; variable 45 fields.context); 58 fields.context); 70 fields.context); 80 fields.context); 83 env->SetIntField(thiz, fields.context, 0); 92 env->SetIntField(thiz, fields.context, 0); 110 env->SetIntField(thiz, fields.context, (int)lpToneGen); 112 ALOGV("ToneGenerator fields.context: %x", env->GetIntField(thiz, fields.context)) [all...] |
/libcore/luni/src/main/java/java/net/ |
Inet6Address.java | 254 ObjectOutputStream.PutField fields = stream.putFields(); local 256 fields.put("ipaddress", null); 258 fields.put("ipaddress", ipaddress); 261 fields.put("scope_id", scope_id); 262 fields.put("scope_id_set", scope_id_set); 263 fields.put("scope_ifname_set", scope_ifname_set); 264 fields.put("ifname", ifname); 269 ObjectInputStream.GetField fields = stream.readFields(); local 270 ipaddress = (byte[]) fields.get("ipaddress", null); 271 scope_id = fields.get("scope_id", 0) [all...] |
/external/protobuf/src/google/protobuf/ |
reflection_ops.cc | 60 vector<const FieldDescriptor*> fields; local 61 from_reflection->ListFields(from, &fields); 62 for (int i = 0; i < fields.size(); i++) { 63 const FieldDescriptor* field = fields[i]; 126 vector<const FieldDescriptor*> fields; local 127 reflection->ListFields(*message, &fields); 128 for (int i = 0; i < fields.size(); i++) { 129 reflection->ClearField(message, fields[i]); 139 // Check required fields of this message. 149 vector<const FieldDescriptor*> fields; local 179 vector<const FieldDescriptor*> fields; local 234 vector<const FieldDescriptor*> fields; local [all...] |
/external/mesa3d/src/glsl/ |
glsl_types.cpp | 63 memset(& fields, 0, sizeof(fields)); 78 memset(& fields, 0, sizeof(fields)); 81 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, 93 this->fields.structure = hieralloc_array(this->mem_ctx, 96 this->fields.structure[i].type = fields[i].type; 97 this->fields.structure[i].name = hieralloc_strdup(this->fields.structure [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPHeaderNamesCache.java | 15 Field[] fields = SIPHeaderNames.class.getFields(); typedefs 16 for (int i = 0; i < fields.length; i++) { 17 Field field = fields[i];
|