/external/chromium/chrome/browser/chromeos/ |
version_loader.cc | 100 std::string version = lines[i].substr(std::string(prefix).size()); 104 version = version.substr(1, version.size() - 2); 126 std::string str = lines[i].substr(std::string(kFirmwarePrefix).size()); 129 return str.substr(found); 155 version = version.substr(kTrimVersion); 159 version = version.substr(first_dot + 1);
|
/external/chromium_org/chrome/common/ |
content_settings_pattern_parser.cc | 129 scheme = pattern_spec.substr(scheme_component.start, scheme_component.len); 140 std::string host = pattern_spec.substr(host_component.start, 145 host = host.substr(kDomainWildcardLength); 159 const std::string port = pattern_spec.substr(port_component.start, 181 const std::string path = pattern_spec.substr(path_component.start, 183 if (path.substr(1) == kPathWildcard)
|
/external/chromium_org/chrome/common/favicon/ |
favicon_url_parser.cc | 65 size_str = path.substr(parsed_index, slash - parsed_index); 67 size_str = path.substr(parsed_index, scale_delimiter - parsed_index); 68 scale_str = path.substr(scale_delimiter + 1, 100 parsed->url = path.substr(parsed_index); 107 std::string possibly_invalid_url = path.substr(parsed_index); 117 parsed->url = path.substr(parsed_index);
|
/external/eigen/scripts/ |
eigen_gen_credits.cpp | 46 result = line.substr(0, position_of_email_address); 89 istringstream(line.substr(last_space+1)) >> number; 114 else return name.substr(last_space+1); 145 misc = line.substr(last_bar+1); 151 url = line.substr(last_bar+1); 157 realname = line.substr(last_bar+1);
|
/external/chromium/chrome/browser/ui/gtk/ |
about_chrome_dialog.cc | 193 GtkWidget* license_chunk1 = gtk_label_new(license.substr(0, link1).c_str()); 196 license.substr(link1_end + strlen(kEndLinkOss), 200 license.substr(link2_end + strlen(kEndLinkOss)).c_str()); 204 license.substr(link1 + strlen(kBeginLinkOss), 207 license.substr(link2 + strlen(kBeginLinkOss), 258 UTF16ToUTF8(text.substr(0, url_offsets[0])).c_str()); 263 UTF16ToUTF8(text.substr(url_offsets[0])).c_str());
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-spi.h | 179 const char* substr); 195 // statement will cause exactly one fatal Google Test failure with 'substr' 207 #define EXPECT_FATAL_FAILURE(statement, substr) do {\ 214 >est_failures, ::testing::TPRT_FATAL_FAILURE, (substr));\ 225 // 'substr' being part of the failure message. 236 #define EXPECT_NONFATAL_FAILURE(statement, substr) do {\ 239 >est_failures, ::testing::TPRT_NONFATAL_FAILURE, (substr));\
|
/external/hyphenation/ |
substrings.pl | 72 $subpat = substr ($pat, $i, $j); 75 $newpat = substr $pat, 0, $i + $j; 78 substr ($pat, 0, $i).$pattab{$subpat}; 79 $ss = substr $pat, 0, $i; 140 if (substr ($pat1, $i, length $pat2) eq $subpat) { 145 $ss = substr ($pat1, 0, $i); 165 if ((ord(substr($_[0], $i, 1)) >> 6) == 2) { $nonchar++; }
|
/external/llvm/tools/llvm-mc/ |
Disassembler.cpp | 101 Str = Str.substr(Pos); 110 Str = Str.substr(1); 112 Str = Str.substr(Str.find_first_of('\n')); 114 Str = Str.substr(1); 134 StringRef Value = Str.substr(0, Next); 142 Str = Str.substr(Str.find('\n')); 148 Str = Str.substr(Next);
|
/external/llvm/utils/FileCheck/ |
FileCheck.cpp | 159 PatternStr = PatternStr.substr(0, PatternStr.size()-1); 202 if (AddRegExToRegEx(PatternStr.substr(2, End-2), CurParen, SM)) 206 PatternStr = PatternStr.substr(End+2); 218 size_t End = FindRegexVarEnd(PatternStr.substr(2)); 227 StringRef MatchStr = PatternStr.substr(2, End); 228 PatternStr = PatternStr.substr(End+4); 232 StringRef Name = MatchStr.substr(0, NameEnd); 294 if (AddRegExToRegEx(MatchStr.substr(NameEnd+1), CurParen, SM)) 304 AddFixedStringToRegEx(PatternStr.substr(0, FixedMatchEnd), RegExStr); 305 PatternStr = PatternStr.substr(FixedMatchEnd) [all...] |
/external/chromium/base/i18n/ |
break_iterator_unittest.cc | 68 const string16 word1(str.substr(0, 10)); 69 const string16 word2(str.substr(11, 5)); 92 const string16 very_wide_word(str.substr(0, 2)); 176 const string16 word1(str.substr(0, 11)); 177 const string16 word2(str.substr(11, 5)); 197 const string16 very_wide_word(str.substr(0, 3)); 274 const string16 line1(str.substr(0, 11)); 275 const string16 line2(str.substr(11, 5)); 295 const string16 very_wide_line(str.substr(0, 3));
|
/external/chromium/webkit/glue/ |
multipart_response_delegate.cc | 98 data_ = data_.substr(pos); 118 data_ = data_.substr(pos); 161 data_ = data_.substr(boundary_end_pos + offset); 183 data_ = data_.substr(send_length); 241 data_ = data_.substr(line_end_pos); 318 content_type.substr(boundary_start_offset, boundary_length); 360 content_range.substr(byte_range_lower_bound_start_offset, 376 content_range.substr(byte_range_upper_bound_start_offset, 390 content_range.substr(byte_range_instance_size_start_offset,
|
/external/chromium_org/base/i18n/ |
break_iterator_unittest.cc | 71 const string16 word1(str.substr(0, 10)); 72 const string16 word2(str.substr(11, 5)); 95 const string16 very_wide_word(str.substr(0, 2)); 179 const string16 word1(str.substr(0, 11)); 180 const string16 word2(str.substr(11, 5)); 200 const string16 very_wide_word(str.substr(0, 3)); 277 const string16 line1(str.substr(0, 11)); 278 const string16 line2(str.substr(11, 5)); 298 const string16 very_wide_line(str.substr(0, 3));
|
/external/chromium_org/chrome/tools/convert_dict/ |
aff_reader.cc | 103 encoding_ = line.substr(4); 110 std::string group(line.substr(3)); 122 std::string replacement(line.substr(4)); 223 part = rule->substr(part_start); // From here to end. 256 std::string before_flags = part.substr(0, slash_index + 1); 261 base::SplitString(part.substr(slash_index + 1), ' ', &after_slash); 288 *rule = rule->substr(0, part_start) + reencoded; 314 split.push_back(utf8rule.substr(0, space_index)); 315 split.push_back(utf8rule.substr(space_index + 1));
|
/external/chromium_org/webkit/child/ |
multipart_response_delegate.cc | 98 data_ = data_.substr(pos); 118 data_ = data_.substr(pos); 161 data_ = data_.substr(boundary_end_pos + offset); 183 data_ = data_.substr(send_length); 241 data_ = data_.substr(line_end_pos); 318 content_type.substr(boundary_start_offset, boundary_length); 360 content_range.substr(byte_range_lower_bound_start_offset, 376 content_range.substr(byte_range_upper_bound_start_offset, 390 content_range.substr(byte_range_instance_size_start_offset,
|
/external/chromium/base/ |
string_split.cc | 25 STR tmp = str.substr(last, len); 133 const STR term = str.substr(begin_index); 139 const STR term = str.substr(begin_index, end_index - begin_index); 197 str.substr(last_non_ws_start, i - last_non_ws_start)); 213 str.substr(last_non_ws_start, length - last_non_ws_start));
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
PERF.awk | 73 if (substr(who, 0, 3) == "VP_" || 74 substr(who, 0, 3) == "VD_" || 75 substr(who, 0, 3) == "VE_" || 76 substr(who, 0, 3) == "CAM") { 77 boundary = substr(who, 0, 3) "T";
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/ |
unit_test_main.ipp | 60 m_value = in.substr( 1, in.size()-1 ); 64 m_value = in.substr( 1 ); 68 m_value = in.substr( 0, in.size()-1 ); 86 return name.substr( 0, m_value.size() ) == m_value; 89 return name.size() >= m_value.size() && name.substr( name.size() - m_value.size() ) == m_value;
|
/external/chromium/chrome/browser/content_settings/ |
content_settings_pattern.cc | 61 pattern_.substr(kDomainWildcardLength) : 78 host.rfind(pattern_.substr(kDomainWildcardLength)); 96 pattern_.substr(kDomainWildcardLength) : pattern_);
|
/external/chromium/chrome/browser/importer/ |
firefox_importer_utils.cc | 111 std::string key = line.substr(0, equal); 113 *version = line.substr(equal + 1)[0] - '0'; 121 UTF8ToWide(line.substr(equal + 1))); 151 current_section = line.substr(1); 159 key = line.substr(0, equal); 160 value = line.substr(equal + 1); 280 return content.substr(start + 1, stop - start - 1); 336 return GURL(home_page_list.substr(0, seperator)); 385 std::string key = line.substr(start_key, stop_key - start_key); 398 std::string value = line.substr(start_value + 1 [all...] |
/external/chromium/chrome/browser/resources/shared/js/cr/ |
command_line.js | 65 if (arg.substr(0, 2) == '--') { 69 this.options[arg.substr(0, pos)] = arg.substr(pos + 1);
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_test_helpers.cc | 62 std::string node_name = model_string.substr(start_pos, part_length); 68 tell = node_name.substr(part_length - 2, 2); 70 node_name = node_name.substr(0, part_length - 2);
|
/external/chromium_org/content/browser/download/ |
drag_download_util.cc | 40 GURL parsed_url = GURL(metadata.substr(file_name_end_pos + 1)); 45 *mime_type = metadata.substr(0, mime_type_end_pos); 47 base::string16 file_name_str = metadata.substr(
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
headlesscodemirror.js | 45 var substr = this.string.substr(this.pos, pattern.length); 46 if (cased(substr) == cased(pattern)) {
|
/external/chromium_org/v8/test/mjsunit/ |
regexp-indexof.js | 39 var expected = str.substr(from, length); 49 assertEquals(str.substr(0, lastFrom), RegExp.leftContext, "leftContext"); 51 str.substr(lastFrom + lastLength), RegExp.rightContext, "rightContext");
|
/external/openfst/src/lib/ |
flags.cc | 46 argval = argval.substr(1); // remove initial '-'s 54 arg = argval.substr(0, pos); 55 val = argval.substr(pos + 1);
|