/cts/tools/dex-tools/src/dex/reader/ |
DexClassImpl.java | 51 private List<DexField> fields; field in class:DexClassImpl 216 EncodedField[] fields = new EncodedField[size]; local 217 for (int i = 0; i < fields.length; i++) { 218 fields[i] = new EncodedField(); 219 fields[i].field_idx_diff = buffer.readUleb128(); 220 fields[i].access_flags = buffer.readUleb128(); 222 return fields; 249 if (fields == null) { 250 fields = new ArrayList<DexField>(); 252 fields.addAll(getDexFields(classDataItem.staticFields)) [all...] |
/libcore/luni/src/main/java/java/io/ |
ObjectStreamClass.java | 74 * Constant indicating that the class has no Serializable fields. 165 // Array of ObjectStreamField (see below) describing the fields of this 167 private transient ObjectStreamField[] fields; field in class:ObjectStreamClass 169 // Array of ObjectStreamField describing the serialized fields of this class 274 // Copy all fields to loadFields - they should be read by default in 276 ObjectStreamField[] fields = result.getFields(); local 278 if (fields != null) { 279 ObjectStreamField[] loadFields = new ObjectStreamField[fields.length]; 281 for (int i = 0; i < fields.length; ++i) { 282 loadFields[i] = new ObjectStreamField(fields[i].getName() 786 ObjectStreamField[] fields() { method in class:ObjectStreamClass [all...] |
/external/chromium_org/chrome/renderer/autofill/ |
form_autofill_browsertest.cc | 126 const std::vector<FormFieldData>& fields = form.fields; local 127 ASSERT_EQ(labels.size(), fields.size()); 138 EXPECT_FORM_FIELD_DATA_EQUALS(expected, fields[i]); 197 const std::vector<FormFieldData>& fields = form_data.fields; local 198 ASSERT_EQ(number_of_field_cases, fields.size()); 212 EXPECT_FORM_FIELD_DATA_EQUALS(expected, fields[i]); 214 form_data.fields[i].value = ASCIIToUTF16(field_cases[i].autofill_value); 502 // We should not extract the value for non-text and non-select fields 683 const std::vector<FormFieldData>& fields = form.fields; local 798 const std::vector<FormFieldData>& fields = form.fields; local 971 const std::vector<FormFieldData>& fields = form.fields; local 1023 const std::vector<FormFieldData>& fields = form.fields; local 2092 const std::vector<FormFieldData>& fields = form.fields; local 2185 const std::vector<FormFieldData>& fields = form.fields; local 2262 const std::vector<FormFieldData>& fields = form.fields; local 2348 const std::vector<FormFieldData>& fields = form.fields; local 2434 const std::vector<FormFieldData>& fields = form.fields; local 2493 const std::vector<FormFieldData>& fields = form.fields; local 2567 const std::vector<FormFieldData>& fields = form.fields; local 3141 const std::vector<FormFieldData>& fields = form.fields; local [all...] |
autofill_renderer_browsertest.cc | 47 // Verify that "FormsSeen" sends the expected number of fields. 55 ASSERT_EQ(4UL, forms[0].fields.size()); 63 EXPECT_FORM_FIELD_DATA_EQUALS(expected, forms[0].fields[0]); 69 EXPECT_FORM_FIELD_DATA_EQUALS(expected, forms[0].fields[1]); 76 EXPECT_FORM_FIELD_DATA_EQUALS(expected, forms[0].fields[2]); 83 EXPECT_FORM_FIELD_DATA_EQUALS(expected, forms[0].fields[3]); 86 // fields. 113 ASSERT_EQ(3UL, form2.fields.size()); 119 EXPECT_FORM_FIELD_DATA_EQUALS(expected, form2.fields[0]); 125 EXPECT_FORM_FIELD_DATA_EQUALS(expected, form2.fields[1]) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
CsvUtils.java | 41 * spaces around fields before splitting. Note that this behavior doesn't conform to RFC 4180. 117 * Find the index of a comma separator. The search takes account of quoted fields and escape 199 * Split the CSV text into fields. The leading and trailing spaces of the each field can be 203 * spaces around each fields. 204 * @param line the text of CSV fields. 205 * @return the array of unescaped CVS fields. 211 final ArrayList<String> fields = CollectionUtils.newArrayList(); local 219 fields.add(csvText); 222 return fields.toArray(new String[fields.size()]) [all...] |
/frameworks/base/core/jni/android/graphics/ |
SurfaceTexture.cpp | 50 static fields_t fields; member in namespace:android 58 (GLConsumer*)env->GetIntField(thiz, fields.surfaceTexture); 65 env->SetIntField(thiz, fields.surfaceTexture, (int)surfaceTexture.get()); 72 (BufferQueue*)env->GetIntField(thiz, fields.bufferQueue); 79 env->SetIntField(thiz, fields.bufferQueue, (int)bq.get()); 87 env->GetIntField(thiz, fields.frameAvailableListener); 94 env->SetIntField(thiz, fields.frameAvailableListener, (int)listener.get()); 98 return (GLConsumer*)env->GetIntField(thiz, fields.surfaceTexture); 102 return (BufferQueue*)env->GetIntField(thiz, fields.bufferQueue); 184 env->CallStaticVoidMethod(mClazz, fields.postEvent, mWeakThiz) [all...] |
/external/chromium_org/components/autofill/core/browser/ |
name_field.cc | 77 // Exclude e.g. "username" or "nickname" fields. 106 // have the label "Name" followed by two or three text fields. 115 // There are three name fields; assume that the middle one is a 119 } else { // only two name fields 136 // first and last name fields (examples from the test suite: 142 // The ".*first$" matches fields ending in "first" (example in sample8.html). 143 // The ".*last$" matches fields ending in "last" (example in sample8.html). 145 // Allow name fields to appear in any order. 147 // Skip over any unrelated fields, e.g. "username" or "nickname". 187 // fields [all...] |
address_field.cc | 33 // Allow address fields to appear in any order. 54 // Ignore non-labeled fields within an address; the page 56 // We only ignore such fields after we've parsed at least one other field; 57 // otherwise we'd effectively parse address fields before other field 58 // types after any non-labeled fields, and we want email address fields to 59 // have precedence since some pages contain fields labeled 73 // If we have identified any address fields in this field then it should be 74 // added to the list of fields. 84 // Don't slurp non-labeled fields at the end into the address [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
test_util.h | 64 // repeated fields of the messsage (which should already have been 65 // initialized with Set*Fields()). Set*Fields() itself only tests 72 // Check that all fields have the values that they should have after 73 // Set*Fields() is called. 84 // Modify*Fields(). 94 // Check that all fields have their default values. 106 // Check that all repeated fields have had their last elements removed. 116 // Check that all repeated fields have had their first and last elements 128 // the latter case, ReflectionTester searches for extension fields i [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
FieldSerializer.java | 67 List<Field> fields = new ArrayList<Field>(); local 71 Collections.addAll(fields, processingClass.getDeclaredFields()); 75 List<SavedField> cachedFields = new ArrayList<SavedField>(fields.size()); 76 for (Field field : fields) { 97 // ...well, as long as the order of fields is consistent from one 122 SavedField[] fields = savedFields.get(c); 131 for (SavedField savedField : fields) { 159 SavedField[] fields = savedFields.get(object.getClass()); local 160 if (fields == null) 164 for (SavedField savedField : fields) { [all...] |
/external/protobuf/src/google/protobuf/ |
test_util.h | 60 // repeated fields of the messsage (which should already have been 61 // initialized with Set*Fields()). Set*Fields() itself only tests 68 // Check that all fields have the values that they should have after 69 // Set*Fields() is called. 80 // Modify*Fields(). 90 // Check that all fields have their default values. 102 // Check that all repeated fields have had their last elements removed. 108 // Check that all repeated fields have had their first and last elements 120 // the latter case, ReflectionTester searches for extension fields i [all...] |
/dalvik/vm/mterp/common/ |
asm-constants.h | 84 /* DvmDex fields */ 91 /* StackSaveArea fields */ 113 /* ShadowSpace fields */ 126 /* InstField fields */ 129 /* Field fields */ 132 /* StaticField fields */ 135 /* Method fields */ 145 /* InlineOperation fields -- code assumes "func" offset is zero, do not alter */ 148 /* Thread fields */ 207 /* Object fields */ [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
Parser.java | 56 * as unknown fields. 64 * exception if the message is missing required fields. Instead, a partial 72 * but does not throw an exception if the message is missing required fields. 100 * exception if the message is missing required fields. Instead, a partial 108 * but does not throw an exception if the message is missing required fields. 149 * exception if the message is missing required fields. Instead, a partial 157 * but does not throw an exception if the message is missing required fields. 166 * exception if the message is missing required fields. Instead, a partial 174 * but does not throw an exception if the message is missing required fields. 206 * exception if the message is missing required fields. Instead, a partia [all...] |
UnknownFieldSet.java | 46 * {@code UnknownFieldSet} is used to keep track of fields which were seen when 48 * This most frequently occurs when new fields are added to a message type 49 * and then messages containing those fields are read by old software that was 89 private UnknownFieldSet(final Map<Integer, Field> fields) { 90 this.fields = fields; 92 private Map<Integer, Field> fields; field in class:UnknownFieldSet 100 fields.equals(((UnknownFieldSet) other).fields); 105 return fields.hashCode() 284 private Map<Integer, Field> fields; field in class:UnknownFieldSet.Builder [all...] |
/external/chromium_org/third_party/re2/re2/testing/ |
unicode_test.py | 87 def DoLine(codes, fields): 88 self.assertEquals(3, len(fields)) 90 self.assertEquals("Line %d" % (ncall[0],), fields[2]) 93 self.assertEquals("0041", fields[0]) 94 self.assertEquals("Capital A", fields[1]) 97 self.assertEquals("0061..007A", fields[0]) 98 self.assertEquals("Lowercase", fields[1]) 101 self.assertEquals("1F00..1FFE", fields[0]) 102 self.assertEquals("Greek", fields[1]) 105 self.assertEquals("10FFFF", fields[0] [all...] |
/external/regex-re2/re2/testing/ |
unicode_test.py | 87 def DoLine(codes, fields): 88 self.assertEquals(3, len(fields)) 90 self.assertEquals("Line %d" % (ncall[0],), fields[2]) 93 self.assertEquals("0041", fields[0]) 94 self.assertEquals("Capital A", fields[1]) 97 self.assertEquals("0061..007A", fields[0]) 98 self.assertEquals("Lowercase", fields[1]) 101 self.assertEquals("1F00..1FFE", fields[0]) 102 self.assertEquals("Greek", fields[1]) 105 self.assertEquals("10FFFF", fields[0] [all...] |
/frameworks/wilhelm/src/ |
classes.h | 66 // fields below are per-instance private fields not associated with an interface 75 // End of former IMuteSolo fields 141 // remaining are per-instance private fields not associated with an interface 185 // remaining are per-instance private fields not associated with an interface 202 // remaining are per-instance private fields not associated with an interface 214 // remaining are per-instance private fields not associated with an interface 227 // remaining are per-instance private fields not associated with an interface 265 // remaining are per-instance private fields not associated with an interface 293 // remaining are per-instance private fields not associated with an interfac [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
client_for_testing.py | 108 # and the /origin/ value, converted to ASCII lowercase, to /fields/. 125 # character, and /hostport/, to /fields/. 153 # 4.1 32. let /fields/ be a list of name-value pairs, initially empty. 154 fields = {} 174 # 4.1 38. append an entry to the /fields/ list that has the name 179 fields.setdefault(name, []).append(value) 181 return fields 308 fields = [] 309 fields.append(_UPGRADE_HEADER) 310 fields.append(_CONNECTION_HEADER [all...] |
/frameworks/base/core/jni/ |
android_hardware_Camera.cpp | 54 static fields_t fields; variable 116 JNICameraContext* context = reinterpret_cast<JNICameraContext*>(env->GetIntField(thiz, fields.context)); 192 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, 270 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, 301 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, 341 jobject face = env->NewObject(mFaceClass, fields.face_constructor); 344 jobject rect = env->NewObject(mRectClass, fields.rect_constructor); 345 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); 346 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); 347 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]) [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
UnknownFieldSet.java | 46 * {@code UnknownFieldSet} is used to keep track of fields which were seen when 48 * This most frequently occurs when new fields are added to a message type 89 private UnknownFieldSet(final Map<Integer, Field> fields) { 90 this.fields = fields; 92 private Map<Integer, Field> fields; field in class:UnknownFieldSet 100 fields.equals(((UnknownFieldSet) other).fields); 105 return fields.hashCode(); 108 /** Get a map of fields in the set by number. * 284 private Map<Integer, Field> fields; field in class:UnknownFieldSet.Builder [all...] |
/art/runtime/mirror/ |
object.cc | 93 ObjectArray<ArtField>* fields = cur->GetIFields(); local 94 if (fields != NULL) { 97 ArtField* field = fields->Get(i); 111 ObjectArray<ArtField>* fields = AsClass()->GetSFields(); local 112 if (fields != NULL) { 115 ArtField* field = fields->Get(i);
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
GwtSerializationDependencies.java | 29 * <p>Because of our use of final fields in our collections, GWT's normal 33 * serialized. Those types have their own dependencies -- their fields -- which 36 * <p>For classes with final fields, GWT assumes that the class itself might be 37 * serialized but doesn't assume the same about its final fields. To work around 39 * dependencies as non-final fields. Even though these implementations are never 41 * analysis, and it assumes that their fields may be serialized.
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
CsvUtilsTests.java | 193 final String[] fields = CsvUtils.split(" \"text\" "); // _"text"_ local 194 fail("Raw quote in text: fields=" + Arrays.toString(fields)); 199 final String[] fields = CsvUtils.split(" \" text \" "); // _"_text_"_ local 200 fail("Raw quote in text: fields=" + Arrays.toString(fields)); 206 final String[] fields = CsvUtils.split("a,\"b,"); // a,",b local 207 fail("Unterminated quote: fields=" + Arrays.toString(fields)); 212 final String[] fields = CsvUtils.split("a,\"\"\",b"); // a,""", local 218 final String[] fields = CsvUtils.split("a,\\"\\"\\"\\"\\",b"); \/\/ a,""""",b local 224 final String[] fields = CsvUtils.split("a,\\"b,c"); \/\/ a,"b,c local 230 final String[] fields = CsvUtils.split("a,\\",\\"b,c"); \/\/ a,","b,c local 236 final String[] fields = CsvUtils.split("a,\\",\\"b\\",\\",c"); \/\/ a,","b",",c local [all...] |
/external/chromium/chrome/browser/autofill/ |
credit_card_field.cc | 23 // If the heuristics detected first and last name in separate fields, 24 // then ignore both fields. Putting them into separate fields is probably 57 // Credit card fields can appear in many different orders. 58 // We loop until no more credit card related fields are found, see |break| at 60 for (int fields = 0; true; ++fields) { 63 // name (not cardholder name) field before or after credit card fields. So 72 if (fields == 0 || credit_card_field->expiration_month_) { 86 // and ExpediaBilling.html in our test suite), recognize separate fields [all...] |
/external/chromium_org/android_webview/browser/ |
aw_form_database_service_unittest.cc | 64 std::vector<FormFieldData> fields; local 68 fields.push_back(field); 69 service_->get_autofill_webdata_service()->AddFormFields(fields);
|