Home
last modified time | relevance | path

Searched refs:prefix_length (Results 1 – 17 of 17) sorted by relevance

/external/bison/lib/
Ddirname.c35 size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file); in dir_len() local
39 for (length = base_name (file) - file; prefix_length < length; length--) in dir_len()
44 return prefix_length + ISSLASH (file[prefix_length]); in dir_len()
/external/webkit/Tools/gdb/
Dwebkit.py159 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:
/external/webkit/Tools/Scripts/webkitpy/test/
Dmain.py58 prefix_length = len(package_path)
64 rel_path = path[prefix_length:]
/external/chromium/net/base/
Dsdch_manager.cc189 size_t prefix_length = restriction.size(); in PathMatch() local
190 if (prefix_length > path.size()) in PathMatch()
192 if (0 != path.compare(0, prefix_length, restriction)) in PathMatch()
194 return restriction[prefix_length - 1] == '/' || path[prefix_length] == '/'; in PathMatch()
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dhttp_lock.py69 prefix_length = len(self._lock_file_path_prefix)
70 return int(lock_file_name[prefix_length:])
/external/libxslt/libxslt/
Dnumbers.c953 int prefix_length, suffix_length = 0, nprefix_length, nsuffix_length; in xsltFormatNumberConversion() local
1019 prefix_length = xsltFormatNumberPreSuffix(self, &the_format, &format_info); in xsltFormatNumberConversion()
1020 if (prefix_length < 0) { in xsltFormatNumberConversion()
1234 if ((nprefix_length != prefix_length) || in xsltFormatNumberConversion()
1237 (xmlStrncmp(nprefix, prefix, prefix_length) !=0 )) || in xsltFormatNumberConversion()
1241 prefix_length = nprefix_length; in xsltFormatNumberConversion()
1257 prefix_length = suffix_length = 0; in xsltFormatNumberConversion()
1272 for (j = 0; j < prefix_length; j++) { in xsltFormatNumberConversion()
/external/chromium/chrome/browser/safe_browsing/
Dclient_side_detection_service.cc440 size_t prefix_length; in InitializePrivateNetworks() local
441 if (net::ParseCIDRBlock(kPrivateNetworks[i], &ip_number, &prefix_length)) { in InitializePrivateNetworks()
442 private_networks_.push_back(std::make_pair(ip_number, prefix_length)); in InitializePrivateNetworks()
/external/chromium/chrome/browser/autocomplete/
Dkeyword_provider.cc386 size_t prefix_length, in CreateAutocompleteMatch() argument
399 const bool keyword_complete = (prefix_length == keyword.length()); in CreateAutocompleteMatch()
439 prefix_length, in CreateAutocompleteMatch()
Dkeyword_provider.h128 size_t prefix_length,
Dautocomplete_edit.cc518 size_t prefix_length = match.template_url->keyword().size() + 1; in OpenURL() local
521 UTF16ToUTF8(match.fill_into_edit.substr(prefix_length))); in OpenURL()
/external/libpng/
Dpngrutil.c1074 png_size_t slength, prefix_length, data_length; in png_handle_iCCP() local
1145 prefix_length = profile - png_ptr->chunkdata; in png_handle_iCCP()
1147 slength, prefix_length, &data_length); in png_handle_iCCP()
1149 profile_length = data_length - prefix_length; in png_handle_iCCP()
1151 if ( prefix_length > data_length || profile_length < 4) in png_handle_iCCP()
1160 pC = (png_bytep)(png_ptr->chunkdata + prefix_length); in png_handle_iCCP()
1178 compression_type, png_ptr->chunkdata + prefix_length, profile_length); in png_handle_iCCP()
Dpng.h3283 png_size_t prefix_length, png_size_t *data_length)) PNG_PRIVATE;
DCHANGES1048 Added a check for prefix_length > data_length in iCCP chunk handler.
/external/qemu/distrib/libpng-1.2.19/
Dpngrutil.c996 png_size_t slength, prefix_length, data_length; in png_handle_iCCP() local
1063 prefix_length = profile - chunkdata; in png_handle_iCCP()
1065 slength, prefix_length, &data_length); in png_handle_iCCP()
1067 profile_length = data_length - prefix_length; in png_handle_iCCP()
1069 if ( prefix_length > data_length || profile_length < 4) in png_handle_iCCP()
1077 pC = (png_bytep)(chunkdata+prefix_length); in png_handle_iCCP()
1094 chunkdata + prefix_length, profile_length); in png_handle_iCCP()
Dpng.h2987 png_size_t prefix_length, png_size_t *data_length));
/external/v8/src/
Druntime.cc7234 int prefix_length = x->length(); in FlatStringCompare() local
7235 if (y->length() < prefix_length) { in FlatStringCompare()
7236 prefix_length = y->length(); in FlatStringCompare()
7238 } else if (y->length() > prefix_length) { in FlatStringCompare()
7248 r = CompareChars(x_chars.start(), y_chars.start(), prefix_length); in FlatStringCompare()
7251 r = CompareChars(x_chars.start(), y_chars.start(), prefix_length); in FlatStringCompare()
7257 r = CompareChars(x_chars.start(), y_chars.start(), prefix_length); in FlatStringCompare()
7260 r = CompareChars(x_chars.start(), y_chars.start(), prefix_length); in FlatStringCompare()
/external/srtp/doc/
Drfc3711.txt1977 SRTP prefix_length 0 0