/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/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/icu/icu4c/source/i18n/ |
D | regexcst.pl | 37 @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/icu/icu4c/source/common/ |
D | rbbicst.pl | 36 @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/ |
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/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Grego.java | 115 public static int[] dayToFields(long day, int[] fields) { in dayToFields() argument 116 if (fields == null || fields.length < 5) { in dayToFields() 117 fields = new int[5]; in dayToFields() 151 fields[0] = year; in dayToFields() 152 fields[1] = month; in dayToFields() 153 fields[2] = dayOfMonth; in dayToFields() 154 fields[3] = dayOfWeek; in dayToFields() 155 fields[4] = dayOfYear; in dayToFields() 157 return fields; in dayToFields() 170 public static int[] timeToFields(long time, int[] fields) { in timeToFields() argument [all …]
|
/external/icu/android_icu4j/src/main/java/android/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/chromium-trace/catapult/third_party/gsutil/gslib/ |
D | cloud_api_delegator.py | 172 def GetBucket(self, bucket_name, provider=None, fields=None): argument 173 return self._GetApi(provider).GetBucket(bucket_name, fields=fields) 175 def ListBuckets(self, project_id=None, provider=None, fields=None): argument 177 fields=fields) 181 fields=None): argument 185 fields=fields) 188 provider=None, fields=None): argument 190 bucket_name, project_id=project_id, metadata=metadata, fields=fields) 197 all_versions=None, provider=None, fields=None): argument 200 all_versions=all_versions, fields=fields) [all …]
|
D | boto_translation.py | 184 def GetBucket(self, bucket_name, provider=None, fields=None): argument 193 fields=fields) 197 def ListBuckets(self, project_id=None, provider=None, fields=None): argument 200 get_fields = self._ListToGetFields(list_fields=fields) 218 yield self._BotoBucketToBucket(bucket, fields=get_fields) 224 fields=None): argument 274 return self.GetBucket(bucket_name, fields=fields) 279 provider=None, fields=None): argument 305 return self.GetBucket(bucket_name, fields=fields) 341 all_versions=None, provider=None, fields=None): argument [all …]
|
/external/opencv3/3rdparty/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/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() 168 return fields.getAllFields(); in getAllFields() 187 return fields.hasField(field); in hasField() 192 Object result = fields.getField(field); in getField() 207 return fields.getRepeatedFieldCount(field); in getRepeatedFieldCount() 212 return fields.getRepeatedField(field, index); in getRepeatedField() 220 FieldSet<FieldDescriptor> fields) { in isInitialized() argument 224 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 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() 154 fields.clear(); in clear() 165 for (int i = 0; i < fields.getNumArrayEntries(); i++) { in getAllFields() 166 cloneFieldEntry(result, fields.getArrayEntryAt(i)); in getAllFields() [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/mesa3d/src/glsl/ |
D | glsl_types.cpp | 63 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/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/icu/icu4c/source/test/cintltst/ |
D | reapits.c | 1054 UChar *fields[10]; in TestRegexCAPI() local 1074 memset(fields, -1, sizeof(fields)); in TestRegexCAPI() 1076 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 10, &status); in TestRegexCAPI() 1082 TEST_ASSERT_STRING("first ", fields[0], TRUE); in TestRegexCAPI() 1083 TEST_ASSERT_STRING(" second", fields[1], TRUE); in TestRegexCAPI() 1084 TEST_ASSERT_STRING(" third", fields[2], TRUE); in TestRegexCAPI() 1085 TEST_ASSERT(fields[3] == NULL); in TestRegexCAPI() 1106 memset(fields, -1, sizeof(fields)); in TestRegexCAPI() 1108 uregex_split(re, buf, UPRV_LENGTHOF(buf), &requiredCapacity, fields, 2, &status); in TestRegexCAPI() 1114 TEST_ASSERT_STRING("first ", fields[0], TRUE); in TestRegexCAPI() [all …]
|
/external/regex-re2/re2/ |
D | unicode.py | 174 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/chromium-trace/catapult/third_party/webtest/webtest/ |
D | forms.py | 420 fields = OrderedDict() 463 field = fields.get(name) 466 fields.setdefault(name, []).append(field) 481 fields.setdefault(name, []).append(field) 492 self.fields = fields 508 fields = self.fields.get(name) 509 assert fields is not None, ( 511 % (name, ', '.join(map(repr, self.fields.keys())))) 512 all_checkboxes = all(isinstance(f, Checkbox) for f in fields) 515 for f in 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 …]
|
/external/protobuf/src/google/protobuf/ |
D | reflection_ops.cc | 66 vector<const FieldDescriptor*> fields; in Merge() local 67 from_reflection->ListFields(from, &fields); in Merge() 68 for (int i = 0; i < fields.size(); i++) { in Merge() 69 const FieldDescriptor* field = fields[i]; in Merge() 132 vector<const FieldDescriptor*> fields; in Clear() local 133 reflection->ListFields(*message, &fields); in Clear() 134 for (int i = 0; i < fields.size(); i++) { in Clear() 135 reflection->ClearField(message, fields[i]); in Clear() 155 vector<const FieldDescriptor*> fields; in IsInitialized() local 156 reflection->ListFields(message, &fields); in IsInitialized() [all …]
|
/external/autotest/client/site_tests/security_NetworkListeners/ |
D | security_NetworkListeners.py | 62 fields = line.split() 63 if (fields[_LSOF_COMMAND] == 'autotest' or ( 64 fields[_LSOF_COMMAND] == 'python' and 65 fields[_LSOF_NAME].startswith('127.0.0.1:')) or 66 fields[_LSOF_NAME] == '127.0.0.1:%d' % 68 sockets_to_ignore.add(fields[_LSOF_DEVICE]) 73 fields = line.split() 74 if fields[_LSOF_DEVICE] in sockets_to_ignore: 100 fields = line.split() 101 observed_set.add('%s %s' % (fields[_LSOF_COMMAND], [all …]
|
/external/harfbuzz_ng/src/ |
D | gen-arabic-table.py | 26 fields = [x.strip () for x in line.split (';')] 27 if len (fields) == 1: 30 uu = fields[0].split ('..') 37 t = fields[1] 50 fields = [x.strip () for x in line.split (';')] 51 if len (fields) == 1: 54 u = int (fields[0], 16) 56 if fields[3] in ["ALAPH", "DALATH RISH"]: 57 value = "JOINING_GROUP_" + fields[3].replace(' ', '_') 59 value = "JOINING_TYPE_" + fields[2] [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | CopticCalendar.java | 251 int[] fields = new int[3]; in handleComputeFields() local 252 jdToCE(julianDay, getJDEpochOffset(), fields); in handleComputeFields() 258 if (fields[0] <= 0) { in handleComputeFields() 260 year = 1 - fields[0]; in handleComputeFields() 263 year = fields[0]; in handleComputeFields() 266 internalSet(EXTENDED_YEAR, fields[0]); in handleComputeFields() 269 internalSet(MONTH, fields[1]); in handleComputeFields() 270 internalSet(DAY_OF_MONTH, fields[2]); in handleComputeFields() 271 internalSet(DAY_OF_YEAR, (30 * fields[1]) + fields[2]); in handleComputeFields()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | CopticCalendar.java | 272 int[] fields = new int[3]; in handleComputeFields() local 273 jdToCE(julianDay, getJDEpochOffset(), fields); in handleComputeFields() 279 if (fields[0] <= 0) { in handleComputeFields() 281 year = 1 - fields[0]; in handleComputeFields() 284 year = fields[0]; in handleComputeFields() 287 internalSet(EXTENDED_YEAR, fields[0]); in handleComputeFields() 290 internalSet(MONTH, fields[1]); in handleComputeFields() 291 internalSet(DAY_OF_MONTH, fields[2]); in handleComputeFields() 292 internalSet(DAY_OF_YEAR, (30 * fields[1]) + fields[2]); in handleComputeFields()
|