/external/chromium_org/native_client_sdk/src/examples/api/websocket/ |
websocket.cc | 72 Open(message.substr(2)); 81 SendAsBinary(message.substr(2)); 86 SendAsText(message.substr(2));
|
/external/chromium_org/net/spdy/ |
spdy_http_utils.cc | 64 tval = value.substr(start, (end - start)); 66 tval = value.substr(start); 68 raw_headers.append(it->first.substr(1));
|
/external/chromium_org/ppapi/examples/ime/ |
ime.cc | 150 utf8_text_.substr(0, SelectionLeft())); 152 utf8_text_.substr(0, SelectionRight())); 158 std::string str = utf8_text_.substr(0, caret_pos_); 174 str.substr(0, composition_selection_.first)); 176 str.substr(0, composition_selection_.second)); 192 int lx = font_.MeasureSimpleText(str.substr(0, l)); 193 int rx = font_.MeasureSimpleText(str.substr(0, r)); 204 str.substr(0, composition_selection_.first)); 212 std::string str = utf8_text_.substr(caret_pos_); 363 std::string str = utf8_text_.substr(0, caret_pos_) [all...] |
/external/chromium_org/sync/internal_api/public/base/ |
unique_position.cc | 211 return bytes.substr(prefix_len, std::string::npos); 230 if (suffix.substr(suffix_zeroes) < reference.substr(ref_zeroes)) { 265 if (suffix.substr(suffix_FFs) > reference.substr(ref_FFs)) { 311 if (before.substr(i+1) < suffix && suffix < after.substr(i+1)) { 327 mid_a.append(FindGreaterWithSuffix(before.substr(i+1), suffix)); 337 mid_b.append(FindSmallerWithSuffix(after.substr(i+1), suffix)); 349 DCHECK_EQ(before.substr(0, i), after.substr(0, i)) [all...] |
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
SpellCheckClient.cpp | 93 m_spellcheck.spellCheckWord(data.substr(offset), &misspelledPosition, &misspelledLength); 147 m_spellcheck.fillSuggestionList(WebString(text.substr(misspelledPosition, misspelledLength)), &suggestions); 149 text = text.substr(misspelledPosition + misspelledLength);
|
/external/chromium_org/third_party/sqlite/src/test/ |
savepoint4.test | 130 UPDATE t1 SET x = substr(x||x, 12, 100000) WHERE (rowid%12)==0; 132 UPDATE t1 SET x = substr(x||x, 14, 100000) WHERE (rowid%14)==0; 134 UPDATE t1 SET x = substr(x||x, 13, 100000) WHERE (rowid%13)==0;
|
/external/chromium_org/ui/app_list/ |
app_list_item_list.cc | 165 LOG(ERROR) << "SetItemPosition: Not in list: " << item->id().substr(0, 8); 173 VLOG(2) << "SetItemPosition: No change: " << item->id().substr(0, 8); 180 VLOG(2) << "SetItemPosition: " << item->id().substr(0, 8)
|
/external/chromium_org/ui/base/webui/ |
web_ui_util.cc | 93 identifier.substr(0, identifier.length() - 1).CopyToString(&stripped); 106 *path = net::UnescapeURLComponent(url.path().substr(1), 118 if (ParseScaleFactor(stripped_path.substr(
|
/external/oprofile/pp/ |
oparchive.cpp | 70 string sample_base_dir = session_samples_dir.substr(archive_path.size()); 193 string base_samples_dir = a_sample_file.substr(0, offset); 201 string sample_base = sample_name.substr(archive_path.size());
|
/external/stlport/test/unit/ |
money_facets_test.cpp | 107 CPPUNIT_ASSERT( (str_res.substr(index, p) == rl.money_int_prefix) || 109 (str_res.substr(index, p_old) == rl.money_int_prefix_old)) ); 110 if ( str_res.substr(index, p) == rl.money_int_prefix ) { 202 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.negative_sign().size()) == dom_fmp.negative_sign() ); 209 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix ); 246 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix ); 306 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() ); 313 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix ); 345 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix ); 368 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() ) [all...] |
/ndk/build/awk/ |
gen-windows-host-path.awk | 77 letter = substr(host[nn],1,1) 86 cygwin[count] = substr(cygwin[nn],1,length(cygwin[nn])-1) up 95 cygwin[count] = substr(cygwin[nn],1,length(cygwin[nn])-1) lo
|
/ndk/sources/host-tools/nawk-20071023/ |
maketab.c | 54 { SUBSTR, "substr", "substr" },
|
/ndk/tests/device/test-gnustl-full/unit/ |
money_facets_test.cpp | 107 CPPUNIT_ASSERT( (str_res.substr(index, p) == rl.money_int_prefix) || 109 (str_res.substr(index, p_old) == rl.money_int_prefix_old)) ); 110 if ( str_res.substr(index, p) == rl.money_int_prefix ) { 202 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.negative_sign().size()) == dom_fmp.negative_sign() ); 209 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix ); 246 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix ); 306 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() ); 313 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix ); 345 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix ); 368 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
money_facets_test.cpp | 107 CPPUNIT_ASSERT( (str_res.substr(index, p) == rl.money_int_prefix) || 109 (str_res.substr(index, p_old) == rl.money_int_prefix_old)) ); 110 if ( str_res.substr(index, p) == rl.money_int_prefix ) { 202 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.negative_sign().size()) == dom_fmp.negative_sign() ); 209 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix ); 246 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix ); 306 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() ); 313 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix ); 345 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix ); 368 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() ) [all...] |
/external/llvm/lib/Support/ |
Path.cpp | 56 return path.substr(0, 2); 66 return path.substr(0, end); 71 return path.substr(0, 1); 74 return path.substr(0, 2); 77 return path.substr(0, 1); 81 return path.substr(0, end); 143 size_t root_dir_pos = root_dir_start(path.substr(0, end_pos)); 216 Component = Path.substr(Position, 1); 265 size_t start_pos = filename_pos(Path.substr(0, end_pos)); 300 return path.substr(0, b->size() + pos->size()) [all...] |
StringRef.cpp | 132 if (substr(i, N).equals(Str)) 148 if (substr(Pos, N).equals(Str)) // See if this is the correct substring. 170 if (substr(i, N).equals(Str)) 291 if (substr(i, N).equals(Str)) 298 Str = Str.substr(2); 303 Str = Str.substr(2); 308 Str = Str.substr(2); 356 Str = Str.substr(1); 377 if (getAsUnsignedInteger(Str.substr(1), Radix, ULLVal) || 403 Str = Str.substr(1) [all...] |
/ndk/build/gmsl/ |
gmsl-tests | 193 $(call start_test,substr) 194 $(call test_assert,$(call substr,xyz,1,1),x) 195 $(call test_assert,$(call substr,xyz,1,2),xy) 196 $(call test_assert,$(call substr,xyz,2,3),yz) 197 $(call test_assert,$(call substr,some string,1,1),s) 198 $(call test_assert,$(call substr,some string,1,2),so) 199 $(call test_assert,$(call substr,some string,1,3),som) 200 $(call test_assert,$(call substr,some string,1,4),some) 201 $(call test_assert,$(call substr,some string,1,5),some ) 202 $(call test_assert,$(call substr,some string,1,6),some s [all...] |
/art/dex2oat/ |
dex2oat.cc | 279 image_file_location = image_file_location.substr(host_prefix->size()); 625 dex_filenames.push_back(option.substr(strlen("--dex-file=")).data()); 627 dex_locations.push_back(option.substr(strlen("--dex-location=")).data()); 629 const char* zip_fd_str = option.substr(strlen("--zip-fd=")).data(); 634 zip_location = option.substr(strlen("--zip-location=")).data(); 636 oat_filename = option.substr(strlen("--oat-file=")).data(); 638 oat_symbols = option.substr(strlen("--oat-symbols=")).data(); 640 const char* oat_fd_str = option.substr(strlen("--oat-fd=")).data(); 649 const char* thread_count_str = option.substr(strlen("-j")).data(); 654 oat_location = option.substr(strlen("--oat-location=")).data() [all...] |
/art/runtime/ |
runtime.cc | 395 parsed->boot_class_path_string_ = option.substr(strlen("-Xbootclasspath:")).data(); 410 parsed->image_ = option.substr(strlen("-Ximage:")).data(); 414 std::string tail(option.substr(option[1] == 'X' ? 10 : 15)); 421 size_t size = ParseMemoryOption(option.substr(strlen("-Xms")).c_str(), 1024); 432 size_t size = ParseMemoryOption(option.substr(strlen("-Xmx")).c_str(), 1024); 443 size_t size = ParseMemoryOption(option.substr(strlen("-XX:HeapGrowthLimit=")).c_str(), 1024); 454 size_t size = ParseMemoryOption(option.substr(strlen("-XX:HeapMinFree=")).c_str(), 1024); 465 size_t size = ParseMemoryOption(option.substr(strlen("-XX:HeapMaxFree=")).c_str(), 1024); 476 std::istringstream iss(option.substr(strlen("-XX:HeapTargetUtilization="))); 491 ParseMemoryOption(option.substr(strlen("-XX:ParallelGCThreads=")).c_str(), 1024) [all...] |
/external/chromium/chrome/common/extensions/ |
url_pattern.cc | 130 if (!SetScheme(pattern.substr(0, scheme_end_pos))) 160 host_ = pattern.substr(host_start_pos, host_end_pos - host_start_pos); 181 SetPath(pattern.substr(path_start_pos)); 328 if (!MatchesPath(other.path().substr(0, other.path().size() - 1)) && 329 !other.MatchesPath(path_.substr(0, path_.size() - 1)))
|
/external/chromium_org/net/ftp/ |
ftp_directory_listing_parser_vms.cc | 104 match = match.substr(1); 105 pattern = pattern.substr(1); 119 base::SplitString(input.substr(1, input.length() - 2), ',', &parts); 175 time_column = time_column.substr(0, 8); 177 time_column = time_column.substr(0, 5);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
FileSystemMapping.js | 298 if (filePath.startsWith(pathPrefix.substr(1))) 374 file.filePath = entry.pathPrefix.substr(1) + url.substr(entry.urlPrefix.length); 420 var pathPrefix = normalizedFilePath.substr(0, normalizedFilePath.length - commonPathSuffixLength); 421 var urlPrefix = url.substr(0, url.length - commonPathSuffixLength);
|
/external/chromium_org/tools/win/link_limiter/ |
limiter.cc | 73 cmdline = exe_name + cmdline.substr(first_space); 318 shimmed_plus_pipename = shimmed_plus_pipename.substr(last_slash + 1); 326 tstring shimmed_exe = shimmed_plus_pipename.substr(0, separator); 327 tstring base_pipename = shimmed_plus_pipename.substr(separator + 2); 333 base_pipename = base_pipename.substr(0, dot);
|
/external/chromium_org/content/browser/devtools/ |
devtools_http_handler_impl.cc | 225 return path.substr(0, query_position); 261 const std::string target_id = info.path.substr(strlen(kThumbUrlPrefix)); 292 std::string filename = PathWithoutParams(info.path.substr(10)); 415 *command = path.substr(1); 419 *target_id = command->substr(separator_pos + 1); 420 *command = command->substr(0, separator_pos); 429 std::string path = info.path.substr(5); 435 query = path.substr(query_pos + 1); 436 path = path.substr(0, query_pos); 441 path = path.substr(0, fragment_pos) [all...] |
/external/chromium_org/rlz/lib/ |
rlz_lib.cc | 105 std::string events = response_line.substr(field_header.size()); 111 events = events.substr(0, events_length); 122 std::string event_string = events.substr(event_begin, 129 if (!GetAccessPointFromName(event_string.substr(0, 2).c_str(), &point) || 134 if (!GetEventFromName(event_string.substr(event_string.size() - 1).c_str(), 420 std::string message(response_string.substr(0, checksum_index + 1)); 439 std::string checksum = response_string.substr(checksum_begin, 535 response_line = response_string.substr(line_begin, line_end - line_begin); 544 response_line.substr(3, separator_index - rlz_cgi_length); 551 std::string rlz_value(response_line.substr(separator_index + 2)) [all...] |