Home
last modified time | relevance | path

Searched refs:new_prefix (Results 1 – 19 of 19) sorted by relevance

/external/boringssl/src/util/bot/
Dextract.py138 new_prefix, rest = entry.path.split('/', 1)
142 prefix = new_prefix
143 if prefix != new_prefix:
144 raise ValueError((prefix, new_prefix))
/external/vulkan-validation-layers/scripts/
Dlayer_chassis_dispatch_generator.py1539 new_prefix = 'local_%s' % member.name
1541 decls += '%ssafe_%s *%s = NULL;\n' % (indent, member.type, new_prefix)
1543 new_prefix = '%s%s' % (prefix, member.name)
1547 … pre_code += '%s %s = new safe_%s[%s];\n' % (indent, new_prefix, member.type, member.len)
1551 …pre_code += '%s %s[%s].initialize(&%s[%s]);\n' % (indent, new_prefix, index, member.name, index)
1553 …re_code += '%s WrapPnextChainHandles(layer_data, %s[%s].pNext);\n' % (indent, new_prefix, index)
1554 local_prefix = '%s[%s].' % (new_prefix, index)
1570 new_prefix = 'local_%s->' % member.name
1573 new_prefix = '%s%s->' % (prefix, member.name)
1580 …_decl, tmp_pre, tmp_post) = self.uniquify_members(struct_info, indent, new_prefix, array_index, cr…
[all …]
Dobject_tracker_generator.py782 new_prefix = '%s%s' % (prefix, member.name)
787 local_prefix = '%s[%s].' % (new_prefix, index)
798 new_prefix = '%s%s->' % (prefix, member.name)
803 …tmp_pre = self.validate_objects(struct_info, indent, new_prefix, array_index, disp_name, member.ty…
810 new_prefix = '%s%s.' % (prefix, member.name)
812 …tmp_pre = self.validate_objects(struct_info, indent, new_prefix, array_index, disp_name, member.ty…
/external/protobuf/src/google/protobuf/compiler/
Dimporter.cc339 const std::string& new_prefix, std::string* result) { in ApplyMapping() argument
350 result->assign(new_prefix); in ApplyMapping()
358 *result = new_prefix; in ApplyMapping()
380 result->assign(new_prefix); in ApplyMapping()
/external/elfutils/src/
Dsize.c345 char new_prefix[prefix_len + 1 + fname_len]; in handle_ar() local
346 char *cp = new_prefix; in handle_ar()
366 handle_elf (subelf, new_prefix, arhdr->ar_name); in handle_ar()
368 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); in handle_ar()
Dobjdump.c292 char new_prefix[prefix_len + fname_len + 2]; in handle_ar() local
299 char *cp = new_prefix; in handle_ar()
321 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, in handle_ar()
324 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
329 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
Dnm.c415 char new_prefix[prefix_len + fname_len + 2]; in handle_ar() local
422 char *cp = new_prefix; in handle_ar()
483 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
486 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
491 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
Dstrip.c2720 char new_prefix[prefix_len + 1 + fname_len]; in handle_ar() local
2721 char *cp = new_prefix; in handle_ar()
2742 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, 0, NULL); in handle_ar()
2744 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, NULL); in handle_ar()
Delflint.c251 char new_prefix[prefix_len + 1 + fname_len]; in process_file() local
253 char *cp = new_prefix; in process_file()
277 process_file (fd, subelf, new_prefix, new_suffix, in process_file()
/external/swiftshader/third_party/subzero/bloat/
Dbloat.py224 new_prefix = ['[ungrouped]']
235 new_prefix += [group]
237 parts = new_prefix + parts
/external/python/cpython3/Lib/
Dipaddress.py931 def subnets(self, prefixlen_diff=1, new_prefix=None): argument
961 if new_prefix is not None:
962 if new_prefix < self._prefixlen:
966 prefixlen_diff = new_prefix - self._prefixlen
984 def supernet(self, prefixlen_diff=1, new_prefix=None): argument
1008 if new_prefix is not None:
1009 if new_prefix > self._prefixlen:
1013 prefixlen_diff = self._prefixlen - new_prefix
/external/python/cpython3/Doc/library/
Dipaddress.rst574 .. method:: subnets(prefixlen_diff=1, new_prefix=None)
578 length should be increased by. *new_prefix* is the desired new
580 only one of *prefixlen_diff* and *new_prefix* must be set. Returns an
588 … >>> list(ip_network('192.0.2.0/24').subnets(new_prefix=26)) #doctest: +NORMALIZE_WHITESPACE
591 >>> list(ip_network('192.0.2.0/24').subnets(new_prefix=23))
596 >>> list(ip_network('192.0.2.0/24').subnets(new_prefix=25))
599 .. method:: supernet(prefixlen_diff=1, new_prefix=None)
603 should be decreased by. *new_prefix* is the desired new prefix of
605 of *prefixlen_diff* and *new_prefix* must be set. Returns a single
612 >>> ip_network('192.0.2.0/24').supernet(new_prefix=20)
[all …]
/external/python/ipaddress/
Dipaddress.py996 def subnets(self, prefixlen_diff=1, new_prefix=None): argument
1026 if new_prefix is not None:
1027 if new_prefix < self._prefixlen:
1031 prefixlen_diff = new_prefix - self._prefixlen
1049 def supernet(self, prefixlen_diff=1, new_prefix=None): argument
1073 if new_prefix is not None:
1074 if new_prefix > self._prefixlen:
1078 prefixlen_diff = self._prefixlen - new_prefix
Dtest_ipaddress.py1174 prefixlen_diff=2, new_prefix=1)
1176 new_prefix=25)
1178 self.ipv4_network.supernet(new_prefix=22))
1181 prefixlen_diff=2, new_prefix=1)
1183 new_prefix=65)
1185 self.ipv6_network.supernet(new_prefix=62))
1200 sorted(self.ipv4_network.subnets(new_prefix=27)))
1202 self.ipv4_network.subnets(new_prefix=23))
1205 new_prefix=27))
1207 sorted(self.ipv6_network.subnets(new_prefix=68)))
[all …]
/external/python/cpython3/Lib/test/
Dtest_ipaddress.py1379 prefixlen_diff=2, new_prefix=1)
1381 new_prefix=25)
1383 self.ipv4_network.supernet(new_prefix=22))
1386 prefixlen_diff=2, new_prefix=1)
1388 new_prefix=65)
1390 self.ipv6_network.supernet(new_prefix=62))
1392 prefixlen_diff=2, new_prefix=1)
1394 new_prefix=65)
1396 self.ipv6_scoped_network.supernet(new_prefix=62))
1454 sorted(self.ipv4_network.subnets(new_prefix=27)))
[all …]
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c361 char *new_prefix; in _ctypes_alloc_format_string_with_shape() local
370 new_prefix = PyMem_Malloc(prefix_len); in _ctypes_alloc_format_string_with_shape()
371 if (new_prefix == NULL) { in _ctypes_alloc_format_string_with_shape()
375 new_prefix[0] = '\0'; in _ctypes_alloc_format_string_with_shape()
377 strcpy(new_prefix, prefix); in _ctypes_alloc_format_string_with_shape()
380 strcat(new_prefix, "("); in _ctypes_alloc_format_string_with_shape()
387 strcat(new_prefix, buf); in _ctypes_alloc_format_string_with_shape()
390 result = _ctypes_alloc_format_string(new_prefix, suffix); in _ctypes_alloc_format_string_with_shape()
391 PyMem_Free(new_prefix); in _ctypes_alloc_format_string_with_shape()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c406 char *new_prefix; in _ctypes_alloc_format_string_with_shape() local
415 new_prefix = PyMem_Malloc(prefix_len); in _ctypes_alloc_format_string_with_shape()
416 if (new_prefix == NULL) in _ctypes_alloc_format_string_with_shape()
418 new_prefix[0] = '\0'; in _ctypes_alloc_format_string_with_shape()
420 strcpy(new_prefix, prefix); in _ctypes_alloc_format_string_with_shape()
423 strcat(new_prefix, "("); in _ctypes_alloc_format_string_with_shape()
430 strcat(new_prefix, buf); in _ctypes_alloc_format_string_with_shape()
433 result = _ctypes_alloc_format_string(new_prefix, suffix); in _ctypes_alloc_format_string_with_shape()
434 PyMem_Free(new_prefix); in _ctypes_alloc_format_string_with_shape()
/external/openscreen/tools/cddl/
Dcodegen.cc230 std::string new_prefix = name_prefix + ToCamelCase(type.name) + "::"; in WriteStructEqualityOperator() local
235 if (!WriteDiscriminatedUnionEqualityOperator(fd, *x.type, new_prefix)) { in WriteStructEqualityOperator()
/external/icing/icing/legacy/index/
Dicing-dynamic-trie.cc1036 std::string new_prefix = prefix; in DumpNodeRecursive() local
1039 new_prefix += next.val(); in DumpNodeRecursive()
1044 DumpNodeRecursive(new_prefix, *storage_->GetNode(next.node_index()), in DumpNodeRecursive()