Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/scripts/
Dextract.py139 new_prefix, rest = entry.path.split('/', 1)
143 prefix = new_prefix
144 if prefix != new_prefix:
145 raise ValueError((prefix, new_prefix))
/third_party/protobuf/src/google/protobuf/compiler/
Dimporter.cc337 const std::string& new_prefix, std::string* result) { in ApplyMapping() argument
348 result->assign(new_prefix); in ApplyMapping()
356 *result = new_prefix; in ApplyMapping()
378 result->assign(new_prefix); in ApplyMapping()
/third_party/elfutils/src/
Dsize.c344 char new_prefix[prefix_len + 1 + fname_len]; in handle_ar() local
345 char *cp = new_prefix; in handle_ar()
365 handle_elf (subelf, new_prefix, arhdr->ar_name); in handle_ar()
367 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); in handle_ar()
Dobjdump.c291 char new_prefix[prefix_len + fname_len + 2]; in handle_ar() local
298 char *cp = new_prefix; in handle_ar()
320 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, in handle_ar()
323 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
328 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
Dnm.c414 char new_prefix[prefix_len + fname_len + 2]; in handle_ar() local
421 char *cp = new_prefix; in handle_ar()
482 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
485 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, in handle_ar()
490 new_prefix, arhdr->ar_name, new_suffix); in handle_ar()
Dstrip.c2723 char new_prefix[prefix_len + 1 + fname_len]; in handle_ar() local
2724 char *cp = new_prefix; in handle_ar()
2745 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, 0, NULL); in handle_ar()
2747 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, NULL); in handle_ar()
Delflint.c250 char new_prefix[prefix_len + 1 + fname_len]; in process_file() local
252 char *cp = new_prefix; in process_file()
276 process_file (fd, subelf, new_prefix, new_suffix, in process_file()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/
Dbloat.py224 new_prefix = ['[ungrouped]']
235 new_prefix += [group]
237 parts = new_prefix + parts
/third_party/python/Lib/
Dipaddress.py932 def subnets(self, prefixlen_diff=1, new_prefix=None): argument
962 if new_prefix is not None:
963 if new_prefix < self._prefixlen:
967 prefixlen_diff = new_prefix - self._prefixlen
985 def supernet(self, prefixlen_diff=1, new_prefix=None): argument
1009 if new_prefix is not None:
1010 if new_prefix > self._prefixlen:
1014 prefixlen_diff = self._prefixlen - new_prefix
/third_party/python/Lib/test/
Dtest_ipaddress.py1392 prefixlen_diff=2, new_prefix=1)
1394 new_prefix=25)
1396 self.ipv4_network.supernet(new_prefix=22))
1399 prefixlen_diff=2, new_prefix=1)
1401 new_prefix=65)
1403 self.ipv6_network.supernet(new_prefix=62))
1405 prefixlen_diff=2, new_prefix=1)
1407 new_prefix=65)
1409 self.ipv6_scoped_network.supernet(new_prefix=62))
1467 sorted(self.ipv4_network.subnets(new_prefix=27)))
[all …]
/third_party/python/Doc/library/
Dipaddress.rst594 .. method:: subnets(prefixlen_diff=1, new_prefix=None)
598 length should be increased by. *new_prefix* is the desired new
600 only one of *prefixlen_diff* and *new_prefix* must be set. Returns an
608 … >>> list(ip_network('192.0.2.0/24').subnets(new_prefix=26)) #doctest: +NORMALIZE_WHITESPACE
611 >>> list(ip_network('192.0.2.0/24').subnets(new_prefix=23))
616 >>> list(ip_network('192.0.2.0/24').subnets(new_prefix=25))
619 .. method:: supernet(prefixlen_diff=1, new_prefix=None)
623 should be decreased by. *new_prefix* is the desired new prefix of
625 of *prefixlen_diff* and *new_prefix* must be set. Returns a single
632 >>> ip_network('192.0.2.0/24').supernet(new_prefix=20)
[all …]
/third_party/python/Modules/_ctypes/
D_ctypes.c367 char *new_prefix; in _ctypes_alloc_format_string_with_shape() local
376 new_prefix = PyMem_Malloc(prefix_len); in _ctypes_alloc_format_string_with_shape()
377 if (new_prefix == NULL) { in _ctypes_alloc_format_string_with_shape()
381 new_prefix[0] = '\0'; in _ctypes_alloc_format_string_with_shape()
383 strcpy(new_prefix, prefix); in _ctypes_alloc_format_string_with_shape()
386 strcat(new_prefix, "("); in _ctypes_alloc_format_string_with_shape()
393 strcat(new_prefix, buf); in _ctypes_alloc_format_string_with_shape()
396 result = _ctypes_alloc_format_string(new_prefix, suffix); in _ctypes_alloc_format_string_with_shape()
397 PyMem_Free(new_prefix); in _ctypes_alloc_format_string_with_shape()