/external/perfetto/src/ftrace_reader/ |
D | event_info.cc | 18 event->fields.push_back(MakeField("tag", 1, kProtoString)); in GetStaticEventInfo() 27 event->fields.push_back(MakeField("tag", 1, kProtoString)); in GetStaticEventInfo() 36 event->fields.push_back(MakeField("proc", 1, kProtoInt32)); in GetStaticEventInfo() 37 event->fields.push_back(MakeField("thread", 2, kProtoInt32)); in GetStaticEventInfo() 38 event->fields.push_back(MakeField("old_prio", 3, kProtoUint32)); in GetStaticEventInfo() 39 event->fields.push_back(MakeField("new_prio", 4, kProtoUint32)); in GetStaticEventInfo() 40 event->fields.push_back(MakeField("desired_prio", 5, kProtoUint32)); in GetStaticEventInfo() 49 event->fields.push_back(MakeField("debug_id", 1, kProtoInt32)); in GetStaticEventInfo() 50 event->fields.push_back(MakeField("target_node", 2, kProtoInt32)); in GetStaticEventInfo() 51 event->fields.push_back(MakeField("to_proc", 3, kProtoInt32)); in GetStaticEventInfo() [all …]
|
/external/webrtc/webrtc/base/ |
D | stringencode_unittest.cc | 218 std::vector<std::string> fields; in TEST() local 220 EXPECT_EQ(5ul, tokenize("one two three four five", ' ', &fields)); in TEST() 221 fields.clear(); in TEST() 222 EXPECT_EQ(1ul, tokenize("one", ' ', &fields)); in TEST() 225 fields.clear(); in TEST() 226 EXPECT_EQ(5ul, tokenize(" one two three four five ", ' ', &fields)); in TEST() 227 fields.clear(); in TEST() 228 EXPECT_EQ(1ul, tokenize(" one ", ' ', &fields)); in TEST() 229 fields.clear(); in TEST() 230 EXPECT_EQ(0ul, tokenize(" ", ' ', &fields)); in TEST() [all …]
|
/external/libxml2/ |
D | build_glob.py | 68 fields = string.split(line, ",") variable 71 global_functions_hdr.write("extern "+fields[0]+" *") 72 if fields[2]: 74 global_functions_hdr.write("__"+fields[1]+"(void)") 75 if fields[2]: 76 global_functions_hdr.write(")"+fields[2]) 79 writeline(global_functions_hdr,"#define "+fields[1]+" \\") 80 writeline(global_functions_hdr,"(*(__"+fields[1]+"()))") 82 if fields[2]: 83 … writeline(global_functions_hdr,"LIBXML_DLL_IMPORT extern "+fields[0]+" "+fields[1]+fields[2]+";") [all …]
|
/external/icu/icu4c/source/i18n/ |
D | regexcst.pl | 39 @fields = split(); 44 for ($i=0; $i<@fields; $i++) { 45 if ($fields[$i] =~ /^#/) { 46 @fields = @fields[0 .. $i-1]; 51 if (@fields == 0) { 61 if (@fields[0] =~ /.*:$/) { 62 $state_name = @fields[0]; 73 if (@fields == 1) { 76 shift @fields; # shift off label field in preparation 95 if ($fields[0] =~ /^'.'$/) { [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/ |
D | FieldAccessTest.cs | 47 var fields = TestAllTypes.Descriptor.Fields; in GetValue() 48 …Assert.AreEqual(message.SingleBool, fields[TestAllTypes.SingleBoolFieldNumber].Accessor.GetValue(m… in GetValue() 49 …Assert.AreEqual(message.SingleBytes, fields[TestAllTypes.SingleBytesFieldNumber].Accessor.GetValue… in GetValue() 50 …Assert.AreEqual(message.SingleDouble, fields[TestAllTypes.SingleDoubleFieldNumber].Accessor.GetVal… in GetValue() 51 …Assert.AreEqual(message.SingleFixed32, fields[TestAllTypes.SingleFixed32FieldNumber].Accessor.GetV… in GetValue() 52 …Assert.AreEqual(message.SingleFixed64, fields[TestAllTypes.SingleFixed64FieldNumber].Accessor.GetV… in GetValue() 53 …Assert.AreEqual(message.SingleFloat, fields[TestAllTypes.SingleFloatFieldNumber].Accessor.GetValue… in GetValue() 54 …Assert.AreEqual(message.SingleForeignEnum, fields[TestAllTypes.SingleForeignEnumFieldNumber].Acces… in GetValue() 55 …Assert.AreEqual(message.SingleForeignMessage, fields[TestAllTypes.SingleForeignMessageFieldNumber]… in GetValue() 56 …Assert.AreEqual(message.SingleImportEnum, fields[TestAllTypes.SingleImportEnumFieldNumber].Accesso… in GetValue() [all …]
|
/external/clang/bindings/python/tests/cindex/ |
D | 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.TYPEDEF [all …]
|
/external/icu/icu4c/source/common/ |
D | rbbicst.pl | 40 @fields = split(); 45 for ($i=0; $i<@fields; $i++) { 46 if ($fields[$i] =~ /^#/) { 47 @fields = @fields[0 .. $i-1]; 52 if (@fields == 0) { 62 if (@fields[0] =~ /.*:$/) { 63 $state_name = @fields[0]; 74 if (@fields == 1) { 77 shift @fields; # shift off label field in preparation 96 if ($fields[0] =~ /^'.'$/) { [all …]
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliFieldTest.java | 54 SmaliField[] fields = smaliClass.getFields(); in testBasicField() local 55 Assert.assertEquals(1, fields.length); in testBasicField() 56 Assert.assertEquals("myField", fields[0].getName()); in testBasicField() 57 Assert.assertTrue(fields[0].getType() instanceof PsiPrimitiveType); in testBasicField() 58 Assert.assertEquals("int", fields[0].getType().getCanonicalText()); in testBasicField() 59 PsiTypeElement typeElement = fields[0].getTypeElement(); in testBasicField() 63 SmaliModifierList modifierList = fields[0].getModifierList(); in testBasicField() 68 Assert.assertTrue(fields[0].hasModifierProperty("public")); in testBasicField() 96 PsiField[] fields = smaliClass.getFields(); in testSmaliSuperField() local 97 Assert.assertEquals(1, fields.length); in testSmaliSuperField() [all …]
|
/external/mesa3d/src/compiler/ |
D | glsl_types.cpp | 76 memset(& fields, 0, sizeof(fields)); in glsl_type() 96 memset(& fields, 0, sizeof(fields)); in glsl_type() 106 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type() argument 122 this->fields.structure = ralloc_array(this->mem_ctx, in glsl_type() 126 this->fields.structure[i] = fields[i]; in glsl_type() 127 this->fields.structure[i].name = ralloc_strdup(this->fields.structure, in glsl_type() 128 fields[i].name); in glsl_type() 134 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type() argument 152 this->fields.structure = rzalloc_array(this->mem_ctx, in glsl_type() 155 this->fields.structure[i] = fields[i]; in glsl_type() [all …]
|
/external/toolchain-utils/crosperf/ |
D | settings.py | 17 self.fields = {} 26 if name in self.fields: 28 self.fields[name] = field 31 if name not in self.fields: 35 self.fields[name].Append(value) 37 self.fields[name].Set(value) 41 if name not in self.fields: 44 field = self.fields[name] 48 return self.fields[name].Get() 52 for name in self.fields: [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Grego.java | 119 public static int[] dayToFields(long day, int[] fields) { in dayToFields() argument 120 if (fields == null || fields.length < 5) { in dayToFields() 121 fields = new int[5]; in dayToFields() 155 fields[0] = year; in dayToFields() 156 fields[1] = month; in dayToFields() 157 fields[2] = dayOfMonth; in dayToFields() 158 fields[3] = dayOfWeek; in dayToFields() 159 fields[4] = dayOfYear; in dayToFields() 161 return fields; in dayToFields() 174 public static int[] timeToFields(long time, int[] fields) { in timeToFields() argument [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Grego.java | 117 public static int[] dayToFields(long day, int[] fields) { in dayToFields() argument 118 if (fields == null || fields.length < 5) { in dayToFields() 119 fields = new int[5]; in dayToFields() 153 fields[0] = year; in dayToFields() 154 fields[1] = month; in dayToFields() 155 fields[2] = dayOfMonth; in dayToFields() 156 fields[3] = dayOfWeek; in dayToFields() 157 fields[4] = dayOfYear; in dayToFields() 159 return fields; in dayToFields() 172 public static int[] timeToFields(long time, int[] fields) { in timeToFields() argument [all …]
|
/external/libmojo/third_party/jinja2/ |
D | nodes.py | 123 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/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | DynamicMessage.java | 52 private final FieldSet<FieldDescriptor> fields; field in DynamicMessage 66 DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, in DynamicMessage() argument 70 this.fields = fields; in DynamicMessage() 171 return fields.getAllFields(); in getAllFields() 193 return fields.hasField(field); in hasField() 199 Object result = fields.getField(field); in getField() 215 return fields.getRepeatedFieldCount(field); in getRepeatedFieldCount() 221 return fields.getRepeatedField(field, index); in getRepeatedField() 230 FieldSet<FieldDescriptor> fields) { in isInitialized() argument 234 if (!fields.hasField(field)) { in isInitialized() [all …]
|
D | FieldSet.java | 71 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 return other.fields.equals(other.fields); in equals() 140 return fields.hashCode(); in hashCode() 154 for (int i = 0; i < fields.getNumArrayEntries(); i++) { in clone() 155 Map.Entry<FieldDescriptorType, Object> entry = fields.getArrayEntryAt(i); in clone() 160 fields.getOverflowEntries()) { in clone() 173 fields.clear(); in clear() [all …]
|
/external/tensorflow/tensorflow/contrib/lite/testing/ |
D | split.h | 40 std::vector<string> fields; in Split() local 42 fields.push_back(s.substr(p.first, p.second - p.first)); in Split() 44 return fields; in Split() 49 std::vector<int> fields; in Split() local 51 fields.push_back(strtol(s.data() + p.first, nullptr, 10)); in Split() 53 return fields; in Split() 58 std::vector<int64_t> fields; in Split() local 60 fields.push_back(strtoll(s.data() + p.first, nullptr, 10)); in Split() 62 return fields; in Split() 67 std::vector<float> fields; in Split() local [all …]
|
/external/autotest/frontend/client/src/autotest/tko/ |
D | HeaderSelect.java | 83 private void setSelectedItemsInView(List<HeaderField> fields) { in setSelectedItemsInView() argument 85 for (HeaderField field : fields) { in setSelectedItemsInView() 95 public void setSelectedItems(List<HeaderField> fields) { in setSelectedItems() argument 96 savedState.selectedFields = new ArrayList<HeaderField>(fields); in setSelectedItems() 104 List<HeaderField> fields = getSelectedItemsFromView(); in selectItemInView() local 105 if (!fields.contains(field)) { in selectItemInView() 106 fields.add(field); in selectItemInView() 107 setSelectedItemsInView(fields); in selectItemInView() 112 List<HeaderField> fields = getSelectedItemsFromView(); in deselectItemInView() local 113 if (fields.remove(field)) { in deselectItemInView() [all …]
|
/external/proguard/src/proguard/classfile/editor/ |
D | ClassEditor.java | 123 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/protobuf/objectivec/google/protobuf/ |
D | Wrappers.pbobjc.m | 47 static GPBMessageFieldDescription fields[] = { 62 fields:fields 63 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 90 static GPBMessageFieldDescription fields[] = { 105 fields:fields 106 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 133 static GPBMessageFieldDescription fields[] = { 148 fields:fields 149 … fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 176 static GPBMessageFieldDescription fields[] = { [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | reapits.c | 1057 UChar *fields[10]; in TestRegexCAPI() local 1077 memset(fields, -1, sizeof(fields)); in TestRegexCAPI() 1079 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI() 1085 TEST_ASSERT_STRING("first ", fields[0], TRUE); in TestRegexCAPI() 1086 TEST_ASSERT_STRING(" second", fields[1], TRUE); in TestRegexCAPI() 1087 TEST_ASSERT_STRING(" third", fields[2], TRUE); in TestRegexCAPI() 1088 TEST_ASSERT(fields[3] == NULL); in TestRegexCAPI() 1109 memset(fields, -1, sizeof(fields)); in TestRegexCAPI() 1111 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI() 1117 TEST_ASSERT_STRING("first ", fields[0], TRUE); in TestRegexCAPI() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | decode_csv_op.cc | 70 std::vector<string> fields; in Compute() local 71 ExtractFields(ctx, record, &fields); in Compute() 72 OP_REQUIRES(ctx, fields.size() == out_type_.size(), in Compute() 74 " fields but have ", fields.size(), in Compute() 84 if (fields[f].empty() || fields[f] == na_value_) { in Compute() 93 OP_REQUIRES(ctx, strings::safe_strto32(fields[f], &value), in Compute() 96 " is not a valid int32: ", fields[f])); in Compute() 104 if (fields[f].empty() || fields[f] == na_value_) { in Compute() 113 OP_REQUIRES(ctx, strings::safe_strto64(fields[f], &value), in Compute() 116 " is not a valid int64: ", fields[f])); in Compute() [all …]
|
/external/autotest/scheduler/ |
D | rdb_hosts.py | 119 def refresh(self, fields=None): argument 131 fields = self.required_fields if not fields else fields 134 id=self.id).values(*fields)[0] 137 fields, e) 146 self.refresh(fields=['leased']) 238 fields = { 244 return fields 247 def record_pool(self, fields): argument 259 reset_after=True).set(pool, fields=fields) 271 fields = self.get_metric_fields() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | NumberStringBuilder.java | 31 private Field[] fields; field in NumberStringBuilder 41 fields = new Field[capacity]; in NumberStringBuilder() 52 fields = Arrays.copyOf(source.fields, source.fields.length); in copyFrom() 76 return fields[zero + index]; 125 fields[position] = field; 127 fields[position + 1] = field; 169 fields[position + i] = field; 180 public int append(char[] chars, Field[] fields) { 181 return insert(length, chars, fields); 190 public int insert(int index, char[] chars, Field[] fields) { [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | NumberStringBuilder.java | 33 private Field[] fields; field in NumberStringBuilder 43 fields = new Field[capacity]; in NumberStringBuilder() 54 fields = Arrays.copyOf(source.fields, source.fields.length); in copyFrom() 78 return fields[zero + index]; 127 fields[position] = field; 129 fields[position + 1] = field; 171 fields[position + i] = field; 182 public int append(char[] chars, Field[] fields) { 183 return insert(length, chars, fields); 192 public int insert(int index, char[] chars, Field[] fields) { [all …]
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_swtnl_t.c | 34 swtnl_get_format(int type, int fields) { in swtnl_get_format() argument 37 switch (fields){ in swtnl_get_format() 50 switch (fields) { in swtnl_get_format() 63 int fields; member 67 .fields = 4, 71 .fields = -1, 75 .fields = 4, 79 .fields = 4, 83 .fields = 1, 87 .fields = -1, [all …]
|