/external/bison/lib/ |
dirname-lgpl.c | 34 size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file); local 37 /* Advance prefix_length beyond important leading slashes. */ 38 prefix_length += (prefix_length != 0 40 && ISSLASH (file[prefix_length])) 49 prefix_length < length; length--)
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
dirname.c | 34 size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file); local 37 /* Advance prefix_length beyond important leading slashes. */ 38 prefix_length += (prefix_length != 0 40 && ISSLASH (file[prefix_length])) 49 prefix_length < length; length--)
|
/system/core/include/netutils/ |
ifc.h | 61 extern int ifc_add_route(const char *name, const char *addr, int prefix_length, 64 int prefix_length, const char *gw); 72 extern in_addr_t prefixLengthToIpv4Netmask(int prefix_length);
|
/system/core/libnetutils/ |
ifc_utils.c | 61 in_addr_t prefixLengthToIpv4Netmask(int prefix_length) 66 if (prefix_length <= 0 || prefix_length > 32) { 70 mask = ~mask << (32 - prefix_length); 504 int ifc_act_on_ipv4_route(int action, const char *ifname, struct in_addr dst, int prefix_length, 516 netmask = prefixLengthToIpv4Netmask(prefix_length); 521 if (prefix_length == 32) { 820 int ifc_act_on_ipv6_route(int action, const char *ifname, struct in6_addr dst, int prefix_length, 837 rtmsg.rtmsg_dst_len = prefix_length; 840 if (prefix_length == 128) [all...] |
/external/webkit/Tools/gdb/ |
webkit.py | 159 self.prefix_length = 0 166 self.prefix_length = self.prefix_printer.get_length() 167 if self.prefix_length > 0: 168 self.length = (self.prefix_length + 1 + 180 if self.prefix_length > 0:
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/gcov-src/ |
libgcov.c | 203 static size_t prefix_length = 0; variable 325 gcov_strip_leading_dirs (int prefix_length, int gcov_prefix_strip, 329 if (prefix_length != 0 && HAS_DRIVE_SPEC(filename)) 350 if (prefix_length != 0 && !IS_DIR_SEPARATOR (*filename)) 368 prefix_length = 0; 386 prefix_length = strlen(gcov_prefix); 389 if (IS_DIR_SEPARATOR (gcov_prefix[prefix_length - 1])) 390 prefix_length--; 393 prefix_length = 0; 397 if (gcov_prefix_strip != 0 && prefix_length == 0 496 size_t prefix_length, suffix_length; local [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/gcov-src/ |
libgcov.c | 203 static size_t prefix_length = 0; variable 325 gcov_strip_leading_dirs (int prefix_length, int gcov_prefix_strip, 329 if (prefix_length != 0 && HAS_DRIVE_SPEC(filename)) 350 if (prefix_length != 0 && !IS_DIR_SEPARATOR (*filename)) 368 prefix_length = 0; 386 prefix_length = strlen(gcov_prefix); 389 if (IS_DIR_SEPARATOR (gcov_prefix[prefix_length - 1])) 390 prefix_length--; 393 prefix_length = 0; 397 if (gcov_prefix_strip != 0 && prefix_length == 0 496 size_t prefix_length, suffix_length; local [all...] |
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.6/lib/gcc/mipsel-linux-android/4.6/gcov-src/ |
libgcov.c | 203 static size_t prefix_length = 0; variable 325 gcov_strip_leading_dirs (int prefix_length, int gcov_prefix_strip, 329 if (prefix_length != 0 && HAS_DRIVE_SPEC(filename)) 350 if (prefix_length != 0 && !IS_DIR_SEPARATOR (*filename)) 368 prefix_length = 0; 386 prefix_length = strlen(gcov_prefix); 389 if (IS_DIR_SEPARATOR (gcov_prefix[prefix_length - 1])) 390 prefix_length--; 393 prefix_length = 0; 397 if (gcov_prefix_strip != 0 && prefix_length == 0 496 size_t prefix_length, suffix_length; local [all...] |
/prebuilts/gcc/darwin-x86/x86/i686-linux-android-4.6/lib/gcc/i686-linux-android/4.6/gcov-src/ |
libgcov.c | 203 static size_t prefix_length = 0; variable 325 gcov_strip_leading_dirs (int prefix_length, int gcov_prefix_strip, 329 if (prefix_length != 0 && HAS_DRIVE_SPEC(filename)) 350 if (prefix_length != 0 && !IS_DIR_SEPARATOR (*filename)) 368 prefix_length = 0; 386 prefix_length = strlen(gcov_prefix); 389 if (IS_DIR_SEPARATOR (gcov_prefix[prefix_length - 1])) 390 prefix_length--; 393 prefix_length = 0; 397 if (gcov_prefix_strip != 0 && prefix_length == 0 496 size_t prefix_length, suffix_length; local [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/gcov-src/ |
libgcov.c | 203 static size_t prefix_length = 0; variable 325 gcov_strip_leading_dirs (int prefix_length, int gcov_prefix_strip, 329 if (prefix_length != 0 && HAS_DRIVE_SPEC(filename)) 350 if (prefix_length != 0 && !IS_DIR_SEPARATOR (*filename)) 368 prefix_length = 0; 386 prefix_length = strlen(gcov_prefix); 389 if (IS_DIR_SEPARATOR (gcov_prefix[prefix_length - 1])) 390 prefix_length--; 393 prefix_length = 0; 397 if (gcov_prefix_strip != 0 && prefix_length == 0 496 size_t prefix_length, suffix_length; local [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/gcov-src/ |
libgcov.c | 203 static size_t prefix_length = 0; variable 325 gcov_strip_leading_dirs (int prefix_length, int gcov_prefix_strip, 329 if (prefix_length != 0 && HAS_DRIVE_SPEC(filename)) 350 if (prefix_length != 0 && !IS_DIR_SEPARATOR (*filename)) 368 prefix_length = 0; 386 prefix_length = strlen(gcov_prefix); 389 if (IS_DIR_SEPARATOR (gcov_prefix[prefix_length - 1])) 390 prefix_length--; 393 prefix_length = 0; 397 if (gcov_prefix_strip != 0 && prefix_length == 0 496 size_t prefix_length, suffix_length; local [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/lib/gcc/i686-linux/4.6.x-google/gcov-src/ |
libgcov.c | 203 static size_t prefix_length = 0; variable 325 gcov_strip_leading_dirs (int prefix_length, int gcov_prefix_strip, 329 if (prefix_length != 0 && HAS_DRIVE_SPEC(filename)) 350 if (prefix_length != 0 && !IS_DIR_SEPARATOR (*filename)) 368 prefix_length = 0; 386 prefix_length = strlen(gcov_prefix); 389 if (IS_DIR_SEPARATOR (gcov_prefix[prefix_length - 1])) 390 prefix_length--; 393 prefix_length = 0; 397 if (gcov_prefix_strip != 0 && prefix_length == 0 496 size_t prefix_length, suffix_length; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/lib/gcc/x86_64-linux/4.6.x-google/gcov-src/ |
libgcov.c | 203 static size_t prefix_length = 0; variable 325 gcov_strip_leading_dirs (int prefix_length, int gcov_prefix_strip, 329 if (prefix_length != 0 && HAS_DRIVE_SPEC(filename)) 350 if (prefix_length != 0 && !IS_DIR_SEPARATOR (*filename)) 368 prefix_length = 0; 386 prefix_length = strlen(gcov_prefix); 389 if (IS_DIR_SEPARATOR (gcov_prefix[prefix_length - 1])) 390 prefix_length--; 393 prefix_length = 0; 397 if (gcov_prefix_strip != 0 && prefix_length == 0 496 size_t prefix_length, suffix_length; local [all...] |
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.6/lib/gcc/mipsel-linux-android/4.6/gcov-src/ |
libgcov.c | 203 static size_t prefix_length = 0; variable 325 gcov_strip_leading_dirs (int prefix_length, int gcov_prefix_strip, 329 if (prefix_length != 0 && HAS_DRIVE_SPEC(filename)) 350 if (prefix_length != 0 && !IS_DIR_SEPARATOR (*filename)) 368 prefix_length = 0; 386 prefix_length = strlen(gcov_prefix); 389 if (IS_DIR_SEPARATOR (gcov_prefix[prefix_length - 1])) 390 prefix_length--; 393 prefix_length = 0; 397 if (gcov_prefix_strip != 0 && prefix_length == 0 496 size_t prefix_length, suffix_length; local [all...] |
/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6/lib/gcc/i686-linux-android/4.6/gcov-src/ |
libgcov.c | 203 static size_t prefix_length = 0; variable 325 gcov_strip_leading_dirs (int prefix_length, int gcov_prefix_strip, 329 if (prefix_length != 0 && HAS_DRIVE_SPEC(filename)) 350 if (prefix_length != 0 && !IS_DIR_SEPARATOR (*filename)) 368 prefix_length = 0; 386 prefix_length = strlen(gcov_prefix); 389 if (IS_DIR_SEPARATOR (gcov_prefix[prefix_length - 1])) 390 prefix_length--; 393 prefix_length = 0; 397 if (gcov_prefix_strip != 0 && prefix_length == 0 496 size_t prefix_length, suffix_length; local [all...] |
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
http_lock.py | 69 prefix_length = len(self._lock_file_path_prefix) 70 return int(lock_file_name[prefix_length:])
|
/external/webkit/Tools/Scripts/webkitpy/test/ |
main.py | 58 prefix_length = len(package_path) 64 rel_path = path[prefix_length:]
|
/external/chromium/chrome/browser/autocomplete/ |
keyword_provider.h | 128 size_t prefix_length,
|
keyword_provider.cc | 386 size_t prefix_length, 399 const bool keyword_complete = (prefix_length == keyword.length()); 439 prefix_length,
|
/external/chromium/net/base/ |
sdch_manager.cc | 189 size_t prefix_length = restriction.size(); 190 if (prefix_length > path.size()) 192 if (0 != path.compare(0, prefix_length, restriction)) 194 return restriction[prefix_length - 1] == '/' || path[prefix_length] == '/';
|
/external/libxslt/libxslt/ |
numbers.c | 953 int prefix_length, suffix_length = 0, nprefix_length, nsuffix_length; local 1019 prefix_length = xsltFormatNumberPreSuffix(self, &the_format, &format_info); 1020 if (prefix_length < 0) { 1234 if ((nprefix_length != prefix_length) || 1237 (xmlStrncmp(nprefix, prefix, prefix_length) !=0 )) || 1241 prefix_length = nprefix_length; [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
client_side_detection_service.cc | 440 size_t prefix_length; local 441 if (net::ParseCIDRBlock(kPrivateNetworks[i], &ip_number, &prefix_length)) { 442 private_networks_.push_back(std::make_pair(ip_number, prefix_length));
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
sed.h | 116 size_t prefix_length; member in struct:replacement
|
compile.c | 769 r->prefix_length = length; 812 ++tail->prefix_length; 817 ++tail->prefix_length; 857 ++tail->prefix_length; [all...] |
/system/netd/ |
CommandListener.cpp | 260 int prefix_length = 0; local 265 if (sscanf(argv[6], "%d", &prefix_length) != 1) { 271 if (ifc_add_route(argv[3], argv[5], prefix_length, argv[7])) { 280 prefix_length, argv[7]); 288 if (ifc_remove_route(argv[3], argv[5], prefix_length, argv[7])) { 297 prefix_length, argv[7]); [all...] |