s 210 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc InSequence s; s 255 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc InSequence s; s 288 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc InSequence s; s 109 android_webview/browser/net/input_stream_reader_unittest.cc InSequence s; s 55 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java final Semaphore s = new Semaphore(0); s 61 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java s.release(); s 72 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java assertTrue(s.tryAcquire(TEST_TIMEOUT, TimeUnit.MILLISECONDS)); s 202 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java final Semaphore s = new Semaphore(0); s 207 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java s.release(); s 216 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java assertTrue(s.tryAcquire(WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS)); s 87 ash/display/display_manager.cc explicit ScaleComparator(float s) : scale(s) {} s 89 ash/display/display_manager.cc bool operator()(float s) const { s 91 ash/display/display_manager.cc return std::abs(scale - s) < kEpsilon; s 98 base/allocator/allocator_unittest.cc } s; s 104 base/allocator/allocator_unittest.cc s.prev_word = prev_word_value; s 105 base/allocator/allocator_unittest.cc s.count = 0; s 106 base/allocator/allocator_unittest.cc s.next_word = next_word_value; s 108 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 1), 1); s 109 base/allocator/allocator_unittest.cc EXPECT_EQ(s.count, 1); s 110 base/allocator/allocator_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 111 base/allocator/allocator_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 113 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 2), 3); s 114 base/allocator/allocator_unittest.cc EXPECT_EQ(s.count, 3); s 115 base/allocator/allocator_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 116 base/allocator/allocator_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 118 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 3), 6); s 119 base/allocator/allocator_unittest.cc EXPECT_EQ(s.count, 6); s 120 base/allocator/allocator_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 121 base/allocator/allocator_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 123 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -3), 3); s 124 base/allocator/allocator_unittest.cc EXPECT_EQ(s.count, 3); s 125 base/allocator/allocator_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 126 base/allocator/allocator_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 128 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -2), 1); s 129 base/allocator/allocator_unittest.cc EXPECT_EQ(s.count, 1); s 130 base/allocator/allocator_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 131 base/allocator/allocator_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 133 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), 0); s 134 base/allocator/allocator_unittest.cc EXPECT_EQ(s.count, 0); s 135 base/allocator/allocator_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 136 base/allocator/allocator_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 138 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), -1); s 139 base/allocator/allocator_unittest.cc EXPECT_EQ(s.count, -1); s 140 base/allocator/allocator_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 141 base/allocator/allocator_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 143 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -4), -5); s 144 base/allocator/allocator_unittest.cc EXPECT_EQ(s.count, -5); s 145 base/allocator/allocator_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 146 base/allocator/allocator_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 148 base/allocator/allocator_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 5), 0); s 149 base/allocator/allocator_unittest.cc EXPECT_EQ(s.count, 0); s 150 base/allocator/allocator_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 151 base/allocator/allocator_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 277 base/allocator/allocator_unittest.cc static void TestCalloc(size_t n, size_t s, bool ok) { s 278 base/allocator/allocator_unittest.cc char* p = reinterpret_cast<char*>(calloc(n, s)); s 284 base/allocator/allocator_unittest.cc for (int i = 0; i < n*s; i++) { s 398 base/allocator/allocator_unittest.cc for (int s = 0; s < sizeof(start_sizes)/sizeof(*start_sizes); ++s) { s 399 base/allocator/allocator_unittest.cc void* p = malloc(start_sizes[s]); s 402 base/allocator/allocator_unittest.cc for (int d = 0; d < s*2; ++d) { s 403 base/allocator/allocator_unittest.cc void* new_p = realloc(p, start_sizes[s] + deltas[d]); s 407 base/allocator/allocator_unittest.cc for (int d = 0; d < s*2; ++d) { s 408 base/allocator/allocator_unittest.cc void* new_p = realloc(p, start_sizes[s] - deltas[d]); s 192 base/android/jni_generator/golden_sample_for_tests_jni.h jstring s) { s 212 base/android/jni_generator/golden_sample_for_tests_jni.h method_id, l, i, s); s 218 base/android/jni_generator/java/src/org/chromium/example/jni_generator/SampleForTests.java private InnerStructA(long l, int i, String s) { s 221 base/android/jni_generator/java/src/org/chromium/example/jni_generator/SampleForTests.java mString = s; s 225 base/android/jni_generator/java/src/org/chromium/example/jni_generator/SampleForTests.java private static InnerStructA create(long l, int i, String s) { s 226 base/android/jni_generator/java/src/org/chromium/example/jni_generator/SampleForTests.java return new InnerStructA(l, i, s); s 25 base/atomicops_unittest.cc } s; s 31 base/atomicops_unittest.cc s.prev_word = prev_word_value; s 32 base/atomicops_unittest.cc s.count = 0; s 33 base/atomicops_unittest.cc s.next_word = next_word_value; s 35 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 1), 1); s 36 base/atomicops_unittest.cc EXPECT_EQ(s.count, 1); s 37 base/atomicops_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 38 base/atomicops_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 40 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 2), 3); s 41 base/atomicops_unittest.cc EXPECT_EQ(s.count, 3); s 42 base/atomicops_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 43 base/atomicops_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 45 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 3), 6); s 46 base/atomicops_unittest.cc EXPECT_EQ(s.count, 6); s 47 base/atomicops_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 48 base/atomicops_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 50 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -3), 3); s 51 base/atomicops_unittest.cc EXPECT_EQ(s.count, 3); s 52 base/atomicops_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 53 base/atomicops_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 55 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -2), 1); s 56 base/atomicops_unittest.cc EXPECT_EQ(s.count, 1); s 57 base/atomicops_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 58 base/atomicops_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 60 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), 0); s 61 base/atomicops_unittest.cc EXPECT_EQ(s.count, 0); s 62 base/atomicops_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 63 base/atomicops_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 65 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), -1); s 66 base/atomicops_unittest.cc EXPECT_EQ(s.count, -1); s 67 base/atomicops_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 68 base/atomicops_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 70 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -4), -5); s 71 base/atomicops_unittest.cc EXPECT_EQ(s.count, -5); s 72 base/atomicops_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 73 base/atomicops_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 75 base/atomicops_unittest.cc EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 5), 0); s 76 base/atomicops_unittest.cc EXPECT_EQ(s.count, 0); s 77 base/atomicops_unittest.cc EXPECT_EQ(s.prev_word, prev_word_value); s 78 base/atomicops_unittest.cc EXPECT_EQ(s.next_word, next_word_value); s 178 base/bind_unittest.cc const char* CStringIdentity(const char* s) { s 179 base/bind_unittest.cc return s; s 103 base/callback_list_unittest.cc Summer s; s 107 base/callback_list_unittest.cc c1.Add(Bind(&Summer::AddOneParam, Unretained(&s))); s 110 base/callback_list_unittest.cc EXPECT_EQ(1, s.value()); s 114 base/callback_list_unittest.cc c2.Add(Bind(&Summer::AddTwoParam, Unretained(&s))); s 117 base/callback_list_unittest.cc EXPECT_EQ(3, s.value()); s 121 base/callback_list_unittest.cc subscription3 = c3.Add(Bind(&Summer::AddThreeParam, Unretained(&s))); s 124 base/callback_list_unittest.cc EXPECT_EQ(6, s.value()); s 128 base/callback_list_unittest.cc subscription4 = c4.Add(Bind(&Summer::AddFourParam, Unretained(&s))); s 131 base/callback_list_unittest.cc EXPECT_EQ(10, s.value()); s 135 base/callback_list_unittest.cc subscription5 = c5.Add(Bind(&Summer::AddFiveParam, Unretained(&s))); s 138 base/callback_list_unittest.cc EXPECT_EQ(15, s.value()); s 142 base/callback_list_unittest.cc subscription6 = c6.Add(Bind(&Summer::AddSixParam, Unretained(&s))); s 145 base/callback_list_unittest.cc EXPECT_EQ(21, s.value()); s 208 base/compiler_specific.h #define MSAN_UNPOISON(p, s) __msan_unpoison(p, s) s 210 base/compiler_specific.h #define MSAN_UNPOISON(p, s) s 97 base/containers/hash_tables.h std::size_t operator()(const string_type& s) const { \ s 99 base/containers/hash_tables.h for (string_type::const_iterator i = s.begin(); i != s.end(); ++i) \ s 114 base/debug/crash_logging.cc std::string s = base::StringPrintf("%p", addresses[i]); s 115 base/debug/crash_logging.cc length += s.length() + 1; s 118 base/debug/crash_logging.cc hex_backtrace.push_back(s); s 1644 base/debug/trace_event_unittest.cc std::string s; s 1645 base/debug/trace_event_unittest.cc EXPECT_TRUE(entry3->GetString("args.arg1", &s)); s 1646 base/debug/trace_event_unittest.cc EXPECT_EQ("val1", s); s 1647 base/debug/trace_event_unittest.cc EXPECT_TRUE(entry3->GetString("args.arg2", &s)); s 1648 base/debug/trace_event_unittest.cc EXPECT_EQ("val2", s); s 36 base/i18n/file_util_icu.cc bool containsNone(const string16 &s) { s 37 base/i18n/file_util_icu.cc return !!set->containsNone(icu::UnicodeString(s.c_str(), s.size())); s 32 base/i18n/icu_string_conversions_unittest.cc string16 BuildString16(const wchar_t* s) { s 34 base/i18n/icu_string_conversions_unittest.cc return string16(s); s 37 base/i18n/icu_string_conversions_unittest.cc while (*s != 0) { s 38 base/i18n/icu_string_conversions_unittest.cc DCHECK_LE(static_cast<unsigned int>(*s), 0xFFFFu); s 39 base/i18n/icu_string_conversions_unittest.cc u16.push_back(*s++); s 51 base/i18n/streaming_utf8_validator_perftest.cc bool IsString7Bit(const std::string& s) { s 52 base/i18n/streaming_utf8_validator_perftest.cc for (std::string::const_iterator it = s.begin(); it != s.end(); ++it) { s 606 base/json/json_reader_unittest.cc std::string s; s 614 base/json/json_reader_unittest.cc EXPECT_TRUE(dict_string_0->GetAsString(&s)); s 615 base/json/json_reader_unittest.cc EXPECT_EQ("bat", s); s 617 base/json/json_reader_unittest.cc EXPECT_TRUE(dict_string_1->GetAsString(&s)); s 618 base/json/json_reader_unittest.cc EXPECT_EQ("cow", s); s 620 base/json/json_reader_unittest.cc EXPECT_TRUE(list_value_0->GetAsString(&s)); s 621 base/json/json_reader_unittest.cc EXPECT_EQ("a", s); s 622 base/json/json_reader_unittest.cc EXPECT_TRUE(list_value_1->GetAsString(&s)); s 623 base/json/json_reader_unittest.cc EXPECT_EQ("b", s); s 58 base/md5.cc #define MD5STEP(f, w, x, y, z, data, s) \ s 59 base/md5.cc ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) s 33 base/memory/ref_counted_memory_unittest.cc std::string s("destroy me"); s 34 base/memory/ref_counted_memory_unittest.cc scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); s 36 base/memory/ref_counted_memory_unittest.cc EXPECT_EQ(0U, s.size()); s 74 base/memory/ref_counted_memory_unittest.cc std::string s("str"); s 75 base/memory/ref_counted_memory_unittest.cc scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); s 388 base/message_loop/message_loop_test.cc TaskItem(TaskType t, int c, bool s) s 391 base/message_loop/message_loop_test.cc start(s) { s 162 base/message_loop/message_loop_unittest.cc TaskItem(TaskType t, int c, bool s) s 165 base/message_loop/message_loop_unittest.cc start(s) { s 56 base/message_loop/message_pump_win.cc RunState s; s 57 base/message_loop/message_pump_win.cc s.delegate = delegate; s 58 base/message_loop/message_pump_win.cc s.dispatcher = dispatcher; s 59 base/message_loop/message_pump_win.cc s.should_quit = false; s 60 base/message_loop/message_pump_win.cc s.run_depth = state_ ? state_->run_depth + 1 : 1; s 63 base/message_loop/message_pump_win.cc state_ = &s; s 428 base/metrics/histogram_unittest.cc std::string s; s 431 base/metrics/histogram_unittest.cc EXPECT_TRUE(iter.ReadInt(&i) && iter.ReadString(&s) && iter.ReadInt(&i) && s 457 base/numerics/safe_numerics_unittest.cc #define TEST_NUMERIC_CONVERSION(d, s, t) \ s 458 base/numerics/safe_numerics_unittest.cc TestNumericConversion<d, s, t>::Test(#d, #s, __LINE__) s 89 base/os_compat_android.cc void sincos(double angle, double* s, double *c) { s 91 base/os_compat_android.cc *s = sin(angle); s 95 base/os_compat_android.cc void sincosf(float angle, float* s, float* c) { s 97 base/os_compat_android.cc *s = sinf(angle); s 12 base/strings/nullable_string16_unittest.cc NullableString16 s; s 13 base/strings/nullable_string16_unittest.cc EXPECT_TRUE(s.is_null()); s 14 base/strings/nullable_string16_unittest.cc EXPECT_EQ(string16(), s.string()); s 588 base/strings/safe_sprintf.cc const char *s; s 590 base/strings/safe_sprintf.cc s = arg.str ? arg.str : "<NULL>"; s 593 base/strings/safe_sprintf.cc s = "<NULL>"; s 603 base/strings/safe_sprintf.cc for (const char* src = s; *src++; ) { s 612 base/strings/safe_sprintf.cc for (const char* src = s; *src; ) { s 154 base/strings/safe_sprintf.h Arg(const char* s) : str(s), type(STRING) { } s 155 base/strings/safe_sprintf.h Arg(char* s) : str(s), type(STRING) { } s 35 base/strings/string16.cc size_t c16len(const char16* s) { s 36 base/strings/string16.cc const char16 *s_orig = s; s 37 base/strings/string16.cc while (*s) { s 38 base/strings/string16.cc ++s; s 40 base/strings/string16.cc return s - s_orig; s 43 base/strings/string16.cc const char16* c16memchr(const char16* s, char16 c, size_t n) { s 45 base/strings/string16.cc if (*s == c) { s 46 base/strings/string16.cc return s; s 48 base/strings/string16.cc ++s; s 61 base/strings/string16.cc char16* c16memset(char16* s, char16 c, size_t n) { s 62 base/strings/string16.cc char16 *s_orig = s; s 64 base/strings/string16.cc *s = c; s 65 base/strings/string16.cc ++s; s 55 base/strings/string16.h BASE_EXPORT size_t c16len(const char16* s); s 56 base/strings/string16.h BASE_EXPORT const char16* c16memchr(const char16* s, char16 c, size_t n); s 59 base/strings/string16.h BASE_EXPORT char16* c16memset(char16* s, char16 c, size_t n); s 88 base/strings/string16.h static size_t length(const char_type* s) { s 89 base/strings/string16.h return c16len(s); s 92 base/strings/string16.h static const char_type* find(const char_type* s, size_t n, s 94 base/strings/string16.h return c16memchr(s, a, n); s 105 base/strings/string16.h static char_type* assign(char_type* s, size_t n, char_type a) { s 106 base/strings/string16.h return c16memset(s, a, n); s 103 base/strings/string_piece.cc const BasicStringPiece<STR>& s, s 109 base/strings/string_piece.cc std::search(self.begin() + pos, self.end(), s.begin(), s.end()); s 112 base/strings/string_piece.cc return xpos + s.size() <= self.size() ? xpos : BasicStringPiece<STR>::npos; s 115 base/strings/string_piece.cc size_t find(const StringPiece& self, const StringPiece& s, size_t pos) { s 116 base/strings/string_piece.cc return findT(self, s, pos); s 119 base/strings/string_piece.cc size_t find(const StringPiece16& self, const StringPiece16& s, size_t pos) { s 120 base/strings/string_piece.cc return findT(self, s, pos); s 146 base/strings/string_piece.cc const BasicStringPiece<STR>& s, s 148 base/strings/string_piece.cc if (self.size() < s.size()) s 151 base/strings/string_piece.cc if (s.empty()) s 155 base/strings/string_piece.cc self.begin() + std::min(self.size() - s.size(), pos) + s.size(); s 157 base/strings/string_piece.cc std::find_end(self.begin(), last, s.begin(), s.end()); s 162 base/strings/string_piece.cc size_t rfind(const StringPiece& self, const StringPiece& s, size_t pos) { s 163 base/strings/string_piece.cc return rfindT(self, s, pos); s 166 base/strings/string_piece.cc size_t rfind(const StringPiece16& self, const StringPiece16& s, size_t pos) { s 167 base/strings/string_piece.cc return rfindT(self, s, pos); s 197 base/strings/string_piece.cc const StringPiece& s, s 199 base/strings/string_piece.cc if (self.size() == 0 || s.size() == 0) s 203 base/strings/string_piece.cc if (s.size() == 1) s 204 base/strings/string_piece.cc return find(self, s.data()[0], pos); s 207 base/strings/string_piece.cc BuildLookupTable(s, lookup); s 218 base/strings/string_piece.cc const StringPiece16& s, s 221 base/strings/string_piece.cc std::find_first_of(self.begin() + pos, self.end(), s.begin(), s.end()); s 229 base/strings/string_piece.cc const StringPiece& s, s 234 base/strings/string_piece.cc if (s.size() == 0) s 238 base/strings/string_piece.cc if (s.size() == 1) s 239 base/strings/string_piece.cc return find_first_not_of(self, s.data()[0], pos); s 242 base/strings/string_piece.cc BuildLookupTable(s, lookup); s 253 base/strings/string_piece.cc const StringPiece16& s, s 260 base/strings/string_piece.cc for (size_t s_i = 0; s_i < s.size(); ++s_i) { s 261 base/strings/string_piece.cc if (self[self_i] == s[s_i]) { s 300 base/strings/string_piece.cc size_t find_last_of(const StringPiece& self, const StringPiece& s, size_t pos) { s 301 base/strings/string_piece.cc if (self.size() == 0 || s.size() == 0) s 305 base/strings/string_piece.cc if (s.size() == 1) s 306 base/strings/string_piece.cc return rfind(self, s.data()[0], pos); s 309 base/strings/string_piece.cc BuildLookupTable(s, lookup); s 321 base/strings/string_piece.cc const StringPiece16& s, s 328 base/strings/string_piece.cc for (size_t s_i = 0; s_i < s.size(); s_i++) { s 329 base/strings/string_piece.cc if (self.data()[self_i] == s[s_i]) s 340 base/strings/string_piece.cc const StringPiece& s, s 346 base/strings/string_piece.cc if (s.size() == 0) s 350 base/strings/string_piece.cc if (s.size() == 1) s 351 base/strings/string_piece.cc return find_last_not_of(self, s.data()[0], pos); s 354 base/strings/string_piece.cc BuildLookupTable(s, lookup); s 366 base/strings/string_piece.cc const StringPiece16& s, s 373 base/strings/string_piece.cc for (size_t s_i = 0; s_i < s.size(); s_i++) { s 374 base/strings/string_piece.cc if (self.data()[self_i] == s[s_i]) { s 69 base/strings/string_piece.h const StringPiece& s, s 72 base/strings/string_piece.h const StringPiece16& s, s 82 base/strings/string_piece.h const StringPiece& s, s 85 base/strings/string_piece.h const StringPiece16& s, s 95 base/strings/string_piece.h const StringPiece& s, s 98 base/strings/string_piece.h const StringPiece16& s, s 102 base/strings/string_piece.h const StringPiece& s, s 105 base/strings/string_piece.h const StringPiece16& s, s 115 base/strings/string_piece.h const StringPiece& s, s 118 base/strings/string_piece.h const StringPiece16& s, s 128 base/strings/string_piece.h const StringPiece& s, s 131 base/strings/string_piece.h const StringPiece16& s, s 282 base/strings/string_piece.h size_type find(const BasicStringPiece<STRING_TYPE>& s, s 284 base/strings/string_piece.h return internal::find(*this, s, pos); s 291 base/strings/string_piece.h size_type rfind(const BasicStringPiece& s, s 293 base/strings/string_piece.h return internal::rfind(*this, s, pos); s 300 base/strings/string_piece.h size_type find_first_of(const BasicStringPiece& s, s 302 base/strings/string_piece.h return internal::find_first_of(*this, s, pos); s 309 base/strings/string_piece.h size_type find_first_not_of(const BasicStringPiece& s, s 311 base/strings/string_piece.h return internal::find_first_not_of(*this, s, pos); s 318 base/strings/string_piece.h size_type find_last_of(const BasicStringPiece& s, s 320 base/strings/string_piece.h return internal::find_last_of(*this, s, pos); s 328 base/strings/string_piece.h size_type find_last_not_of(const BasicStringPiece& s, s 330 base/strings/string_piece.h return internal::find_last_not_of(*this, s, pos); s 584 base/strings/string_piece_unittest.cc BasicStringPiece<TypeParam> s(NULL); s 585 base/strings/string_piece_unittest.cc ASSERT_EQ(s.data(), (const typename TypeParam::value_type*)NULL); s 586 base/strings/string_piece_unittest.cc ASSERT_EQ(s.size(), 0U); s 588 base/strings/string_piece_unittest.cc s.set(NULL); s 589 base/strings/string_piece_unittest.cc ASSERT_EQ(s.data(), (const typename TypeParam::value_type*)NULL); s 590 base/strings/string_piece_unittest.cc ASSERT_EQ(s.size(), 0U); s 592 base/strings/string_piece_unittest.cc TypeParam str = s.as_string(); s 18 base/strings/string_split.cc const typename STR::value_type s, s 25 base/strings/string_split.cc if (i == c || str[i] == s) { s 66 base/strings/string_split.cc const STR& s, s 71 base/strings/string_split.cc const typename STR::size_type end_index = str.find(s, begin_index); s 83 base/strings/string_split.cc begin_index = end_index + s.size(); s 175 base/strings/string_split.cc const string16& s, s 177 base/strings/string_split.cc SplitStringUsingSubstrT(str, s, r); s 181 base/strings/string_split.cc const std::string& s, s 183 base/strings/string_split.cc SplitStringUsingSubstrT(str, s, r); s 48 base/strings/string_split.h const string16& s, s 51 base/strings/string_split.h const std::string& s, s 40 base/strings/string_util.cc const std::string s; s 108 base/strings/string_util.cc return EmptyStrings::GetInstance()->s; s 264 base/strings/string_util.h template <class str> inline void StringToLowerASCII(str* s) { s 265 base/strings/string_util.h for (typename str::iterator i = s->begin(); i != s->end(); ++i) s 269 base/strings/string_util.h template <class str> inline str StringToLowerASCII(const str& s) { s 271 base/strings/string_util.h str output(s); s 278 base/strings/string_util.h template <class str> inline void StringToUpperASCII(str* s) { s 279 base/strings/string_util.h for (typename str::iterator i = s->begin(); i != s->end(); ++i) s 283 base/strings/string_util.h template <class str> inline str StringToUpperASCII(const str& s) { s 285 base/strings/string_util.h str output(s); s 453 base/strings/string_util.h base::char16 s); s 455 base/strings/string_util.h const std::vector<std::string>& parts, char s); s 22 base/third_party/dmg_fp/dmg_fp.h void freedtoa(char* s); s 668 base/third_party/dmg_fp/dtoa.cc (s, nd0, nd, y9, dplen) CONST char *s; int nd0, nd, dplen; ULong y9; s 670 base/third_party/dmg_fp/dtoa.cc (CONST char *s, int nd0, int nd, ULong y9, int dplen) s 691 base/third_party/dmg_fp/dtoa.cc s += 9; s 692 base/third_party/dmg_fp/dtoa.cc do b = multadd(b, 10, *s++ - '0'); s 694 base/third_party/dmg_fp/dtoa.cc s += dplen; s 697 base/third_party/dmg_fp/dtoa.cc s += dplen + 9; s 699 base/third_party/dmg_fp/dtoa.cc b = multadd(b, 10, *s++ - '0'); s 1500 base/third_party/dmg_fp/dtoa.cc htinit(h, s, inc) unsigned char *h; unsigned char *s; int inc; s 1502 base/third_party/dmg_fp/dtoa.cc htinit(unsigned char *h, unsigned char *s, int inc) s 1506 base/third_party/dmg_fp/dtoa.cc for(i = 0; (j = s[i]) !=0; i++) s 1543 base/third_party/dmg_fp/dtoa.cc CONST char *s = *sp; s 1546 base/third_party/dmg_fp/dtoa.cc if ((c = *++s) >= 'A' && c <= 'Z') s 1551 base/third_party/dmg_fp/dtoa.cc *sp = s + 1; s 1565 base/third_party/dmg_fp/dtoa.cc CONST char *s; s 1573 base/third_party/dmg_fp/dtoa.cc s = *sp; s 1575 base/third_party/dmg_fp/dtoa.cc while((c = *(CONST unsigned char*)(s+1)) && c <= ' ') s 1576 base/third_party/dmg_fp/dtoa.cc ++s; s 1577 base/third_party/dmg_fp/dtoa.cc if (s[1] == '0' && (s[2] == 'x' || s[2] == 'X')) s 1578 base/third_party/dmg_fp/dtoa.cc s += 2; s 1579 base/third_party/dmg_fp/dtoa.cc while((c = *(CONST unsigned char*)++s)) { s 1591 base/third_party/dmg_fp/dtoa.cc *sp = s + 1; s 1600 base/third_party/dmg_fp/dtoa.cc *sp = s + 1; s 1603 base/third_party/dmg_fp/dtoa.cc } while((c = *++s)); s 1746 base/third_party/dmg_fp/dtoa.cc CONST unsigned char *decpt, *s0, *s, *s1; s 1794 base/third_party/dmg_fp/dtoa.cc s = s0; s 1798 base/third_party/dmg_fp/dtoa.cc if (hexdig[*s]) s 1804 base/third_party/dmg_fp/dtoa.cc if (s[i] != decimalpoint[i]) s 1807 base/third_party/dmg_fp/dtoa.cc decpt = s += i; s 1809 base/third_party/dmg_fp/dtoa.cc if (*s != '.') s 1811 base/third_party/dmg_fp/dtoa.cc decpt = ++s; s 1813 base/third_party/dmg_fp/dtoa.cc if (!hexdig[*s]) s 1815 base/third_party/dmg_fp/dtoa.cc while(*s == '0') s 1816 base/third_party/dmg_fp/dtoa.cc s++; s 1817 base/third_party/dmg_fp/dtoa.cc if (hexdig[*s]) s 1820 base/third_party/dmg_fp/dtoa.cc s0 = s; s 1822 base/third_party/dmg_fp/dtoa.cc while(hexdig[*s]) s 1823 base/third_party/dmg_fp/dtoa.cc s++; s 1825 base/third_party/dmg_fp/dtoa.cc if (*s == *decimalpoint && !decpt) { s 1827 base/third_party/dmg_fp/dtoa.cc if (s[i] != decimalpoint[i]) s 1830 base/third_party/dmg_fp/dtoa.cc decpt = s += i; s 1832 base/third_party/dmg_fp/dtoa.cc if (*s == '.' && !decpt) { s 1833 base/third_party/dmg_fp/dtoa.cc decpt = ++s; s 1835 base/third_party/dmg_fp/dtoa.cc while(hexdig[*s]) s 1836 base/third_party/dmg_fp/dtoa.cc s++; s 1839 base/third_party/dmg_fp/dtoa.cc e = -(((Long)(s-decpt)) << 2); s 1841 base/third_party/dmg_fp/dtoa.cc s1 = s; s 1843 base/third_party/dmg_fp/dtoa.cc switch(*s) { s 1846 base/third_party/dmg_fp/dtoa.cc switch(*++s) { s 1851 base/third_party/dmg_fp/dtoa.cc s++; s 1853 base/third_party/dmg_fp/dtoa.cc if ((n = hexdig[*s]) == 0 || n > 0x19) { s 1854 base/third_party/dmg_fp/dtoa.cc s = s1; s 1858 base/third_party/dmg_fp/dtoa.cc while((n = hexdig[*++s]) !=0 && n <= 0x19) { s 1867 base/third_party/dmg_fp/dtoa.cc *sp = (char*)s; s 2440 base/third_party/dmg_fp/dtoa.cc CONST char *s, *s0, *s1; s 2468 base/third_party/dmg_fp/dtoa.cc for(s = s00;;s++) switch(*s) { s 2473 base/third_party/dmg_fp/dtoa.cc if (*++s) s 2489 base/third_party/dmg_fp/dtoa.cc if (*s == '0') { s 2491 base/third_party/dmg_fp/dtoa.cc switch(s[1]) { s 2495 base/third_party/dmg_fp/dtoa.cc gethex(&s, &rv, bc.rounding, sign); s 2497 base/third_party/dmg_fp/dtoa.cc gethex(&s, &rv, 1, sign); s 2503 base/third_party/dmg_fp/dtoa.cc while(*++s == '0') ; s 2504 base/third_party/dmg_fp/dtoa.cc if (!*s) s 2507 base/third_party/dmg_fp/dtoa.cc s0 = s; s 2509 base/third_party/dmg_fp/dtoa.cc for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++) s 2515 base/third_party/dmg_fp/dtoa.cc bc.dp0 = bc.dp1 = s - s0; s 2521 base/third_party/dmg_fp/dtoa.cc s2 = s; s 2528 base/third_party/dmg_fp/dtoa.cc s = s2; s 2536 base/third_party/dmg_fp/dtoa.cc c = *++s; s 2537 base/third_party/dmg_fp/dtoa.cc bc.dp1 = s - s0; s 2540 base/third_party/dmg_fp/dtoa.cc for(; c == '0'; c = *++s) s 2543 base/third_party/dmg_fp/dtoa.cc s0 = s; s 2550 base/third_party/dmg_fp/dtoa.cc for(; c >= '0' && c <= '9'; c = *++s) { s 2574 base/third_party/dmg_fp/dtoa.cc s00 = s; s 2576 base/third_party/dmg_fp/dtoa.cc switch(c = *++s) { s 2580 base/third_party/dmg_fp/dtoa.cc c = *++s; s 2584 base/third_party/dmg_fp/dtoa.cc c = *++s; s 2587 base/third_party/dmg_fp/dtoa.cc s1 = s; s 2588 base/third_party/dmg_fp/dtoa.cc while((c = *++s) >= '0' && c <= '9') s 2590 base/third_party/dmg_fp/dtoa.cc if (s - s1 > 8 || L > 19999) s 2604 base/third_party/dmg_fp/dtoa.cc s = s00; s 2614 base/third_party/dmg_fp/dtoa.cc if (match(&s,"nf")) { s 2615 base/third_party/dmg_fp/dtoa.cc --s; s 2616 base/third_party/dmg_fp/dtoa.cc if (!match(&s,"inity")) s 2617 base/third_party/dmg_fp/dtoa.cc ++s; s 2625 base/third_party/dmg_fp/dtoa.cc if (match(&s, "an")) { s 2629 base/third_party/dmg_fp/dtoa.cc if (*s == '(') /*)*/ s 2630 base/third_party/dmg_fp/dtoa.cc hexnan(&rv, &s); s 2637 base/third_party/dmg_fp/dtoa.cc s = s00; s 3424 base/third_party/dmg_fp/dtoa.cc *se = (char *)s; s 3457 base/third_party/dmg_fp/dtoa.cc nrv_alloc(s, rve, n) char *s, **rve; int n; s 3459 base/third_party/dmg_fp/dtoa.cc nrv_alloc(CONST char *s, char **rve, int n) s 3465 base/third_party/dmg_fp/dtoa.cc while((*t = *s++)) t++; s 3479 base/third_party/dmg_fp/dtoa.cc freedtoa(s) char *s; s 3481 base/third_party/dmg_fp/dtoa.cc freedtoa(char *s) s 3484 base/third_party/dmg_fp/dtoa.cc Bigint *b = (Bigint *)((int *)s - 1); s 3488 base/third_party/dmg_fp/dtoa.cc if (s == dtoa_result) s 3581 base/third_party/dmg_fp/dtoa.cc char *s, *s0; s 3780 base/third_party/dmg_fp/dtoa.cc s = s0 = rv_alloc(i); s 3848 base/third_party/dmg_fp/dtoa.cc *s++ = '0' + (int)L; s 3867 base/third_party/dmg_fp/dtoa.cc *s++ = '0' + (int)L; s 3872 base/third_party/dmg_fp/dtoa.cc while(*--s == '0') {} s 3873 base/third_party/dmg_fp/dtoa.cc s++; s 3883 base/third_party/dmg_fp/dtoa.cc s = s0; s 3910 base/third_party/dmg_fp/dtoa.cc *s++ = '0' + (int)L; s 3928 base/third_party/dmg_fp/dtoa.cc while(*--s == '9') s 3929 base/third_party/dmg_fp/dtoa.cc if (s == s0) { s 3931 base/third_party/dmg_fp/dtoa.cc *s = '0'; s 3934 base/third_party/dmg_fp/dtoa.cc ++*s++; s 4044 base/third_party/dmg_fp/dtoa.cc *s++ = '1'; s 4086 base/third_party/dmg_fp/dtoa.cc *s++ = dig; s 4116 base/third_party/dmg_fp/dtoa.cc *s++ = dig; s 4126 base/third_party/dmg_fp/dtoa.cc *s++ = '9'; s 4129 base/third_party/dmg_fp/dtoa.cc *s++ = dig + 1; s 4135 base/third_party/dmg_fp/dtoa.cc *s++ = dig; s 4149 base/third_party/dmg_fp/dtoa.cc *s++ = dig = quorem(b,S) + '0'; s 4173 base/third_party/dmg_fp/dtoa.cc while(*--s == '9') s 4174 base/third_party/dmg_fp/dtoa.cc if (s == s0) { s 4176 base/third_party/dmg_fp/dtoa.cc *s++ = '1'; s 4179 base/third_party/dmg_fp/dtoa.cc ++*s++; s 4185 base/third_party/dmg_fp/dtoa.cc while(*--s == '0') {} s 4186 base/third_party/dmg_fp/dtoa.cc s++; s 4208 base/third_party/dmg_fp/dtoa.cc *s = 0; s 4211 base/third_party/dmg_fp/dtoa.cc *rve = s; s 33 base/third_party/dmg_fp/g_fmt.cc register char *s; s 45 base/third_party/dmg_fp/g_fmt.cc s = s0 = dtoa(x, 0, 0, &decpt, &sign, &se); s 49 base/third_party/dmg_fp/g_fmt.cc while((*b++ = *s++)) {} s 52 base/third_party/dmg_fp/g_fmt.cc if (decpt <= -4 || decpt > se - s + 5) { s 53 base/third_party/dmg_fp/g_fmt.cc *b++ = *s++; s 54 base/third_party/dmg_fp/g_fmt.cc if (*s) { s 56 base/third_party/dmg_fp/g_fmt.cc while((*b = *s++)) s 82 base/third_party/dmg_fp/g_fmt.cc while((*b++ = *s++)) {} s 85 base/third_party/dmg_fp/g_fmt.cc while((*b = *s++)) { s 87 base/third_party/dmg_fp/g_fmt.cc if (--decpt == 0 && *s) s 137 base/third_party/icu/icu_utf.cc utf8_nextCharSafeBody(const uint8 *s, int32 *pi, int32 length, UChar32 c, UBool strict) { s 153 base/third_party/icu/icu_utf.cc trail=s[(i)++]; s 163 base/third_party/icu/icu_utf.cc trail=s[(i)++]; s 167 base/third_party/icu/icu_utf.cc trail=s[(i)++]; s 198 base/third_party/icu/icu_utf.cc while(count>0 && CBU8_IS_TRAIL(s[i])) { s 215 base/third_party/icu/icu_utf.cc while((i)<(length) && CBU8_IS_TRAIL(s[i])) { s 173 base/third_party/icu/icu_utf.h UChar32 utf8_nextCharSafeBody(const uint8 *s, int32 *pi, int32 length, UChar32 c, UBool strict); s 193 base/third_party/icu/icu_utf.h #define CBU8_NEXT(s, i, length, c) { \ s 194 base/third_party/icu/icu_utf.h (c)=(s)[(i)++]; \ s 197 base/third_party/icu/icu_utf.h (c)=base_icu::utf8_nextCharSafeBody((const uint8 *)s, &(i), (int32)(length), c, -1); \ s 217 base/third_party/icu/icu_utf.h #define CBU8_APPEND_UNSAFE(s, i, c) { \ s 219 base/third_party/icu/icu_utf.h (s)[(i)++]=(uint8)(c); \ s 222 base/third_party/icu/icu_utf.h (s)[(i)++]=(uint8)(((c)>>6)|0xc0); \ s 225 base/third_party/icu/icu_utf.h (s)[(i)++]=(uint8)(((c)>>12)|0xe0); \ s 227 base/third_party/icu/icu_utf.h (s)[(i)++]=(uint8)(((c)>>18)|0xf0); \ s 228 base/third_party/icu/icu_utf.h (s)[(i)++]=(uint8)((((c)>>12)&0x3f)|0x80); \ s 230 base/third_party/icu/icu_utf.h (s)[(i)++]=(uint8)((((c)>>6)&0x3f)|0x80); \ s 232 base/third_party/icu/icu_utf.h (s)[(i)++]=(uint8)(((c)&0x3f)|0x80); \ s 356 base/third_party/icu/icu_utf.h #define CBU16_NEXT(s, i, length, c) { \ s 357 base/third_party/icu/icu_utf.h (c)=(s)[(i)++]; \ s 360 base/third_party/icu/icu_utf.h if((i)<(length) && CBU16_IS_TRAIL(__c2=(s)[(i)])) { \ s 380 base/third_party/icu/icu_utf.h #define CBU16_APPEND_UNSAFE(s, i, c) { \ s 382 base/third_party/icu/icu_utf.h (s)[(i)++]=(uint16)(c); \ s 384 base/third_party/icu/icu_utf.h (s)[(i)++]=(uint16)(((c)>>10)+0xd7c0); \ s 385 base/third_party/icu/icu_utf.h (s)[(i)++]=(uint16)(((c)&0x3ff)|0xdc00); \ s 844 base/third_party/nspr/prtime.cc const char *s = end; s 845 base/third_party/nspr/prtime.cc while (*s && (*s == ' ' || *s == '\t')) s 846 base/third_party/nspr/prtime.cc s++; s 847 base/third_party/nspr/prtime.cc if ((s[0] == 'p' || s[0] == 'P') && s 848 base/third_party/nspr/prtime.cc (s[1] == 'm' || s[1] == 'M')) s 852 base/third_party/nspr/prtime.cc (s[0] == 'a' || s[0] == 'A') && s 853 base/third_party/nspr/prtime.cc (s[1] == 'm' || s[1] == 'M')) s 872 base/third_party/nspr/prtime.cc const char *s; s 878 base/third_party/nspr/prtime.cc s = rest; s 880 base/third_party/nspr/prtime.cc n1 = (*s++ - '0'); /* first 1 or 2 digits */ s 881 base/third_party/nspr/prtime.cc if (*s >= '0' && *s <= '9') s 882 base/third_party/nspr/prtime.cc n1 = n1*10 + (*s++ - '0'); s 884 base/third_party/nspr/prtime.cc if (*s != '/' && *s != '-') /* slash */ s 886 base/third_party/nspr/prtime.cc s++; s 888 base/third_party/nspr/prtime.cc if (*s < '0' || *s > '9') /* second 1 or 2 digits */ s 890 base/third_party/nspr/prtime.cc n2 = (*s++ - '0'); s 891 base/third_party/nspr/prtime.cc if (*s >= '0' && *s <= '9') s 892 base/third_party/nspr/prtime.cc n2 = n2*10 + (*s++ - '0'); s 894 base/third_party/nspr/prtime.cc if (*s != '/' && *s != '-') /* slash */ s 896 base/third_party/nspr/prtime.cc s++; s 898 base/third_party/nspr/prtime.cc if (*s < '0' || *s > '9') /* third 1, 2, 4, or 5 digits */ s 900 base/third_party/nspr/prtime.cc n3 = (*s++ - '0'); s 901 base/third_party/nspr/prtime.cc if (*s >= '0' && *s <= '9') s 902 base/third_party/nspr/prtime.cc n3 = n3*10 + (*s++ - '0'); s 904 base/third_party/nspr/prtime.cc if (*s >= '0' && *s <= '9') /* optional digits 3, 4, and 5 */ s 906 base/third_party/nspr/prtime.cc n3 = n3*10 + (*s++ - '0'); s 907 base/third_party/nspr/prtime.cc if (*s < '0' || *s > '9') s 909 base/third_party/nspr/prtime.cc n3 = n3*10 + (*s++ - '0'); s 910 base/third_party/nspr/prtime.cc if (*s >= '0' && *s <= '9') s 911 base/third_party/nspr/prtime.cc n3 = n3*10 + (*s++ - '0'); s 914 base/third_party/nspr/prtime.cc if ((*s >= '0' && *s <= '9') || /* followed by non-alphanum */ s 915 base/third_party/nspr/prtime.cc (*s >= 'A' && *s <= 'Z') || s 916 base/third_party/nspr/prtime.cc (*s >= 'a' && *s <= 'z')) s 935 base/third_party/nspr/prtime.cc rest = s; s 941 base/third_party/nspr/prtime.cc rest = s; s 964 base/third_party/nspr/prtime.cc rest = s; s 131 base/vlog.cc base::StringPiece s(string); s 133 base/vlog.cc while (!p.empty() && !s.empty() && (p[0] != '*')) { s 138 base/vlog.cc if ((s[0] != '/') && (s[0] != '\\')) s 148 base/vlog.cc if (p[0] != s[0]) s 152 base/vlog.cc p.remove_prefix(1), s.remove_prefix(1); s 157 base/vlog.cc return s.empty(); s 171 base/vlog.cc while (!s.empty()) { s 172 base/vlog.cc if (MatchVlogPattern(s, p)) s 174 base/vlog.cc s.remove_prefix(1); s 531 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Size& s) { s 533 cc/base/math_util.cc res->SetDouble("width", s.width()); s 534 cc/base/math_util.cc res->SetDouble("height", s.height()); s 538 cc/base/math_util.cc scoped_ptr<base::Value> MathUtil::AsValue(const gfx::SizeF& s) { s 540 cc/base/math_util.cc res->SetDouble("width", s.width()); s 541 cc/base/math_util.cc res->SetDouble("height", s.height()); s 171 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::Size& s); s 172 cc/base/math_util.h static scoped_ptr<base::Value> AsValue(const gfx::SizeF& s); s 58 cc/resources/layer_quad.h void scale(float s) { scale(s, s, s); } s 25 cc/resources/shared_bitmap.cc base::CheckedNumeric<int> s = size.width(); s 26 cc/resources/shared_bitmap.cc s *= size.height(); s 27 cc/resources/shared_bitmap.cc s *= 4; s 28 cc/resources/shared_bitmap.cc if (!s.IsValid()) s 30 cc/resources/shared_bitmap.cc *size_in_bytes = s.ValueOrDie(); s 145 cc/test/test_gles2_interface.cc void TestGLES2Interface::ClearStencil(GLint s) { s 146 cc/test/test_gles2_interface.cc test_context_->clearStencil(s); s 59 cc/test/test_gles2_interface.h virtual void ClearStencil(GLint s) OVERRIDE; s 84 cc/test/test_web_graphics_context_3d.h virtual void clearStencil(GLint s) {} s 50 cc/trees/layer_sorter.cc float s = PerpProduct(v, w) / denom; s 51 cc/trees/layer_sorter.cc if (s < 0.f || s > 1.f) s 58 cc/trees/layer_sorter.cc u.Scale(s); s 365 chrome/android/java/src/org/chromium/chrome/browser/BookmarksBridge.java public static BookmarkId getBookmarkIdFromString(String s) { s 368 chrome/android/java/src/org/chromium/chrome/browser/BookmarksBridge.java if (TextUtils.isEmpty(s)) return new BookmarkId(id, type); s 369 chrome/android/java/src/org/chromium/chrome/browser/BookmarksBridge.java char folderTypeChar = s.charAt(0); s 372 chrome/android/java/src/org/chromium/chrome/browser/BookmarksBridge.java s = s.substring(1); s 375 chrome/android/java/src/org/chromium/chrome/browser/BookmarksBridge.java id = Long.parseLong(s); s 86 chrome/browser/chromeos/login/default_user_images.cc bool IsDefaultImageString(const std::string& s, s 90 chrome/browser/chromeos/login/default_user_images.cc if (!StartsWithASCII(s, prefix, true)) s 94 chrome/browser/chromeos/login/default_user_images.cc if (base::StringToInt(base::StringPiece(s.begin() + prefix.length(), s 95 chrome/browser/chromeos/login/default_user_images.cc s.end()), s 249 chrome/browser/chromeos/power/cpu_data_collector.cc for (size_t s = 0; s < pair.size(); ++s) s 250 chrome/browser/chromeos/power/cpu_data_collector.cc base::TrimWhitespace(pair[s], base::TRIM_ALL, &pair[s]); s 107 chrome/browser/component_updater/test/url_request_post_interceptor.cc std::string s = "Requests are:"; s 112 chrome/browser/component_updater/test/url_request_post_interceptor.cc s.append(base::StringPrintf("\n (%d): %s", ++i, it->c_str())); s 115 chrome/browser/component_updater/test/url_request_post_interceptor.cc return s; s 464 chrome/browser/content_settings/content_settings_pref_provider.cc ContentSetting s = ValueToContentSetting(value); s 465 chrome/browser/content_settings/content_settings_pref_provider.cc switch (s) { s 851 chrome/browser/download/download_browsertest.cc std::stringstream s; s 852 chrome/browser/download/download_browsertest.cc s << " " << __FUNCTION__ << "()" s 868 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(url.is_valid()) << s.str(); s 873 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(web_contents) << s.str(); s 932 chrome/browser/download/download_browsertest.cc ASSERT_EQ(downloads_expected, download_items.size()) << s.str(); s 942 chrome/browser/download/download_browsertest.cc ASSERT_EQ(url, item->GetOriginalUrl()) << s.str(); s 944 chrome/browser/download/download_browsertest.cc ASSERT_EQ(download_info.reason, item->GetLastReason()) << s.str(); s 986 chrome/browser/download/download_browsertest.cc std::stringstream s; s 987 chrome/browser/download/download_browsertest.cc s << " " << __FUNCTION__ << "()" s 1004 chrome/browser/download/download_browsertest.cc EXPECT_EQ(expected_successes, injector->TotalFileCount()) << s.str(); s 1005 chrome/browser/download/download_browsertest.cc EXPECT_EQ(0u, injector->CurrentFileCount()) << s.str(); s 1008 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(injector->HadFile(GURL(info.error_info.url))) << s.str(); s 75 chrome/browser/download/download_history.cc void SetState(PersistenceState s) { state_ = s; } s 215 chrome/browser/extensions/api/dial/dial_registry_unittest.cc InSequence s; s 263 chrome/browser/extensions/api/dial/dial_registry_unittest.cc InSequence s; s 287 chrome/browser/extensions/api/dial/dial_registry_unittest.cc InSequence s; s 326 chrome/browser/extensions/api/dial/dial_registry_unittest.cc InSequence s; s 178 chrome/browser/extensions/api/mdns/dns_sd_registry_unittest.cc testing::InSequence s; s 38 chrome/browser/extensions/api/preference/preference_helpers.cc bool StringToScope(const std::string& s, s 40 chrome/browser/extensions/api/preference/preference_helpers.cc if (s == kRegular) s 42 chrome/browser/extensions/api/preference/preference_helpers.cc else if (s == kRegularOnly) s 44 chrome/browser/extensions/api/preference/preference_helpers.cc else if (s == kIncognitoPersistent) s 46 chrome/browser/extensions/api/preference/preference_helpers.cc else if (s == kIncognitoSessionOnly) s 22 chrome/browser/extensions/api/preference/preference_helpers.h bool StringToScope(const std::string& s, s 249 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc base::ListValue* StringToCharList(const std::string& s) { s 251 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc for (size_t i = 0, n = s.size(); i < n; ++i) { s 254 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc *reinterpret_cast<const unsigned char*>(&s[i]))); s 189 chrome/browser/extensions/api/web_request/web_request_api_helpers.h base::ListValue* StringToCharList(const std::string& s); s 586 chrome/browser/extensions/menu_manager_unittest.cc InSequence s; s 1223 chrome/browser/history/history_backend_unittest.cc sql::Statement s(db.GetUniqueStatement( s 1225 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(s.Step()); s 1226 chrome/browser/history/history_backend_unittest.cc int file_version = s.ColumnInt(0); s 1230 chrome/browser/history/history_backend_unittest.cc s.Assign(db.GetUniqueStatement( s 1232 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(s.Step()); s 1233 chrome/browser/history/history_backend_unittest.cc s.Assign(db.GetUniqueStatement("SELECT * FROM visit_source LIMIT 10")); s 1234 chrome/browser/history/history_backend_unittest.cc EXPECT_FALSE(s.Step()); s 2574 chrome/browser/history/history_backend_unittest.cc sql::Statement s(db.GetUniqueStatement( s 2576 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(s.Step()); s 2577 chrome/browser/history/history_backend_unittest.cc int file_version = s.ColumnInt(0); s 2581 chrome/browser/history/history_backend_unittest.cc s.Assign(db.GetUniqueStatement( s 2583 chrome/browser/history/history_backend_unittest.cc ASSERT_TRUE(s.Step()); s 2584 chrome/browser/history/history_backend_unittest.cc EXPECT_EQ(0, s.ColumnInt(0)); s 245 chrome/browser/history/history_database.cc sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE, s 247 chrome/browser/history/history_database.cc s.BindInt64(0, segment_id); s 248 chrome/browser/history/history_database.cc s.BindInt64(1, visit_id); s 251 chrome/browser/history/history_database.cc return s.Run(); s 255 chrome/browser/history/history_database.cc sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE, s 257 chrome/browser/history/history_database.cc s.BindInt64(0, visit_id); s 259 chrome/browser/history/history_database.cc if (s.Step()) { s 260 chrome/browser/history/history_database.cc if (s.ColumnType(0) == sql::COLUMN_TYPE_NULL) s 263 chrome/browser/history/history_database.cc return s.ColumnInt64(0); s 276 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 280 chrome/browser/history/history_unittest.cc s.BindInt64(0, 1 + state); s 281 chrome/browser/history/history_unittest.cc s.BindString(1, "path"); s 282 chrome/browser/history/history_unittest.cc s.BindString(2, "url"); s 283 chrome/browser/history/history_unittest.cc s.BindInt64(3, base::Time::Now().ToTimeT()); s 284 chrome/browser/history/history_unittest.cc s.BindInt64(4, 100); s 285 chrome/browser/history/history_unittest.cc s.BindInt64(5, 100); s 286 chrome/browser/history/history_unittest.cc s.BindInt(6, state); s 287 chrome/browser/history/history_unittest.cc s.BindInt64(7, base::Time::Now().ToTimeT()); s 288 chrome/browser/history/history_unittest.cc s.BindInt(8, state % 2); s 289 chrome/browser/history/history_unittest.cc ASSERT_TRUE(s.Run()); s 306 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 308 chrome/browser/history/history_unittest.cc EXPECT_TRUE(s.Step()); s 309 chrome/browser/history/history_unittest.cc EXPECT_EQ(cur_version, s.ColumnInt(0)); s 342 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 349 chrome/browser/history/history_unittest.cc s.BindInt64(0, ++id); s 350 chrome/browser/history/history_unittest.cc s.BindString(1, std::string()); s 351 chrome/browser/history/history_unittest.cc s.BindString(2, "http://whatever.com/index.html"); s 352 chrome/browser/history/history_unittest.cc s.BindInt64(3, now.ToTimeT()); s 353 chrome/browser/history/history_unittest.cc s.BindInt64(4, 100); s 354 chrome/browser/history/history_unittest.cc s.BindInt64(5, 100); s 355 chrome/browser/history/history_unittest.cc s.BindInt(6, 1); s 356 chrome/browser/history/history_unittest.cc s.BindInt64(7, now.ToTimeT()); s 357 chrome/browser/history/history_unittest.cc s.BindInt(8, 1); s 358 chrome/browser/history/history_unittest.cc ASSERT_TRUE(s.Run()); s 359 chrome/browser/history/history_unittest.cc s.Reset(true); s 362 chrome/browser/history/history_unittest.cc s.BindInt64(0, ++id); s 363 chrome/browser/history/history_unittest.cc s.BindString(1, "/path/to/some/file"); s 364 chrome/browser/history/history_unittest.cc s.BindString(2, "http://whatever.com/index1.html"); s 365 chrome/browser/history/history_unittest.cc s.BindInt64(3, now.ToTimeT()); s 366 chrome/browser/history/history_unittest.cc s.BindInt64(4, 100); s 367 chrome/browser/history/history_unittest.cc s.BindInt64(5, 100); s 368 chrome/browser/history/history_unittest.cc s.BindInt(6, 1); s 369 chrome/browser/history/history_unittest.cc s.BindInt64(7, now.ToTimeT()); s 370 chrome/browser/history/history_unittest.cc s.BindInt(8, 1); s 371 chrome/browser/history/history_unittest.cc ASSERT_TRUE(s.Run()); s 387 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 389 chrome/browser/history/history_unittest.cc EXPECT_TRUE(s.Step()); s 390 chrome/browser/history/history_unittest.cc EXPECT_EQ(cur_version, s.ColumnInt(0)); s 450 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 455 chrome/browser/history/history_unittest.cc s.BindInt64(0, ++db_handle); s 456 chrome/browser/history/history_unittest.cc s.BindString(1, "full_path"); s 457 chrome/browser/history/history_unittest.cc s.BindString(2, "http://whatever.com/index.html"); s 458 chrome/browser/history/history_unittest.cc s.BindInt64(3, now.ToTimeT()); s 459 chrome/browser/history/history_unittest.cc s.BindInt64(4, 100); s 460 chrome/browser/history/history_unittest.cc s.BindInt64(5, 100); s 461 chrome/browser/history/history_unittest.cc s.BindInt(6, 1); s 462 chrome/browser/history/history_unittest.cc s.BindInt64(7, now.ToTimeT()); s 463 chrome/browser/history/history_unittest.cc s.BindInt(8, 1); s 464 chrome/browser/history/history_unittest.cc ASSERT_TRUE(s.Run()); s 478 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 480 chrome/browser/history/history_unittest.cc EXPECT_TRUE(s.Step()); s 481 chrome/browser/history/history_unittest.cc EXPECT_EQ(cur_version, s.ColumnInt(0)); s 484 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 486 chrome/browser/history/history_unittest.cc EXPECT_TRUE(s.Step()); s 487 chrome/browser/history/history_unittest.cc EXPECT_EQ(std::string(), s.ColumnString(0)); s 499 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 504 chrome/browser/history/history_unittest.cc s.BindInt64(0, 1); s 505 chrome/browser/history/history_unittest.cc s.BindString(1, "current_path"); s 506 chrome/browser/history/history_unittest.cc s.BindString(2, "target_path"); s 507 chrome/browser/history/history_unittest.cc s.BindInt64(3, now.ToTimeT()); s 508 chrome/browser/history/history_unittest.cc s.BindInt64(4, 100); s 509 chrome/browser/history/history_unittest.cc s.BindInt64(5, 100); s 510 chrome/browser/history/history_unittest.cc s.BindInt(6, 1); s 511 chrome/browser/history/history_unittest.cc s.BindInt(7, 0); s 512 chrome/browser/history/history_unittest.cc s.BindInt(8, 0); s 513 chrome/browser/history/history_unittest.cc s.BindInt64(9, now.ToTimeT()); s 514 chrome/browser/history/history_unittest.cc s.BindInt(10, 1); s 515 chrome/browser/history/history_unittest.cc s.BindString(11, "referrer"); s 516 chrome/browser/history/history_unittest.cc ASSERT_TRUE(s.Run()); s 519 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 522 chrome/browser/history/history_unittest.cc s.BindInt64(0, 4); s 523 chrome/browser/history/history_unittest.cc s.BindInt64(1, 0); s 524 chrome/browser/history/history_unittest.cc s.BindString(2, "url"); s 525 chrome/browser/history/history_unittest.cc ASSERT_TRUE(s.Run()); s 540 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 542 chrome/browser/history/history_unittest.cc EXPECT_TRUE(s.Step()); s 543 chrome/browser/history/history_unittest.cc EXPECT_EQ(cur_version, s.ColumnInt(0)); s 546 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 548 chrome/browser/history/history_unittest.cc EXPECT_TRUE(s.Step()); s 549 chrome/browser/history/history_unittest.cc EXPECT_EQ(std::string(), s.ColumnString(0)); s 550 chrome/browser/history/history_unittest.cc EXPECT_EQ(std::string(), s.ColumnString(1)); s 562 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 567 chrome/browser/history/history_unittest.cc s.BindInt64(0, 1); s 568 chrome/browser/history/history_unittest.cc s.BindString(1, "current_path"); s 569 chrome/browser/history/history_unittest.cc s.BindString(2, "target_path"); s 570 chrome/browser/history/history_unittest.cc s.BindInt64(3, now.ToTimeT()); s 571 chrome/browser/history/history_unittest.cc s.BindInt64(4, 100); s 572 chrome/browser/history/history_unittest.cc s.BindInt64(5, 100); s 573 chrome/browser/history/history_unittest.cc s.BindInt(6, 1); s 574 chrome/browser/history/history_unittest.cc s.BindInt(7, 0); s 575 chrome/browser/history/history_unittest.cc s.BindInt(8, 0); s 576 chrome/browser/history/history_unittest.cc s.BindInt64(9, now.ToTimeT()); s 577 chrome/browser/history/history_unittest.cc s.BindInt(10, 1); s 578 chrome/browser/history/history_unittest.cc s.BindString(11, "referrer"); s 579 chrome/browser/history/history_unittest.cc s.BindString(12, "by extension ID"); s 580 chrome/browser/history/history_unittest.cc s.BindString(13, "by extension name"); s 581 chrome/browser/history/history_unittest.cc ASSERT_TRUE(s.Run()); s 584 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 587 chrome/browser/history/history_unittest.cc s.BindInt64(0, 4); s 588 chrome/browser/history/history_unittest.cc s.BindInt64(1, 0); s 589 chrome/browser/history/history_unittest.cc s.BindString(2, "url"); s 590 chrome/browser/history/history_unittest.cc ASSERT_TRUE(s.Run()); s 605 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 607 chrome/browser/history/history_unittest.cc EXPECT_TRUE(s.Step()); s 608 chrome/browser/history/history_unittest.cc EXPECT_EQ(cur_version, s.ColumnInt(0)); s 611 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 613 chrome/browser/history/history_unittest.cc EXPECT_TRUE(s.Step()); s 614 chrome/browser/history/history_unittest.cc EXPECT_EQ(std::string(), s.ColumnString(0)); s 615 chrome/browser/history/history_unittest.cc EXPECT_EQ(std::string(), s.ColumnString(1)); s 1785 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 1789 chrome/browser/history/history_unittest.cc s.BindInt64(0, url_id); s 1790 chrome/browser/history/history_unittest.cc s.BindString(1, url.spec()); s 1791 chrome/browser/history/history_unittest.cc s.BindString16(2, title); s 1792 chrome/browser/history/history_unittest.cc s.BindInt64(3, segment_time.ToInternalValue()); s 1793 chrome/browser/history/history_unittest.cc ASSERT_TRUE(s.Run()); s 1798 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 1802 chrome/browser/history/history_unittest.cc s.BindInt64(0, segment_id); s 1803 chrome/browser/history/history_unittest.cc s.BindString(1, url_name); s 1804 chrome/browser/history/history_unittest.cc s.BindInt64(2, url_id); s 1805 chrome/browser/history/history_unittest.cc s.BindInt(3, 4); // pres_index s 1806 chrome/browser/history/history_unittest.cc ASSERT_TRUE(s.Run()); s 1811 chrome/browser/history/history_unittest.cc sql::Statement s(db.GetUniqueStatement( s 1815 chrome/browser/history/history_unittest.cc s.BindInt64(0, 4); // id. s 1816 chrome/browser/history/history_unittest.cc s.BindInt64(1, segment_id); s 1817 chrome/browser/history/history_unittest.cc s.BindInt64(2, segment_time.ToInternalValue()); s 1818 chrome/browser/history/history_unittest.cc s.BindInt(3, 5); // visit count. s 1819 chrome/browser/history/history_unittest.cc ASSERT_TRUE(s.Run()); s 43 chrome/browser/history/page_usage_data.h void SetTitle(const base::string16& s) { s 44 chrome/browser/history/page_usage_data.h title_ = s; s 32 chrome/browser/history/shortcuts_database.cc sql::Statement* s) { s 34 chrome/browser/history/shortcuts_database.cc s->BindString(0, shortcut.id); s 35 chrome/browser/history/shortcuts_database.cc s->BindString16(1, shortcut.text); s 36 chrome/browser/history/shortcuts_database.cc s->BindString16(2, shortcut.match_core.fill_into_edit); s 37 chrome/browser/history/shortcuts_database.cc s->BindString(3, shortcut.match_core.destination_url.spec()); s 38 chrome/browser/history/shortcuts_database.cc s->BindString16(4, shortcut.match_core.contents); s 39 chrome/browser/history/shortcuts_database.cc s->BindString(5, shortcut.match_core.contents_class); s 40 chrome/browser/history/shortcuts_database.cc s->BindString16(6, shortcut.match_core.description); s 41 chrome/browser/history/shortcuts_database.cc s->BindString(7, shortcut.match_core.description_class); s 42 chrome/browser/history/shortcuts_database.cc s->BindInt(8, shortcut.match_core.transition); s 43 chrome/browser/history/shortcuts_database.cc s->BindInt(9, shortcut.match_core.type); s 44 chrome/browser/history/shortcuts_database.cc s->BindString16(10, shortcut.match_core.keyword); s 45 chrome/browser/history/shortcuts_database.cc s->BindInt64(11, shortcut.last_access_time.ToInternalValue()); s 46 chrome/browser/history/shortcuts_database.cc s->BindInt(12, shortcut.number_of_hits); s 52 chrome/browser/history/shortcuts_database.cc sql::Statement s(db.GetUniqueStatement( s 55 chrome/browser/history/shortcuts_database.cc s.BindString(0, id); s 56 chrome/browser/history/shortcuts_database.cc return s.Run(); s 140 chrome/browser/history/shortcuts_database.cc sql::Statement s(db_.GetCachedStatement( s 146 chrome/browser/history/shortcuts_database.cc BindShortcutToStatement(shortcut, &s); s 147 chrome/browser/history/shortcuts_database.cc return s.Run(); s 151 chrome/browser/history/shortcuts_database.cc sql::Statement s(db_.GetCachedStatement( s 157 chrome/browser/history/shortcuts_database.cc BindShortcutToStatement(shortcut, &s); s 158 chrome/browser/history/shortcuts_database.cc s.BindString(13, shortcut.id); s 159 chrome/browser/history/shortcuts_database.cc return s.Run(); s 189 chrome/browser/history/shortcuts_database.cc sql::Statement s(db_.GetCachedStatement( s 196 chrome/browser/history/shortcuts_database.cc while (s.Step()) { s 198 chrome/browser/history/shortcuts_database.cc s.ColumnString(0), s 200 chrome/browser/history/shortcuts_database.cc s.ColumnString(0), // id s 201 chrome/browser/history/shortcuts_database.cc s.ColumnString16(1), // text s 203 chrome/browser/history/shortcuts_database.cc s.ColumnString16(2), // fill_into_edit s 204 chrome/browser/history/shortcuts_database.cc GURL(s.ColumnString(3)), // destination_url s 205 chrome/browser/history/shortcuts_database.cc s.ColumnString16(4), // contents s 206 chrome/browser/history/shortcuts_database.cc s.ColumnString(5), // contents_class s 207 chrome/browser/history/shortcuts_database.cc s.ColumnString16(6), // description s 208 chrome/browser/history/shortcuts_database.cc s.ColumnString(7), // description_class s 209 chrome/browser/history/shortcuts_database.cc s.ColumnInt(8), // transition s 210 chrome/browser/history/shortcuts_database.cc s.ColumnInt(9), // type s 211 chrome/browser/history/shortcuts_database.cc s.ColumnString16(10)), // keyword s 212 chrome/browser/history/shortcuts_database.cc base::Time::FromInternalValue(s.ColumnInt64(11)), s 214 chrome/browser/history/shortcuts_database.cc s.ColumnInt(12)))); // number_of_hits s 111 chrome/browser/history/shortcuts_database_unittest.cc s(db_->db_.GetUniqueStatement("DELETE FROM omni_box_shortcuts")); s 112 chrome/browser/history/shortcuts_database_unittest.cc EXPECT_TRUE(s.Run()); s 116 chrome/browser/history/shortcuts_database_unittest.cc sql::Statement s(db_->db_.GetUniqueStatement( s 118 chrome/browser/history/shortcuts_database_unittest.cc EXPECT_TRUE(s.Step()); s 119 chrome/browser/history/shortcuts_database_unittest.cc return static_cast<size_t>(s.ColumnInt(0)); s 147 chrome/browser/history/top_sites_cache_unittest.cc const char* s = kTopSitesSpecPrefix[i]; s 148 chrome/browser/history/top_sites_cache_unittest.cc while (*s && *s == ' ') s 149 chrome/browser/history/top_sites_cache_unittest.cc ++s; s 151 chrome/browser/history/top_sites_cache_unittest.cc GURL stored_url(s); s 64 chrome/browser/history/url_database.cc void URLDatabase::FillURLRow(sql::Statement& s, history::URLRow* i) { s 66 chrome/browser/history/url_database.cc i->id_ = s.ColumnInt64(0); s 67 chrome/browser/history/url_database.cc i->url_ = GURL(s.ColumnString(1)); s 68 chrome/browser/history/url_database.cc i->title_ = s.ColumnString16(2); s 69 chrome/browser/history/url_database.cc i->visit_count_ = s.ColumnInt(3); s 70 chrome/browser/history/url_database.cc i->typed_count_ = s.ColumnInt(4); s 71 chrome/browser/history/url_database.cc i->last_visit_ = base::Time::FromInternalValue(s.ColumnInt64(5)); s 72 chrome/browser/history/url_database.cc i->hidden_ = s.ColumnInt(6) != 0; s 282 chrome/browser/history/url_database.h static void FillURLRow(sql::Statement& s, URLRow* i); s 166 chrome/browser/io_thread.cc std::string s = s 171 chrome/browser/io_thread.cc if (base::StringToInt(s, &n) && n > 0) { s 174 chrome/browser/io_thread.cc LOG(ERROR) << "Invalid switch for host resolver parallelism: " << s; s 180 chrome/browser/io_thread.cc std::string s = s 184 chrome/browser/io_thread.cc if (base::StringToInt(s, &n) && n >= 0) { s 187 chrome/browser/io_thread.cc LOG(ERROR) << "Invalid switch for host resolver retry attempts: " << s; s 1722 chrome/browser/metrics/metrics_service.cc scoped_ptr<net::URLFetcher> s(current_fetch_.Pass()); s 602 chrome/browser/net/http_server_properties_manager.cc std::string s; s 605 chrome/browser/net/http_server_properties_manager.cc if ((*list_it)->GetAsString(&s)) { s 606 chrome/browser/net/http_server_properties_manager.cc net::HostPortPair server = net::HostPortPair::FromString(s); s 50 chrome/browser/net/proxy_policy_handler_unittest.cc std::string s; s 52 chrome/browser/net/proxy_policy_handler_unittest.cc EXPECT_FALSE(dict.GetProxyServer(&s)); s 54 chrome/browser/net/proxy_policy_handler_unittest.cc ASSERT_TRUE(dict.GetProxyServer(&s)); s 55 chrome/browser/net/proxy_policy_handler_unittest.cc EXPECT_EQ(expected_proxy_server, s); s 58 chrome/browser/net/proxy_policy_handler_unittest.cc EXPECT_FALSE(dict.GetPacUrl(&s)); s 60 chrome/browser/net/proxy_policy_handler_unittest.cc ASSERT_TRUE(dict.GetPacUrl(&s)); s 61 chrome/browser/net/proxy_policy_handler_unittest.cc EXPECT_EQ(expected_proxy_pac_url, s); s 64 chrome/browser/net/proxy_policy_handler_unittest.cc EXPECT_FALSE(dict.GetBypassList(&s)); s 66 chrome/browser/net/proxy_policy_handler_unittest.cc ASSERT_TRUE(dict.GetBypassList(&s)); s 67 chrome/browser/net/proxy_policy_handler_unittest.cc EXPECT_EQ(expected_proxy_bypass_list, s); s 121 chrome/browser/net/proxy_service_factory.cc std::string s = command_line.GetSwitchValueASCII(switches::kNumPacThreads); s 125 chrome/browser/net/proxy_service_factory.cc if (base::StringToInt(s, &n) && n > 0) { s 128 chrome/browser/net/proxy_service_factory.cc LOG(ERROR) << "Invalid switch for number of PAC threads: " << s; s 33 chrome/browser/net/ssl_config_service_manager_pref.cc std::string s; s 36 chrome/browser/net/ssl_config_service_manager_pref.cc if (!(*it)->GetAsString(&s)) s 38 chrome/browser/net/ssl_config_service_manager_pref.cc results.push_back(s); s 417 chrome/browser/password_manager/password_store_mac.cc void DeleteVectorElementsInSet(std::vector<T*>* v, const std::set<T*>& s) { s 420 chrome/browser/password_manager/password_store_mac.cc if (s.find(element) != s.end()) { s 50 chrome/browser/performance_monitor/database.cc double StringToDouble(const std::string& s) { s 52 chrome/browser/performance_monitor/database.cc if (!base::StringToDouble(s, &value)) s 53 chrome/browser/performance_monitor/database.cc LOG(ERROR) << "Failed to convert " << s << " to double."; s 2452 chrome/browser/policy/policy_browsertest.cc bool IsNonSwitchArgument(const CommandLine::StringType& s) { s 2453 chrome/browser/policy/policy_browsertest.cc return s.empty() || s[0] != '-'; s 105 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc sql::Statement s(db_->GetDatabase()->GetUniqueStatement( s 107 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc EXPECT_TRUE(s.Step()); s 108 chrome/browser/predictors/autocomplete_action_predictor_table_unittest.cc return static_cast<size_t>(s.ColumnInt(0)); s 98 chrome/browser/search_engines/default_search_policy_handler.cc std::string s; s 99 chrome/browser/search_engines/default_search_policy_handler.cc if ((*iter)->GetAsString(&s)) { s 100 chrome/browser/search_engines/default_search_policy_handler.cc string_parts.push_back(s); s 199 chrome/browser/speech/extension_api/tts_extension_apitest.cc InSequence s; s 224 chrome/browser/speech/extension_api/tts_extension_apitest.cc InSequence s; s 240 chrome/browser/speech/extension_api/tts_extension_apitest.cc InSequence s; s 261 chrome/browser/speech/extension_api/tts_extension_apitest.cc InSequence s; s 282 chrome/browser/speech/extension_api/tts_extension_apitest.cc InSequence s; s 302 chrome/browser/speech/extension_api/tts_extension_apitest.cc InSequence s; s 324 chrome/browser/speech/extension_api/tts_extension_apitest.cc InSequence s; s 341 chrome/browser/speech/extension_api/tts_extension_apitest.cc InSequence s; s 375 chrome/browser/speech/extension_api/tts_extension_apitest.cc InSequence s; s 174 chrome/browser/sync/test/integration/sync_app_list_helper.cc extensions::AppSorting* s = s 189 chrome/browser/sync/test/integration/sync_app_list_helper.cc << " Page: " << s->GetPageOrdinal(id).ToDebugString().substr(0, 8) s 191 chrome/browser/sync/test/integration/sync_app_list_helper.cc << s->GetAppLaunchOrdinal(id).ToDebugString().substr(0, 8); s 819 chrome/browser/themes/browser_theme_pack.cc hsl->s = tints_[i].s; s 957 chrome/browser/themes/browser_theme_pack.cc tints_[i].s = -1; s 974 chrome/browser/themes/browser_theme_pack.cc tint_list->GetDouble(1, &hsl.s) && s 992 chrome/browser/themes/browser_theme_pack.cc tints_[count].s = it->second.s; s 1403 chrome/browser/themes/browser_theme_pack.cc if (button_tint.h != -1 || button_tint.s != -1 || button_tint.l != -1) { s 1505 chrome/browser/themes/browser_theme_pack.cc hsl.s = tints_[i].s; s 235 chrome/browser/themes/browser_theme_pack.h double s; s 221 chrome/browser/themes/browser_theme_pack_unittest.cc EXPECT_DOUBLE_EQ(expected.s, actual.s); s 441 chrome/browser/themes/browser_theme_pack_unittest.cc EXPECT_DOUBLE_EQ(expected.s, actual.s); s 156 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc std::string s; s 159 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc s += ", "; s 161 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc s += "D"; s 164 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc s += window(i)->IsVisible() ? "S[" : "H["; s 167 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc s += owner; s 171 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc s += ","; s 172 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc s += presenter; s 174 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc s += "]"; s 176 chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc return s; s 172 chrome/browser/ui/gtk/gtk_theme_service.cc tint->s = text_tint.s; s 185 chrome/browser/ui/gtk/gtk_theme_service.cc tint->s = -1; s 762 chrome/browser/ui/gtk/gtk_theme_service.cc if (inactive_tab_text_hsl.s < 0.5) s 763 chrome/browser/ui/gtk/gtk_theme_service.cc inactive_tab_text_hsl.s = kHeavyInactiveSaturation; s 765 chrome/browser/ui/gtk/gtk_theme_service.cc inactive_tab_text_hsl.s = kLightInactiveSaturation; s 936 chrome/browser/ui/gtk/gtk_theme_service.cc if (default_tint.s != -1) s 937 chrome/browser/ui/gtk/gtk_theme_service.cc hsl.s = default_tint.s; s 117 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc double s = std::max(0.5, fg_hsl.s); s 127 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::HSL output = { hue_hsl.h, s, l }; s 149 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc double opposite_s = 1 - bg_hsl.s; s 150 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc double s = std::max(0.2, std::min(0.8, opposite_s)); s 157 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc color_utils::HSL output = { hue_hsl.h, s, l }; s 256 chrome/browser/ui/libgtk2ui/gtk2_ui.cc tint->s = text_tint.s; s 269 chrome/browser/ui/libgtk2ui/gtk2_ui.cc tint->s = -1; s 849 chrome/browser/ui/libgtk2ui/gtk2_ui.cc if (inactive_tab_text_hsl.s < 0.5) s 850 chrome/browser/ui/libgtk2ui/gtk2_ui.cc inactive_tab_text_hsl.s = kHeavyInactiveSaturation; s 852 chrome/browser/ui/libgtk2ui/gtk2_ui.cc inactive_tab_text_hsl.s = kLightInactiveSaturation; s 993 chrome/browser/ui/libgtk2ui/gtk2_ui.cc if (default_tint.s != -1) s 994 chrome/browser/ui/libgtk2ui/gtk2_ui.cc hsl.s = default_tint.s; s 47 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc double s = std::max(0.5, fg_hsl.s); s 57 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::HSL output = { hue_hsl.h, s, l }; s 82 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc double opposite_s = 1 - bg_hsl.s; s 83 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc double s = std::max(0.2, std::min(0.8, opposite_s)); s 90 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc color_utils::HSL output = { hue_hsl.h, s, l }; s 315 chrome/browser/ui/tabs/tab_strip_model_unittest.cc State s = GetStateAt(index); s 316 chrome/browser/ui/tabs/tab_strip_model_unittest.cc return (s.src_contents == state.src_contents && s 317 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.dst_contents == state.dst_contents && s 318 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.src_index == state.src_index && s 319 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.dst_index == state.dst_index && s 320 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.change_reason == state.change_reason && s 321 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.foreground == state.foreground && s 322 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.action == state.action); s 330 chrome/browser/ui/tabs/tab_strip_model_unittest.cc State s(contents, index, INSERT); s 331 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.foreground = foreground; s 332 chrome/browser/ui/tabs/tab_strip_model_unittest.cc states_.push_back(s); s 338 chrome/browser/ui/tabs/tab_strip_model_unittest.cc State s(new_contents, index, ACTIVATE); s 339 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.src_contents = old_contents; s 340 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.change_reason = reason; s 341 chrome/browser/ui/tabs/tab_strip_model_unittest.cc states_.push_back(s); s 346 chrome/browser/ui/tabs/tab_strip_model_unittest.cc State s(model()->GetActiveWebContents(), model()->active_index(), SELECT); s 347 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.src_contents = model()->GetWebContentsAt(old_model.active()); s 348 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.src_index = old_model.active(); s 349 chrome/browser/ui/tabs/tab_strip_model_unittest.cc states_.push_back(s); s 354 chrome/browser/ui/tabs/tab_strip_model_unittest.cc State s(contents, to_index, MOVE); s 355 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.src_index = from_index; s 356 chrome/browser/ui/tabs/tab_strip_model_unittest.cc states_.push_back(s); s 379 chrome/browser/ui/tabs/tab_strip_model_unittest.cc State s(new_contents, index, REPLACED); s 380 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.src_contents = old_contents; s 381 chrome/browser/ui/tabs/tab_strip_model_unittest.cc states_.push_back(s); s 2485 chrome/browser/ui/tabs/tab_strip_model_unittest.cc State s(contents2, 1, MockTabStripModelObserver::SELECT); s 2486 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.src_contents = contents2; s 2487 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.src_index = 1; s 2488 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.change_reason = TabStripModelObserver::CHANGE_REASON_NONE; s 2489 chrome/browser/ui/tabs/tab_strip_model_unittest.cc EXPECT_TRUE(observer.StateEquals(0, s)); s 185 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc for (int s = 0; s < GetSessionCount(); ++s) { s 188 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc BuildSessionSpecifics(s, meta); s 189 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc for (int w = 0; w < GetWindowCount(s); ++w) { s 190 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc BuildWindowSpecifics(s, w, meta); s 191 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc for (int t = 0; t < GetTabCount(s, w); ++t) { s 194 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc BuildTabSpecifics(s, w, t, tab_base); s 198 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc tab_base->tab_node_id(), entity, GetTabTimestamp(s, w, t)))); s 204 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc GetSessionTimestamp(s)))); s 212 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc for (int s = 0; s < GetSessionCount(); ++s) { s 214 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc BuildSessionSpecifics(s, &meta); s 215 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc for (int w = 0; w < GetWindowCount(s); ++w) { s 216 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc BuildWindowSpecifics(s, w, &meta); s 217 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc for (int t = 0; t < GetTabCount(s, w); ++t) { s 219 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc BuildTabSpecifics(s, w, t, &tab_base); s 221 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc GetTabTimestamp(s, w, t)); s 224 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc associator->AssociateForeignSpecifics(meta, GetSessionTimestamp(s)); s 235 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc for (int s = 0; s < GetSessionCount(); ++s) { s 237 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc ASSERT_TRUE(delegate->GetForeignSession(ToSessionTag(GetSessionID(s)), s 239 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc ASSERT_EQ(GetWindowCount(s), static_cast<int>(windows.size())); s 240 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc for (int w = 0; w < GetWindowCount(s); ++w) s 241 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc ASSERT_EQ(GetTabCount(s, w), static_cast<int>(windows[w]->tabs.size())); s 248 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc for (int s = 0; s < GetSessionCount(); ++s) { s 249 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc for (int w = 0; w < GetWindowCount(s); ++w) { s 250 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc for (int t = 0; t < GetTabCount(s, w); ++t) { s 252 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc pair.title = GetTabTitle(s, w, t); s 253 chrome/browser/ui/toolbar/recent_tabs_builder_test_helper.cc pair.timestamp = GetTabTimestamp(s, w, t); s 481 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc for (int s = 0; s < 4; ++s) { s 483 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc recent_tabs_builder.AddWindow(s); s 484 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc recent_tabs_builder.AddTab(s, 0); s 522 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc gfx::Size s = browser_view()->tabstrip()->GetPreferredSize(); s 523 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc return s; s 517 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc InSequence s; s 546 chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc InSequence s; s 93 chrome/browser/webdata/keyword_table.cc sql::Statement* s, s 106 chrome/browser/webdata/keyword_table.cc s->BindInt64(id_column, data.id); s 107 chrome/browser/webdata/keyword_table.cc s->BindString16(starting_column, data.short_name); s 108 chrome/browser/webdata/keyword_table.cc s->BindString16(starting_column + 1, data.keyword()); s 109 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 2, data.favicon_url.is_valid() ? s 112 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 3, data.url()); s 113 chrome/browser/webdata/keyword_table.cc s->BindBool(starting_column + 4, data.safe_for_autoreplace); s 114 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 5, data.originating_url.is_valid() ? s 117 chrome/browser/webdata/keyword_table.cc s->BindInt64(starting_column + 6, data.date_created.ToTimeT()); s 118 chrome/browser/webdata/keyword_table.cc s->BindInt(starting_column + 7, data.usage_count); s 119 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 8, JoinString(data.input_encodings, ';')); s 120 chrome/browser/webdata/keyword_table.cc s->BindBool(starting_column + 9, data.show_in_default_list); s 121 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 10, data.suggestions_url); s 122 chrome/browser/webdata/keyword_table.cc s->BindInt(starting_column + 11, data.prepopulate_id); s 123 chrome/browser/webdata/keyword_table.cc s->BindBool(starting_column + 12, data.created_by_policy); s 124 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 13, data.instant_url); s 125 chrome/browser/webdata/keyword_table.cc s->BindInt64(starting_column + 14, data.last_modified.ToTimeT()); s 126 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 15, data.sync_guid); s 127 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 16, alternate_urls); s 128 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 17, data.search_terms_replacement_key); s 129 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 18, data.image_url); s 130 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 19, data.search_url_post_params); s 131 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 20, data.suggestions_url_post_params); s 132 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 21, data.instant_url_post_params); s 133 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 22, data.image_url_post_params); s 134 chrome/browser/webdata/keyword_table.cc s->BindString(starting_column + 23, data.new_tab_url); s 275 chrome/browser/webdata/keyword_table.cc sql::Statement s(db_->GetUniqueStatement(query.c_str())); s 278 chrome/browser/webdata/keyword_table.cc while (s.Step()) { s 280 chrome/browser/webdata/keyword_table.cc if (!GetKeywordDataFromStatement(s, &keywords->back())) { s 281 chrome/browser/webdata/keyword_table.cc bad_entries.insert(s.ColumnInt64(0)); s 285 chrome/browser/webdata/keyword_table.cc bool succeeded = s.Succeeded(); s 456 chrome/browser/webdata/keyword_table.cc bool KeywordTable::GetKeywordDataFromStatement(const sql::Statement& s, s 460 chrome/browser/webdata/keyword_table.cc data->short_name = s.ColumnString16(1); s 461 chrome/browser/webdata/keyword_table.cc data->SetKeyword(s.ColumnString16(2)); s 466 chrome/browser/webdata/keyword_table.cc if (s.ColumnString(4).empty()) s 468 chrome/browser/webdata/keyword_table.cc data->SetURL(s.ColumnString(4)); s 469 chrome/browser/webdata/keyword_table.cc data->suggestions_url = s.ColumnString(11); s 470 chrome/browser/webdata/keyword_table.cc data->instant_url = s.ColumnString(14); s 471 chrome/browser/webdata/keyword_table.cc data->image_url = s.ColumnString(19); s 472 chrome/browser/webdata/keyword_table.cc data->new_tab_url = s.ColumnString(24); s 473 chrome/browser/webdata/keyword_table.cc data->search_url_post_params = s.ColumnString(20); s 474 chrome/browser/webdata/keyword_table.cc data->suggestions_url_post_params = s.ColumnString(21); s 475 chrome/browser/webdata/keyword_table.cc data->instant_url_post_params = s.ColumnString(22); s 476 chrome/browser/webdata/keyword_table.cc data->image_url_post_params = s.ColumnString(23); s 477 chrome/browser/webdata/keyword_table.cc data->favicon_url = GURL(s.ColumnString(3)); s 478 chrome/browser/webdata/keyword_table.cc data->originating_url = GURL(s.ColumnString(6)); s 479 chrome/browser/webdata/keyword_table.cc data->show_in_default_list = s.ColumnBool(10); s 480 chrome/browser/webdata/keyword_table.cc data->safe_for_autoreplace = s.ColumnBool(5); s 481 chrome/browser/webdata/keyword_table.cc base::SplitString(s.ColumnString(9), ';', &data->input_encodings); s 482 chrome/browser/webdata/keyword_table.cc data->id = s.ColumnInt64(0); s 483 chrome/browser/webdata/keyword_table.cc data->date_created = Time::FromTimeT(s.ColumnInt64(7)); s 484 chrome/browser/webdata/keyword_table.cc data->last_modified = Time::FromTimeT(s.ColumnInt64(15)); s 485 chrome/browser/webdata/keyword_table.cc data->created_by_policy = s.ColumnBool(13); s 486 chrome/browser/webdata/keyword_table.cc data->usage_count = s.ColumnInt(8); s 487 chrome/browser/webdata/keyword_table.cc data->prepopulate_id = s.ColumnInt(12); s 488 chrome/browser/webdata/keyword_table.cc data->sync_guid = s.ColumnString(16); s 492 chrome/browser/webdata/keyword_table.cc scoped_ptr<base::Value> value(json_reader.ReadToValue(s.ColumnString(17))); s 502 chrome/browser/webdata/keyword_table.cc data->search_terms_replacement_key = s.ColumnString(18); s 512 chrome/browser/webdata/keyword_table.cc sql::Statement s(db_->GetCachedStatement(SQL_FROM_HERE, query.c_str())); s 513 chrome/browser/webdata/keyword_table.cc BindURLToStatement(data, &s, 0, 1); s 515 chrome/browser/webdata/keyword_table.cc return s.Run(); s 520 chrome/browser/webdata/keyword_table.cc sql::Statement s(db_->GetCachedStatement( s 522 chrome/browser/webdata/keyword_table.cc s.BindInt64(0, id); s 524 chrome/browser/webdata/keyword_table.cc return s.Run(); s 529 chrome/browser/webdata/keyword_table.cc sql::Statement s(db_->GetCachedStatement( s 539 chrome/browser/webdata/keyword_table.cc BindURLToStatement(data, &s, 24, 0); // "24" binds id() as the last item. s 541 chrome/browser/webdata/keyword_table.cc return s.Run(); s 550 chrome/browser/webdata/keyword_table.cc sql::Statement s(db_->GetUniqueStatement(query.c_str())); s 551 chrome/browser/webdata/keyword_table.cc s.BindInt64(0, id); s 553 chrome/browser/webdata/keyword_table.cc if (!s.Step()) { s 554 chrome/browser/webdata/keyword_table.cc LOG_IF(WARNING, s.Succeeded()) << "No keyword with id: " << id s 559 chrome/browser/webdata/keyword_table.cc if (!s.Succeeded()) s 562 chrome/browser/webdata/keyword_table.cc *result = s.ColumnString(0); s 596 chrome/browser/webdata/keyword_table.cc sql::Statement s(db_->GetUniqueStatement(sql.c_str())); s 599 chrome/browser/webdata/keyword_table.cc while (s.Step()) { s 600 chrome/browser/webdata/keyword_table.cc base::string16 keyword(s.ColumnString16(1)); s 601 chrome/browser/webdata/keyword_table.cc bool generate_keyword = keyword.empty() || s.ColumnBool(3); s 606 chrome/browser/webdata/keyword_table.cc data.SetURL(s.ColumnString(2)); s 627 chrome/browser/webdata/keyword_table.cc u.BindInt64(1, s.ColumnInt64(0)); s 635 chrome/browser/webdata/keyword_table.cc u.BindInt64(0, s.ColumnInt64(0)); s 156 chrome/browser/webdata/keyword_table.h static bool GetKeywordDataFromStatement(const sql::Statement& s, s 219 chrome/browser/webdata/keyword_table_unittest.cc sql::Statement s; s 220 chrome/browser/webdata/keyword_table_unittest.cc GetStatement("UPDATE keywords SET url=? WHERE id=?", &s); s 221 chrome/browser/webdata/keyword_table_unittest.cc s.BindString16(0, base::string16()); s 222 chrome/browser/webdata/keyword_table_unittest.cc s.BindInt64(1, 2000); s 223 chrome/browser/webdata/keyword_table_unittest.cc EXPECT_TRUE(s.Run()); s 14 chrome/browser/webdata/logins_table_win.cc sql::Statement s(db_->GetUniqueStatement( s 18 chrome/browser/webdata/logins_table_win.cc s.BindString(0, base::WideToUTF8(info.url_hash)); s 19 chrome/browser/webdata/logins_table_win.cc s.BindBlob(1, &info.encrypted_data.front(), s 21 chrome/browser/webdata/logins_table_win.cc s.BindInt64(2, info.date_created.ToTimeT()); s 23 chrome/browser/webdata/logins_table_win.cc return s.Run(); s 28 chrome/browser/webdata/logins_table_win.cc sql::Statement s(db_->GetUniqueStatement( s 30 chrome/browser/webdata/logins_table_win.cc s.BindString(0, base::WideToUTF8(info.url_hash)); s 32 chrome/browser/webdata/logins_table_win.cc return s.Run(); s 38 chrome/browser/webdata/logins_table_win.cc sql::Statement s(db_->GetUniqueStatement( s 41 chrome/browser/webdata/logins_table_win.cc s.BindString16(0, info.url_hash); s 43 chrome/browser/webdata/logins_table_win.cc if (s.Step()) { s 44 chrome/browser/webdata/logins_table_win.cc s.ColumnBlobAsVector(0, &result->encrypted_data); s 45 chrome/browser/webdata/logins_table_win.cc result->date_created = base::Time::FromTimeT(s.ColumnInt64(1)); s 48 chrome/browser/webdata/logins_table_win.cc return s.Succeeded(); s 80 chrome/browser/webdata/web_apps_table.cc sql::Statement s(db_->GetUniqueStatement( s 85 chrome/browser/webdata/web_apps_table.cc s.BindString(0, history::HistoryDatabase::GURLToDatabaseURL(url)); s 86 chrome/browser/webdata/web_apps_table.cc s.BindInt(1, image.width()); s 87 chrome/browser/webdata/web_apps_table.cc s.BindInt(2, image.height()); s 88 chrome/browser/webdata/web_apps_table.cc s.BindBlob(3, &image_data.front(), static_cast<int>(image_data.size())); s 90 chrome/browser/webdata/web_apps_table.cc return s.Run(); s 95 chrome/browser/webdata/web_apps_table.cc sql::Statement s(db_->GetUniqueStatement( s 97 chrome/browser/webdata/web_apps_table.cc s.BindString(0, history::HistoryDatabase::GURLToDatabaseURL(url)); s 99 chrome/browser/webdata/web_apps_table.cc while (s.Step()) { s 101 chrome/browser/webdata/web_apps_table.cc int col_bytes = s.ColumnByteLength(0); s 104 chrome/browser/webdata/web_apps_table.cc reinterpret_cast<const unsigned char*>(s.ColumnBlob(0)), s 113 chrome/browser/webdata/web_apps_table.cc return s.Succeeded(); s 118 chrome/browser/webdata/web_apps_table.cc sql::Statement s(db_->GetUniqueStatement( s 120 chrome/browser/webdata/web_apps_table.cc s.BindString(0, history::HistoryDatabase::GURLToDatabaseURL(url)); s 121 chrome/browser/webdata/web_apps_table.cc s.BindInt(1, has_all_images ? 1 : 0); s 123 chrome/browser/webdata/web_apps_table.cc return s.Run(); s 127 chrome/browser/webdata/web_apps_table.cc sql::Statement s(db_->GetUniqueStatement( s 129 chrome/browser/webdata/web_apps_table.cc s.BindString(0, history::HistoryDatabase::GURLToDatabaseURL(url)); s 131 chrome/browser/webdata/web_apps_table.cc return (s.Step() && s.ColumnInt(0) == 1); s 22 chrome/common/content_settings_pattern_parser.cc Component(size_t s, size_t l) : start(s), len(l) {} s 35 chrome/common/net/x509_certificate_model_nss.cc std::string s = nss_text; s 37 chrome/common/net/x509_certificate_model_nss.cc return s; s 341 chrome/installer/mac/third_party/bsdiff/goobsdiff.c off_t s,Sf,lenf,Sb,lenb; s 439 chrome/installer/mac/third_party/bsdiff/goobsdiff.c s=0;Sf=0;lenf=0; s 441 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if(old[lastpos+i]==new[lastscan+i]) s++; s 443 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if(s*2-i>Sf*2-lenf) { Sf=s; lenf=i; }; s 448 chrome/installer/mac/third_party/bsdiff/goobsdiff.c s=0;Sb=0; s 450 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if(old[pos-i]==new[scan-i]) s++; s 451 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if(s*2-i>Sb*2-lenb) { Sb=s; lenb=i; }; s 457 chrome/installer/mac/third_party/bsdiff/goobsdiff.c s=0;Ss=0;lens=0; s 460 chrome/installer/mac/third_party/bsdiff/goobsdiff.c old[lastpos+lenf-overlap+i]) s++; s 462 chrome/installer/mac/third_party/bsdiff/goobsdiff.c old[pos-lenb+i]) s--; s 463 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if(s>Ss) { Ss=s; lens=i+1; }; s 118 chrome/installer/mini_installer/mini_string.cc const wchar_t* s = scan; s 121 chrome/installer/mini_installer/mini_string.cc while (*s && *f && EqualASCIICharI(*s, *f)) s 122 chrome/installer/mini_installer/mini_string.cc ++s, ++f; s 42 chrome/installer/util/delete_after_reboot_helper.cc for (const wchar_t* s = dir_name_str; *s; ++s) { s 43 chrome/installer/util/delete_after_reboot_helper.cc if (*s != L'\\' && *s != L'/' && *s != L':' && *s != L'.') s 45 chrome/installer/util/delete_after_reboot_helper.cc if (*s == L'.' && s > dir_name_str && *(s - 1) == L'.') s 47 chrome/installer/util/delete_after_reboot_helper.cc if (*s == L':') s 128 chrome/installer/util/google_update_util.cc bool IsStringPrintable(const std::string& s) { s 129 chrome/installer/util/google_update_util.cc return std::find_if(s.begin(), s.end(), IsNotPrintable) == s.end(); s 46 chrome/installer/util/lzma_util.cc CFileInStream *s = (CFileInStream *) object; s 64 chrome/installer/util/lzma_util.cc value.LowPart = SetFilePointer(s->file.handle, value.LowPart, &value.HighPart, s 72 chrome/installer/util/lzma_util.cc CFileInStream *s = (CFileInStream *) object; s 73 chrome/installer/util/lzma_util.cc return LzmaReadFile(s->file.handle, buffer, size); s 137 chrome/installer/util/lzma_util.cc archiveStream.s.Read = SzFileReadImp; s 138 chrome/installer/util/lzma_util.cc archiveStream.s.Seek = SzFileSeekImp; s 140 chrome/installer/util/lzma_util.cc lookStream.realStream = &archiveStream.s; s 149 chrome/installer/util/lzma_util.cc if ((ret = SzArEx_Open(&db, &lookStream.s, s 165 chrome/installer/util/lzma_util.cc if ((ret = SzArEx_Extract(&db, &lookStream.s, i, &blockIndex, s 285 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc InSequence s; s 353 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc InSequence s; s 532 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc InSequence s; s 560 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc InSequence s; s 584 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc InSequence s; s 614 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc InSequence s; s 61 chrome/renderer/searchbox/searchbox_extension.cc v8::String::Value s(v); s 62 chrome/renderer/searchbox/searchbox_extension.cc return base::string16(reinterpret_cast<const base::char16*>(*s), s.length()); s 67 chrome/renderer/searchbox/searchbox_extension.cc const base::string16& s) { s 69 chrome/renderer/searchbox/searchbox_extension.cc reinterpret_cast<const uint16_t*>(s.data()), s 71 chrome/renderer/searchbox/searchbox_extension.cc s.size()); s 76 chrome/renderer/searchbox/searchbox_extension.cc const std::string& s) { s 78 chrome/renderer/searchbox/searchbox_extension.cc isolate, s.data(), v8::String::kNormalString, s.size()); s 222 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/SyncTestUtil.java final Semaphore s = new Semaphore(0); s 228 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/SyncTestUtil.java s.release(); s 231 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/SyncTestUtil.java Assert.assertTrue(s.tryAcquire(SYNC_WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS)); s 724 chrome/test/base/web_ui_browsertest.cc ::testing::InSequence s; s 739 chrome/test/base/web_ui_browsertest.cc ::testing::InSequence s; s 750 chrome/test/base/web_ui_browsertest.cc ::testing::InSequence s; s 765 chrome/test/base/web_ui_browsertest.cc ::testing::InSequence s; s 777 chrome/test/base/web_ui_browsertest.cc ::testing::InSequence s; s 70 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc std::string::size_type s = 0; s 73 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc while (std::string::npos != (comma = str_map.find(',', s))) { s 74 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc std::string sub = str_map.substr(s, comma - s); s 75 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc s = comma + 1; s 78 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc if (s != str_map.size()) { s 79 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc std::string sub = str_map.substr(s); s 165 chrome/utility/importer/firefox_importer.cc sql::Statement s(db.GetUniqueStatement(query)); s 168 chrome/utility/importer/firefox_importer.cc while (s.Step() && !cancelled()) { s 169 chrome/utility/importer/firefox_importer.cc GURL url(s.ColumnString(0)); s 176 chrome/utility/importer/firefox_importer.cc row.title = s.ColumnString16(1); s 177 chrome/utility/importer/firefox_importer.cc row.visit_count = s.ColumnInt(2); s 178 chrome/utility/importer/firefox_importer.cc row.hidden = s.ColumnInt(3) == 1; s 179 chrome/utility/importer/firefox_importer.cc row.typed_count = s.ColumnInt(4); s 180 chrome/utility/importer/firefox_importer.cc row.last_visit = base::Time::FromTimeT(s.ColumnInt64(5)/1000000); s 231 chrome/utility/importer/firefox_importer.cc sql::Statement s(db.GetUniqueStatement(query)); s 233 chrome/utility/importer/firefox_importer.cc if (!s.is_valid()) s 236 chrome/utility/importer/firefox_importer.cc while (s.Step() && !cancelled()) s 237 chrome/utility/importer/firefox_importer.cc post_keyword_ids.insert(s.ColumnInt(0)); s 403 chrome/utility/importer/firefox_importer.cc sql::Statement s(db.GetUniqueStatement(query)); s 404 chrome/utility/importer/firefox_importer.cc if (!s.is_valid()) s 426 chrome/utility/importer/firefox_importer.cc if (s.Step()) { s 431 chrome/utility/importer/firefox_importer.cc std::string engine(s.ColumnString(0)); s 451 chrome/utility/importer/firefox_importer.cc } while (s.Step() && !cancelled()); s 488 chrome/utility/importer/firefox_importer.cc sql::Statement s(db->GetUniqueStatement(query)); s 490 chrome/utility/importer/firefox_importer.cc while (s.Step()) { s 491 chrome/utility/importer/firefox_importer.cc std::string folder = s.ColumnString(0); s 492 chrome/utility/importer/firefox_importer.cc int id = s.ColumnInt(1); s 511 chrome/utility/importer/firefox_importer.cc sql::Statement s(db->GetUniqueStatement(query)); s 512 chrome/utility/importer/firefox_importer.cc s.BindString(0, kFeedAnnotation); s 514 chrome/utility/importer/firefox_importer.cc while (s.Step() && !cancelled()) s 515 chrome/utility/importer/firefox_importer.cc livemark->insert(s.ColumnInt(0)); s 525 chrome/utility/importer/firefox_importer.cc sql::Statement s(db->GetUniqueStatement(query)); s 526 chrome/utility/importer/firefox_importer.cc s.BindInt(0, folder_id); s 528 chrome/utility/importer/firefox_importer.cc if (s.Step()) { s 532 chrome/utility/importer/firefox_importer.cc item->title = s.ColumnString16(0); s 556 chrome/utility/importer/firefox_importer.cc sql::Statement s(db->GetUniqueStatement(query)); s 557 chrome/utility/importer/firefox_importer.cc s.BindInt(0, (*list)[position]->id); s 560 chrome/utility/importer/firefox_importer.cc while (s.Step()) { s 563 chrome/utility/importer/firefox_importer.cc item->id = s.ColumnInt(0); s 564 chrome/utility/importer/firefox_importer.cc item->url = GURL(s.ColumnString(1)); s 565 chrome/utility/importer/firefox_importer.cc item->title = s.ColumnString16(2); s 566 chrome/utility/importer/firefox_importer.cc item->type = static_cast<BookmarkItemType>(s.ColumnInt(3)); s 567 chrome/utility/importer/firefox_importer.cc item->keyword = s.ColumnString(4); s 568 chrome/utility/importer/firefox_importer.cc item->date_added = base::Time::FromTimeT(s.ColumnInt64(5)/1000000); s 569 chrome/utility/importer/firefox_importer.cc item->favicon = s.ColumnInt64(6); s 592 chrome/utility/importer/firefox_importer.cc sql::Statement s(db->GetUniqueStatement(query)); s 594 chrome/utility/importer/firefox_importer.cc if (!s.is_valid()) s 599 chrome/utility/importer/firefox_importer.cc s.BindInt64(0, i->first); s 600 chrome/utility/importer/firefox_importer.cc if (s.Step()) { s 603 chrome/utility/importer/firefox_importer.cc usage.favicon_url = GURL(s.ColumnString(0)); s 608 chrome/utility/importer/firefox_importer.cc s.ColumnBlobAsVector(1, &data); s 618 chrome/utility/importer/firefox_importer.cc s.Reset(true); s 242 chrome/utility/importer/nss_decryptor.cc sql::Statement s(db.GetUniqueStatement(query)); s 243 chrome/utility/importer/nss_decryptor.cc if (!s.is_valid()) s 252 chrome/utility/importer/nss_decryptor.cc while (s.Step()) { s 254 chrome/utility/importer/nss_decryptor.cc form.origin = GURL(s.ColumnString(0)).ReplaceComponents(rep); s 58 chromeos/accelerometer/accelerometer_reader.cc std::string s; s 60 chromeos/accelerometer/accelerometer_reader.cc if (!base::ReadFileToString(path, &s, kMaxAsciiUintLength)) { s 64 chromeos/accelerometer/accelerometer_reader.cc base::TrimWhitespaceASCII(s, base::TRIM_ALL, &s); s 65 chromeos/accelerometer/accelerometer_reader.cc if (!base::StringToUint(s, value)) { s 66 chromeos/accelerometer/accelerometer_reader.cc LOG(ERROR) << "Failed to parse \"" << s << "\" from " << path.value(); s 237 chromeos/disks/disk_mount_manager_unittest.cc InSequence s; s 281 chromeos/disks/disk_mount_manager_unittest.cc InSequence s; s 336 chromeos/disks/disk_mount_manager_unittest.cc InSequence s; s 392 chromeos/disks/disk_mount_manager_unittest.cc InSequence s; s 444 chromeos/disks/disk_mount_manager_unittest.cc InSequence s; s 498 chromeos/disks/disk_mount_manager_unittest.cc InSequence s; s 98 chromeos/network/client_cert_util.cc std::string s; s 99 chromeos/network/client_cert_util.cc dict.GetStringWithoutPathExpansion(key, &s); s 100 chromeos/network/client_cert_util.cc return s; s 79 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement* s) { s 82 components/autofill/core/browser/webdata/autofill_table.cc s->BindString(index++, profile.guid()); s 84 components/autofill/core/browser/webdata/autofill_table.cc s->BindString16(index++, GetInfo(profile, COMPANY_NAME)); s 85 components/autofill/core/browser/webdata/autofill_table.cc s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_STREET_ADDRESS)); s 86 components/autofill/core/browser/webdata/autofill_table.cc s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_DEPENDENT_LOCALITY)); s 87 components/autofill/core/browser/webdata/autofill_table.cc s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_CITY)); s 88 components/autofill/core/browser/webdata/autofill_table.cc s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_STATE)); s 89 components/autofill/core/browser/webdata/autofill_table.cc s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_ZIP)); s 90 components/autofill/core/browser/webdata/autofill_table.cc s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_SORTING_CODE)); s 91 components/autofill/core/browser/webdata/autofill_table.cc s->BindString16(index++, GetInfo(profile, ADDRESS_HOME_COUNTRY)); s 92 components/autofill/core/browser/webdata/autofill_table.cc s->BindInt64(index++, Time::Now().ToTimeT()); s 93 components/autofill/core/browser/webdata/autofill_table.cc s->BindString(index++, profile.origin()); s 97 components/autofill/core/browser/webdata/autofill_table.cc const sql::Statement& s) { s 100 components/autofill/core/browser/webdata/autofill_table.cc profile->set_guid(s.ColumnString(index++)); s 103 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(COMPANY_NAME, s.ColumnString16(index++)); s 104 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(ADDRESS_HOME_STREET_ADDRESS, s.ColumnString16(index++)); s 106 components/autofill/core/browser/webdata/autofill_table.cc s.ColumnString16(index++)); s 107 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(ADDRESS_HOME_CITY, s.ColumnString16(index++)); s 108 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(ADDRESS_HOME_STATE, s.ColumnString16(index++)); s 109 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(ADDRESS_HOME_ZIP, s.ColumnString16(index++)); s 110 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(ADDRESS_HOME_SORTING_CODE, s.ColumnString16(index++)); s 111 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(ADDRESS_HOME_COUNTRY, s.ColumnString16(index++)); s 114 components/autofill/core/browser/webdata/autofill_table.cc profile->set_origin(s.ColumnString(index++)); s 120 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement* s) { s 123 components/autofill/core/browser/webdata/autofill_table.cc s->BindString(index++, credit_card.guid()); s 125 components/autofill/core/browser/webdata/autofill_table.cc s->BindString16(index++, GetInfo(credit_card, CREDIT_CARD_NAME)); s 126 components/autofill/core/browser/webdata/autofill_table.cc s->BindString16(index++, GetInfo(credit_card, CREDIT_CARD_EXP_MONTH)); s 127 components/autofill/core/browser/webdata/autofill_table.cc s->BindString16(index++, GetInfo(credit_card, CREDIT_CARD_EXP_4_DIGIT_YEAR)); s 132 components/autofill/core/browser/webdata/autofill_table.cc s->BindBlob(index++, encrypted_data.data(), s 135 components/autofill/core/browser/webdata/autofill_table.cc s->BindInt64(index++, Time::Now().ToTimeT()); s 136 components/autofill/core/browser/webdata/autofill_table.cc s->BindString(index++, credit_card.origin()); s 139 components/autofill/core/browser/webdata/autofill_table.cc scoped_ptr<CreditCard> CreditCardFromStatement(const sql::Statement& s) { s 143 components/autofill/core/browser/webdata/autofill_table.cc credit_card->set_guid(s.ColumnString(index++)); s 146 components/autofill/core/browser/webdata/autofill_table.cc credit_card->SetRawInfo(CREDIT_CARD_NAME, s.ColumnString16(index++)); s 147 components/autofill/core/browser/webdata/autofill_table.cc credit_card->SetRawInfo(CREDIT_CARD_EXP_MONTH, s.ColumnString16(index++)); s 149 components/autofill/core/browser/webdata/autofill_table.cc s.ColumnString16(index++)); s 150 components/autofill/core/browser/webdata/autofill_table.cc int encrypted_number_len = s.ColumnByteLength(index); s 155 components/autofill/core/browser/webdata/autofill_table.cc memcpy(&encrypted_number[0], s.ColumnBlob(index++), encrypted_number_len); s 163 components/autofill/core/browser/webdata/autofill_table.cc credit_card->set_origin(s.ColumnString(index++)); s 170 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db->GetUniqueStatement( s 174 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, profile->guid()); s 176 components/autofill/core/browser/webdata/autofill_table.cc if (!s.is_valid()) s 182 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 183 components/autofill/core/browser/webdata/autofill_table.cc DCHECK_EQ(profile->guid(), s.ColumnString(0)); s 184 components/autofill/core/browser/webdata/autofill_table.cc first_names.push_back(s.ColumnString16(1)); s 185 components/autofill/core/browser/webdata/autofill_table.cc middle_names.push_back(s.ColumnString16(2)); s 186 components/autofill/core/browser/webdata/autofill_table.cc last_names.push_back(s.ColumnString16(3)); s 188 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 199 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db->GetUniqueStatement( s 203 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, profile->guid()); s 205 components/autofill/core/browser/webdata/autofill_table.cc if (!s.is_valid()) s 209 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 210 components/autofill/core/browser/webdata/autofill_table.cc DCHECK_EQ(profile->guid(), s.ColumnString(0)); s 211 components/autofill/core/browser/webdata/autofill_table.cc emails.push_back(s.ColumnString16(1)); s 213 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 222 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db->GetUniqueStatement( s 226 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, profile->guid()); s 228 components/autofill/core/browser/webdata/autofill_table.cc if (!s.is_valid()) s 232 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 233 components/autofill/core/browser/webdata/autofill_table.cc DCHECK_EQ(profile->guid(), s.ColumnString(0)); s 234 components/autofill/core/browser/webdata/autofill_table.cc numbers.push_back(s.ColumnString16(1)); s 236 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 256 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db->GetUniqueStatement( s 260 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, profile.guid()); s 261 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(1, first_names[i]); s 262 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(2, middle_names[i]); s 263 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(3, last_names[i]); s 265 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 278 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db->GetUniqueStatement( s 282 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, profile.guid()); s 283 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(1, emails[i]); s 285 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 299 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db->GetUniqueStatement( s 303 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, profile.guid()); s 304 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(1, numbers[i]); s 306 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 466 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s; s 469 components/autofill/core/browser/webdata/autofill_table.cc s.Assign(db_->GetUniqueStatement( s 474 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(0, name); s 475 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt(1, limit); s 481 components/autofill/core/browser/webdata/autofill_table.cc s.Assign(db_->GetUniqueStatement( s 488 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(0, name); s 489 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(1, prefix_lower); s 490 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(2, next_prefix); s 491 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt(3, limit); s 495 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) s 496 components/autofill/core/browser/webdata/autofill_table.cc values->push_back(s.ColumnString16(0)); s 497 components/autofill/core/browser/webdata/autofill_table.cc return s.Succeeded(); s 501 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement("SELECT COUNT(*) FROM autofill")); s 502 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Step()) { s 506 components/autofill/core/browser/webdata/autofill_table.cc return s.ColumnInt(0) > 0; s 518 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 522 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(0, delete_begin_time_t); s 523 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(1, delete_end_time_t); s 524 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(2, delete_begin_time_t); s 525 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(3, delete_end_time_t); s 529 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 530 components/autofill/core/browser/webdata/autofill_table.cc base::string16 name = s.ColumnString16(0); s 531 components/autofill/core/browser/webdata/autofill_table.cc base::string16 value = s.ColumnString16(1); s 532 components/autofill/core/browser/webdata/autofill_table.cc int count = s.ColumnInt(2); s 533 components/autofill/core/browser/webdata/autofill_table.cc time_t date_created_time_t = s.ColumnInt64(3); s 534 components/autofill/core/browser/webdata/autofill_table.cc time_t date_last_used_time_t = s.ColumnInt64(4); s 584 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 669 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 672 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 673 components/autofill/core/browser/webdata/autofill_table.cc base::string16 name = s.ColumnString16(0); s 674 components/autofill/core/browser/webdata/autofill_table.cc base::string16 value = s.ColumnString16(1); s 675 components/autofill/core/browser/webdata/autofill_table.cc Time date_created = Time::FromTimeT(s.ColumnInt64(2)); s 676 components/autofill/core/browser/webdata/autofill_table.cc Time date_last_used = Time::FromTimeT(s.ColumnInt64(3)); s 681 components/autofill/core/browser/webdata/autofill_table.cc return s.Succeeded(); s 688 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 691 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(0, name); s 692 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(1, value); s 693 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Step()) s 696 components/autofill/core/browser/webdata/autofill_table.cc *date_created = Time::FromTimeT(s.ColumnInt64(0)); s 697 components/autofill/core/browser/webdata/autofill_table.cc *date_last_used = Time::FromTimeT(s.ColumnInt64(1)); s 699 components/autofill/core/browser/webdata/autofill_table.cc DCHECK(!s.Step()); s 710 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 712 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(0, entries[i].key().name()); s 713 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(1, entries[i].key().value()); s 714 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 732 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement(sql.c_str())); s 733 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(0, entry.key().name()); s 734 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(1, entry.key().value()); s 735 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(2, base::i18n::ToLower(entry.key().value())); s 736 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(3, entry.date_created().ToTimeT()); s 737 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(4, entry.date_last_used().ToTimeT()); s 742 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt(5, entry.date_last_used() == entry.date_created() ? 1 : 2); s 743 components/autofill/core/browser/webdata/autofill_table.cc return s.Run(); s 758 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 761 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(0, time.ToTimeT()); s 762 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(1, element.name); s 763 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(2, element.value); s 764 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 768 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 772 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(0, element.name); s 773 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(1, element.value); s 774 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(2, base::i18n::ToLower(element.value)); s 775 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(3, time_as_time_t); s 776 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(4, time_as_time_t); s 777 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt(5, 1); s 778 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 792 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 794 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(0, name); s 795 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(1, value); s 796 components/autofill/core/browser/webdata/autofill_table.cc return s.Run(); s 803 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 808 components/autofill/core/browser/webdata/autofill_table.cc BindAutofillProfileToStatement(profile, &s); s 810 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 820 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 825 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, guid); s 827 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Step()) s 830 components/autofill/core/browser/webdata/autofill_table.cc scoped_ptr<AutofillProfile> p = AutofillProfileFromStatement(s); s 850 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 854 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 855 components/autofill/core/browser/webdata/autofill_table.cc std::string guid = s.ColumnString(0); s 862 components/autofill/core/browser/webdata/autofill_table.cc return s.Succeeded(); s 883 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 889 components/autofill/core/browser/webdata/autofill_table.cc BindAutofillProfileToStatement(profile, &s); s 890 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(11, profile.guid()); s 892 components/autofill/core/browser/webdata/autofill_table.cc bool result = s.Run(); s 917 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 919 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, guid); s 921 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 953 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 958 components/autofill/core/browser/webdata/autofill_table.cc BindCreditCardToStatement(credit_card, &s); s 960 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 970 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 975 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, guid); s 977 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Step()) s 980 components/autofill/core/browser/webdata/autofill_table.cc *credit_card = CreditCardFromStatement(s).release(); s 989 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 993 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 994 components/autofill/core/browser/webdata/autofill_table.cc std::string guid = s.ColumnString(0); s 1001 components/autofill/core/browser/webdata/autofill_table.cc return s.Succeeded(); s 1016 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1022 components/autofill/core/browser/webdata/autofill_table.cc BindCreditCardToStatement(credit_card, &s); s 1023 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(7, credit_card.guid()); s 1025 components/autofill/core/browser/webdata/autofill_table.cc bool result = s.Run(); s 1032 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1034 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, guid); s 1036 components/autofill/core/browser/webdata/autofill_table.cc return s.Run(); s 1175 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1179 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 1180 components/autofill/core/browser/webdata/autofill_table.cc std::string guid = s.ColumnString(0); s 1184 components/autofill/core/browser/webdata/autofill_table.cc return s.Succeeded(); s 1188 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1191 components/autofill/core/browser/webdata/autofill_table.cc return s.Run(); s 1196 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1200 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, guid); s 1202 components/autofill/core/browser/webdata/autofill_table.cc return s.Run(); s 1206 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1210 components/autofill/core/browser/webdata/autofill_table.cc return !s.Step(); s 1214 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1218 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, guid); s 1220 components/autofill/core/browser/webdata/autofill_table.cc return s.Step(); s 1350 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1352 components/autofill/core/browser/webdata/autofill_table.cc if (!s.is_valid()) s 1356 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) s 1357 components/autofill/core/browser/webdata/autofill_table.cc ids.insert(s.ColumnInt64(0)); s 1358 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 1366 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1368 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(0, *it); s 1369 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 1539 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement(stmt.c_str())); s 1542 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) s 1543 components/autofill/core/browser/webdata/autofill_table.cc cc_billing_map[s.ColumnInt(0)] = s.ColumnInt(1); s 1544 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 1551 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement(stmt.c_str())); s 1553 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 1555 components/autofill/core/browser/webdata/autofill_table.cc if (base::StringToInt(s.ColumnString(1), &id)) s 1556 components/autofill/core/browser/webdata/autofill_table.cc cc_billing_map[s.ColumnInt(0)] = id; s 1558 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 1595 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetCachedStatement( s 1598 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt(0, (*iter).second); s 1599 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt(1, (*iter).first); s 1601 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 1616 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1618 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(0, Time::Now().ToTimeT()); s 1620 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 1631 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1633 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(0, Time::Now().ToTimeT()); s 1635 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 1654 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement("SELECT unique_id " s 1657 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 1662 components/autofill/core/browser/webdata/autofill_table.cc update_s.BindInt(1, s.ColumnInt(0)); s 1667 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 1682 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement("SELECT unique_id " s 1685 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 1690 components/autofill/core/browser/webdata/autofill_table.cc update_s.BindInt(1, s.ColumnInt(0)); s 1695 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 1814 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1820 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 1823 components/autofill/core/browser/webdata/autofill_table.cc profile.set_guid(s.ColumnString(index++)); s 1826 components/autofill/core/browser/webdata/autofill_table.cc profile.SetRawInfo(NAME_FIRST, s.ColumnString16(index++)); s 1827 components/autofill/core/browser/webdata/autofill_table.cc profile.SetRawInfo(NAME_MIDDLE, s.ColumnString16(index++)); s 1828 components/autofill/core/browser/webdata/autofill_table.cc profile.SetRawInfo(NAME_LAST, s.ColumnString16(index++)); s 1829 components/autofill/core/browser/webdata/autofill_table.cc profile.SetRawInfo(EMAIL_ADDRESS, s.ColumnString16(index++)); s 1830 components/autofill/core/browser/webdata/autofill_table.cc profile.SetRawInfo(COMPANY_NAME, s.ColumnString16(index++)); s 1831 components/autofill/core/browser/webdata/autofill_table.cc profile.SetRawInfo(ADDRESS_HOME_LINE1, s.ColumnString16(index++)); s 1832 components/autofill/core/browser/webdata/autofill_table.cc profile.SetRawInfo(ADDRESS_HOME_LINE2, s.ColumnString16(index++)); s 1833 components/autofill/core/browser/webdata/autofill_table.cc profile.SetRawInfo(ADDRESS_HOME_CITY, s.ColumnString16(index++)); s 1834 components/autofill/core/browser/webdata/autofill_table.cc profile.SetRawInfo(ADDRESS_HOME_STATE, s.ColumnString16(index++)); s 1835 components/autofill/core/browser/webdata/autofill_table.cc profile.SetRawInfo(ADDRESS_HOME_ZIP, s.ColumnString16(index++)); s 1837 components/autofill/core/browser/webdata/autofill_table.cc s.ColumnString16(index++), app_locale_); s 1838 components/autofill/core/browser/webdata/autofill_table.cc profile.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, s.ColumnString16(index++)); s 1839 components/autofill/core/browser/webdata/autofill_table.cc int64 date_modified = s.ColumnInt64(index++); s 1864 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 1918 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement("SELECT guid, country " s 1921 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 1926 components/autofill/core/browser/webdata/autofill_table.cc base::string16 country = s.ColumnString16(1); s 1929 components/autofill/core/browser/webdata/autofill_table.cc update_s.BindString(1, s.ColumnString(0)); s 1934 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 1945 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1949 components/autofill/core/browser/webdata/autofill_table.cc return s.Run(); s 1958 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1965 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 1966 components/autofill/core/browser/webdata/autofill_table.cc std::string guid = s.ColumnString(0); s 1967 components/autofill/core/browser/webdata/autofill_table.cc int64 date_modified = s.ColumnInt64(1); s 1971 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 1976 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(0, guid); s 1978 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Step()) s 1983 components/autofill/core/browser/webdata/autofill_table.cc profile->set_guid(s.ColumnString(index++)); s 1986 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(COMPANY_NAME, s.ColumnString16(index++)); s 1987 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(ADDRESS_HOME_LINE1, s.ColumnString16(index++)); s 1988 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(ADDRESS_HOME_LINE2, s.ColumnString16(index++)); s 1989 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(ADDRESS_HOME_CITY, s.ColumnString16(index++)); s 1990 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(ADDRESS_HOME_STATE, s.ColumnString16(index++)); s 1991 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(ADDRESS_HOME_ZIP, s.ColumnString16(index++)); s 1994 components/autofill/core/browser/webdata/autofill_table.cc profile->SetRawInfo(ADDRESS_HOME_COUNTRY, s.ColumnString16(index++)); s 1998 components/autofill/core/browser/webdata/autofill_table.cc profile->set_origin(s.ColumnString(index++)); s 2031 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 2049 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 2055 components/autofill/core/browser/webdata/autofill_table.cc s.BindString(index++, iter->guid()); s 2056 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(index++, GetInfo(*iter, COMPANY_NAME)); s 2057 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(index++, GetInfo(*iter, ADDRESS_HOME_LINE1)); s 2058 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(index++, GetInfo(*iter, ADDRESS_HOME_LINE2)); s 2059 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(index++, GetInfo(*iter, ADDRESS_HOME_CITY)); s 2060 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(index++, GetInfo(*iter, ADDRESS_HOME_STATE)); s 2061 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(index++, GetInfo(*iter, ADDRESS_HOME_ZIP)); s 2062 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(index++, base::string16()); // This column is deprecated. s 2063 components/autofill/core/browser/webdata/autofill_table.cc s.BindString16(index++, GetInfo(*iter, ADDRESS_HOME_COUNTRY)); s 2064 components/autofill/core/browser/webdata/autofill_table.cc s.BindInt64(index++, date_item->second); s 2066 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Run()) s 2139 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 2141 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 2142 components/autofill/core/browser/webdata/autofill_table.cc std::string guid = s.ColumnString(0); s 2143 components/autofill/core/browser/webdata/autofill_table.cc base::string16 line1 = s.ColumnString16(1); s 2144 components/autofill/core/browser/webdata/autofill_table.cc base::string16 line2 = s.ColumnString16(2); s 2156 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 2220 components/autofill/core/browser/webdata/autofill_table.cc sql::Statement s(db_->GetUniqueStatement( s 2225 components/autofill/core/browser/webdata/autofill_table.cc while (s.Step()) { s 2230 components/autofill/core/browser/webdata/autofill_table.cc s_insert.BindString16(0, s.ColumnString16(0)); s 2231 components/autofill/core/browser/webdata/autofill_table.cc s_insert.BindString16(1, s.ColumnString16(1)); s 2232 components/autofill/core/browser/webdata/autofill_table.cc s_insert.BindString16(2, s.ColumnString16(2)); s 2233 components/autofill/core/browser/webdata/autofill_table.cc s_insert.BindInt(3, s.ColumnInt(3)); s 2234 components/autofill/core/browser/webdata/autofill_table.cc s_insert.BindInt64(4, s.ColumnInt64(4)); s 2235 components/autofill/core/browser/webdata/autofill_table.cc s_insert.BindInt64(5, s.ColumnInt64(5)); s 2240 components/autofill/core/browser/webdata/autofill_table.cc if (!s.Succeeded()) s 105 components/autofill/core/browser/webdata/autofill_table_unittest.cc sql::Statement s(db->GetSQLConnection()->GetUniqueStatement( s 107 components/autofill/core/browser/webdata/autofill_table_unittest.cc s.BindString16(0, name); s 108 components/autofill/core/browser/webdata/autofill_table_unittest.cc s.BindString16(1, value); s 109 components/autofill/core/browser/webdata/autofill_table_unittest.cc s.Step(); s 110 components/autofill/core/browser/webdata/autofill_table_unittest.cc return s.ColumnInt(0); s 322 components/dom_distiller/core/distiller_unittest.cc testing::InSequence s; s 750 components/nacl/browser/nacl_process_host.cc net::SocketDescriptor s = net::kInvalidSocket; s 756 components/nacl/browser/nacl_process_host.cc s = net::TCPListenSocket::CreateAndBind("127.0.0.1", port); s 757 components/nacl/browser/nacl_process_host.cc if (s == net::kInvalidSocket) { s 758 components/nacl/browser/nacl_process_host.cc s = net::TCPListenSocket::CreateAndBindAnyPort("127.0.0.1", &port); s 760 components/nacl/browser/nacl_process_host.cc if (s != net::kInvalidSocket) { s 767 components/nacl/browser/nacl_process_host.cc if (s == net::kInvalidSocket) { s 773 components/nacl/browser/nacl_process_host.cc if (listen(s, 1)) { s 775 components/nacl/browser/nacl_process_host.cc if (IGNORE_EINTR(close(s)) < 0) s 779 components/nacl/browser/nacl_process_host.cc return s; s 190 components/password_manager/core/browser/login_database.cc sql::Statement s(db_.GetCachedStatement( s 195 components/password_manager/core/browser/login_database.cc if (!s.is_valid()) s 200 components/password_manager/core/browser/login_database.cc while (s.Step()) { s 201 components/password_manager/core/browser/login_database.cc int blacklisted = s.ColumnInt(1); s 202 components/password_manager/core/browser/login_database.cc int accounts_per_site = s.ColumnInt(2); s 246 components/password_manager/core/browser/login_database.cc sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE, s 254 components/password_manager/core/browser/login_database.cc s.BindString(COLUMN_ORIGIN_URL, form.origin.spec()); s 255 components/password_manager/core/browser/login_database.cc s.BindString(COLUMN_ACTION_URL, form.action.spec()); s 256 components/password_manager/core/browser/login_database.cc s.BindString16(COLUMN_USERNAME_ELEMENT, form.username_element); s 257 components/password_manager/core/browser/login_database.cc s.BindString16(COLUMN_USERNAME_VALUE, form.username_value); s 258 components/password_manager/core/browser/login_database.cc s.BindString16(COLUMN_PASSWORD_ELEMENT, form.password_element); s 259 components/password_manager/core/browser/login_database.cc s.BindBlob(COLUMN_PASSWORD_VALUE, encrypted_password.data(), s 261 components/password_manager/core/browser/login_database.cc s.BindString16(COLUMN_SUBMIT_ELEMENT, form.submit_element); s 262 components/password_manager/core/browser/login_database.cc s.BindString(COLUMN_SIGNON_REALM, form.signon_realm); s 263 components/password_manager/core/browser/login_database.cc s.BindInt(COLUMN_SSL_VALID, form.ssl_valid); s 264 components/password_manager/core/browser/login_database.cc s.BindInt(COLUMN_PREFERRED, form.preferred); s 265 components/password_manager/core/browser/login_database.cc s.BindInt64(COLUMN_DATE_CREATED, form.date_created.ToTimeT()); s 266 components/password_manager/core/browser/login_database.cc s.BindInt(COLUMN_BLACKLISTED_BY_USER, form.blacklisted_by_user); s 267 components/password_manager/core/browser/login_database.cc s.BindInt(COLUMN_SCHEME, form.scheme); s 268 components/password_manager/core/browser/login_database.cc s.BindInt(COLUMN_PASSWORD_TYPE, form.type); s 270 components/password_manager/core/browser/login_database.cc s.BindBlob(COLUMN_POSSIBLE_USERNAMES, s 273 components/password_manager/core/browser/login_database.cc s.BindInt(COLUMN_TIMES_USED, form.times_used); s 276 components/password_manager/core/browser/login_database.cc s.BindBlob(COLUMN_FORM_DATA, s 279 components/password_manager/core/browser/login_database.cc s.BindInt(COLUMN_USE_ADDITIONAL_AUTH, form.use_additional_authentication); s 281 components/password_manager/core/browser/login_database.cc return s.Run(); s 292 components/password_manager/core/browser/login_database.cc sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE, s 309 components/password_manager/core/browser/login_database.cc s.BindString(0, form.action.spec()); s 310 components/password_manager/core/browser/login_database.cc s.BindBlob(1, encrypted_password.data(), s 312 components/password_manager/core/browser/login_database.cc s.BindInt(2, form.ssl_valid); s 313 components/password_manager/core/browser/login_database.cc s.BindInt(3, form.preferred); s 315 components/password_manager/core/browser/login_database.cc s.BindBlob(4, pickle.data(), pickle.size()); s 316 components/password_manager/core/browser/login_database.cc s.BindInt(5, form.times_used); s 317 components/password_manager/core/browser/login_database.cc s.BindString16(6, form.username_element); s 318 components/password_manager/core/browser/login_database.cc s.BindString16(7, form.password_element); s 319 components/password_manager/core/browser/login_database.cc s.BindString16(8, form.submit_element); s 321 components/password_manager/core/browser/login_database.cc s.BindString(9, form.origin.spec()); s 322 components/password_manager/core/browser/login_database.cc s.BindString16(10, form.username_element); s 323 components/password_manager/core/browser/login_database.cc s.BindString16(11, form.username_value); s 324 components/password_manager/core/browser/login_database.cc s.BindString16(12, form.password_element); s 325 components/password_manager/core/browser/login_database.cc s.BindString16(13, form.submit_element); s 326 components/password_manager/core/browser/login_database.cc s.BindString(14, form.signon_realm); s 328 components/password_manager/core/browser/login_database.cc if (!s.Run()) s 339 components/password_manager/core/browser/login_database.cc sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE, s 347 components/password_manager/core/browser/login_database.cc s.BindString(0, form.origin.spec()); s 348 components/password_manager/core/browser/login_database.cc s.BindString16(1, form.username_element); s 349 components/password_manager/core/browser/login_database.cc s.BindString16(2, form.username_value); s 350 components/password_manager/core/browser/login_database.cc s.BindString16(3, form.password_element); s 351 components/password_manager/core/browser/login_database.cc s.BindString16(4, form.submit_element); s 352 components/password_manager/core/browser/login_database.cc s.BindString(5, form.signon_realm); s 354 components/password_manager/core/browser/login_database.cc return s.Run(); s 359 components/password_manager/core/browser/login_database.cc sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE, s 362 components/password_manager/core/browser/login_database.cc s.BindInt64(0, delete_begin.ToTimeT()); s 363 components/password_manager/core/browser/login_database.cc s.BindInt64(1, delete_end.is_null() ? std::numeric_limits<int64>::max() s 366 components/password_manager/core/browser/login_database.cc return s.Run(); s 371 components/password_manager/core/browser/login_database.cc sql::Statement& s) const { s 373 components/password_manager/core/browser/login_database.cc s.ColumnBlobAsString(COLUMN_PASSWORD_VALUE, &encrypted_password); s 380 components/password_manager/core/browser/login_database.cc std::string tmp = s.ColumnString(COLUMN_ORIGIN_URL); s 382 components/password_manager/core/browser/login_database.cc tmp = s.ColumnString(COLUMN_ACTION_URL); s 384 components/password_manager/core/browser/login_database.cc form->username_element = s.ColumnString16(COLUMN_USERNAME_ELEMENT); s 385 components/password_manager/core/browser/login_database.cc form->username_value = s.ColumnString16(COLUMN_USERNAME_VALUE); s 386 components/password_manager/core/browser/login_database.cc form->password_element = s.ColumnString16(COLUMN_PASSWORD_ELEMENT); s 388 components/password_manager/core/browser/login_database.cc form->submit_element = s.ColumnString16(COLUMN_SUBMIT_ELEMENT); s 389 components/password_manager/core/browser/login_database.cc tmp = s.ColumnString(COLUMN_SIGNON_REALM); s 391 components/password_manager/core/browser/login_database.cc form->ssl_valid = (s.ColumnInt(COLUMN_SSL_VALID) > 0); s 392 components/password_manager/core/browser/login_database.cc form->preferred = (s.ColumnInt(COLUMN_PREFERRED) > 0); s 394 components/password_manager/core/browser/login_database.cc s.ColumnInt64(COLUMN_DATE_CREATED)); s 395 components/password_manager/core/browser/login_database.cc form->blacklisted_by_user = (s.ColumnInt(COLUMN_BLACKLISTED_BY_USER) > 0); s 396 components/password_manager/core/browser/login_database.cc int scheme_int = s.ColumnInt(COLUMN_SCHEME); s 399 components/password_manager/core/browser/login_database.cc int type_int = s.ColumnInt(COLUMN_PASSWORD_TYPE); s 402 components/password_manager/core/browser/login_database.cc if (s.ColumnByteLength(COLUMN_POSSIBLE_USERNAMES)) { s 404 components/password_manager/core/browser/login_database.cc static_cast<const char*>(s.ColumnBlob(COLUMN_POSSIBLE_USERNAMES)), s 405 components/password_manager/core/browser/login_database.cc s.ColumnByteLength(COLUMN_POSSIBLE_USERNAMES)); s 408 components/password_manager/core/browser/login_database.cc form->times_used = s.ColumnInt(COLUMN_TIMES_USED); s 409 components/password_manager/core/browser/login_database.cc if (s.ColumnByteLength(COLUMN_FORM_DATA)) { s 411 components/password_manager/core/browser/login_database.cc static_cast<const char*>(s.ColumnBlob(COLUMN_FORM_DATA)), s 412 components/password_manager/core/browser/login_database.cc s.ColumnByteLength(COLUMN_FORM_DATA)); s 417 components/password_manager/core/browser/login_database.cc (s.ColumnInt(COLUMN_USE_ADDITIONAL_AUTH) > 0); s 431 components/password_manager/core/browser/login_database.cc sql::Statement s; s 448 components/password_manager/core/browser/login_database.cc s.Assign(db_.GetUniqueStatement(extended_sql_query.c_str())); s 464 components/password_manager/core/browser/login_database.cc s.BindString(0, form.signon_realm); s 465 components/password_manager/core/browser/login_database.cc s.BindString(1, regexp); s 468 components/password_manager/core/browser/login_database.cc s.Assign(db_.GetCachedStatement(SQL_FROM_HERE, sql_query.c_str())); s 469 components/password_manager/core/browser/login_database.cc s.BindString(0, form.signon_realm); s 472 components/password_manager/core/browser/login_database.cc while (s.Step()) { s 474 components/password_manager/core/browser/login_database.cc EncryptionResult result = InitPasswordFormFromStatement(new_form.get(), s); s 505 components/password_manager/core/browser/login_database.cc return s.Succeeded(); s 513 components/password_manager/core/browser/login_database.cc sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE, s 522 components/password_manager/core/browser/login_database.cc s.BindInt64(0, begin.ToTimeT()); s 523 components/password_manager/core/browser/login_database.cc s.BindInt64(1, end.is_null() ? std::numeric_limits<int64>::max() s 526 components/password_manager/core/browser/login_database.cc while (s.Step()) { s 528 components/password_manager/core/browser/login_database.cc EncryptionResult result = InitPasswordFormFromStatement(new_form.get(), s); s 536 components/password_manager/core/browser/login_database.cc return s.Succeeded(); s 553 components/password_manager/core/browser/login_database.cc sql::Statement s(db_.GetCachedStatement(SQL_FROM_HERE, s 561 components/password_manager/core/browser/login_database.cc s.BindInt(0, blacklisted ? 1 : 0); s 563 components/password_manager/core/browser/login_database.cc while (s.Step()) { s 565 components/password_manager/core/browser/login_database.cc EncryptionResult result = InitPasswordFormFromStatement(new_form.get(), s); s 573 components/password_manager/core/browser/login_database.cc return s.Succeeded(); s 122 components/password_manager/core/browser/login_database.h sql::Statement& s) const; s 121 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc Sequence s; s 122 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(*external_data_manager_, OnPolicyStoreLoaded()).InSequence(s); s 123 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())).InSequence(s); s 150 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc Sequence s; s 151 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(*external_data_manager_, OnPolicyStoreLoaded()).InSequence(s); s 152 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())).InSequence(s); s 183 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc Sequence s; s 184 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(*external_data_manager_, OnPolicyStoreLoaded()).InSequence(s); s 185 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())).InSequence(s); s 227 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc Sequence s; s 228 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(*external_data_manager_, OnPolicyStoreLoaded()).InSequence(s); s 229 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_CALL(observer_, OnStoreLoaded(store_.get())).InSequence(s); s 57 components/signin/core/browser/webdata/token_service_table.cc sql::Statement s(db_->GetUniqueStatement( s 60 components/signin/core/browser/webdata/token_service_table.cc return s.Run(); s 64 components/signin/core/browser/webdata/token_service_table.cc sql::Statement s(db_->GetUniqueStatement( s 66 components/signin/core/browser/webdata/token_service_table.cc s.BindString(0, service); s 68 components/signin/core/browser/webdata/token_service_table.cc return s.Run(); s 81 components/signin/core/browser/webdata/token_service_table.cc sql::Statement s(db_->GetUniqueStatement( s 84 components/signin/core/browser/webdata/token_service_table.cc s.BindString(0, service); s 85 components/signin/core/browser/webdata/token_service_table.cc s.BindBlob(1, encrypted_token.data(), s 88 components/signin/core/browser/webdata/token_service_table.cc return s.Run(); s 93 components/signin/core/browser/webdata/token_service_table.cc sql::Statement s(db_->GetUniqueStatement( s 96 components/signin/core/browser/webdata/token_service_table.cc if (!s.is_valid()) s 99 components/signin/core/browser/webdata/token_service_table.cc while (s.Step()) { s 103 components/signin/core/browser/webdata/token_service_table.cc service = s.ColumnString(0); s 105 components/signin/core/browser/webdata/token_service_table.cc s.ColumnBlobAsString(1, &encrypted_token); s 43 components/webdata/common/web_database_migration_unittest.cc void AutofillProfile31FromStatement(const sql::Statement& s, s 52 components/webdata/common/web_database_migration_unittest.cc *label = s.ColumnString16(0); s 53 components/webdata/common/web_database_migration_unittest.cc *unique_id = s.ColumnInt(1); s 54 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::NAME_FIRST, s.ColumnString16(2)); s 55 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::NAME_MIDDLE, s.ColumnString16(3)); s 56 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::NAME_LAST, s.ColumnString16(4)); s 57 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::EMAIL_ADDRESS, s.ColumnString16(5)); s 58 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::COMPANY_NAME, s.ColumnString16(6)); s 59 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::ADDRESS_HOME_LINE1, s.ColumnString16(7)); s 60 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::ADDRESS_HOME_LINE2, s.ColumnString16(8)); s 61 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::ADDRESS_HOME_CITY, s.ColumnString16(9)); s 62 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::ADDRESS_HOME_STATE, s.ColumnString16(10)); s 63 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::ADDRESS_HOME_ZIP, s.ColumnString16(11)); s 66 components/webdata/common/web_database_migration_unittest.cc s.ColumnString16(12), "en-US"); s 67 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::PHONE_HOME_WHOLE_NUMBER, s.ColumnString16(13)); s 68 components/webdata/common/web_database_migration_unittest.cc *date_modified = s.ColumnInt64(15); s 69 components/webdata/common/web_database_migration_unittest.cc profile->set_guid(s.ColumnString(16)); s 73 components/webdata/common/web_database_migration_unittest.cc void AutofillProfile33FromStatement(const sql::Statement& s, s 78 components/webdata/common/web_database_migration_unittest.cc profile->set_guid(s.ColumnString(0)); s 80 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::COMPANY_NAME, s.ColumnString16(1)); s 82 components/webdata/common/web_database_migration_unittest.cc s.ColumnString16(2)); s 83 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::ADDRESS_HOME_CITY, s.ColumnString16(3)); s 84 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::ADDRESS_HOME_STATE, s.ColumnString16(4)); s 85 components/webdata/common/web_database_migration_unittest.cc profile->SetRawInfo(autofill::ADDRESS_HOME_ZIP, s.ColumnString16(5)); s 88 components/webdata/common/web_database_migration_unittest.cc s.ColumnString16(6), "en-US"); s 89 components/webdata/common/web_database_migration_unittest.cc *date_modified = s.ColumnInt64(7); s 92 components/webdata/common/web_database_migration_unittest.cc void CreditCard31FromStatement(const sql::Statement& s, s 103 components/webdata/common/web_database_migration_unittest.cc *label = s.ColumnString16(0); s 104 components/webdata/common/web_database_migration_unittest.cc *unique_id = s.ColumnInt(1); s 105 components/webdata/common/web_database_migration_unittest.cc credit_card->SetRawInfo(autofill::CREDIT_CARD_NAME, s.ColumnString16(2)); s 106 components/webdata/common/web_database_migration_unittest.cc credit_card->SetRawInfo(autofill::CREDIT_CARD_TYPE, s.ColumnString16(3)); s 107 components/webdata/common/web_database_migration_unittest.cc credit_card->SetRawInfo(autofill::CREDIT_CARD_EXP_MONTH, s.ColumnString16(5)); s 109 components/webdata/common/web_database_migration_unittest.cc autofill::CREDIT_CARD_EXP_4_DIGIT_YEAR, s.ColumnString16(6)); s 110 components/webdata/common/web_database_migration_unittest.cc int encrypted_number_len = s.ColumnByteLength(10); s 113 components/webdata/common/web_database_migration_unittest.cc memcpy(&(*encrypted_number)[0], s.ColumnBlob(10), encrypted_number_len); s 115 components/webdata/common/web_database_migration_unittest.cc *date_modified = s.ColumnInt64(12); s 116 components/webdata/common/web_database_migration_unittest.cc credit_card->set_guid(s.ColumnString(13)); s 120 components/webdata/common/web_database_migration_unittest.cc void CreditCard32FromStatement(const sql::Statement& s, s 127 components/webdata/common/web_database_migration_unittest.cc credit_card->set_guid(s.ColumnString(0)); s 129 components/webdata/common/web_database_migration_unittest.cc credit_card->SetRawInfo(autofill::CREDIT_CARD_NAME, s.ColumnString16(1)); s 130 components/webdata/common/web_database_migration_unittest.cc credit_card->SetRawInfo(autofill::CREDIT_CARD_EXP_MONTH, s.ColumnString16(2)); s 132 components/webdata/common/web_database_migration_unittest.cc autofill::CREDIT_CARD_EXP_4_DIGIT_YEAR, s.ColumnString16(3)); s 133 components/webdata/common/web_database_migration_unittest.cc int encrypted_number_len = s.ColumnByteLength(4); s 136 components/webdata/common/web_database_migration_unittest.cc memcpy(&(*encrypted_number)[0], s.ColumnBlob(4), encrypted_number_len); s 138 components/webdata/common/web_database_migration_unittest.cc *date_modified = s.ColumnInt64(5); s 238 components/webdata/common/web_database_migration_unittest.cc sql::Statement s(connection->GetUniqueStatement( s 240 components/webdata/common/web_database_migration_unittest.cc if (!s.Step()) s 242 components/webdata/common/web_database_migration_unittest.cc return s.ColumnInt(0); s 446 components/webdata/common/web_database_migration_unittest.cc sql::Statement s( s 454 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 455 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("Email"), s.ColumnString16(0)); s 456 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("jane@example.com"), s.ColumnString16(1)); s 457 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("jane@example.com"), s.ColumnString16(2)); s 458 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1384299300, s.ColumnInt64(3)); s 459 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1384299301, s.ColumnInt64(4)); s 460 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(3, s.ColumnInt(5)); s 463 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 464 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("Name"), s.ColumnString16(0)); s 465 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("John Doe"), s.ColumnString16(1)); s 466 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("john doe"), s.ColumnString16(2)); s 467 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1384299100, s.ColumnInt64(3)); s 468 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1384299100, s.ColumnInt64(4)); s 469 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1, s.ColumnInt(5)); s 472 components/webdata/common/web_database_migration_unittest.cc ASSERT_FALSE(s.Step()); s 612 components/webdata/common/web_database_migration_unittest.cc sql::Statement s(connection.GetUniqueStatement(stmt.c_str())); s 613 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Run()); s 644 components/webdata/common/web_database_migration_unittest.cc sql::Statement s(connection.GetUniqueStatement( s 648 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 649 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ("Jack", s.ColumnString(1)); s 650 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(2, s.ColumnInt(2)); s 651 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(2012, s.ColumnInt(3)); s 677 components/webdata/common/web_database_migration_unittest.cc sql::Statement s(connection.GetUniqueStatement(stmt.c_str())); s 678 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Run()); s 713 components/webdata/common/web_database_migration_unittest.cc sql::Statement s(connection.GetUniqueStatement( s 717 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 718 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ("Jack", s.ColumnString(1)); s 719 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(2, s.ColumnInt(2)); s 720 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(2012, s.ColumnInt(3)); s 758 components/webdata/common/web_database_migration_unittest.cc sql::Statement s(connection.GetUniqueStatement(stmt.c_str())); s 759 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 760 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(std::string(), s.ColumnString(0)); s 882 components/webdata/common/web_database_migration_unittest.cc sql::Statement s( s 885 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 886 components/webdata/common/web_database_migration_unittest.cc std::string guid1 = s.ColumnString(0); s 889 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 890 components/webdata/common/web_database_migration_unittest.cc std::string guid2 = s.ColumnString(0); s 1346 components/webdata/common/web_database_migration_unittest.cc sql::Statement s( s 1349 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 1350 components/webdata/common/web_database_migration_unittest.cc std::string country = s.ColumnString(0); s 1369 components/webdata/common/web_database_migration_unittest.cc sql::Statement s(connection.GetUniqueStatement( s 1372 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 1373 components/webdata/common/web_database_migration_unittest.cc std::string country_code = s.ColumnString(0); s 1393 components/webdata/common/web_database_migration_unittest.cc sql::Statement s( s 1397 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 1398 components/webdata/common/web_database_migration_unittest.cc std::string country_code = s.ColumnString(0); s 1402 components/webdata/common/web_database_migration_unittest.cc ASSERT_FALSE(s.Step()); s 1420 components/webdata/common/web_database_migration_unittest.cc sql::Statement s(connection.GetUniqueStatement( s 1423 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 1424 components/webdata/common/web_database_migration_unittest.cc std::string country_code = s.ColumnString(0); s 1428 components/webdata/common/web_database_migration_unittest.cc ASSERT_FALSE(s.Step()); s 1449 components/webdata/common/web_database_migration_unittest.cc sql::Statement s( s 1452 components/webdata/common/web_database_migration_unittest.cc while (s.Step()) s 2562 components/webdata/common/web_database_migration_unittest.cc sql::Statement s( s 2571 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 2572 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("Email"), s.ColumnString16(0)); s 2573 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("jane.doe@example.org"), s.ColumnString16(1)); s 2574 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("jane.doe@example.org"), s.ColumnString16(2)); s 2575 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1384299400, s.ColumnInt64(3)); s 2576 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1384299403, s.ColumnInt64(4)); s 2577 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(4, s.ColumnInt(5)); s 2580 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 2581 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("Email"), s.ColumnString16(0)); s 2582 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("jane@example.com"), s.ColumnString16(1)); s 2583 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("jane@example.com"), s.ColumnString16(2)); s 2584 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1384299300, s.ColumnInt64(3)); s 2585 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1384299301, s.ColumnInt64(4)); s 2586 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(3, s.ColumnInt(5)); s 2590 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 2591 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("Name"), s.ColumnString16(0)); s 2592 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("John Doe"), s.ColumnString16(1)); s 2593 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("john doe"), s.ColumnString16(2)); s 2594 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1384299100, s.ColumnInt64(3)); s 2595 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1384299100, s.ColumnInt64(4)); s 2596 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1, s.ColumnInt(5)); s 2599 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(s.Step()); s 2600 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("Name"), s.ColumnString16(0)); s 2601 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("john doe"), s.ColumnString16(1)); s 2602 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(ASCIIToUTF16("john doe"), s.ColumnString16(2)); s 2603 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1384299200, s.ColumnInt64(3)); s 2604 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1384299200, s.ColumnInt64(4)); s 2605 components/webdata/common/web_database_migration_unittest.cc EXPECT_EQ(1, s.ColumnInt(5)); s 2608 components/webdata/common/web_database_migration_unittest.cc ASSERT_FALSE(s.Step()); s 176 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch); s 177 content/browser/dom_storage/session_storage_database.cc return DatabaseErrorCheck(s.ok()); s 220 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch); s 221 content/browser/dom_storage/session_storage_database.cc return DatabaseErrorCheck(s.ok()); s 234 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch); s 235 content/browser/dom_storage/session_storage_database.cc return DatabaseErrorCheck(s.ok()); s 256 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Write(leveldb::WriteOptions(), &batch); s 257 content/browser/dom_storage/session_storage_database.cc return DatabaseErrorCheck(s.ok()); s 341 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = TryToOpen(&db); s 342 content/browser/dom_storage/session_storage_database.cc if (!s.ok()) { s 344 content/browser/dom_storage/session_storage_database.cc << ", error: " << s.ToString(); s 349 content/browser/dom_storage/session_storage_database.cc s = TryToOpen(&db); s 350 content/browser/dom_storage/session_storage_database.cc if (!s.ok()) { s 352 content/browser/dom_storage/session_storage_database.cc << ", error: " << s.ToString(); s 422 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Get(leveldb::ReadOptions(), namespace_prefix, s 424 content/browser/dom_storage/session_storage_database.cc if (!DatabaseErrorCheck(s.ok() || s.IsNotFound())) s 426 content/browser/dom_storage/session_storage_database.cc if (s.IsNotFound()) s 430 content/browser/dom_storage/session_storage_database.cc s = db_->Get(leveldb::ReadOptions(), namespace_start_key, &dummy); s 431 content/browser/dom_storage/session_storage_database.cc if (!DatabaseErrorCheck(s.ok() || s.IsNotFound())) s 433 content/browser/dom_storage/session_storage_database.cc if (s.IsNotFound()) { s 520 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Get(options, namespace_key, map_id); s 521 content/browser/dom_storage/session_storage_database.cc if (s.IsNotFound()) { s 526 content/browser/dom_storage/session_storage_database.cc return DatabaseErrorCheck(s.ok()); s 534 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Get(leveldb::ReadOptions(), next_map_id_key, map_id); s 535 content/browser/dom_storage/session_storage_database.cc if (!DatabaseErrorCheck(s.ok() || s.IsNotFound())) s 538 content/browser/dom_storage/session_storage_database.cc if (s.IsNotFound()) { s 614 content/browser/dom_storage/session_storage_database.cc leveldb::Status s = db_->Get(leveldb::ReadOptions(), s 616 content/browser/dom_storage/session_storage_database.cc if (!ConsistencyCheck(s.ok())) s 178 content/browser/download/download_file_unittest.cc ::testing::Sequence s) { s 186 content/browser/download/download_file_unittest.cc .InSequence(s) s 215 content/browser/download/download_file_unittest.cc ::testing::Sequence s) { s 217 content/browser/download/download_file_unittest.cc .InSequence(s) s 221 content/browser/download/download_file_unittest.cc .InSequence(s) s 153 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = db->Get(key, &result, found); s 154 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 155 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 160 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 179 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = db->Get(key, &result, found); s 180 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 181 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 186 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 206 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = db->Get(key, &result, found); s 207 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 208 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 213 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 257 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = s 259 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 273 content/browser/indexed_db/indexed_db_backing_store.cc s = GetInt(db, DataVersionKey::Encode(), &db_data_version, &found); s 274 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 303 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = s 305 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 331 content/browser/indexed_db/indexed_db_backing_store.cc s = GetInt(transaction.get(), it->Key(), &database_id, &found); s 332 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 357 content/browser/indexed_db/indexed_db_backing_store.cc s = GetInt(transaction.get(), data_version_key, &db_data_version, &found); s 358 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 374 content/browser/indexed_db/indexed_db_backing_store.cc s = transaction->Commit(); s 375 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 399 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = s 401 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 402 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 407 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 857 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = GetInt(db_.get(), key, &metadata->id, found); s 858 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 860 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 865 content/browser/indexed_db/indexed_db_backing_store.cc s = GetString(db_.get(), s 870 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 872 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 879 content/browser/indexed_db/indexed_db_backing_store.cc s = GetVarInt(db_.get(), s 884 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 886 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 896 content/browser/indexed_db/indexed_db_backing_store.cc s = GetMaxObjectStoreId( s 898 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 902 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 911 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = s 913 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 915 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 936 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = GetNewDatabaseId(transaction.get(), row_id); s 937 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 938 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 955 content/browser/indexed_db/indexed_db_backing_store.cc s = transaction->Commit(); s 956 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 958 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 992 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = GetIDBDatabaseMetaData(name, &metadata, &success); s 993 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 994 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1011 content/browser/indexed_db/indexed_db_backing_store.cc s = transaction->Commit(); s 1012 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 1014 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1017 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1192 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = s 1194 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 1195 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1208 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = GetMaxObjectStoreId( s 1210 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 1212 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1220 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1236 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = s 1238 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 1239 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1273 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1287 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = s 1293 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 1295 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1338 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = leveldb_transaction->Get(leveldb_key, &data, &found); s 1339 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 1341 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1344 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1358 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1372 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = s 1374 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 1376 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1390 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1407 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = GetNewVersionNumber( s 1409 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 1410 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1430 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1488 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = s 1490 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 1492 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1500 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1534 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1548 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = GetKeyGeneratorCurrentNumber( s 1550 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 1551 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1553 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1581 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = s 1583 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 1585 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1602 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1716 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = s 1718 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 1720 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1731 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1747 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = SetMaxIndexId( s 1750 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 1751 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1766 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1862 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = transaction->Get(key, &data, exists); s 1863 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 1865 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1868 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1875 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1914 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = VersionExists(leveldb_transaction, s 1920 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 1921 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1929 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1946 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = FindKeyInIndex(transaction, s 1953 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 1955 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1958 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1966 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 1985 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = FindKeyInIndex(transaction, s 1992 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 1994 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 2005 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 2404 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = transaction_->Get(primary_leveldb_key, &result, &found); s 2405 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 2511 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = transaction_->Get(primary_leveldb_key_, &result, &found); s 2512 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) { s 2796 content/browser/indexed_db/indexed_db_backing_store.cc leveldb::Status s = transaction_->Commit(); s 2798 content/browser/indexed_db/indexed_db_backing_store.cc if (!s.ok()) s 2800 content/browser/indexed_db/indexed_db_backing_store.cc return s; s 55 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = backing_store_->PutRecord( s 57 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 65 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = s 68 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 90 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = backing_store_->PutRecord(&transaction1, s 96 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 98 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->PutIndexDataForRecord(&transaction1, s 104 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 106 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->PutIndexDataForRecord(&transaction1, s 112 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 114 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = transaction1.Commit(); s 115 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 122 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = backing_store_->GetRecord(&transaction2, s 127 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 131 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->GetPrimaryKeyViaIndex(&transaction2, s 137 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 139 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->GetPrimaryKeyViaIndex(&transaction2, s 145 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 148 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = transaction2.Commit(); s 149 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 167 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = backing_store_->PutRecord(&transaction1, s 173 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 174 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->PutRecord( s 176 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 177 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->PutRecord(&transaction1, s 183 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 184 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->PutRecord( s 186 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 188 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->GetRecord( s 190 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 191 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->GetRecord( s 193 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 194 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->GetRecord(&transaction1, s 199 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 200 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->GetRecord( s 202 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 205 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->GetPrimaryKeyViaIndex(&transaction1, s 211 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 212 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->GetPrimaryKeyViaIndex(&transaction1, s 218 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 219 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->GetPrimaryKeyViaIndex( s 221 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 223 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->GetPrimaryKeyViaIndex(&transaction1, s 229 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 230 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->GetPrimaryKeyViaIndex(&transaction1, s 236 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_FALSE(s.ok()); s 258 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = backing_store_->CreateIDBDatabaseMetaData( s 260 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 266 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->CreateObjectStore(&transaction, s 272 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 274 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->CreateIndex(&transaction, s 282 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 284 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = transaction.Commit(); s 285 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 291 content/browser/indexed_db/indexed_db_backing_store_unittest.cc leveldb::Status s = backing_store_->GetIDBDatabaseMetaData( s 293 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 301 content/browser/indexed_db/indexed_db_backing_store_unittest.cc s = backing_store_->GetObjectStores(database.id, &database.object_stores); s 302 content/browser/indexed_db/indexed_db_backing_store_unittest.cc EXPECT_TRUE(s.ok()); s 316 content/browser/indexed_db/indexed_db_context_impl.cc leveldb::Status s = LevelDBDatabase::Destroy(idb_directory); s 317 content/browser/indexed_db/indexed_db_context_impl.cc if (!s.ok()) { s 329 content/browser/indexed_db/indexed_db_context_impl.cc if (s.ok()) { s 169 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = backing_store_->GetIDBDatabaseMetaData( s 173 content/browser/indexed_db/indexed_db_database.cc if (!s.ok()) s 174 content/browser/indexed_db/indexed_db_database.cc return s; s 298 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = s 305 content/browser/indexed_db/indexed_db_database.cc if (!s.ok()) { s 311 content/browser/indexed_db/indexed_db_database.cc if (s.IsCorruption()) s 436 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = s 441 content/browser/indexed_db/indexed_db_database.cc if (!s.ok()) { s 448 content/browser/indexed_db/indexed_db_database.cc if (s.IsCorruption()) s 572 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s; s 576 content/browser/indexed_db/indexed_db_database.cc s = backing_store_->GetRecord(transaction->BackingStoreTransaction(), s 581 content/browser/indexed_db/indexed_db_database.cc if (!s.ok()) { s 586 content/browser/indexed_db/indexed_db_database.cc if (s.IsCorruption()) s 608 content/browser/indexed_db/indexed_db_database.cc s = backing_store_->GetPrimaryKeyViaIndex( s 615 content/browser/indexed_db/indexed_db_database.cc if (!s.ok()) { s 619 content/browser/indexed_db/indexed_db_database.cc if (s.IsCorruption()) s 636 content/browser/indexed_db/indexed_db_database.cc s = backing_store_->GetRecord(transaction->BackingStoreTransaction(), s 641 content/browser/indexed_db/indexed_db_database.cc if (!s.ok()) { s 645 content/browser/indexed_db/indexed_db_database.cc if (s.IsCorruption()) s 671 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = backing_store->GetKeyGeneratorCurrentNumber( s 676 content/browser/indexed_db/indexed_db_database.cc if (!s.ok()) { s 776 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = backing_store_->KeyExistsInObjectStore( s 783 content/browser/indexed_db/indexed_db_database.cc if (!s.ok()) { s 787 content/browser/indexed_db/indexed_db_database.cc if (s.IsCorruption()) s 827 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = s 834 content/browser/indexed_db/indexed_db_database.cc if (!s.ok()) { s 839 content/browser/indexed_db/indexed_db_database.cc if (s.IsCorruption()) s 857 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = UpdateKeyGenerator(backing_store_.get(), s 863 content/browser/indexed_db/indexed_db_database.cc if (!s.ok()) { s 867 content/browser/indexed_db/indexed_db_database.cc if (s.IsCorruption()) s 891 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = backing_store_->KeyExistsInObjectStore( s 898 content/browser/indexed_db/indexed_db_database.cc if (!s.ok()) { s 902 content/browser/indexed_db/indexed_db_database.cc if (s.IsCorruption()) s 1234 content/browser/indexed_db/indexed_db_database.cc leveldb::Status s = s 1238 content/browser/indexed_db/indexed_db_database.cc if (!s.ok()) { s 1245 content/browser/indexed_db/indexed_db_database.cc if (s.IsCorruption()) s 76 content/browser/indexed_db/indexed_db_index_writer.cc leveldb::Status s = s 85 content/browser/indexed_db/indexed_db_index_writer.cc DCHECK(s.ok()); s 106 content/browser/indexed_db/indexed_db_index_writer.cc leveldb::Status s = backing_store->KeyExistsInIndex(transaction, s 113 content/browser/indexed_db/indexed_db_index_writer.cc if (!s.ok()) s 523 content/browser/indexed_db/indexed_db_leveldb_coding.cc base::string16 s; s 524 content/browser/indexed_db/indexed_db_leveldb_coding.cc if (!DecodeStringWithLength(slice, &s)) s 526 content/browser/indexed_db/indexed_db_leveldb_coding.cc *value = make_scoped_ptr(new IndexedDBKey(s)); s 564 content/browser/indexed_db/indexed_db_leveldb_coding.cc base::string16 s; s 565 content/browser/indexed_db/indexed_db_leveldb_coding.cc if (!DecodeString(slice, &s)) s 567 content/browser/indexed_db/indexed_db_leveldb_coding.cc *value = IndexedDBKeyPath(s); s 399 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc base::string16 s = test_cases[i]; s 400 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string v = WrappedEncodeStringWithLength(s); s 405 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EXPECT_EQ(s, res); s 418 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EXPECT_EQ(s, res); s 49 content/browser/indexed_db/leveldb/leveldb_database.cc static leveldb::Slice MakeSlice(const StringPiece& s) { s 50 content/browser/indexed_db/leveldb/leveldb_database.cc return leveldb::Slice(s.begin(), s.size()); s 53 content/browser/indexed_db/leveldb/leveldb_database.cc static StringPiece MakeStringPiece(const leveldb::Slice& s) { s 54 content/browser/indexed_db/leveldb/leveldb_database.cc return StringPiece(s.data(), s.size()); s 172 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status& s) { s 176 content/browser/indexed_db/leveldb/leveldb_database.cc leveldb_env::ParseMethodAndError(s.ToString().c_str(), &method, &error); s 229 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status& s) { s 230 content/browser/indexed_db/leveldb/leveldb_database.cc if (s.ok()) { s 242 content/browser/indexed_db/leveldb/leveldb_database.cc if (s.IsNotFound()) s 244 content/browser/indexed_db/leveldb/leveldb_database.cc else if (s.IsCorruption()) s 246 content/browser/indexed_db/leveldb/leveldb_database.cc else if (s.IsIOError()) s 254 content/browser/indexed_db/leveldb/leveldb_database.cc if (s.IsIOError()) s 255 content/browser/indexed_db/leveldb/leveldb_database.cc ParseAndHistogramIOErrorDetails(histogram_name, s); s 257 content/browser/indexed_db/leveldb/leveldb_database.cc ParseAndHistogramCorruptionDetails(histogram_name, s); s 268 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = s 271 content/browser/indexed_db/leveldb/leveldb_database.cc if (!s.ok()) { s 272 content/browser/indexed_db/leveldb/leveldb_database.cc HistogramLevelDBError("WebCore.IndexedDB.LevelDBOpenErrors", s); s 280 content/browser/indexed_db/leveldb/leveldb_database.cc << file_name.AsUTF8Unsafe() << "," << s.ToString(); s 281 content/browser/indexed_db/leveldb/leveldb_database.cc return s; s 291 content/browser/indexed_db/leveldb/leveldb_database.cc return s; s 301 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = OpenDB( s 304 content/browser/indexed_db/leveldb/leveldb_database.cc if (!s.ok()) { s 305 content/browser/indexed_db/leveldb/leveldb_database.cc LOG(ERROR) << "Failed to open in-memory LevelDB database: " << s.ToString(); s 323 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = s 325 content/browser/indexed_db/leveldb/leveldb_database.cc if (!s.ok()) s 326 content/browser/indexed_db/leveldb/leveldb_database.cc LOG(ERROR) << "LevelDB put failed: " << s.ToString(); s 327 content/browser/indexed_db/leveldb/leveldb_database.cc return s; s 334 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = db_->Delete(write_options, MakeSlice(key)); s 335 content/browser/indexed_db/leveldb/leveldb_database.cc if (!s.IsNotFound()) s 336 content/browser/indexed_db/leveldb/leveldb_database.cc LOG(ERROR) << "LevelDB remove failed: " << s.ToString(); s 337 content/browser/indexed_db/leveldb/leveldb_database.cc return s; s 350 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = db_->Get(read_options, MakeSlice(key), value); s 351 content/browser/indexed_db/leveldb/leveldb_database.cc if (s.ok()) { s 353 content/browser/indexed_db/leveldb/leveldb_database.cc return s; s 355 content/browser/indexed_db/leveldb/leveldb_database.cc if (s.IsNotFound()) s 357 content/browser/indexed_db/leveldb/leveldb_database.cc HistogramLevelDBError("WebCore.IndexedDB.LevelDBReadErrors", s); s 358 content/browser/indexed_db/leveldb/leveldb_database.cc LOG(ERROR) << "LevelDB get failed: " << s.ToString(); s 359 content/browser/indexed_db/leveldb/leveldb_database.cc return s; s 366 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = s 368 content/browser/indexed_db/leveldb/leveldb_database.cc if (!s.ok()) { s 369 content/browser/indexed_db/leveldb/leveldb_database.cc HistogramLevelDBError("WebCore.IndexedDB.LevelDBWriteErrors", s); s 370 content/browser/indexed_db/leveldb/leveldb_database.cc LOG(ERROR) << "LevelDB write failed: " << s.ToString(); s 372 content/browser/indexed_db/leveldb/leveldb_database.cc return s; s 401 content/browser/indexed_db/leveldb/leveldb_database.cc const leveldb::Status s = iterator_->status(); s 402 content/browser/indexed_db/leveldb/leveldb_database.cc if (!s.ok()) s 403 content/browser/indexed_db/leveldb/leveldb_database.cc LOG(ERROR) << "LevelDB iterator error: " << s.ToString(); s 82 content/browser/indexed_db/leveldb/leveldb_transaction.cc leveldb::Status s = db_->Get(key, value, found, &snapshot_); s 83 content/browser/indexed_db/leveldb/leveldb_transaction.cc if (!s.ok()) s 85 content/browser/indexed_db/leveldb/leveldb_transaction.cc return s; s 106 content/browser/indexed_db/leveldb/leveldb_transaction.cc leveldb::Status s = db_->Write(*write_batch); s 107 content/browser/indexed_db/leveldb/leveldb_transaction.cc if (s.ok()) { s 111 content/browser/indexed_db/leveldb/leveldb_transaction.cc return s; s 448 content/browser/indexed_db/leveldb/leveldb_transaction.cc leveldb::Status s = db_->Get(key, value, found); s 449 content/browser/indexed_db/leveldb/leveldb_transaction.cc DCHECK(s.ok() || !*found); s 450 content/browser/indexed_db/leveldb/leveldb_transaction.cc return s; s 461 content/browser/indexed_db/leveldb/leveldb_transaction.cc leveldb::Status s = db_->Write(*write_batch_); s 462 content/browser/indexed_db/leveldb/leveldb_transaction.cc if (s.ok()) { s 466 content/browser/indexed_db/leveldb/leveldb_transaction.cc return s; s 165 content/browser/indexed_db/leveldb/leveldb_unittest.cc leveldb::Status s = leveldb->Put(key1, &put_value); s 166 content/browser/indexed_db/leveldb/leveldb_unittest.cc EXPECT_TRUE(s.ok()); s 168 content/browser/indexed_db/leveldb/leveldb_unittest.cc s = leveldb->Put(key2, &put_value); s 169 content/browser/indexed_db/leveldb/leveldb_unittest.cc EXPECT_TRUE(s.ok()); s 174 content/browser/indexed_db/leveldb/leveldb_unittest.cc s = leveldb->Remove(key2); s 175 content/browser/indexed_db/leveldb/leveldb_unittest.cc EXPECT_TRUE(s.ok()); s 22 content/browser/indexed_db/leveldb/leveldb_write_batch.cc static leveldb::Slice MakeSlice(const base::StringPiece& s) { s 23 content/browser/indexed_db/leveldb/leveldb_write_batch.cc return leveldb::Slice(s.begin(), s.size()); s 313 content/browser/renderer_host/java/java_bound_object.cc result.s = is_double ? s 523 content/browser/renderer_host/java/java_bound_object.cc &value.s); s 114 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc InSequence s; s 145 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc InSequence s; s 188 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc InSequence s; s 214 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc InSequence s; s 250 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc InSequence s; s 283 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc InSequence s; s 323 content/browser/renderer_host/media/video_capture_controller_unittest.cc InSequence s; s 328 content/browser/renderer_host/media/video_capture_controller_unittest.cc InSequence s; s 333 content/browser/renderer_host/media/video_capture_controller_unittest.cc InSequence s; s 405 content/browser/renderer_host/media/video_capture_host_unittest.cc InSequence s; s 418 content/browser/renderer_host/media/video_capture_host_unittest.cc InSequence s; s 152 content/browser/renderer_host/media/video_capture_manager_unittest.cc InSequence s; s 178 content/browser/renderer_host/media/video_capture_manager_unittest.cc InSequence s; s 210 content/browser/renderer_host/media/video_capture_manager_unittest.cc InSequence s; s 250 content/browser/renderer_host/media/video_capture_manager_unittest.cc InSequence s; s 313 content/browser/renderer_host/media/video_capture_manager_unittest.cc InSequence s; s 359 content/browser/renderer_host/media/video_capture_manager_unittest.cc InSequence s; s 388 content/browser/renderer_host/media/video_capture_manager_unittest.cc InSequence s; s 430 content/browser/renderer_host/media/video_capture_manager_unittest.cc InSequence s; s 211 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h virtual void clearStencil(WGC3Dint s); s 726 content/common/gpu/media/video_decode_accelerator_unittest.cc std::string s = base::StringPrintf("frame count: %" PRIuS "\n", s 728 content/common/gpu/media/video_decode_accelerator_unittest.cc output->WriteAtCurrentPos(s.data(), s.length()); s 731 content/common/gpu/media/video_decode_accelerator_unittest.cc s = base::StringPrintf("frame %04" PRIuS ": %" PRId64 " us\n", s 735 content/common/gpu/media/video_decode_accelerator_unittest.cc output->WriteAtCurrentPos(s.data(), s.length()); s 302 content/common/page_state_serialization.cc void WriteStdString(const std::string& s, SerializeObject* obj) { s 303 content/common/page_state_serialization.cc obj->pickle.WriteString(s); s 307 content/common/page_state_serialization.cc std::string s; s 308 content/common/page_state_serialization.cc if (obj->pickle.ReadString(&obj->iter, &s)) s 309 content/common/page_state_serialization.cc return s; s 25 content/common/page_state_serialization_unittest.cc base::NullableString16 NS16(const char* s) { s 26 content/common/page_state_serialization_unittest.cc return s ? base::NullableString16(base::ASCIIToUTF16(s), false) : s 328 content/common/page_state_serialization_unittest.cc std::string s(static_cast<const char*>(p.data()), p.size()); s 331 content/common/page_state_serialization_unittest.cc EXPECT_FALSE(DecodePageState(s, &output)); s 354 content/common/page_state_serialization_unittest.cc std::string s(static_cast<const char*>(p.data()), p.size()); s 357 content/common/page_state_serialization_unittest.cc EXPECT_FALSE(DecodePageState(s, &output)); s 75 content/public/common/common_param_traits.cc std::string s; s 76 content/public/common/common_param_traits.cc if (!m->ReadString(iter, &s) || s.length() > content::GetMaxURLChars()) { s 80 content/public/common/common_param_traits.cc *p = GURL(s); s 81 content/public/common/common_param_traits.cc if (!s.empty() && !p->is_valid()) { s 100 content/public/common/common_param_traits.cc std::string s; s 101 content/public/common/common_param_traits.cc if (!m->ReadString(iter, &s)) { s 105 content/public/common/common_param_traits.cc *p = url::Origin(s); s 18 content/public/common/page_state.cc base::FilePath ToFilePath(const base::NullableString16& s) { s 19 content/public/common/page_state.cc return base::FilePath::FromUTF16Unsafe(s.string()); s 18 content/public/test/test_notification_tracker.cc NotificationSource s, s 21 content/public/test/test_notification_tracker.cc source(s), s 25 content/public/test/test_notification_tracker.h Event(int t, NotificationSource s, NotificationDetails d); s 66 content/renderer/media/android/media_info_loader_unittest.cc InSequence s; s 72 content/renderer/media/android/media_info_loader_unittest.cc InSequence s; s 511 content/renderer/media/buffered_data_source_unittest.cc InSequence s; s 103 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 201 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 400 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 452 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 501 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 530 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 548 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 572 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 663 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 691 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 736 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 769 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 817 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 872 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 933 content/renderer/media/buffered_resource_loader_unittest.cc InSequence s; s 36 content/renderer/media/webaudiosourceprovider_impl_unittest.cc testing::InSequence s; s 57 content/renderer/media/webaudiosourceprovider_impl_unittest.cc testing::InSequence s; s 36 content/renderer/pepper/gfx_conversion.h inline gfx::Size PP_ToGfxSize(const PP_Size& s) { s 37 content/renderer/pepper/gfx_conversion.h return gfx::Size(s.width, s.height); s 40 content/renderer/pepper/gfx_conversion.h inline PP_Size PP_FromGfxSize(const gfx::Size& s) { s 41 content/renderer/pepper/gfx_conversion.h return PP_MakeSize(s.width(), s.height()); s 38 content/renderer/pepper/host_array_buffer_var.cc base::SharedMemory s(handle, true); s 39 content/renderer/pepper/host_array_buffer_var.cc valid_ = s.Map(size_in_bytes); s 41 content/renderer/pepper/host_array_buffer_var.cc memcpy(buffer_.data(), s.memory(), size_in_bytes); s 42 content/renderer/pepper/host_array_buffer_var.cc s.Unmap(); s 296 content/renderer/pepper/message_channel.cc VarConversionResult(const ppapi::ScopedPPVar& r, bool s) s 298 content/renderer/pepper/message_channel.cc success(s), s 113 content/renderer/pepper/pepper_url_request_unittest.cc bool SetStringProperty(PP_URLRequestProperty prop, const std::string& s) { s 114 content/renderer/pepper/pepper_url_request_unittest.cc return info_->SetStringProperty(prop, s); s 854 content/shell/tools/plugin/PluginObject.cpp NPString s = NPVARIANT_TO_STRING(args[0]); s 856 content/shell/tools/plugin/PluginObject.cpp bool retval = browser->evaluate(obj->npp, windowScriptObject, &s, result); s 183 content/zygote/zygote_main_linux.cc void msan_unpoison_string(const char *s) { s 184 content/zygote/zygote_main_linux.cc if (!s) return; s 188 content/zygote/zygote_main_linux.cc __msan_unpoison(s, sizeof(*s)); s 189 content/zygote/zygote_main_linux.cc } while(*(s++)); s 81 courgette/adjustment_method.cc std::string s; s 82 courgette/adjustment_method.cc base::StringAppendF(&s, "%c%d", "pm"[info->is_model_], info->debug_index_); s 84 courgette/adjustment_method.cc base::StringAppendF(&s, " (%d)", info->label_->index_); s 86 courgette/adjustment_method.cc base::StringAppendF(&s, " #%u", info->refs_); s 87 courgette/adjustment_method.cc return s; s 162 courgette/adjustment_method.cc std::string s; s 163 courgette/adjustment_method.cc s += "{"; s 166 courgette/adjustment_method.cc s += sep; s 168 courgette/adjustment_method.cc s += prefix.back(); s 172 courgette/adjustment_method.cc s += base::StringPrintf("%u", node->count_); s 173 courgette/adjustment_method.cc s += " @"; s 174 courgette/adjustment_method.cc s += base::Uint64ToString(node->edges_in_frequency_order.size()); s 175 courgette/adjustment_method.cc s += "}"; s 176 courgette/adjustment_method.cc return s; s 202 courgette/adjustment_method_2.cc std::string s; s 203 courgette/adjustment_method_2.cc base::StringAppendF(&s, "%c%d", "pm"[info->is_model_], info->debug_index_); s 205 courgette/adjustment_method_2.cc base::StringAppendF(&s, " (%d)", info->label_->index_); s 207 courgette/adjustment_method_2.cc base::StringAppendF(&s, " #%u", info->refs_); s 208 courgette/adjustment_method_2.cc return s; s 431 courgette/adjustment_method_2.cc std::string s; s 435 courgette/adjustment_method_2.cc s += sep; s 436 courgette/adjustment_method_2.cc s += ToString(instance->at(i)); s 439 courgette/adjustment_method_2.cc base::StringAppendF(&s, ">(%" PRIuS ")@{%d}", s 442 courgette/adjustment_method_2.cc return s; s 523 courgette/adjustment_method_2.cc std::string s; s 525 courgette/adjustment_method_2.cc s = "<null>"; s 527 courgette/adjustment_method_2.cc base::StringAppendF(&s, "<%d: ", index->variables_); s 530 courgette/adjustment_method_2.cc s += sep; s 535 courgette/adjustment_method_2.cc base::StringAppendF(&s, "V%d", offset); s 537 courgette/adjustment_method_2.cc base::StringAppendF(&s, "%d", index->assigned_indexes_[offset]); s 539 courgette/adjustment_method_2.cc base::StringAppendF(&s, " %x", index->hash_); s 540 courgette/adjustment_method_2.cc s += ">"; s 542 courgette/adjustment_method_2.cc return s; s 547 courgette/adjustment_method_2.cc std::string s; s 554 courgette/adjustment_method_2.cc s += " ..."; s 557 courgette/adjustment_method_2.cc base::StringAppendF(&s, " %d", p->count()); s 559 courgette/adjustment_method_2.cc return s; s 565 courgette/adjustment_method_2.cc std::string s; s 572 courgette/adjustment_method_2.cc s += indent; s 574 courgette/adjustment_method_2.cc s += "...\n"; s 577 courgette/adjustment_method_2.cc base::StringAppendF(&s, "(%d) ", p->count()); s 578 courgette/adjustment_method_2.cc s += ToString(&(*p->instance())); s 579 courgette/adjustment_method_2.cc s += "\n"; s 581 courgette/adjustment_method_2.cc return s; s 585 courgette/adjustment_method_2.cc std::string s; s 587 courgette/adjustment_method_2.cc s = "<null>"; s 589 courgette/adjustment_method_2.cc s = "{"; s 590 courgette/adjustment_method_2.cc s += ToString(pattern->index_); s 591 courgette/adjustment_method_2.cc base::StringAppendF(&s, "; %d(%d):", s 595 courgette/adjustment_method_2.cc s += HistogramToString(pattern->model_histogram_, snippet_max); s 596 courgette/adjustment_method_2.cc base::StringAppendF(&s, "; %d(%d):", s 599 courgette/adjustment_method_2.cc s += HistogramToString(pattern->program_histogram_, snippet_max); s 600 courgette/adjustment_method_2.cc s += "}"; s 602 courgette/adjustment_method_2.cc return s; s 607 courgette/adjustment_method_2.cc std::string s; s 608 courgette/adjustment_method_2.cc s += ToString(pattern->index_); s 609 courgette/adjustment_method_2.cc s += "\n"; s 612 courgette/adjustment_method_2.cc base::StringAppendF(&s, " model shingles %" PRIuS "\n", model_size); s 613 courgette/adjustment_method_2.cc s += HistogramToStringFull(pattern->model_histogram_, " ", max); s 614 courgette/adjustment_method_2.cc base::StringAppendF(&s, " program shingles %" PRIuS "\n", program_size); s 615 courgette/adjustment_method_2.cc s += HistogramToStringFull(pattern->program_histogram_, " ", max); s 616 courgette/adjustment_method_2.cc return s; s 666 courgette/disassembler_win32_x64.cc std::ostringstream s; s 667 courgette/disassembler_win32_x64.cc s << std::hex << rva; s 669 courgette/disassembler_win32_x64.cc s << " ("; s 670 courgette/disassembler_win32_x64.cc s << SectionName(section) << "+" s 674 courgette/disassembler_win32_x64.cc return s.str(); s 666 courgette/disassembler_win32_x86.cc std::ostringstream s; s 667 courgette/disassembler_win32_x86.cc s << std::hex << rva; s 669 courgette/disassembler_win32_x86.cc s << " ("; s 670 courgette/disassembler_win32_x86.cc s << SectionName(section) << "+" s 674 courgette/disassembler_win32_x86.cc return s.str(); s 300 courgette/encoded_program.cc std::string s; s 301 courgette/encoded_program.cc env->GetVar("A_FIELDS", &s); s 302 courgette/encoded_program.cc if (!s.empty()) { s 304 courgette/encoded_program.cc wcstoul(base::ASCIIToWide(s).c_str(), 0, 0)); s 18 courgette/memory_monitor.cc size_t s = p->first; s 19 courgette/memory_monitor.cc LOG(INFO) << base::StringPrintf("%3d %8u: %8u %8u %8u %8u", i, s, s 20 courgette/memory_monitor.cc m_[s], c_[s], h_[s], h_[s] * s); s 25 courgette/memory_monitor.cc std::string fmt(size_t s) { s 26 courgette/memory_monitor.cc if (s > 1000000000) return base::StringPrintf("%.3gG", s/(1000000000.0)); s 27 courgette/memory_monitor.cc if (s > 1000000) return base::StringPrintf("%.3gM", s/(1000000.)); s 28 courgette/memory_monitor.cc if (s > 9999) return base::StringPrintf("%.3gk", s/(1000.)); s 29 courgette/memory_monitor.cc return base::StringPrintf("%d", (int)s); s 54 courgette/memory_monitor.cc size_t s = p->first; s 57 courgette/memory_monitor.cc if (s*n >= 64*1024) s 59 courgette/memory_monitor.cc base::StringAppendF(&o, " %s", fmt(s).c_str()); s 61 courgette/memory_monitor.cc base::StringAppendF(&o, " %s*%u", fmt(s).c_str(), n); s 62 courgette/memory_monitor.cc sum += s*n; s 73 courgette/memory_monitor.cc void add(size_t s, void *p) { s 76 courgette/memory_monitor.cc mem_ += s; if (mem_ > high_) high_ = mem_; s 77 courgette/memory_monitor.cc c_[s] += 1; s 78 courgette/memory_monitor.cc m_[s] += 1; s 79 courgette/memory_monitor.cc if (c_[s] > h_[s]) h_[s] = c_[s]; s 80 courgette/memory_monitor.cc allocs_[p] = s; s 82 courgette/memory_monitor.cc tick(s, '+'); s 89 courgette/memory_monitor.cc size_t s = allocs_[p]; s 90 courgette/memory_monitor.cc if (s) { s 91 courgette/memory_monitor.cc mem_ -= s; s 92 courgette/memory_monitor.cc c_[s] -= 1; s 94 courgette/memory_monitor.cc tick(s, '-'); s 116 courgette/memory_monitor.cc void* operator new(size_t s) { s 118 courgette/memory_monitor.cc void *p = malloc(s); s 119 courgette/memory_monitor.cc _H.add(s, p); s 367 crypto/curve25519-donna.c #define F(i, s) \ s 368 crypto/curve25519-donna.c output[s+0] |= input[i] & 0xff; \ s 369 crypto/curve25519-donna.c output[s+1] = (input[i] >> 8) & 0xff; \ s 370 crypto/curve25519-donna.c output[s+2] = (input[i] >> 16) & 0xff; \ s 371 crypto/curve25519-donna.c output[s+3] = (input[i] >> 24) & 0xff; s 67 crypto/ec_signature_creator_openssl.cc BIGNUM* s = ecdsa_sig.get()->s; s 69 crypto/ec_signature_creator_openssl.cc int s_bytes = BN_num_bytes(s); s 79 crypto/ec_signature_creator_openssl.cc BN_bn2bin(ecdsa_sig.get()->s, &result[2 * kMaxBytesPerBN - s_bytes]); s 57 crypto/third_party/nss/sha512.cc #define PORT_Strlen(s) static_cast<unsigned int>(strlen(s)) s 350 extensions/browser/value_store/leveldb_value_store.cc leveldb::Status s = db_->Get(options, key, &value_as_json); s 352 extensions/browser/value_store/leveldb_value_store.cc if (s.IsNotFound()) { s 358 extensions/browser/value_store/leveldb_value_store.cc if (!s.ok()) s 359 extensions/browser/value_store/leveldb_value_store.cc return ToValueStoreError(s, util::NewKey(key)); s 36 extensions/common/permissions/socket_permission_data.cc SocketPermissionRequest::OperationType StringToType(const std::string& s) { s 37 extensions/common/permissions/socket_permission_data.cc if (s == kTCPConnect) s 39 extensions/common/permissions/socket_permission_data.cc if (s == kTCPListen) s 41 extensions/common/permissions/socket_permission_data.cc if (s == kUDPBind) s 43 extensions/common/permissions/socket_permission_data.cc if (s == kUDPSendTo) s 45 extensions/common/permissions/socket_permission_data.cc if (s == kUDPMulticastMembership) s 47 extensions/common/permissions/socket_permission_data.cc if (s == kResolveHost) s 49 extensions/common/permissions/socket_permission_data.cc if (s == kResolveProxy) s 51 extensions/common/permissions/socket_permission_data.cc if (s == kNetworkState) s 67 google_apis/gaia/google_service_auth_error.cc GoogleServiceAuthError::GoogleServiceAuthError(State s) s 68 google_apis/gaia/google_service_auth_error.cc : state_(s), s 71 google_apis/gaia/google_service_auth_error.cc if (s == CONNECTION_FAILED) { s 238 google_apis/gaia/google_service_auth_error.cc GoogleServiceAuthError::GoogleServiceAuthError(State s, int error) s 239 google_apis/gaia/google_service_auth_error.cc : state_(s), s 244 google_apis/gaia/google_service_auth_error.cc State s, s 251 google_apis/gaia/google_service_auth_error.cc : state_(s), s 141 google_apis/gaia/google_service_auth_error.h explicit GoogleServiceAuthError(State s); s 187 google_apis/gaia/google_service_auth_error.h GoogleServiceAuthError(State s, int error); s 192 google_apis/gaia/google_service_auth_error.h GoogleServiceAuthError(State s, const std::string& captcha_token, s 82 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Slice MakeSlice(const base::StringPiece& s) { s 83 google_apis/gcm/engine/gcm_store_impl.cc return leveldb::Slice(s.begin(), s.size()); s 228 google_apis/gcm/engine/gcm_store_impl.cc const leveldb::Status s = s 230 google_apis/gcm/engine/gcm_store_impl.cc if (s.ok()) { s 234 google_apis/gcm/engine/gcm_store_impl.cc LOG(ERROR) << "Destroy failed: " << s.ToString(); s 256 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Status s = s 260 google_apis/gcm/engine/gcm_store_impl.cc if (s.ok()) { s 261 google_apis/gcm/engine/gcm_store_impl.cc s = db_->Put( s 264 google_apis/gcm/engine/gcm_store_impl.cc if (s.ok()) { s 268 google_apis/gcm/engine/gcm_store_impl.cc LOG(ERROR) << "LevelDB put failed: " << s.ToString(); s 330 google_apis/gcm/engine/gcm_store_impl.cc const leveldb::Status s = db_->Put(write_options, s 333 google_apis/gcm/engine/gcm_store_impl.cc if (s.ok()) { s 337 google_apis/gcm/engine/gcm_store_impl.cc LOG(ERROR) << "LevelDB put failed: " << s.ToString(); s 352 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Status s; s 358 google_apis/gcm/engine/gcm_store_impl.cc s = db_->Delete(write_options, MakeSlice(key)); s 359 google_apis/gcm/engine/gcm_store_impl.cc if (!s.ok()) s 362 google_apis/gcm/engine/gcm_store_impl.cc if (s.ok()) { s 366 google_apis/gcm/engine/gcm_store_impl.cc LOG(ERROR) << "LevelDB remove failed: " << s.ToString(); s 385 google_apis/gcm/engine/gcm_store_impl.cc const leveldb::Status s = db_->Put(write_options, s 388 google_apis/gcm/engine/gcm_store_impl.cc if (s.ok()) { s 392 google_apis/gcm/engine/gcm_store_impl.cc LOG(ERROR) << "LevelDB put failed: " << s.ToString(); s 414 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Status s; s 421 google_apis/gcm/engine/gcm_store_impl.cc s = db_->Get(read_options, s 424 google_apis/gcm/engine/gcm_store_impl.cc if (!s.ok()) s 436 google_apis/gcm/engine/gcm_store_impl.cc s = db_->Delete(write_options, MakeSlice(key)); s 437 google_apis/gcm/engine/gcm_store_impl.cc if (!s.ok()) s 440 google_apis/gcm/engine/gcm_store_impl.cc if (s.ok()) { s 447 google_apis/gcm/engine/gcm_store_impl.cc LOG(ERROR) << "LevelDB remove failed: " << s.ToString(); s 461 google_apis/gcm/engine/gcm_store_impl.cc const leveldb::Status s = s 466 google_apis/gcm/engine/gcm_store_impl.cc if (!s.ok()) s 467 google_apis/gcm/engine/gcm_store_impl.cc LOG(ERROR) << "LevelDB set last checkin time failed: " << s.ToString(); s 469 google_apis/gcm/engine/gcm_store_impl.cc foreground_task_runner_->PostTask(FROM_HERE, base::Bind(callback, s.ok())); s 478 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Status s = db_->Get(read_options, MakeSlice(kDeviceAIDKey), &result); s 479 google_apis/gcm/engine/gcm_store_impl.cc if (s.ok()) { s 485 google_apis/gcm/engine/gcm_store_impl.cc s = db_->Get(read_options, MakeSlice(kDeviceTokenKey), &result); s 487 google_apis/gcm/engine/gcm_store_impl.cc if (s.ok()) { s 497 google_apis/gcm/engine/gcm_store_impl.cc if (s.IsNotFound()) { s 515 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Slice s = iter->value(); s 516 google_apis/gcm/engine/gcm_store_impl.cc if (s.size() <= 1) { s 517 google_apis/gcm/engine/gcm_store_impl.cc LOG(ERROR) << "Error reading registration with key " << s.ToString(); s 542 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Slice s = iter->value(); s 543 google_apis/gcm/engine/gcm_store_impl.cc if (s.empty()) { s 548 google_apis/gcm/engine/gcm_store_impl.cc DVLOG(1) << "Found incoming message with id " << s.ToString(); s 549 google_apis/gcm/engine/gcm_store_impl.cc incoming_messages->push_back(s.ToString()); s 564 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Slice s = iter->value(); s 565 google_apis/gcm/engine/gcm_store_impl.cc if (s.size() <= 1) { s 566 google_apis/gcm/engine/gcm_store_impl.cc LOG(ERROR) << "Error reading incoming message with key " << s.ToString(); s 593 google_apis/gcm/engine/gcm_store_impl.cc leveldb::Status s = db_->Get(read_options, s 597 google_apis/gcm/engine/gcm_store_impl.cc if (s.ok() && !base::StringToInt64(result, &time_internal)) s 82 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2ClearStencil(GLint s) { gles2::GetGLContext()->ClearStencil(s); } s 172 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void ClearStencil(GLint s) { s 175 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(s); s 69 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void ClearStencil(GLint s) OVERRIDE; s 183 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::ClearStencil(GLint s) { s 185 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glClearStencil(" << s << ")"); s 186 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->ClearStencil(s); s 51 gpu/command_buffer/client/gles2_interface_autogen.h virtual void ClearStencil(GLint s) = 0; s 50 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void ClearStencil(GLint s) OVERRIDE; s 50 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void ClearStencil(GLint s) OVERRIDE; s 125 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::ClearStencil(GLint s) { s 127 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->ClearStencil(s); s 816 gpu/command_buffer/common/gles2_cmd_format_autogen.h s = _s; s 825 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 s; s 831 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(ClearStencil, s) == 4, OffsetOf_ClearStencil_s_not_4); s 280 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLint>(11), cmd.s); s 37 gpu/command_buffer/service/feature_info.cc StringSet(const char* s) { s 38 gpu/command_buffer/service/feature_info.cc Init(s); s 45 gpu/command_buffer/service/feature_info.cc void Init(const char* s) { s 46 gpu/command_buffer/service/feature_info.cc std::string str(s ? s : ""); s 56 gpu/command_buffer/service/feature_info.cc bool Contains(const char* s) { s 57 gpu/command_buffer/service/feature_info.cc return string_set_.find(s) != string_set_.end(); s 60 gpu/command_buffer/service/feature_info.cc bool Contains(const std::string& s) { s 61 gpu/command_buffer/service/feature_info.cc return string_set_.find(s) != string_set_.end(); s 76 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc gl_FragColor = texture2D(u_texSampler, vec2(v_uv.s, 1.0 - v_uv.t)); s 100 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc gl_FragColor = texture2D(u_texSampler, vec2(v_uv.s, 1.0 - v_uv.t)); s 108 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc gl_FragColor = texture2D(u_texSampler, vec2(v_uv.s, 1.0 - v_uv.t)); s 127 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc texture2D(u_texSampler, vec2(v_uv.s, 1.0 - v_uv.t)); s 155 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc texture2D(u_texSampler, vec2(v_uv.s, 1.0 - v_uv.t)); s 165 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc texture2D(u_texSampler, vec2(v_uv.s, 1.0 - v_uv.t)); s 291 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLint s = static_cast<GLint>(c.s); s 292 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (state_.stencil_clear != s) { s 293 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h state_.stencil_clear = s; s 294 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h glClearStencil(s); s 7929 gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc InSequence s; s 1250 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc InSequence s; s 76 gpu/command_buffer/service/program_cache.cc std::string s(( s 79 gpu/command_buffer/service/program_cache.cc base::SHA1HashBytes(reinterpret_cast<const unsigned char*>(s.c_str()), s 80 gpu/command_buffer/service/program_cache.cc s.length(), reinterpret_cast<unsigned char*>(result)); s 332 gpu/command_buffer/service/query_manager_unittest.cc InSequence s; s 568 gpu/command_buffer/service/test_helper.cc InSequence s; s 62 gpu/command_buffer/tests/gl_pointcoord_unittest.cc GLfloat s2p(GLfloat s) { s 63 gpu/command_buffer/tests/gl_pointcoord_unittest.cc return (s + 1.0) * 0.5 * PointCoordTest::kResolution; s 136 gpu/command_buffer/tests/gl_pointcoord_unittest.cc GLfloat s = 0.5 + (xf + 0.5 - xw) / max_point_size; s 139 gpu/command_buffer/tests/gl_pointcoord_unittest.cc static_cast<uint8>(s * 255), s 93 gpu/command_buffer/tests/gl_readback_unittest.cc int32 s = (value >> 15) & 0x00000001; s 99 gpu/command_buffer/tests/gl_readback_unittest.cc uint32 result = s << 31; s 112 gpu/command_buffer/tests/gl_readback_unittest.cc uint32 result = (s << 31) | 0x7f800000; s 115 gpu/command_buffer/tests/gl_readback_unittest.cc uint32 result = (s << 31) | 0x7f800000 | (m << 13); s 123 gpu/command_buffer/tests/gl_readback_unittest.cc uint32 result = (s << 31) | (e << 23) | m; s 47 ipc/ipc_channel_handle.h ChannelHandle(const std::string& n, const base::FileDescriptor& s) s 48 ipc/ipc_channel_handle.h : name(n), socket(s) {} s 71 ipc/ipc_channel_unittest.cc void Init(IPC::Sender* s) { s 72 ipc/ipc_channel_unittest.cc sender_ = s; s 120 ipc/ipc_fuzzing_tests.cc void Init(IPC::Sender* s) { s 121 ipc/ipc_fuzzing_tests.cc other_ = s; s 776 media/audio/alsa/alsa_output_unittest.cc InSequence s; s 234 media/audio/pulse/pulse_input.cc void PulseAudioInputStream::StreamNotifyCallback(pa_stream* s, s 238 media/audio/pulse/pulse_input.cc if (s && stream->callback_ && s 239 media/audio/pulse/pulse_input.cc pa_stream_get_state(s) == PA_STREAM_FAILED) { s 20 media/audio/pulse/pulse_output.cc void PulseAudioOutputStream::StreamNotifyCallback(pa_stream* s, void* p_this) { s 26 media/audio/pulse/pulse_output.cc if (s && stream->source_callback_ && s 27 media/audio/pulse/pulse_output.cc pa_stream_get_state(s) == PA_STREAM_FAILED) { s 35 media/audio/pulse/pulse_output.cc void PulseAudioOutputStream::StreamRequestCallback(pa_stream* s, size_t len, s 57 media/audio/pulse/pulse_output.h static void StreamNotifyCallback(pa_stream* s, void* p_this); s 60 media/audio/pulse/pulse_output.h static void StreamRequestCallback(pa_stream* s, size_t len, void* p_this); s 53 media/audio/pulse/pulse_util.cc void StreamSuccessCallback(pa_stream* s, int error, void* mainloop) { s 38 media/audio/pulse/pulse_util.h void StreamSuccessCallback(pa_stream* s, int error, void* mainloop); s 527 media/audio/win/audio_output_win_unittest.cc InSequence s; s 109 media/base/audio_decoder_config.cc std::ostringstream s; s 110 media/base/audio_decoder_config.cc s << "codec: " << codec() s 120 media/base/audio_decoder_config.cc return s.str(); s 80 media/base/decoder_buffer.cc std::ostringstream s; s 81 media/base/decoder_buffer.cc s << "timestamp: " << timestamp_.InMicroseconds() s 87 media/base/decoder_buffer.cc return s.str(); s 714 media/base/pipeline_unittest.cc InSequence s; s 1106 media/base/pipeline_unittest.cc InSequence s; s 1219 media/base/pipeline_unittest.cc InSequence s; s 115 media/base/video_decoder_config.cc std::ostringstream s; s 116 media/base/video_decoder_config.cc s << "codec: " << codec() s 129 media/base/video_decoder_config.cc return s.str(); s 149 media/base/yuv_convert_unittest.cc YUVScaleTestData(media::YUVType y, media::ScaleFilter s, uint32 r) s 151 media/base/yuv_convert_unittest.cc scale_filter(s), s 28 media/cast/audio_receiver/audio_decoder_unittest.cc TestScenario(transport::AudioCodec c, int n, int s) s 29 media/cast/audio_receiver/audio_decoder_unittest.cc : codec(c), num_channels(n), sampling_rate(s) {} s 1192 media/filters/chunk_demuxer_unittest.cc InSequence s; s 1224 media/filters/chunk_demuxer_unittest.cc InSequence s; s 2497 media/filters/chunk_demuxer_unittest.cc InSequence s; s 2522 media/filters/chunk_demuxer_unittest.cc InSequence s; s 2569 media/filters/chunk_demuxer_unittest.cc InSequence s; s 2616 media/filters/chunk_demuxer_unittest.cc InSequence s; s 53 media/filters/ffmpeg_audio_decoder.cc static int GetAudioBuffer(struct AVCodecContext* s, AVFrame* frame, int flags) { s 54 media/filters/ffmpeg_audio_decoder.cc DCHECK(s->codec->capabilities & CODEC_CAP_DR1); s 55 media/filters/ffmpeg_audio_decoder.cc DCHECK_EQ(s->codec_type, AVMEDIA_TYPE_AUDIO); s 73 media/filters/ffmpeg_audio_decoder.cc if (s->channels != channels) { s 94 media/filters/ffmpeg_audio_decoder.cc ChannelLayoutToChromeChannelLayout(s->channel_layout, s->channels), s 96 media/filters/ffmpeg_audio_decoder.cc s->sample_rate, s 122 media/filters/ffmpeg_glue_unittest.cc InSequence s; s 139 media/filters/ffmpeg_glue_unittest.cc InSequence s; s 111 media/filters/ffmpeg_video_decoder.cc static int GetVideoBufferImpl(AVCodecContext* s, AVFrame* frame) { s 112 media/filters/ffmpeg_video_decoder.cc FFmpegVideoDecoder* decoder = static_cast<FFmpegVideoDecoder*>(s->opaque); s 113 media/filters/ffmpeg_video_decoder.cc return decoder->GetVideoBuffer(s, frame); s 116 media/filters/ffmpeg_video_decoder.cc static void ReleaseVideoBufferImpl(AVCodecContext* s, AVFrame* frame) { s 38 media/filters/gpu_video_decoder.cc GpuVideoDecoder::SHMBuffer::SHMBuffer(base::SharedMemory* m, size_t s) s 39 media/filters/gpu_video_decoder.cc : shm(m), size(s) { s 45 media/filters/gpu_video_decoder.cc SHMBuffer* s, const scoped_refptr<DecoderBuffer>& b) s 46 media/filters/gpu_video_decoder.cc : shm_buffer(s), buffer(b) { s 79 media/filters/gpu_video_decoder.h SHMBuffer(base::SharedMemory* m, size_t s); s 87 media/filters/gpu_video_decoder.h BufferPair(SHMBuffer* s, const scoped_refptr<DecoderBuffer>& b); s 93 media/filters/video_renderer_impl_unittest.cc InSequence s; s 707 media/filters/video_renderer_impl_unittest.cc InSequence s; s 217 media/formats/webm/webm_cluster_parser_unittest.cc InSequence s; s 55 media/formats/webm/webm_parser_unittest.cc InSequence s; s 75 media/formats/webm/webm_parser_unittest.cc InSequence s; s 91 media/formats/webm/webm_parser_unittest.cc InSequence s; s 110 media/formats/webm/webm_parser_unittest.cc InSequence s; s 126 media/formats/webm/webm_parser_unittest.cc InSequence s; s 151 media/formats/webm/webm_parser_unittest.cc InSequence s; s 167 media/formats/webm/webm_parser_unittest.cc InSequence s; s 182 media/formats/webm/webm_parser_unittest.cc InSequence s; s 204 media/formats/webm/webm_parser_unittest.cc InSequence s; s 259 media/formats/webm/webm_parser_unittest.cc InSequence s; s 300 media/formats/webm/webm_parser_unittest.cc InSequence s; s 323 media/formats/webm/webm_parser_unittest.cc InSequence s; s 398 media/formats/webm/webm_parser_unittest.cc InSequence s; s 50 media/formats/webm/webm_tracks_parser_unittest.cc InSequence s; s 60 media/formats/webm/webm_tracks_parser_unittest.cc InSequence s; s 70 media/formats/webm/webm_tracks_parser_unittest.cc InSequence s; s 80 media/formats/webm/webm_tracks_parser_unittest.cc InSequence s; s 90 media/formats/webm/webm_tracks_parser_unittest.cc InSequence s; s 37 media/formats/webm/webm_webvtt_parser_unittest.cc InSequence s; s 49 media/formats/webm/webm_webvtt_parser_unittest.cc InSequence s; s 64 media/formats/webm/webm_webvtt_parser_unittest.cc InSequence s; s 85 media/formats/webm/webm_webvtt_parser_unittest.cc InSequence s; s 181 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc void ClearStencil(PP_Resource context_id, GLint s) { s 184 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glClearStencil(s); s 69 mojo/public/c/gles2/gles2_call_visitor_autogen.h VISIT_GL_CALL(ClearStencil, void, (GLint s), (s)) s 169 mojo/public/cpp/bindings/tests/sample_service_unittest.cc std::string s = str.To<std::string>(); s 28 native_client_sdk/src/examples/api/input_event/input_event.cc std::string s; s 30 native_client_sdk/src/examples/api/input_event/input_event.cc s += "shift "; s 33 native_client_sdk/src/examples/api/input_event/input_event.cc s += "ctrl "; s 36 native_client_sdk/src/examples/api/input_event/input_event.cc s += "alt "; s 39 native_client_sdk/src/examples/api/input_event/input_event.cc s += "meta "; s 42 native_client_sdk/src/examples/api/input_event/input_event.cc s += "keypad "; s 45 native_client_sdk/src/examples/api/input_event/input_event.cc s += "autorepeat "; s 48 native_client_sdk/src/examples/api/input_event/input_event.cc s += "left-button-down "; s 51 native_client_sdk/src/examples/api/input_event/input_event.cc s += "middle-button-down "; s 54 native_client_sdk/src/examples/api/input_event/input_event.cc s += "right-button-down "; s 57 native_client_sdk/src/examples/api/input_event/input_event.cc s += "caps-lock "; s 60 native_client_sdk/src/examples/api/input_event/input_event.cc s += "num-lock "; s 62 native_client_sdk/src/examples/api/input_event/input_event.cc return s; s 36 native_client_sdk/src/examples/demo/drive/drive.cc std::string EncodeUriComponent(const std::string& s) { s 39 native_client_sdk/src/examples/demo/drive/drive.cc for (size_t i = 0; i < s.length(); ++i) { s 40 native_client_sdk/src/examples/demo/drive/drive.cc char c = s[i]; s 58 native_client_sdk/src/examples/demo/drive/drive.cc void AddQueryParameter(std::string* s, s 62 native_client_sdk/src/examples/demo/drive/drive.cc *s += first ? '?' : '&'; s 63 native_client_sdk/src/examples/demo/drive/drive.cc *s += EncodeUriComponent(key); s 64 native_client_sdk/src/examples/demo/drive/drive.cc *s += '='; s 65 native_client_sdk/src/examples/demo/drive/drive.cc *s += EncodeUriComponent(value); s 68 native_client_sdk/src/examples/demo/drive/drive.cc void AddQueryParameter(std::string* s, s 72 native_client_sdk/src/examples/demo/drive/drive.cc AddQueryParameter(s, key, IntToString(value), first); s 75 native_client_sdk/src/examples/demo/drive/drive.cc void AddAuthTokenHeader(std::string* s, const std::string& auth_token) { s 76 native_client_sdk/src/examples/demo/drive/drive.cc *s += "Authorization: Bearer "; s 77 native_client_sdk/src/examples/demo/drive/drive.cc *s += auth_token; s 78 native_client_sdk/src/examples/demo/drive/drive.cc *s += "\n"; s 81 native_client_sdk/src/examples/demo/drive/drive.cc void AddHeader(std::string* s, const char* key, const std::string& value) { s 82 native_client_sdk/src/examples/demo/drive/drive.cc *s += key; s 83 native_client_sdk/src/examples/demo/drive/drive.cc *s += ": "; s 84 native_client_sdk/src/examples/demo/drive/drive.cc *s += value; s 85 native_client_sdk/src/examples/demo/drive/drive.cc *s += "\n"; s 98 native_client_sdk/src/examples/demo/nacl_io/handlers.c const char* s, s 101 native_client_sdk/src/examples/demo/nacl_io/handlers.c int result = strtol(s, &endptr, 10); s 102 native_client_sdk/src/examples/demo/nacl_io/handlers.c if (endptr != s + strlen(s)) { s 137 native_client_sdk/src/examples/demo/nacl_io/handlers.c static FILE* GetFileFromIndexString(const char* s, int* file_index) { s 139 native_client_sdk/src/examples/demo/nacl_io/handlers.c (void**)g_OpenFiles, MAX_OPEN_FILES, s, file_index); s 168 native_client_sdk/src/examples/demo/nacl_io/handlers.c static DIR* GetDirFromIndexString(const char* s, int* dir_index) { s 170 native_client_sdk/src/examples/demo/nacl_io/handlers.c (void**)g_OpenDirs, MAX_OPEN_DIRS, s, dir_index); s 32 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c #define va_copy(d, s) ((d) = (s)) s 54 native_client_sdk/src/examples/tutorial/debugging/debugging.c void layer1(int s, int t) { s 56 native_client_sdk/src/examples/tutorial/debugging/debugging.c junk[0] = s + 5; s 135 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc std::string s = message.substr(strlen("reverse:")); s 136 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc char* result = reverse_(s.c_str()); s 9 native_client_sdk/src/examples/tutorial/dlopen/reverse.cc extern "C" char* Reverse(const char* s) { s 10 native_client_sdk/src/examples/tutorial/dlopen/reverse.cc size_t len = strlen(s); s 13 native_client_sdk/src/examples/tutorial/dlopen/reverse.cc reversed[len - i - 1] = s[i]; s 30 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc std::string NormalizeHeaderKey(const std::string& s) { s 35 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc for (size_t i = 0; i < s.length(); ++i) { s 36 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc char c = s[i]; s 15 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.h std::string NormalizeHeaderKey(const std::string& s); s 403 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc int s = emitter_->GetAcceptedSocket_Locked(); s 405 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc if (s == 0) s 409 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc *out_sock = s; s 11 native_client_sdk/src/libraries/nacl_io/syscalls/herror.c void herror(const char* s) { s 12 native_client_sdk/src/libraries/nacl_io/syscalls/herror.c if (s) { s 13 native_client_sdk/src/libraries/nacl_io/syscalls/herror.c fprintf(stderr, "%s: ", s); s 684 native_client_sdk/src/libraries/third_party/pthreads-win32/implement.h #define calloc(n, s) ptw32_calloc(n, s) s 685 native_client_sdk/src/libraries/third_party/pthreads-win32/implement.h void *ptw32_calloc (size_t n, size_t s); s 44 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_destroy.c register pthread_spinlock_t s; s 52 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_destroy.c if ((s = *lock) != PTHREAD_SPINLOCK_INITIALIZER) s 54 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_destroy.c if (s->interlock == PTW32_SPIN_USE_MUTEX) s 56 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_destroy.c result = pthread_mutex_destroy (&(s->u.mutex)); s 59 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_destroy.c PTW32_INTERLOCKED_COMPARE_EXCHANGE_LONG ((PTW32_INTERLOCKED_LONGPTR) &s->interlock, s 73 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_destroy.c (void) free (s); s 44 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_init.c pthread_spinlock_t s; s 83 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_init.c s = (pthread_spinlock_t) calloc (1, sizeof (*s)); s 85 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_init.c if (s == NULL) s 92 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_init.c s->u.cpus = cpus; s 93 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_init.c s->interlock = PTW32_SPIN_UNLOCKED; s 103 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_init.c result = pthread_mutex_init (&(s->u.mutex), &ma); s 106 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_init.c s->interlock = PTW32_SPIN_USE_MUTEX; s 114 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_init.c *lock = s; s 118 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_init.c (void) free (s); s 44 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_lock.c register pthread_spinlock_t s; s 61 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_lock.c s = *lock; s 64 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_lock.c PTW32_INTERLOCKED_COMPARE_EXCHANGE_LONG ((PTW32_INTERLOCKED_LONGPTR) &s->interlock, s 70 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_lock.c if (s->interlock == PTW32_SPIN_LOCKED) s 74 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_lock.c else if (s->interlock == PTW32_SPIN_USE_MUTEX) s 76 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_lock.c return pthread_mutex_lock (&(s->u.mutex)); s 44 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_trylock.c register pthread_spinlock_t s; s 61 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_trylock.c s = *lock; s 64 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_trylock.c PTW32_INTERLOCKED_COMPARE_EXCHANGE_LONG ((PTW32_INTERLOCKED_LONGPTR) &s->interlock, s 73 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_trylock.c return pthread_mutex_trylock (&(s->u.mutex)); s 44 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_unlock.c register pthread_spinlock_t s; s 51 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_unlock.c s = *lock; s 53 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_unlock.c if (s == PTHREAD_SPINLOCK_INITIALIZER) s 59 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_unlock.c PTW32_INTERLOCKED_COMPARE_EXCHANGE_LONG ((PTW32_INTERLOCKED_LONGPTR) &s->interlock, s 67 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_spin_unlock.c return pthread_mutex_unlock (&(s->u.mutex)); s 43 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_calloc.c ptw32_calloc (size_t n, size_t s) s 45 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_calloc.c unsigned int m = n * s; s 70 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c sem_t s = *sem; s 72 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c if (s == NULL) s 78 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c if ((result = pthread_mutex_lock (&s->lock)) == 0) s 86 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c (void) pthread_mutex_unlock (&s->lock); s 91 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c v = --s->value; s 92 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c (void) pthread_mutex_unlock (&s->lock); s 97 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c if (WaitForSingleObject (s->sem, INFINITE) == WAIT_OBJECT_0) s 100 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c if (pthread_mutex_lock (&s->lock) == 0) s 104 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c (void) pthread_mutex_unlock (&s->lock); s 109 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c if (s->leftToUnblock > 0) s 111 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c --s->leftToUnblock; s 112 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c SetEvent(s->sem); s 114 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_semwait.c (void) pthread_mutex_unlock (&s->lock); s 76 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_destroy.c sem_t s = NULL; s 84 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_destroy.c s = *sem; s 86 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_destroy.c if ((result = pthread_mutex_lock (&s->lock)) == 0) s 88 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_destroy.c if (s->value < 0) s 90 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_destroy.c (void) pthread_mutex_unlock (&s->lock); s 97 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_destroy.c if (!CloseHandle (s->sem)) s 99 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_destroy.c (void) pthread_mutex_unlock (&s->lock); s 116 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_destroy.c s->value = SEM_VALUE_MAX; s 118 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_destroy.c (void) pthread_mutex_unlock (&s->lock); s 128 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_destroy.c while (pthread_mutex_destroy (&s->lock) == EBUSY); s 140 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_destroy.c free (s); s 88 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_getvalue.c register sem_t s = *sem; s 91 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_getvalue.c if ((result = pthread_mutex_lock(&s->lock)) == 0) s 97 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_getvalue.c (void) pthread_mutex_unlock (&s->lock); s 102 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_getvalue.c value = s->value; s 103 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_getvalue.c (void) pthread_mutex_unlock(&s->lock); s 86 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c sem_t s = NULL; s 102 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c s = (sem_t) calloc (1, sizeof (*s)); s 104 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c if (NULL == s) s 111 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c s->value = value; s 112 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c if (pthread_mutex_init(&s->lock, NULL) == 0) s 117 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c s->sem = CreateEvent (NULL, s 122 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c if (0 == s->sem) s 124 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c free (s); s 125 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c (void) pthread_mutex_destroy(&s->lock); s 130 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c s->leftToUnblock = 0; s 135 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c if ((s->sem = CreateSemaphore (NULL, /* Always NULL */ s 140 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c (void) pthread_mutex_destroy(&s->lock); s 154 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c free(s); s 165 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_init.c *sem = s; s 77 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post.c sem_t s = *sem; s 79 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post.c if (s == NULL) s 83 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post.c else if ((result = pthread_mutex_lock (&s->lock)) == 0) s 89 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post.c (void) pthread_mutex_unlock (&s->lock); s 94 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post.c if (s->value < SEM_VALUE_MAX) s 97 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post.c if (++s->value <= 0 s 98 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post.c && !SetEvent(s->sem)) s 100 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post.c s->value--; s 104 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post.c if (++s->value <= 0 s 105 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post.c && !ReleaseSemaphore (s->sem, 1, NULL)) s 107 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post.c s->value--; s 117 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post.c (void) pthread_mutex_unlock (&s->lock); s 81 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c sem_t s = *sem; s 83 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c if (s == NULL || count <= 0) s 87 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c else if ((result = pthread_mutex_lock (&s->lock)) == 0) s 93 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c (void) pthread_mutex_unlock (&s->lock); s 98 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c if (s->value <= (SEM_VALUE_MAX - count)) s 100 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c waiters = -s->value; s 101 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c s->value += count; s 105 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c if (SetEvent(s->sem)) s 108 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c s->leftToUnblock += count - 1; s 109 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c if (s->leftToUnblock > waiters) s 111 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c s->leftToUnblock = waiters; s 115 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c if (ReleaseSemaphore (s->sem, (waiters<=count)?waiters:count, 0)) s 122 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c s->value -= count; s 131 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_post_multiple.c (void) pthread_mutex_unlock (&s->lock); s 59 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c sem_t s = a->sem; s 61 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c if (pthread_mutex_lock (&s->lock) == 0) s 71 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c if (WaitForSingleObject(s->sem, 0) == WAIT_OBJECT_0) s 79 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c s->value++; s 81 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c if (s->value > 0) s 83 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c s->leftToUnblock = 0; s 92 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c (void) pthread_mutex_unlock (&s->lock); s 138 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c sem_t s = *sem; s 162 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c if ((result = pthread_mutex_lock (&s->lock)) == 0) s 170 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c (void) pthread_mutex_unlock (&s->lock); s 175 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c v = --s->value; s 176 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c (void) pthread_mutex_unlock (&s->lock); s 185 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c cleanup_args.sem = s; s 196 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c result = pthreadCancelableTimedWait (s->sem, milliseconds); s 204 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c if (!timedout && pthread_mutex_lock (&s->lock) == 0) s 208 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c (void) pthread_mutex_unlock (&s->lock); s 213 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c if (s->leftToUnblock > 0) s 215 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c --s->leftToUnblock; s 216 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c SetEvent(s->sem); s 218 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_timedwait.c (void) pthread_mutex_unlock (&s->lock); s 80 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_trywait.c sem_t s = *sem; s 82 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_trywait.c if (s == NULL) s 86 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_trywait.c else if ((result = pthread_mutex_lock (&s->lock)) == 0) s 92 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_trywait.c (void) pthread_mutex_unlock (&s->lock); s 97 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_trywait.c if (s->value > 0) s 99 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_trywait.c s->value--; s 106 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_trywait.c (void) pthread_mutex_unlock (&s->lock); s 52 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c sem_t s = (sem_t) sem; s 54 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c if (pthread_mutex_lock (&s->lock) == 0) s 63 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c if (*((sem_t *)sem) != NULL && !(WaitForSingleObject(s->sem, 0) == WAIT_OBJECT_0)) s 65 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c ++s->value; s 67 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c if (s->value > 0) s 69 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c s->leftToUnblock = 0; s 78 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c (void) pthread_mutex_unlock (&s->lock); s 114 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c sem_t s = *sem; s 118 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c if (s == NULL) s 124 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c if ((result = pthread_mutex_lock (&s->lock)) == 0) s 132 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c (void) pthread_mutex_unlock (&s->lock); s 137 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c v = --s->value; s 138 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c (void) pthread_mutex_unlock (&s->lock); s 146 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c pthread_cleanup_push(ptw32_sem_wait_cleanup, (void *) s); s 147 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c result = pthreadCancelableWait (s->sem); s 156 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c if (!result && pthread_mutex_lock (&s->lock) == 0) s 160 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c (void) pthread_mutex_unlock (&s->lock); s 165 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c if (s->leftToUnblock > 0) s 167 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c --s->leftToUnblock; s 168 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c SetEvent(s->sem); s 170 native_client_sdk/src/libraries/third_party/pthreads-win32/sem_wait.c (void) pthread_mutex_unlock (&s->lock); s 43 native_client_sdk/src/libraries/xray/hashtable.c uint8_t* s = (uint8_t*)&y; s 47 native_client_sdk/src/libraries/xray/hashtable.c z = s[c]; s 35 native_client_sdk/src/libraries/xray/stringpool.c struct XRayStringPoolNode* s; s 36 native_client_sdk/src/libraries/xray/stringpool.c s = (struct XRayStringPoolNode *)XRayMalloc(sizeof(*s)); s 37 native_client_sdk/src/libraries/xray/stringpool.c s->next = NULL; s 38 native_client_sdk/src/libraries/xray/stringpool.c return s; s 256 native_client_sdk/src/libraries/xray/xray.c int s = 0; s 263 native_client_sdk/src/libraries/xray/xray.c dst[i] = src[s]; s 264 native_client_sdk/src/libraries/xray/xray.c if (0 == src[s]) { s 269 native_client_sdk/src/libraries/xray/xray.c ++s; s 107 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc struct stat s; s 108 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(0, file.GetStat(&s)); s 109 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_LT(0, s.st_ino); // 0 is an invalid inode number. s 110 native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc EXPECT_EQ(sizeof(buf1), s.st_size); s 42 net/base/io_buffer.cc StringIOBuffer::StringIOBuffer(const std::string& s) s 44 net/base/io_buffer.cc string_data_(s) { s 45 net/base/io_buffer.cc CHECK_LT(s.size(), static_cast<size_t>(INT_MAX)); s 116 net/base/io_buffer.h explicit StringIOBuffer(const std::string& s); s 54266 net/base/registry_controlled_domains/effective_tld_names.cc register const char *s = wordlist[index].name_offset + stringpool; s 54268 net/base/registry_controlled_domains/effective_tld_names.cc if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') s 208 net/base/registry_controlled_domains/effective_tld_names_unittest1.cc register const char *s = wordlist[index].name_offset + stringpool1; s 210 net/base/registry_controlled_domains/effective_tld_names_unittest1.cc if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') s 151 net/base/registry_controlled_domains/effective_tld_names_unittest2.cc register const char *s = wordlist[index].name_offset + stringpool2; s 153 net/base/registry_controlled_domains/effective_tld_names_unittest2.cc if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') s 13 net/base/zap.cc void ZapString(std::string* s) { s 14 net/base/zap.cc if (!s->empty()) s 15 net/base/zap.cc ZapBuf(&(*s)[0], s->length() * sizeof(char)); s 18 net/base/zap.cc void ZapString(base::string16* s) { s 19 net/base/zap.cc if (!s->empty()) s 20 net/base/zap.cc ZapBuf(&(*s)[0], s->length() * sizeof(base::char16)); s 20 net/base/zap.h void ZapString(std::string* s); s 23 net/base/zap.h void ZapString(base::string16* s); s 186 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kGIACRLSet), s 189 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); s 216 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kGIACRLSet), s 219 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); s 229 net/cert/crl_set_unittest.cc EXPECT_EQ(s.as_string(), out); s 233 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kGIACRLSet), s 236 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); s 255 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kGIACRLSet), s 258 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); s 280 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kGIACRLSet), s 283 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); s 299 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kBlockedSPKICRLSet), s 302 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); s 319 net/cert/crl_set_unittest.cc base::StringPiece s(reinterpret_cast<const char*>(kExpiredCRLSet), s 322 net/cert/crl_set_unittest.cc EXPECT_TRUE(net::CRLSet::Parse(s, &set)); s 114 net/cookies/cookie_monster.cc bool ContainsControlCharacter(const std::string& s) { s 115 net/cookies/cookie_monster.cc for (std::string::const_iterator i = s.begin(); i != s.end(); ++i) { s 250 net/cookies/parsed_cookie.cc const std::string& s) { s 251 net/cookies/parsed_cookie.cc std::string::const_iterator end = s.end(); s 253 net/cookies/parsed_cookie.cc s.find_first_of(std::string(kTerminator, kTerminatorLen)); s 256 net/cookies/parsed_cookie.cc end = s.begin() + term_pos; s 75 net/cookies/parsed_cookie.h static std::string::const_iterator FindFirstTerminator(const std::string& s); s 29 net/disk_cache/blockfile/stats.cc const unsigned int s[] = {1, 2, 4, 8, 16}; s 34 net/disk_cache/blockfile/stats.cc value >>= s[i]; s 35 net/disk_cache/blockfile/stats.cc result |= s[i]; s 1575 net/http/http_network_transaction.cc #define STATE_CASE(s) \ s 1576 net/http/http_network_transaction.cc case s: \ s 1577 net/http/http_network_transaction.cc description = base::StringPrintf("%s (0x%08X)", #s, s); \ s 26 net/http/http_security_headers.cc const std::string s(begin, end); s 37 net/http/http_security_headers.cc if (!base::StringToInt64(s, &i) && i != kint64max) s 68 net/http/md4.cc #define RD1(a,b,c,d,k,s) a += F(b,c,d) + X[k]; a = ROTL(a,s) s 71 net/http/md4.cc #define RD2(a,b,c,d,k,s) a += G(b,c,d) + X[k] + 0x5A827999; a = ROTL(a,s) s 74 net/http/md4.cc #define RD3(a,b,c,d,k,s) a += H(b,c,d) + X[k] + 0x6ED9EBA1; a = ROTL(a,s) s 138 net/proxy/proxy_resolver_v8.cc std::string V8StringToUTF8(v8::Handle<v8::String> s) { s 139 net/proxy/proxy_resolver_v8.cc int len = s->Length(); s 142 net/proxy/proxy_resolver_v8.cc s->WriteUtf8(WriteInto(&result, len + 1)); s 147 net/proxy/proxy_resolver_v8.cc base::string16 V8StringToUTF16(v8::Handle<v8::String> s) { s 148 net/proxy/proxy_resolver_v8.cc int len = s->Length(); s 153 net/proxy/proxy_resolver_v8.cc s->Write(reinterpret_cast<uint16_t*>(WriteInto(&result, len + 1)), 0, len); s 159 net/proxy/proxy_resolver_v8.cc const std::string& s) { s 160 net/proxy/proxy_resolver_v8.cc DCHECK(IsStringASCII(s)); s 161 net/proxy/proxy_resolver_v8.cc return v8::String::NewFromUtf8(isolate, s.data(), v8::String::kNormalString, s 162 net/proxy/proxy_resolver_v8.cc s.size()); s 168 net/proxy/proxy_resolver_v8.cc v8::Isolate* isolate, const scoped_refptr<ProxyResolverScriptData>& s) { s 169 net/proxy/proxy_resolver_v8.cc if (s->utf16().size() * 2 <= kMaxStringBytesForCopy) { s 172 net/proxy/proxy_resolver_v8.cc reinterpret_cast<const uint16_t*>(s->utf16().data()), s 174 net/proxy/proxy_resolver_v8.cc s->utf16().size()); s 177 net/proxy/proxy_resolver_v8.cc new V8ExternalStringFromScriptData(s)); s 43 net/quic/crypto/channel_id_openssl.cc r(BN_new()), s(BN_new()); s 47 net/quic/crypto/channel_id_openssl.cc sig.s = s.get(); s 56 net/quic/crypto/channel_id_openssl.cc BN_bin2bn(signature_bytes + 32, 32, sig.s) == NULL) { s 29 net/quic/crypto/channel_id_test.cc const char* s; s 197 net/quic/crypto/channel_id_test.cc string s; s 206 net/quic/crypto/channel_id_test.cc ASSERT_TRUE(DecodeHexString(test_vector[i].s, &s)); s 209 net/quic/crypto/channel_id_test.cc string signature = r + s; s 215 net/quic/crypto/channel_id_test.cc EXPECT_EQ(32u, s.size()); s 124 net/quic/crypto/quic_crypto_server_config_test.cc string s; s 131 net/quic/crypto/quic_crypto_server_config_test.cc s += "(primary) "; s 133 net/quic/crypto/quic_crypto_server_config_test.cc s += " "; s 135 net/quic/crypto/quic_crypto_server_config_test.cc s += config->id; s 136 net/quic/crypto/quic_crypto_server_config_test.cc s += "\n"; s 139 net/quic/crypto/quic_crypto_server_config_test.cc return s; s 36 net/quic/quic_connection_stats.cc ostream& operator<<(ostream& os, const QuicConnectionStats& s) { s 37 net/quic/quic_connection_stats.cc os << "{ bytes sent: " << s.bytes_sent s 38 net/quic/quic_connection_stats.cc << ", packets sent:" << s.packets_sent s 39 net/quic/quic_connection_stats.cc << ", stream bytes sent: " << s.stream_bytes_sent s 40 net/quic/quic_connection_stats.cc << ", bytes received: " << s.bytes_received s 41 net/quic/quic_connection_stats.cc << ", packets received: " << s.packets_received s 42 net/quic/quic_connection_stats.cc << ", stream bytes received: " << s.stream_bytes_received s 43 net/quic/quic_connection_stats.cc << ", bytes retransmitted: " << s.bytes_retransmitted s 44 net/quic/quic_connection_stats.cc << ", packets retransmitted: " << s.packets_retransmitted s 46 net/quic/quic_connection_stats.cc << s.packets_spuriously_retransmitted s 47 net/quic/quic_connection_stats.cc << ", packets lost: " << s.packets_lost s 48 net/quic/quic_connection_stats.cc << ", packets revived: " << s.packets_revived s 49 net/quic/quic_connection_stats.cc << ", packets dropped:" << s.packets_dropped s 50 net/quic/quic_connection_stats.cc << ", crypto retransmit count: " << s.crypto_retransmit_count s 51 net/quic/quic_connection_stats.cc << ", rto count: " << s.rto_count s 52 net/quic/quic_connection_stats.cc << ", tlp count: " << s.tlp_count s 53 net/quic/quic_connection_stats.cc << ", rtt(us): " << s.rtt s 54 net/quic/quic_connection_stats.cc << ", estimated_bandwidth: " << s.estimated_bandwidth s 56 net/quic/quic_connection_stats.cc << s.cwnd_increase_congestion_avoidance s 58 net/quic/quic_connection_stats.cc << s.cwnd_increase_cubic_mode s 31 net/quic/quic_connection_stats.h std::ostream& os, const QuicConnectionStats& s); s 2239 net/quic/quic_connection_test.cc InSequence s; s 2369 net/quic/quic_connection_test.cc InSequence s; s 2381 net/quic/quic_connection_test.cc InSequence s; s 3709 net/quic/quic_connection_test.cc InSequence s; s 3750 net/quic/quic_connection_test.cc InSequence s; s 177 net/quic/quic_packet_creator.h void set_sequence_number(QuicPacketSequenceNumber s) { s 178 net/quic/quic_packet_creator.h sequence_number_ = s; s 114 net/quic/quic_packet_creator_test.cc InSequence s; s 137 net/quic/quic_packet_creator_test.cc InSequence s; s 156 net/quic/quic_packet_creator_test.cc InSequence s; s 178 net/quic/quic_packet_creator_test.cc InSequence s; s 196 net/quic/quic_packet_creator_test.cc InSequence s; s 221 net/quic/quic_packet_creator_test.cc InSequence s; s 241 net/quic/quic_packet_creator_test.cc InSequence s; s 278 net/quic/quic_packet_creator_test.cc InSequence s; s 299 net/quic/quic_packet_creator_test.cc InSequence s; s 489 net/quic/quic_packet_creator_test.cc InSequence s; s 574 net/quic/quic_packet_creator_test.cc InSequence s; s 717 net/quic/quic_protocol.cc ostream& operator<<(ostream& os, const QuicEncryptedPacket& s) { s 718 net/quic/quic_protocol.cc os << s.length() << "-byte data"; s 728 net/quic/quic_protocol.cc ostream& operator<<(ostream& os, const QuicConsumedData& s) { s 729 net/quic/quic_protocol.cc os << "bytes_consumed: " << s.bytes_consumed s 730 net/quic/quic_protocol.cc << " fin_consumed: " << s.fin_consumed; s 519 net/quic/quic_protocol.h std::ostream& os, const QuicPacketHeader& s); s 569 net/quic/quic_protocol.h std::ostream& os, const QuicStreamFrame& s); s 596 net/quic/quic_protocol.h std::ostream& os, const ReceivedPacketInfo& s); s 647 net/quic/quic_protocol.h std::ostream& os, const QuicStopWaitingFrame& s); s 665 net/quic/quic_protocol.h std::ostream& os, const QuicAckFrame& s); s 941 net/quic/quic_protocol.h std::ostream& os, const QuicEncryptedPacket& s); s 1003 net/quic/quic_protocol.h std::ostream& os, const QuicConsumedData& s); s 340 net/quic/quic_session_test.cc InSequence s; s 352 net/quic/quic_session_test.cc InSequence s; s 418 net/quic/quic_session_test.cc InSequence s; s 453 net/quic/quic_session_test.cc InSequence s; s 278 net/quic/quic_stream_sequencer_test.cc InSequence s; s 302 net/quic/quic_stream_sequencer_test.cc InSequence s; s 344 net/quic/quic_stream_sequencer_test.cc InSequence s; s 380 net/quic/quic_stream_sequencer_test.cc InSequence s; s 417 net/quic/quic_stream_sequencer_test.cc InSequence s; s 429 net/quic/quic_stream_sequencer_test.cc InSequence s; s 441 net/quic/quic_stream_sequencer_test.cc InSequence s; s 521 net/quic/quic_stream_sequencer_test.cc InSequence s; s 544 net/quic/quic_stream_sequencer_test.cc InSequence s; s 277 net/quic/quic_utils.cc string s; // our output s 281 net/quic/quic_utils.cc base::StringAppendF(&s, "0x%04x: ", offset); // Do the line header s 284 net/quic/quic_utils.cc base::StringAppendF(&s, "%02x", static_cast<unsigned char>(p[i])); s 286 net/quic/quic_utils.cc s += " "; // two-space filler instead of two-space hex digits s 288 net/quic/quic_utils.cc if (i % 2) s += ' '; s 290 net/quic/quic_utils.cc s += ' '; s 292 net/quic/quic_utils.cc s+= (p[i] > 32 && p[i] < 127) ? p[i] : '.'; s 298 net/quic/quic_utils.cc s += '\n'; s 300 net/quic/quic_utils.cc return s; s 217 net/quic/reliable_quic_stream_test.cc InSequence s; s 89 net/quic/test_tools/crypto_test_utils_openssl.cc BN_bn2bin(sig.get()->s, signature.get() + 64 - BN_num_bytes(sig.get()->s)); s 135 net/socket/client_socket_handle.cc void ClientSocketHandle::SetSocket(scoped_ptr<StreamSocket> s) { s 136 net/socket/client_socket_handle.cc socket_ = s.Pass(); s 128 net/socket/client_socket_handle.h void SetSocket(scoped_ptr<StreamSocket> s); s 33 net/socket/socket_test_util.cc #define NET_TRACE(level, s) DLOG(level) << s << __FUNCTION__ << "() " s 35 net/socket/socket_test_util.cc #define NET_TRACE(level, s) EAT_STREAM_PARAMETERS s 137 net/socket/ssl_client_socket_nss.cc #define GotoState(s) next_handshake_state_ = s s 145 net/socket/ssl_client_socket_nss.cc #define GotoState(s)\ s 147 net/socket/ssl_client_socket_nss.cc VLOG(1) << (void *)this << " " << __FUNCTION__ << " jump to state " << s;\ s 148 net/socket/ssl_client_socket_nss.cc next_handshake_state_ = s;\ s 39 net/socket/ssl_client_socket_openssl.cc #define GotoState(s) do { DVLOG(2) << (void *)this << " " << __FUNCTION__ << \ s 40 net/socket/ssl_client_socket_openssl.cc " jump to state " << s; \ s 41 net/socket/ssl_client_socket_openssl.cc next_handshake_state_ = s; } while (0) s 43 net/socket/ssl_client_socket_openssl.cc #define GotoState(s) next_handshake_state_ = s s 49 net/socket/ssl_server_socket_nss.cc #define GotoState(s) next_handshake_state_ = s s 22 net/socket/ssl_session_cache_openssl_unittest.cc extern "C" int ssl_get_new_session(SSL* s, int session); s 27 net/socket/ssl_session_cache_openssl_unittest.cc extern "C" void ssl_update_cache(SSL* s, int mode); s 52 net/socket/stream_listen_socket.cc StreamListenSocket::StreamListenSocket(SocketDescriptor s, s 55 net/socket/stream_listen_socket.cc socket_(s), s 88 net/socket/stream_listen_socket.h StreamListenSocket(SocketDescriptor s, Delegate* del); s 35 net/socket/tcp_listen_socket.cc SocketDescriptor s = CreateAndBind(ip, port); s 36 net/socket/tcp_listen_socket.cc if (s == kInvalidSocket) s 38 net/socket/tcp_listen_socket.cc scoped_ptr<TCPListenSocket> sock(new TCPListenSocket(s, del)); s 43 net/socket/tcp_listen_socket.cc TCPListenSocket::TCPListenSocket(SocketDescriptor s, s 45 net/socket/tcp_listen_socket.cc : StreamListenSocket(s, del) { s 51 net/socket/tcp_listen_socket.cc SocketDescriptor s = CreatePlatformSocket(AF_INET, SOCK_STREAM, IPPROTO_TCP); s 52 net/socket/tcp_listen_socket.cc if (s != kInvalidSocket) { s 56 net/socket/tcp_listen_socket.cc setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn)); s 63 net/socket/tcp_listen_socket.cc if (bind(s, reinterpret_cast<sockaddr*>(&addr), sizeof(addr))) { s 65 net/socket/tcp_listen_socket.cc closesocket(s); s 67 net/socket/tcp_listen_socket.cc close(s); s 70 net/socket/tcp_listen_socket.cc s = kInvalidSocket; s 73 net/socket/tcp_listen_socket.cc return s; s 78 net/socket/tcp_listen_socket.cc SocketDescriptor s = CreateAndBind(ip, 0); s 79 net/socket/tcp_listen_socket.cc if (s == kInvalidSocket) s 83 net/socket/tcp_listen_socket.cc bool failed = getsockname(s, reinterpret_cast<struct sockaddr*>(&addr), s 90 net/socket/tcp_listen_socket.cc closesocket(s); s 92 net/socket/tcp_listen_socket.cc close(s); s 97 net/socket/tcp_listen_socket.cc return s; s 34 net/socket/tcp_listen_socket.h TCPListenSocket(SocketDescriptor s, StreamListenSocket::Delegate* del); s 63 net/socket/unix_domain_socket_posix.cc SocketDescriptor s = CreateAndBind(path, use_abstract_namespace); s 64 net/socket/unix_domain_socket_posix.cc if (s == kInvalidSocket && !fallback_path.empty()) s 65 net/socket/unix_domain_socket_posix.cc s = CreateAndBind(fallback_path, use_abstract_namespace); s 66 net/socket/unix_domain_socket_posix.cc if (s == kInvalidSocket) s 69 net/socket/unix_domain_socket_posix.cc new UnixDomainSocket(s, del, auth_callback)); s 96 net/socket/unix_domain_socket_posix.cc SocketDescriptor s, s 99 net/socket/unix_domain_socket_posix.cc : StreamListenSocket(s, del), s 111 net/socket/unix_domain_socket_posix.cc const SocketDescriptor s = CreatePlatformSocket(PF_UNIX, SOCK_STREAM, 0); s 112 net/socket/unix_domain_socket_posix.cc if (s == kInvalidSocket) s 129 net/socket/unix_domain_socket_posix.cc if (bind(s, reinterpret_cast<sockaddr*>(&addr), addr_len)) { s 133 net/socket/unix_domain_socket_posix.cc if (IGNORE_EINTR(close(s)) < 0) s 137 net/socket/unix_domain_socket_posix.cc return s; s 59 net/socket/unix_domain_socket_posix.h UnixDomainSocket(SocketDescriptor s, s 979 net/socket_stream/socket_stream.cc scoped_ptr<StreamSocket> s; s 981 net/socket_stream/socket_stream.cc s.reset(new SOCKS5ClientSocket(connection_.Pass(), req_info)); s 983 net/socket_stream/socket_stream.cc s.reset(new SOCKSClientSocket(connection_.Pass(), s 989 net/socket_stream/socket_stream.cc connection_->SetSocket(s.Pass()); s 155 net/spdy/spdy_headers_block_parser_test.cc testing::InSequence s; s 875 net/spdy/spdy_stream.cc #define STATE_CASE(s) \ s 876 net/spdy/spdy_stream.cc case s: \ s 877 net/spdy/spdy_stream.cc description = base::StringPrintf("%s (0x%08X)", #s, s); \ s 30 net/spdy/spdy_write_queue_unittest.cc scoped_ptr<SpdyBufferProducer> StringToProducer(const std::string& s) { s 31 net/spdy/spdy_write_queue_unittest.cc scoped_ptr<char[]> data(new char[s.size()]); s 32 net/spdy/spdy_write_queue_unittest.cc std::memcpy(data.get(), s.data(), s.size()); s 38 net/spdy/spdy_write_queue_unittest.cc new SpdyFrame(data.release(), s.size(), true)))))); s 17 net/test/openssl_helper.cc static int sni_cb(SSL *s, int *ad, void *arg) { s 18 net/test/openssl_helper.cc const char* servername = SSL_get_servername(s, TLSEXT_NAMETYPE_host_name); s 957 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.s.sha; s 958 net/third_party/nss/ssl/ssl3con.c hashItem.len = sizeof(hash->u.s.sha); s 970 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.s.sha; s 971 net/third_party/nss/ssl/ssl3con.c hashItem.len = sizeof(hash->u.s.sha); s 1058 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.s.sha; s 1059 net/third_party/nss/ssl/ssl3con.c hashItem.len = sizeof(hash->u.s.sha); s 1086 net/third_party/nss/ssl/ssl3con.c hashItem.data = hash->u.s.sha; s 1087 net/third_party/nss/ssl/ssl3con.c hashItem.len = sizeof(hash->u.s.sha); s 1144 net/third_party/nss/ssl/ssl3con.c MD5_HashBuf (hashes->u.s.md5, hashBuf, bufLen); s 1145 net/third_party/nss/ssl/ssl3con.c SHA1_HashBuf(hashes->u.s.sha, hashBuf, bufLen); s 1167 net/third_party/nss/ssl/ssl3con.c rv = PK11_HashBuf(SEC_OID_MD5, hashes->u.s.md5, hashBuf, bufLen); s 1174 net/third_party/nss/ssl/ssl3con.c rv = PK11_HashBuf(SEC_OID_SHA1, hashes->u.s.sha, hashBuf, bufLen); s 1248 net/third_party/nss/ssl/ssl3con.c hashes->u.s.md5, MD5_LENGTH)); s 1250 net/third_party/nss/ssl/ssl3con.c hashes->u.s.sha, SHA1_LENGTH)); s 1312 net/third_party/nss/ssl/ssl3con.c hashes->u.s.md5, MD5_LENGTH)); s 1314 net/third_party/nss/ssl/ssl3con.c hashes->u.s.sha, SHA1_LENGTH)); s 4653 net/third_party/nss/ssl/ssl3con.c unsigned char s[4]; s 4655 net/third_party/nss/ssl/ssl3con.c s[0] = (unsigned char)(sender >> 24); s 4656 net/third_party/nss/ssl/ssl3con.c s[1] = (unsigned char)(sender >> 16); s 4657 net/third_party/nss/ssl/ssl3con.c s[2] = (unsigned char)(sender >> 8); s 4658 net/third_party/nss/ssl/ssl3con.c s[3] = (unsigned char)sender; s 4661 net/third_party/nss/ssl/ssl3con.c MD5_Update(md5cx, s, 4); s 4662 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(95, (NULL, "MD5 inner: sender", s, 4)); s 4675 net/third_party/nss/ssl/ssl3con.c SHA1_Update(shacx, s, 4); s 4676 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(95, (NULL, "SHA inner: sender", s, 4)); s 4696 net/third_party/nss/ssl/ssl3con.c MD5_End(md5cx, hashes->u.s.md5, &outLength, MD5_LENGTH); s 4698 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "MD5 outer: result", hashes->u.s.md5, MD5_LENGTH)); s 4710 net/third_party/nss/ssl/ssl3con.c SHA1_End(shacx, hashes->u.s.sha, &outLength, SHA1_LENGTH); s 4712 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "SHA outer: result", hashes->u.s.sha, SHA1_LENGTH)); s 4794 net/third_party/nss/ssl/ssl3con.c unsigned char s[4]; s 4796 net/third_party/nss/ssl/ssl3con.c s[0] = (unsigned char)(sender >> 24); s 4797 net/third_party/nss/ssl/ssl3con.c s[1] = (unsigned char)(sender >> 16); s 4798 net/third_party/nss/ssl/ssl3con.c s[2] = (unsigned char)(sender >> 8); s 4799 net/third_party/nss/ssl/ssl3con.c s[3] = (unsigned char)sender; s 4802 net/third_party/nss/ssl/ssl3con.c rv |= PK11_DigestOp(md5, s, 4); s 4803 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(95, (NULL, "MD5 inner: sender", s, 4)); s 4822 net/third_party/nss/ssl/ssl3con.c rv |= PK11_DigestOp(sha, s, 4); s 4823 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(95, (NULL, "SHA inner: sender", s, 4)); s 4850 net/third_party/nss/ssl/ssl3con.c rv |= PK11_DigestFinal(md5, hashes->u.s.md5, &outLength, MD5_LENGTH); s 4858 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "MD5 outer: result", hashes->u.s.md5, MD5_LENGTH)); s 4870 net/third_party/nss/ssl/ssl3con.c rv |= PK11_DigestFinal(sha, hashes->u.s.sha, &outLength, SHA1_LENGTH); s 4878 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "SHA outer: result", hashes->u.s.sha, SHA1_LENGTH)); s 10983 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.finishedMsgs.sFinished[1] = hashes.u.s; s 10985 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.finishedMsgs.sFinished[0] = hashes.u.s; s 10986 net/third_party/nss/ssl/ssl3con.c PORT_Assert(hashes.len == sizeof hashes.u.s); s 10987 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.finishedBytes = sizeof hashes.u.s; s 10988 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeHeader(ss, finished, sizeof hashes.u.s); s 10991 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshake(ss, &hashes.u.s, sizeof hashes.u.s); s 11147 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.finishedMsgs.sFinished[1] = hashes->u.s; s 11149 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.finishedMsgs.sFinished[0] = hashes->u.s; s 11150 net/third_party/nss/ssl/ssl3con.c PORT_Assert(hashes->len == sizeof hashes->u.s); s 11151 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.finishedBytes = sizeof hashes->u.s; s 11152 net/third_party/nss/ssl/ssl3con.c if (0 != NSS_SecureMemcmp(&hashes->u.s, b, length)) { s 260 net/third_party/nss/ssl/ssl3ecc.c hashes->u.s.md5, MD5_LENGTH)); s 262 net/third_party/nss/ssl/ssl3ecc.c hashes->u.s.sha, SHA1_LENGTH)); s 256 net/third_party/nss/ssl/ssl3prot.h SSL3HashesIndividually s; s 183 net/third_party/nss/ssl/sslauth.c SSL_AuthCertificateHook(PRFileDesc *s, SSLAuthCertificate func, void *arg) s 187 net/third_party/nss/ssl/sslauth.c ss = ssl_FindSocket(s); s 190 net/third_party/nss/ssl/sslauth.c SSL_GETPID(), s)); s 202 net/third_party/nss/ssl/sslauth.c SSL_GetClientAuthDataHook(PRFileDesc *s, SSLGetClientAuthData func, s 207 net/third_party/nss/ssl/sslauth.c ss = ssl_FindSocket(s); s 210 net/third_party/nss/ssl/sslauth.c SSL_GETPID(), s)); s 240 net/third_party/nss/ssl/sslauth.c SSL_GetPlatformClientAuthDataHook(PRFileDesc *s, s 246 net/third_party/nss/ssl/sslauth.c ss = ssl_FindSocket(s); s 249 net/third_party/nss/ssl/sslauth.c SSL_GETPID(), s)); s 261 net/third_party/nss/ssl/sslauth.c SSL_SetPKCS11PinArg(PRFileDesc *s, void *arg) s 265 net/third_party/nss/ssl/sslauth.c ss = ssl_FindSocket(s); s 268 net/third_party/nss/ssl/sslauth.c SSL_GETPID(), s)); s 2164 net/third_party/nss/ssl/sslcon.c ssl2_ClientRegSessionID(sslSocket *ss, PRUint8 *s) s 2170 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(sid->u.ssl2.sessionID, s, sizeof(sid->u.ssl2.sessionID)); s 1690 net/third_party/nss/ssl/sslimpl.h #define SSL_RSASTRENGTH_TO_ECSTRENGTH(s) \ s 1691 net/third_party/nss/ssl/sslimpl.h ((s <= 1024) ? 160 \ s 1692 net/third_party/nss/ssl/sslimpl.h : ((s <= 2048) ? 224 \ s 1693 net/third_party/nss/ssl/sslimpl.h : ((s <= 3072) ? 256 \ s 1694 net/third_party/nss/ssl/sslimpl.h : ((s <= 7168) ? 384 : 521 ) ) ) ) s 263 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.s.sha; s 264 net/third_party/nss/ssl/sslplatf.c hashItem.len = sizeof(hash->u.s.sha); s 381 net/third_party/nss/ssl/sslplatf.c hashItem.data = hash->u.s.sha; s 382 net/third_party/nss/ssl/sslplatf.c hashItem.len = sizeof(hash->u.s.sha); s 659 net/third_party/nss/ssl/sslplatf.c hashData.Data = hash->u.s.sha; s 660 net/third_party/nss/ssl/sslplatf.c hashData.Length = sizeof(hash->u.s.sha); s 194 net/third_party/nss/ssl/sslsecur.c SSL_ResetHandshake(PRFileDesc *s, PRBool asServer) s 200 net/third_party/nss/ssl/sslsecur.c ss = ssl_FindSocket(s); s 202 net/third_party/nss/ssl/sslsecur.c SSL_DBG(("%d: SSL[%d]: bad socket in ResetHandshake", SSL_GETPID(), s)); s 274 net/third_party/nss/ssl/sslsnce.c static PRUint32 SIDindex(cacheDesc *cache, const PRIPv6Addr *addr, PRUint8 *s, s 666 net/third_party/nss/ssl/sslsnce.c SIDindex(cacheDesc *cache, const PRIPv6Addr *addr, PRUint8 *s, unsigned nl) s 674 net/third_party/nss/ssl/sslsnce.c memcpy(x, s, nl); s 93 net/tools/balsa/balsa_frame_test.cc InSequence s; s 119 net/tools/balsa/balsa_frame_test.cc InSequence s; s 175 net/tools/balsa/balsa_frame_test.cc InSequence s; s 234 net/tools/balsa/balsa_frame_test.cc InSequence s; s 283 net/tools/balsa/balsa_frame_test.cc InSequence s; s 316 net/tools/balsa/balsa_frame_test.cc InSequence s; s 340 net/tools/balsa/balsa_frame_test.cc InSequence s; s 367 net/tools/balsa/balsa_frame_test.cc InSequence s; s 387 net/tools/balsa/balsa_frame_test.cc InSequence s; s 416 net/tools/balsa/balsa_frame_test.cc InSequence s; s 468 net/tools/balsa/balsa_frame_test.cc InSequence s; s 521 net/tools/balsa/balsa_frame_test.cc InSequence s; s 566 net/tools/balsa/balsa_frame_test.cc InSequence s; s 1011 net/tools/balsa/balsa_headers.h void GetReadablePtrFromHeaderStream(const char** p, size_t* s) { s 1013 net/tools/balsa/balsa_headers.h *s = GetReadableBytesFromHeaderStream(); s 220 net/tools/balsa/balsa_headers_test.cc std::string s; s 222 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeaderAsString("keY1", &s); s 226 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("value1,value2", s); s 238 net/tools/balsa/balsa_headers_test.cc std::string s; s 240 net/tools/balsa/balsa_headers_test.cc headers_->GetAllOfHeaderAsString("key1", &s); s 244 net/tools/balsa/balsa_headers_test.cc ASSERT_EQ("value2,value1", s); s 54 net/tools/balsa/simple_buffer.cc std::string s; s 58 net/tools/balsa/simple_buffer.cc s.append(readable_ptr, readable_ptr + readable_size); s 59 net/tools/balsa/simple_buffer.cc return s; s 26 net/tools/balsa/split.cc base::StringPiece::const_iterator s = full.begin(); s 27 net/tools/balsa/split.cc base::StringPiece::const_iterator e = s; s 30 net/tools/balsa/split.cc if (e != s || !omit_empty_strings) { s 31 net/tools/balsa/split.cc vec->push_back(base::StringPiece(s, e - s)); s 33 net/tools/balsa/split.cc s = e; s 34 net/tools/balsa/split.cc ++s; s 37 net/tools/balsa/split.cc if (s != e) { s 39 net/tools/balsa/split.cc if (e != s || !omit_empty_strings) { s 40 net/tools/balsa/split.cc vec->push_back(base::StringPiece(s, e - s)); s 44 net/tools/balsa/split.cc base::StringPiece::const_iterator s = full.begin(); s 45 net/tools/balsa/split.cc base::StringPiece::const_iterator e = s; s 55 net/tools/balsa/split.cc if (e != s || !omit_empty_strings) { s 56 net/tools/balsa/split.cc vec->push_back(base::StringPiece(s, e - s)); s 58 net/tools/balsa/split.cc s = e; s 59 net/tools/balsa/split.cc ++s; s 62 net/tools/balsa/split.cc if (s != e) { s 64 net/tools/balsa/split.cc if (e != s || !omit_empty_strings) { s 65 net/tools/balsa/split.cc vec->push_back(base::StringPiece(s, e - s)); s 507 net/tools/epoll_server/epoll_server.cc std::string s; s 508 net/tools/epoll_server/epoll_server.cc if (event_mask & EPOLLIN) s += "EPOLLIN "; s 509 net/tools/epoll_server/epoll_server.cc if (event_mask & EPOLLPRI) s += "EPOLLPRI "; s 510 net/tools/epoll_server/epoll_server.cc if (event_mask & EPOLLOUT) s += "EPOLLOUT "; s 511 net/tools/epoll_server/epoll_server.cc if (event_mask & EPOLLRDNORM) s += "EPOLLRDNORM "; s 512 net/tools/epoll_server/epoll_server.cc if (event_mask & EPOLLRDBAND) s += "EPOLLRDBAND "; s 513 net/tools/epoll_server/epoll_server.cc if (event_mask & EPOLLWRNORM) s += "EPOLLWRNORM "; s 514 net/tools/epoll_server/epoll_server.cc if (event_mask & EPOLLWRBAND) s += "EPOLLWRBAND "; s 515 net/tools/epoll_server/epoll_server.cc if (event_mask & EPOLLMSG) s += "EPOLLMSG "; s 516 net/tools/epoll_server/epoll_server.cc if (event_mask & EPOLLERR) s += "EPOLLERR "; s 517 net/tools/epoll_server/epoll_server.cc if (event_mask & EPOLLHUP) s += "EPOLLHUP "; s 518 net/tools/epoll_server/epoll_server.cc if (event_mask & EPOLLONESHOT) s += "EPOLLONESHOT "; s 519 net/tools/epoll_server/epoll_server.cc if (event_mask & EPOLLET) s += "EPOLLET "; s 520 net/tools/epoll_server/epoll_server.cc return s; s 55 net/tools/flip_server/flip_in_mem_edsm_server.cc std::vector<std::string>& split(const std::string& s, s 58 net/tools/flip_server/flip_in_mem_edsm_server.cc std::stringstream ss(s); s 66 net/tools/flip_server/flip_in_mem_edsm_server.cc std::vector<std::string> split(const std::string& s, char delim) { s 68 net/tools/flip_server/flip_in_mem_edsm_server.cc return split(s, delim, elems); s 152 net/tools/flip_server/http_interface_test.cc InSequence s; s 177 net/tools/flip_server/http_interface_test.cc InSequence s; s 212 net/tools/flip_server/http_interface_test.cc InSequence s; s 235 net/tools/flip_server/http_interface_test.cc InSequence s; s 360 net/tools/flip_server/http_interface_test.cc InSequence s; s 373 net/tools/flip_server/http_interface_test.cc InSequence s; s 383 net/tools/flip_server/http_interface_test.cc InSequence s; s 396 net/tools/flip_server/http_interface_test.cc InSequence s; s 429 net/tools/flip_server/http_interface_test.cc InSequence s; s 442 net/tools/flip_server/http_interface_test.cc InSequence s; s 457 net/tools/flip_server/http_interface_test.cc InSequence s; s 467 net/tools/flip_server/http_interface_test.cc InSequence s; s 480 net/tools/flip_server/http_interface_test.cc InSequence s; s 207 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 234 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 268 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 301 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 335 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 421 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 467 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 516 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 569 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 603 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 637 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 673 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 704 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 728 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 850 net/tools/flip_server/spdy_interface_test.cc InSequence s; s 22 net/tools/flip_server/spdy_ssl.cc int ssl_set_npn_callback(SSL* s, s 387 net/tools/quic/quic_dispatcher_test.cc InSequence s; s 448 net/tools/quic/quic_dispatcher_test.cc InSequence s; s 465 net/tools/quic/quic_dispatcher_test.cc InSequence s; s 483 net/tools/quic/quic_dispatcher_test.cc InSequence s; s 35 net/tools/quic/quic_server_session_test.cc QuicServerSession* s, QuicStreamId id) { s 36 net/tools/quic/quic_server_session_test.cc return s->GetIncomingDataStream(id); s 38 net/tools/quic/quic_server_session_test.cc static QuicDataStream* GetDataStream(QuicServerSession* s, QuicStreamId id) { s 39 net/tools/quic/quic_server_session_test.cc return s->GetDataStream(id); s 211 net/tools/quic/quic_spdy_server_stream_test.cc InSequence s; s 229 net/tools/quic/quic_spdy_server_stream_test.cc InSequence s; s 33 net/url_request/url_request_status.h URLRequestStatus(Status s, int e) : status_(s), error_(e) {} s 36 net/url_request/url_request_status.h void set_status(Status s) { status_ = s; } s 712 net/websockets/websocket_channel_test.cc std::vector<char> AsVector(const std::string& s) { s 713 net/websockets/websocket_channel_test.cc return std::vector<char>(s.begin(), s.end()); s 1356 net/websockets/websocket_channel_test.cc InSequence s; s 1381 net/websockets/websocket_channel_test.cc InSequence s; s 1403 net/websockets/websocket_channel_test.cc InSequence s; s 1424 net/websockets/websocket_channel_test.cc InSequence s; s 1454 net/websockets/websocket_channel_test.cc InSequence s; s 1496 net/websockets/websocket_channel_test.cc InSequence s; s 1549 net/websockets/websocket_channel_test.cc InSequence s; s 1568 net/websockets/websocket_channel_test.cc InSequence s; s 1589 net/websockets/websocket_channel_test.cc InSequence s; s 1612 net/websockets/websocket_channel_test.cc InSequence s; s 1643 net/websockets/websocket_channel_test.cc InSequence s; s 1688 net/websockets/websocket_channel_test.cc InSequence s; s 1706 net/websockets/websocket_channel_test.cc InSequence s; s 1723 net/websockets/websocket_channel_test.cc InSequence s; s 1744 net/websockets/websocket_channel_test.cc InSequence s; s 1774 net/websockets/websocket_channel_test.cc InSequence s; s 1791 net/websockets/websocket_channel_test.cc InSequence s; s 1811 net/websockets/websocket_channel_test.cc InSequence s; s 1925 net/websockets/websocket_channel_test.cc InSequence s; s 1944 net/websockets/websocket_channel_test.cc InSequence s; s 1967 net/websockets/websocket_channel_test.cc InSequence s; s 2010 net/websockets/websocket_channel_test.cc InSequence s; s 2119 net/websockets/websocket_channel_test.cc InSequence s; s 2152 net/websockets/websocket_channel_test.cc InSequence s; s 2173 net/websockets/websocket_channel_test.cc InSequence s; s 2198 net/websockets/websocket_channel_test.cc InSequence s; s 2238 net/websockets/websocket_channel_test.cc InSequence s; s 2264 net/websockets/websocket_channel_test.cc InSequence s; s 2293 net/websockets/websocket_channel_test.cc InSequence s; s 2325 net/websockets/websocket_channel_test.cc InSequence s; s 2371 net/websockets/websocket_channel_test.cc InSequence s; s 2415 net/websockets/websocket_channel_test.cc InSequence s; s 2518 net/websockets/websocket_channel_test.cc InSequence s; s 2701 net/websockets/websocket_channel_test.cc InSequence s; s 2734 net/websockets/websocket_channel_test.cc InSequence s; s 2773 net/websockets/websocket_channel_test.cc InSequence s; s 3006 net/websockets/websocket_channel_test.cc InSequence s; s 3235 net/websockets/websocket_channel_test.cc InSequence s; s 3296 net/websockets/websocket_channel_test.cc InSequence s; s 3323 net/websockets/websocket_channel_test.cc InSequence s; s 3352 net/websockets/websocket_channel_test.cc InSequence s; s 48 net/websockets/websocket_deflate_stream_test.cc scoped_refptr<IOBuffer> ToIOBuffer(const std::string& s) { s 49 net/websockets/websocket_deflate_stream_test.cc scoped_refptr<IOBuffer> buffer = new IOBuffer(s.size()); s 50 net/websockets/websocket_deflate_stream_test.cc memcpy(buffer->data(), s.data(), s.size()); s 348 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 365 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 386 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 417 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 446 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 465 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 504 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 541 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 567 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 592 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 623 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 651 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 678 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 711 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 754 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 778 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 802 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 833 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 866 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 899 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 926 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 956 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 966 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 984 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 1005 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 1037 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 1062 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 1086 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 1112 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 1168 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 1196 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 1232 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 1274 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 1293 net/websockets/websocket_deflate_stream_test.cc InSequence s; s 93 ppapi/c/ppb_opengles2.h void (*ClearStencil)(PP_Resource context, GLint s); s 47 ppapi/cpp/dev/font_dev.h void set_size(uint32_t s) { pp_font_description_.size = s; } s 58 ppapi/cpp/dev/font_dev.h void set_small_caps(bool s) { s 59 ppapi/cpp/dev/font_dev.h pp_font_description_.small_caps = PP_FromBool(s); s 63 ppapi/cpp/dev/font_dev.h void set_letter_spacing(int s) { pp_font_description_.letter_spacing = s; } s 76 ppapi/cpp/rect.h explicit Rect(const Size& s) { s 79 ppapi/cpp/rect.h set_size(s); s 212 ppapi/cpp/rect.h void set_size(const Size& s) { s 213 ppapi/cpp/rect.h rect_.size.width = s.width(); s 214 ppapi/cpp/rect.h rect_.size.height = s.height(); s 32 ppapi/cpp/size.h Size(const PP_Size& s) { // Implicit. s 34 ppapi/cpp/size.h set_width(s.width); s 35 ppapi/cpp/size.h set_height(s.height); s 49 ppapi/cpp/trusted/browser_font_trusted.h void set_size(uint32_t s) { pp_font_description_.size = s; } s 64 ppapi/cpp/trusted/browser_font_trusted.h void set_small_caps(bool s) { s 65 ppapi/cpp/trusted/browser_font_trusted.h pp_font_description_.small_caps = PP_FromBool(s); s 69 ppapi/cpp/trusted/browser_font_trusted.h void set_letter_spacing(int s) { pp_font_description_.letter_spacing = s; } s 464 ppapi/examples/video_decode/video_decode.cc LogError(this).s() << "Received error: " << error; s 521 ppapi/examples/video_decode/video_decode.cc LogError(this).s() << "Rendered frames: " << num_frames_rendered_ s 113 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glClearStencil(GLint s) { s 114 ppapi/lib/gl/gles2/gles2.c glGetInterfacePPAPI()->ClearStencil(glGetCurrentContextPPAPI(), s); s 657 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glClearStencil (GLint s); s 158 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc const nacl::string& name, double kb, double s) { s 159 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc if (kb < 0.0 || s <= 0.0) return; s 161 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc static_cast<int64_t>(kb / s), s 40 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc PP_Var PP_MakeString(const char* s) { s 41 ppapi/native_client/tests/ppapi_test_lib/test_interface.cc return PPBVar()->VarFromUtf8(s, strlen(s)); s 102 ppapi/native_client/tests/ppapi_test_lib/test_interface.h PP_Var PP_MakeString(const char* s); s 142 ppapi/native_client/tests/ppapi_test_lib/test_interface.h std::stringstream s; s 143 ppapi/native_client/tests/ppapi_test_lib/test_interface.h s << v; s 144 ppapi/native_client/tests/ppapi_test_lib/test_interface.h return s.str(); s 96 ppapi/proxy/plugin_array_buffer_var.cc SharedMemory s(tmp_handle, false); s 97 ppapi/proxy/plugin_array_buffer_var.cc if (!s.Map(ByteLength())) s 99 ppapi/proxy/plugin_array_buffer_var.cc memcpy(s.memory(), Map(), ByteLength()); s 100 ppapi/proxy/plugin_array_buffer_var.cc s.Unmap(); s 28 ppapi/proxy/ppp_messaging_proxy_perftest.cc std::string s = string_var->value(); s 30 ppapi/proxy/ppp_messaging_proxy_perftest.cc if (s.length() > 0) s 31 ppapi/proxy/ppp_messaging_proxy_perftest.cc s[0] = 'a'; s 187 ppapi/shared_impl/ppb_opengles2_shared.cc void ClearStencil(PP_Resource context_id, GLint s) { s 190 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->ClearStencil(s); s 22 ppapi/tests/test_instance_deprecated.h void set_string(const std::string& s) { string_ = s; } s 17 ppapi/tests/test_tcp_socket.cc bool ValidateHttpResponse(const std::string& s) { s 19 ppapi/tests/test_tcp_socket.cc return s.size() >= 5 && s 20 ppapi/tests/test_tcp_socket.cc s.substr(0, 5) == "HTTP/" && s 21 ppapi/tests/test_tcp_socket.cc s.substr(s.size() - 2) == "\r\n"; s 130 ppapi/tests/test_tcp_socket.cc std::string s; s 131 ppapi/tests/test_tcp_socket.cc ASSERT_SUBTEST_SUCCESS(ReadFirstLineFromSocket(&socket, &s)); s 132 ppapi/tests/test_tcp_socket.cc ASSERT_TRUE(ValidateHttpResponse(s)); s 329 ppapi/tests/test_tcp_socket.cc std::string s; s 330 ppapi/tests/test_tcp_socket.cc ASSERT_SUBTEST_SUCCESS(ReadFirstLineFromSocket_1_0(socket, &s)); s 331 ppapi/tests/test_tcp_socket.cc ASSERT_TRUE(ValidateHttpResponse(s)); s 338 ppapi/tests/test_tcp_socket.cc std::string* s) { s 341 ppapi/tests/test_tcp_socket.cc s->clear(); s 343 ppapi/tests/test_tcp_socket.cc while (s->size() < 10000) { s 348 ppapi/tests/test_tcp_socket.cc s->reserve(s->size() + cb.result()); s 350 ppapi/tests/test_tcp_socket.cc s->push_back(buffer[i]); s 359 ppapi/tests/test_tcp_socket.cc std::string* s) { s 362 ppapi/tests/test_tcp_socket.cc s->clear(); s 364 ppapi/tests/test_tcp_socket.cc while (s->size() < 10000) { s 371 ppapi/tests/test_tcp_socket.cc s->reserve(s->size() + cb.result()); s 373 ppapi/tests/test_tcp_socket.cc s->push_back(buffer[i]); s 398 ppapi/tests/test_tcp_socket.cc const std::string& s) { s 399 ppapi/tests/test_tcp_socket.cc const char* buffer = s.data(); s 401 ppapi/tests/test_tcp_socket.cc while (written < s.size()) { s 404 ppapi/tests/test_tcp_socket.cc socket->Write(buffer + written, s.size() - written, cb.GetCallback())); s 409 ppapi/tests/test_tcp_socket.cc ASSERT_EQ(written, s.size()); s 415 ppapi/tests/test_tcp_socket.cc const std::string& s) { s 416 ppapi/tests/test_tcp_socket.cc const char* buffer = s.data(); s 418 ppapi/tests/test_tcp_socket.cc while (written < s.size()) { s 421 ppapi/tests/test_tcp_socket.cc socket, buffer + written, s.size() - written, s 427 ppapi/tests/test_tcp_socket.cc ASSERT_EQ(written, s.size()); s 35 ppapi/tests/test_tcp_socket.h std::string ReadFirstLineFromSocket(pp::TCPSocket* socket, std::string* s); s 37 ppapi/tests/test_tcp_socket.h std::string* s); s 41 ppapi/tests/test_tcp_socket.h std::string WriteToSocket(pp::TCPSocket* socket, const std::string& s); s 42 ppapi/tests/test_tcp_socket.h std::string WriteToSocket_1_0(PP_Resource socket, const std::string& s); s 18 ppapi/tests/test_tcp_socket_private.cc bool ValidateHttpResponse(const std::string& s) { s 20 ppapi/tests/test_tcp_socket_private.cc return s.size() >= 5 && s 21 ppapi/tests/test_tcp_socket_private.cc s.substr(0, 5) == "HTTP/" && s 22 ppapi/tests/test_tcp_socket_private.cc s.substr(s.size() - 2) == "\r\n"; s 89 ppapi/tests/test_tcp_socket_private.cc std::string s; s 90 ppapi/tests/test_tcp_socket_private.cc ASSERT_EQ(PP_OK, ReadFirstLineFromSocket(&socket, &s)); s 91 ppapi/tests/test_tcp_socket_private.cc ASSERT_TRUE(ValidateHttpResponse(s)); s 114 ppapi/tests/test_tcp_socket_private.cc std::string s; s 115 ppapi/tests/test_tcp_socket_private.cc ASSERT_EQ(PP_OK, ReadFirstLineFromSocket(&socket, &s)); s 116 ppapi/tests/test_tcp_socket_private.cc ASSERT_TRUE(ValidateHttpResponse(s)); s 147 ppapi/tests/test_tcp_socket_private.cc std::string s; s 148 ppapi/tests/test_tcp_socket_private.cc ASSERT_EQ(PP_OK, ReadFirstLineFromSocket(&socket, &s)); s 149 ppapi/tests/test_tcp_socket_private.cc ASSERT_TRUE(ValidateHttpResponse(s)); s 218 ppapi/tests/test_tcp_socket_private.cc std::string* s) { s 221 ppapi/tests/test_tcp_socket_private.cc s->clear(); s 223 ppapi/tests/test_tcp_socket_private.cc while (s->size() < 1000000) { s 233 ppapi/tests/test_tcp_socket_private.cc s->reserve(s->size() + cb.result()); s 235 ppapi/tests/test_tcp_socket_private.cc s->push_back(buffer[i]); s 244 ppapi/tests/test_tcp_socket_private.cc const std::string& s) { s 245 ppapi/tests/test_tcp_socket_private.cc const char* buffer = s.data(); s 247 ppapi/tests/test_tcp_socket_private.cc while (written < s.size()) { s 249 ppapi/tests/test_tcp_socket_private.cc int32_t rv = socket->Write(buffer + written, s.size() - written, s 260 ppapi/tests/test_tcp_socket_private.cc if (written != s.size()) s 33 ppapi/tests/test_tcp_socket_private.h int32_t ReadFirstLineFromSocket(pp::TCPSocketPrivate* socket, std::string* s); s 35 ppapi/tests/test_tcp_socket_private.h const std::string& s); s 84 ppapi/tests/test_url_request.cc PP_Var TestURLRequest::PP_MakeString(const char* s) { s 85 ppapi/tests/test_url_request.cc return ppb_var_interface_->VarFromUtf8(s, strlen(s)); s 38 ppapi/tests/test_url_request.h PP_Var PP_MakeString(const char* s); s 65 remoting/client/key_event_mapper_unittest.cc InSequence s; s 89 remoting/client/key_event_mapper_unittest.cc InSequence s; s 125 remoting/client/key_event_mapper_unittest.cc InSequence s; s 70 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc InSequence s; s 91 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc InSequence s; s 113 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc InSequence s; s 133 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc InSequence s; s 153 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc InSequence s; s 175 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc InSequence s; s 199 remoting/client/plugin/normalizing_input_filter_cros_unittest.cc InSequence s; s 53 remoting/client/plugin/normalizing_input_filter_mac_unittest.cc InSequence s; s 71 remoting/client/plugin/normalizing_input_filter_mac_unittest.cc InSequence s; s 91 remoting/client/plugin/normalizing_input_filter_mac_unittest.cc InSequence s; s 152 remoting/client/plugin/normalizing_input_filter_mac_unittest.cc InSequence s; s 195 remoting/client/plugin/normalizing_input_filter_mac_unittest.cc InSequence s; s 224 remoting/client/plugin/normalizing_input_filter_mac_unittest.cc InSequence s; s 268 remoting/host/client_session_unittest.cc Sequence s; s 270 remoting/host/client_session_unittest.cc .InSequence(s) s 282 remoting/host/client_session_unittest.cc .InSequence(s); s 284 remoting/host/client_session_unittest.cc .InSequence(s); s 351 remoting/host/client_session_unittest.cc Sequence s; s 353 remoting/host/client_session_unittest.cc .InSequence(s) s 367 remoting/host/client_session_unittest.cc .InSequence(s); s 369 remoting/host/client_session_unittest.cc .InSequence(s); s 371 remoting/host/client_session_unittest.cc .InSequence(s); s 373 remoting/host/client_session_unittest.cc .InSequence(s); s 406 remoting/host/client_session_unittest.cc Sequence s; s 408 remoting/host/client_session_unittest.cc .InSequence(s) s 429 remoting/host/client_session_unittest.cc .InSequence(s); s 431 remoting/host/client_session_unittest.cc .InSequence(s); s 433 remoting/host/client_session_unittest.cc .InSequence(s); s 463 remoting/host/client_session_unittest.cc Sequence s; s 465 remoting/host/client_session_unittest.cc .InSequence(s) s 474 remoting/host/client_session_unittest.cc .InSequence(s); s 476 remoting/host/client_session_unittest.cc .InSequence(s); s 479 remoting/host/client_session_unittest.cc .InSequence(s); s 481 remoting/host/client_session_unittest.cc .InSequence(s); s 483 remoting/host/client_session_unittest.cc .InSequence(s); s 486 remoting/host/client_session_unittest.cc .InSequence(s); s 488 remoting/host/client_session_unittest.cc .InSequence(s); s 112 remoting/host/config_file_watcher_unittest.cc MATCHER_P(EqualsString, s, "") { s 113 remoting/host/config_file_watcher_unittest.cc return arg == s; s 223 remoting/host/daemon_process_unittest.cc InSequence s; s 245 remoting/host/daemon_process_unittest.cc InSequence s; s 267 remoting/host/daemon_process_unittest.cc InSequence s; s 296 remoting/host/daemon_process_unittest.cc InSequence s; s 317 remoting/host/daemon_process_unittest.cc InSequence s; s 273 remoting/host/desktop_process_unittest.cc InSequence s; s 296 remoting/host/desktop_process_unittest.cc InSequence s; s 308 remoting/host/desktop_process_unittest.cc InSequence s; s 323 remoting/host/desktop_process_unittest.cc InSequence s; s 148 remoting/host/log_to_server_unittest.cc InSequence s; s 176 remoting/host/log_to_server_unittest.cc InSequence s; s 204 remoting/host/log_to_server_unittest.cc InSequence s; s 223 remoting/host/log_to_server_unittest.cc InSequence s; s 54 remoting/host/server_log_entry_unittest.cc std::stringstream s; s 55 remoting/host/server_log_entry_unittest.cc s << "stanza has " << attrCount << " keys: expected " s 57 remoting/host/server_log_entry_unittest.cc *error = s.str(); s 11 remoting/host/setup/oauth_helper_unittest.cc std::string Replace(const std::string& s, const std::string& old_substr, s 13 remoting/host/setup/oauth_helper_unittest.cc size_t pos = s.find(old_substr); s 15 remoting/host/setup/oauth_helper_unittest.cc return s; s 17 remoting/host/setup/oauth_helper_unittest.cc return s.substr(0, pos) + new_substr + s 18 remoting/host/setup/oauth_helper_unittest.cc s.substr(pos + old_substr.length(), std::string::npos); s 37 remoting/protocol/clipboard_echo_filter_unittest.cc InSequence s; s 81 remoting/protocol/input_event_tracker_unittest.cc InSequence s; s 110 remoting/protocol/input_event_tracker_unittest.cc InSequence s; s 157 remoting/protocol/input_event_tracker_unittest.cc InSequence s; s 207 remoting/protocol/input_event_tracker_unittest.cc InSequence s; s 93 remoting/protocol/mouse_input_filter_unittest.cc InSequence s; s 121 remoting/protocol/mouse_input_filter_unittest.cc InSequence s; s 149 remoting/protocol/mouse_input_filter_unittest.cc InSequence s; s 199 remoting/protocol/pairing_registry_unittest.cc Sequence s; s 201 remoting/protocol/pairing_registry_unittest.cc .InSequence(s); s 203 remoting/protocol/pairing_registry_unittest.cc .InSequence(s); s 205 remoting/protocol/pairing_registry_unittest.cc .InSequence(s); s 207 remoting/protocol/pairing_registry_unittest.cc .InSequence(s); s 209 remoting/protocol/pairing_registry_unittest.cc .InSequence(s); s 211 remoting/protocol/pairing_registry_unittest.cc .InSequence(s); s 213 remoting/protocol/pairing_registry_unittest.cc .InSequence(s); s 215 remoting/protocol/pairing_registry_unittest.cc .InSequence(s) s 45 rlz/lib/assert.h inline void SetExpectedAssertion(const char* s) { s 47 rlz/lib/assert.h expected_assertion_ = s; s 73 sandbox/linux/seccomp-bpf/die.cc std::string s = std::string(file) + ":" + buf + ":" + msg + "\n"; s 78 sandbox/linux/seccomp-bpf/die.cc HANDLE_EINTR(SandboxSyscall(__NR_write, 2, s.c_str(), s.length()))); s 71 sandbox/linux/seccomp-bpf/trap.h TrapKey(TrapFnc f, const void* a, bool s) : fnc(f), aux(a), safe(s) {} s 215 sandbox/linux/services/credentials.cc struct stat s; s 217 sandbox/linux/services/credentials.cc CHECK(fstatat(proc_self_fd, e.d_name, &s, 0) == 0); s 218 sandbox/linux/services/credentials.cc if (S_ISDIR(s.st_mode)) { s 49 sandbox/linux/tests/unit_tests.h #define DEATH_BY_SIGNAL(s) \ s 51 sandbox/linux/tests/unit_tests.h reinterpret_cast<void*>(static_cast<intptr_t>(s)) s 72 sandbox/win/src/nt_internals.h #define InitializeObjectAttributes(p, n, a, r, s) { \ s 77 sandbox/win/src/nt_internals.h (p)->SecurityDescriptor = s;\ s 154 sandbox/win/tools/finder/ntundoc.h #define InitializeObjectAttributes( p, n, a, r, s ) { \ s 159 sandbox/win/tools/finder/ntundoc.h (p)->SecurityDescriptor = s; \ s 186 skia/ext/image_operations_bench.cc const std::string& s = iter->first; s 193 skia/ext/image_operations_bench.cc if (s == "source") { s 195 skia/ext/image_operations_bench.cc } else if (s == "destination") { s 197 skia/ext/image_operations_bench.cc } else if (s == "iterations") { s 201 skia/ext/image_operations_bench.cc } else if (s == "method") { s 635 sql/connection.cc Statement s(GetUniqueStatement("ATTACH DATABASE ? AS ?")); s 637 sql/connection.cc s.BindString16(0, other_db_path.value()); s 639 sql/connection.cc s.BindString(0, other_db_path.value()); s 641 sql/connection.cc s.BindString(1, attachment_point); s 642 sql/connection.cc return s.Run(); s 648 sql/connection.cc Statement s(GetUniqueStatement("DETACH DATABASE ?")); s 649 sql/connection.cc s.BindString(0, attachment_point); s 650 sql/connection.cc return s.Run(); s 25 sql/connection_unittest.cc sql::Statement s(db->GetUniqueStatement(kMasterCount)); s 26 sql/connection_unittest.cc return s.Step() ? s.ColumnInt(0) : -1; s 147 sql/connection_unittest.cc sql::Statement s(db().GetCachedStatement(id1, "SELECT a FROM foo")); s 148 sql/connection_unittest.cc ASSERT_TRUE(s.is_valid()); s 150 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 151 sql/connection_unittest.cc EXPECT_EQ(12, s.ColumnInt(0)); s 160 sql/connection_unittest.cc sql::Statement s(db().GetCachedStatement(id1, "something invalid(")); s 161 sql/connection_unittest.cc ASSERT_TRUE(s.is_valid()); s 163 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 164 sql/connection_unittest.cc EXPECT_EQ(12, s.ColumnInt(0)); s 204 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement("SELECT value FROM foo WHERE id=?")); s 205 sql/connection_unittest.cc s.BindInt64(0, row); s 206 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 207 sql/connection_unittest.cc EXPECT_EQ(12, s.ColumnInt(0)); s 293 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement("PRAGMA auto_vacuum")); s 294 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 295 sql/connection_unittest.cc pragma_auto_vacuum = s.ColumnInt(0); s 303 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement("PRAGMA page_count")); s 304 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 305 sql/connection_unittest.cc EXPECT_EQ(kExpectedPageCount, s.ColumnInt(0)); s 309 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement("SELECT * FROM sqlite_master")); s 310 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 311 sql/connection_unittest.cc EXPECT_EQ("table", s.ColumnString(0)); s 312 sql/connection_unittest.cc EXPECT_EQ("foo", s.ColumnString(1)); s 313 sql/connection_unittest.cc EXPECT_EQ("foo", s.ColumnString(2)); s 315 sql/connection_unittest.cc EXPECT_EQ(kExpectedPageCount, s.ColumnInt(3)); s 316 sql/connection_unittest.cc EXPECT_EQ(kCreateSql, s.ColumnString(4)); s 322 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement("PRAGMA page_count")); s 323 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 324 sql/connection_unittest.cc EXPECT_EQ(1, s.ColumnInt(0)); s 330 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement("PRAGMA auto_vacuum")); s 331 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 333 sql/connection_unittest.cc EXPECT_EQ(pragma_auto_vacuum, s.ColumnInt(0)); s 343 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement("PRAGMA page_size")); s 344 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 345 sql/connection_unittest.cc default_page_size = s.ColumnInt(0); s 356 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement("PRAGMA page_size")); s 357 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 358 sql/connection_unittest.cc ASSERT_EQ(kPageSize, s.ColumnInt(0)); s 362 sql/connection_unittest.cc s.Reset(true); s 363 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 364 sql/connection_unittest.cc ASSERT_EQ(kPageSize, s.ColumnInt(0)); s 410 sql/connection_unittest.cc sql::Statement s(other_db.GetUniqueStatement(kQuery)); s 411 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 415 sql/connection_unittest.cc ASSERT_FALSE(s.Step()); s 585 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement(kSimpleSql)); s 586 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 589 sql/connection_unittest.cc sql::Statement s(db().GetCachedStatement(SQL_FROM_HERE, kSimpleSql)); s 590 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 607 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement(kSimpleSql)); s 608 sql/connection_unittest.cc ASSERT_FALSE(s.Step()); s 611 sql/connection_unittest.cc sql::Statement s(db().GetCachedStatement(SQL_FROM_HERE, kSimpleSql)); s 612 sql/connection_unittest.cc ASSERT_FALSE(s.Step()); s 741 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement("SELECT COUNT(*) FROM x")); s 742 sql/connection_unittest.cc ASSERT_TRUE(s.is_valid()); s 743 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 759 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement("SELECT COUNT(*) FROM x")); s 760 sql/connection_unittest.cc ASSERT_FALSE(s.is_valid()); s 761 sql/connection_unittest.cc ASSERT_FALSE(s.Step()); s 804 sql/connection_unittest.cc sql::Statement s(db().GetUniqueStatement("SELECT COUNT(*) FROM foo")); s 805 sql/connection_unittest.cc ASSERT_TRUE(s.Step()); s 806 sql/connection_unittest.cc EXPECT_EQ(1, s.ColumnInt(0)); s 73 sql/meta_table.cc sql::Statement s(db->GetUniqueStatement( s 75 sql/meta_table.cc if (s.Step()) { s 76 sql/meta_table.cc if (s.ColumnInt(0) != 0) { s 88 sql/meta_table.cc sql::Statement s(db->GetUniqueStatement( s 90 sql/meta_table.cc s.BindCString(0, kVersionKey); s 91 sql/meta_table.cc if (!s.Step()) { s 92 sql/meta_table.cc if (!s.Succeeded()) { s 100 sql/meta_table.cc int version = s.ColumnInt(0); s 101 sql/meta_table.cc s.Clear(); // Clear potential automatic transaction for Raze(). s 170 sql/meta_table.cc Statement s; s 171 sql/meta_table.cc PrepareSetStatement(&s, key); s 172 sql/meta_table.cc s.BindString(1, value); s 173 sql/meta_table.cc return s.Run(); s 177 sql/meta_table.cc Statement s; s 178 sql/meta_table.cc PrepareSetStatement(&s, key); s 179 sql/meta_table.cc s.BindInt(1, value); s 180 sql/meta_table.cc return s.Run(); s 184 sql/meta_table.cc Statement s; s 185 sql/meta_table.cc PrepareSetStatement(&s, key); s 186 sql/meta_table.cc s.BindInt64(1, value); s 187 sql/meta_table.cc return s.Run(); s 191 sql/meta_table.cc Statement s; s 192 sql/meta_table.cc if (!PrepareGetStatement(&s, key)) s 195 sql/meta_table.cc *value = s.ColumnString(0); s 200 sql/meta_table.cc Statement s; s 201 sql/meta_table.cc if (!PrepareGetStatement(&s, key)) s 204 sql/meta_table.cc *value = s.ColumnInt(0); s 209 sql/meta_table.cc Statement s; s 210 sql/meta_table.cc if (!PrepareGetStatement(&s, key)) s 213 sql/meta_table.cc *value = s.ColumnInt64(0); s 219 sql/meta_table.cc Statement s(db_->GetUniqueStatement("DELETE FROM meta WHERE key=?")); s 220 sql/meta_table.cc s.BindCString(0, key); s 221 sql/meta_table.cc return s.Run(); s 342 sql/recovery.cc Statement s(db()->GetUniqueStatement(query.c_str())); s 361 sql/recovery.cc while (s.Step()) { s 362 sql/recovery.cc const std::string column_name(s.ColumnString(1)); s 363 sql/recovery.cc const std::string column_type(s.ColumnString(2)); s 364 sql/recovery.cc const bool not_null = s.ColumnBool(3); s 365 sql/recovery.cc const int default_type = s.ColumnType(4); s 367 sql/recovery.cc const int pk_column = s.ColumnInt(5); s 436 sql/recovery.cc std::string default_value = s.ColumnString(4); s 29 sql/recovery_unittest.cc sql::Statement s(db->GetUniqueStatement(sql)); s 31 sql/recovery_unittest.cc while (s.Step()) { s 34 sql/recovery_unittest.cc for (int i = 0; i < s.ColumnCount(); ++i) { s 37 sql/recovery_unittest.cc if (s.ColumnType(i) == sql::COLUMN_TYPE_NULL) { s 39 sql/recovery_unittest.cc } else if (s.ColumnType(i) == sql::COLUMN_TYPE_BLOB) { s 41 sql/recovery_unittest.cc ret += base::HexEncode(s.ColumnBlob(i), s.ColumnByteLength(i)); s 44 sql/recovery_unittest.cc ret += s.ColumnString(i); s 244 sql/recovery_unittest.cc sql::Statement s(db().GetUniqueStatement(kInsertSql)); s 246 sql/recovery_unittest.cc s.Reset(true); s 247 sql/recovery_unittest.cc s.BindInt(0, i); s 248 sql/recovery_unittest.cc s.BindInt(1, i); s 249 sql/recovery_unittest.cc EXPECT_FALSE(s.Step()); s 250 sql/recovery_unittest.cc EXPECT_TRUE(s.Succeeded()); s 304 sql/recovery_unittest.cc sql::Statement s(db().GetUniqueStatement(kInsertSql)); s 306 sql/recovery_unittest.cc s.Reset(true); s 307 sql/recovery_unittest.cc s.BindInt(0, i); s 308 sql/recovery_unittest.cc s.BindInt(1, i); s 309 sql/recovery_unittest.cc EXPECT_FALSE(s.Step()); s 310 sql/recovery_unittest.cc EXPECT_TRUE(s.Succeeded()); s 242 sql/statement.cc std::string s = ColumnString(col); s 243 sql/statement.cc return !s.empty() ? base::UTF8ToUTF16(s) : base::string16(); s 40 sql/statement_unittest.cc sql::Statement s; s 41 sql/statement_unittest.cc EXPECT_FALSE(s.is_valid()); s 43 sql/statement_unittest.cc s.Assign(db().GetUniqueStatement("CREATE TABLE foo (a, b)")); s 44 sql/statement_unittest.cc EXPECT_TRUE(s.is_valid()); s 51 sql/statement_unittest.cc sql::Statement s(db().GetUniqueStatement("SELECT b FROM foo WHERE a=?")); s 52 sql/statement_unittest.cc EXPECT_FALSE(s.Succeeded()); s 55 sql/statement_unittest.cc EXPECT_FALSE(s.Step()); s 59 sql/statement_unittest.cc s.Reset(true); s 60 sql/statement_unittest.cc s.BindInt(0, 3); s 61 sql/statement_unittest.cc EXPECT_FALSE(s.Run()); s 63 sql/statement_unittest.cc EXPECT_TRUE(s.Succeeded()); s 66 sql/statement_unittest.cc s.Reset(true); s 67 sql/statement_unittest.cc EXPECT_FALSE(s.Succeeded()); s 70 sql/statement_unittest.cc s.BindInt(0, 3); s 71 sql/statement_unittest.cc EXPECT_TRUE(s.Step()); s 72 sql/statement_unittest.cc EXPECT_TRUE(s.Succeeded()); s 73 sql/statement_unittest.cc EXPECT_EQ(12, s.ColumnInt(0)); s 74 sql/statement_unittest.cc EXPECT_FALSE(s.Step()); s 75 sql/statement_unittest.cc EXPECT_TRUE(s.Succeeded()); s 89 sql/statement_unittest.cc sql::Statement s(db().GetUniqueStatement("INSERT INTO foo (a) VALUES (?)")); s 90 sql/statement_unittest.cc EXPECT_TRUE(s.is_valid()); s 91 sql/statement_unittest.cc s.BindCString(0, "bad bad"); s 92 sql/statement_unittest.cc EXPECT_FALSE(s.Run()); s 100 sql/statement_unittest.cc sql::Statement s(db().GetUniqueStatement("INSERT INTO foo (a) VALUES (?)")); s 101 sql/statement_unittest.cc EXPECT_TRUE(s.is_valid()); s 105 sql/statement_unittest.cc s.BindCString(0, "bad bad"); s 106 sql/statement_unittest.cc ASSERT_FALSE(s.Run()); s 115 sql/statement_unittest.cc sql::Statement s(db().GetUniqueStatement( s 117 sql/statement_unittest.cc s.BindInt(0, 3); s 118 sql/statement_unittest.cc ASSERT_TRUE(s.Step()); s 119 sql/statement_unittest.cc EXPECT_EQ(12, s.ColumnInt(0)); s 120 sql/statement_unittest.cc ASSERT_FALSE(s.Step()); s 122 sql/statement_unittest.cc s.Reset(false); s 124 sql/statement_unittest.cc ASSERT_TRUE(s.Step()); s 125 sql/statement_unittest.cc EXPECT_EQ(12, s.ColumnInt(0)); s 126 sql/statement_unittest.cc EXPECT_FALSE(s.Step()); s 128 sql/statement_unittest.cc s.Reset(true); s 129 sql/statement_unittest.cc ASSERT_FALSE(s.Step()); s 19 sql/test/test_helpers.cc sql::Statement s(db->GetUniqueStatement(kTypeSQL)); s 20 sql/test/test_helpers.cc s.BindCString(0, type); s 21 sql/test/test_helpers.cc EXPECT_TRUE(s.Step()); s 22 sql/test/test_helpers.cc return s.ColumnInt(0); s 27 sql/test/test_helpers.cc sql::Statement s(db->GetUniqueStatement("PRAGMA page_size")); s 28 sql/test/test_helpers.cc if (!s.Step()) s 30 sql/test/test_helpers.cc *page_size = s.ColumnInt(0); s 37 sql/test/test_helpers.cc sql::Statement s(db->GetUniqueStatement(kPageSql)); s 38 sql/test/test_helpers.cc s.BindString(0, name); s 39 sql/test/test_helpers.cc if (!s.Step()) s 41 sql/test/test_helpers.cc *page_number = s.ColumnInt(0); s 189 sql/test/test_helpers.cc sql::Statement s(db->GetUniqueStatement(kQuoteSQL)); s 190 sql/test/test_helpers.cc s.BindCString(0, table); s 191 sql/test/test_helpers.cc EXPECT_TRUE(s.Step()); s 192 sql/test/test_helpers.cc quoted_table = s.ColumnString(0); s 196 sql/test/test_helpers.cc sql::Statement s(db->GetUniqueStatement(sql.c_str())); s 198 sql/test/test_helpers.cc while (s.Step()) { s 201 sql/test/test_helpers.cc EXPECT_TRUE(s.Succeeded()); s 211 sql/test/test_helpers.cc sql::Statement s(db->GetUniqueStatement(sql.c_str())); s 212 sql/test/test_helpers.cc if (!s.Step()) s 215 sql/test/test_helpers.cc *count = s.ColumnInt64(0); s 134 sync/engine/net/server_connection_manager.cc string StripTrailingSlash(const string& s) { s 135 sync/engine/net/server_connection_manager.cc int stripped_end_pos = s.size(); s 136 sync/engine/net/server_connection_manager.cc if (s.at(stripped_end_pos - 1) == '/') { s 140 sync/engine/net/server_connection_manager.cc return s.substr(0, stripped_end_pos); s 383 sync/engine/net/server_connection_manager.cc std::ostream& operator << (std::ostream& s, const struct HttpResponse& hr) { s 384 sync/engine/net/server_connection_manager.cc s << " Response Code (bogus on error): " << hr.response_code; s 385 sync/engine/net/server_connection_manager.cc s << " Content-Length (bogus on error): " << hr.content_length; s 386 sync/engine/net/server_connection_manager.cc s << " Server Status: " s 388 sync/engine/net/server_connection_manager.cc return s; s 337 sync/engine/net/server_connection_manager.h std::ostream& operator<<(std::ostream& s, const struct HttpResponse& hr); s 31 sync/internal_api/public/base/node_ordinal.cc const std::string& s = ordinal.ToInternalValue(); s 33 sync/internal_api/public/base/node_ordinal.cc if (s.length() < l) { s 35 sync/internal_api/public/base/node_ordinal.cc l = s.length(); s 38 sync/internal_api/public/base/node_ordinal.cc const uint8 byte = s[l - i - 1]; s 172 sync/internal_api/public/base/unique_position.cc const std::string& s = Uncompress(compressed_); s 174 sync/internal_api/public/base/unique_position.cc if (s.length() < l) { s 176 sync/internal_api/public/base/unique_position.cc l = s.length(); s 179 sync/internal_api/public/base/unique_position.cc const uint8 byte = s[l - i - 1]; s 448 sync/syncable/directory_backing_store.cc sql::Statement s(db_->GetUniqueStatement( s 450 sync/syncable/directory_backing_store.cc if (!s.Step()) s 452 sync/syncable/directory_backing_store.cc string db_create_version = s.ColumnString(0); s 453 sync/syncable/directory_backing_store.cc int db_create_time = s.ColumnInt(1); s 524 sync/syncable/directory_backing_store.cc sql::Statement s(db_->GetUniqueStatement(select.c_str())); s 526 sync/syncable/directory_backing_store.cc while (s.Step()) { s 527 sync/syncable/directory_backing_store.cc scoped_ptr<EntryKernel> kernel = UnpackEntry(&s); s 535 sync/syncable/directory_backing_store.cc return s.Succeeded(); s 546 sync/syncable/directory_backing_store.cc sql::Statement s(db_->GetUniqueStatement(select.c_str())); s 548 sync/syncable/directory_backing_store.cc while (s.Step()) { s 549 sync/syncable/directory_backing_store.cc scoped_ptr<EntryKernel> kernel = UnpackEntry(&s); s 555 sync/syncable/directory_backing_store.cc return s.Succeeded(); s 560 sync/syncable/directory_backing_store.cc sql::Statement s( s 564 sync/syncable/directory_backing_store.cc if (!s.Step()) s 567 sync/syncable/directory_backing_store.cc info->kernel_info.store_birthday = s.ColumnString(0); s 568 sync/syncable/directory_backing_store.cc info->kernel_info.next_id = s.ColumnInt64(1); s 569 sync/syncable/directory_backing_store.cc info->cache_guid = s.ColumnString(2); s 570 sync/syncable/directory_backing_store.cc s.ColumnBlobAsString(3, &(info->kernel_info.bag_of_chips)); s 573 sync/syncable/directory_backing_store.cc DCHECK(!s.Step()); s 574 sync/syncable/directory_backing_store.cc DCHECK(s.Succeeded()); s 578 sync/syncable/directory_backing_store.cc sql::Statement s( s 583 sync/syncable/directory_backing_store.cc while (s.Step()) { s 584 sync/syncable/directory_backing_store.cc ModelType type = ModelIdToModelTypeEnum(s.ColumnBlob(0), s 585 sync/syncable/directory_backing_store.cc s.ColumnByteLength(0)); s 588 sync/syncable/directory_backing_store.cc s.ColumnBlob(1), s.ColumnByteLength(1)); s 589 sync/syncable/directory_backing_store.cc info->kernel_info.transaction_version[type] = s.ColumnInt64(2); s 591 sync/syncable/directory_backing_store.cc s.ColumnBlob(3), s.ColumnByteLength(3)); s 594 sync/syncable/directory_backing_store.cc if (!s.Succeeded()) s 598 sync/syncable/directory_backing_store.cc sql::Statement s( s 601 sync/syncable/directory_backing_store.cc if (!s.Step()) s 604 sync/syncable/directory_backing_store.cc info->max_metahandle = s.ColumnInt64(0); s 607 sync/syncable/directory_backing_store.cc DCHECK(!s.Step()); s 608 sync/syncable/directory_backing_store.cc DCHECK(s.Succeeded()); s 712 sync/syncable/directory_backing_store.cc sql::Statement s(db_->GetCachedStatement( s 714 sync/syncable/directory_backing_store.cc s.BindInt(0, version); s 716 sync/syncable/directory_backing_store.cc return s.Run(); s 1320 sync/syncable/directory_backing_store.cc sql::Statement s(db_->GetUniqueStatement( s 1322 sync/syncable/directory_backing_store.cc s.BindString(0, dir_name_); s 1323 sync/syncable/directory_backing_store.cc s.BindInt(1, kCurrentDBVersion); s 1325 sync/syncable/directory_backing_store.cc if (!s.Run()) s 1335 sync/syncable/directory_backing_store.cc sql::Statement s(db_->GetUniqueStatement( s 1347 sync/syncable/directory_backing_store.cc s.BindString(0, dir_name_); // id s 1348 sync/syncable/directory_backing_store.cc s.BindString(1, dir_name_); // name s 1349 sync/syncable/directory_backing_store.cc s.BindString(2, std::string()); // store_birthday s 1352 sync/syncable/directory_backing_store.cc s.BindString(3, "Unknown"); // db_create_version s 1353 sync/syncable/directory_backing_store.cc s.BindInt(4, static_cast<int32>(time(0))); // db_create_time s 1354 sync/syncable/directory_backing_store.cc s.BindString(5, GenerateCacheGUID()); // cache_guid s 1356 sync/syncable/directory_backing_store.cc s.BindBlob(6, NULL, 0); // notification_state s 1357 sync/syncable/directory_backing_store.cc s.BindBlob(7, NULL, 0); // bag_of_chips s 1358 sync/syncable/directory_backing_store.cc if (!s.Run()) s 1372 sync/syncable/directory_backing_store.cc sql::Statement s(db_->GetUniqueStatement( s 1376 sync/syncable/directory_backing_store.cc s.BindInt64(0, now); s 1377 sync/syncable/directory_backing_store.cc s.BindInt64(1, now); s 1379 sync/syncable/directory_backing_store.cc if (!s.Run()) s 315 sync/syncable/directory_backing_store_unittest.cc sql::Statement s(db->GetCachedStatement( s 319 sync/syncable/directory_backing_store_unittest.cc EXPECT_EQ(5, s.ColumnCount()); s 321 sync/syncable/directory_backing_store_unittest.cc while (s.Step()) { s 322 sync/syncable/directory_backing_store_unittest.cc int64 metahandle = s.ColumnInt64(0); s 323 sync/syncable/directory_backing_store_unittest.cc int64 mtime = s.ColumnInt64(1); s 324 sync/syncable/directory_backing_store_unittest.cc int64 server_mtime = s.ColumnInt64(2); s 325 sync/syncable/directory_backing_store_unittest.cc int64 ctime = s.ColumnInt64(3); s 326 sync/syncable/directory_backing_store_unittest.cc int64 server_ctime = s.ColumnInt64(4); s 332 sync/syncable/directory_backing_store_unittest.cc EXPECT_TRUE(s.Succeeded()); s 1965 sync/syncable/directory_backing_store_unittest.cc sql::Statement s(connection->GetUniqueStatement(insert_stmts[i])); s 1967 sync/syncable/directory_backing_store_unittest.cc s.BindBlob(0, ord.data(), ord.length()); s 1968 sync/syncable/directory_backing_store_unittest.cc ASSERT_TRUE(s.Run()); s 1969 sync/syncable/directory_backing_store_unittest.cc s.Reset(true); s 2071 sync/syncable/directory_backing_store_unittest.cc sql::Statement s(connection->GetUniqueStatement(insert_stmts[i])); s 2073 sync/syncable/directory_backing_store_unittest.cc s.BindBlob(0, ord.data(), ord.length()); s 2074 sync/syncable/directory_backing_store_unittest.cc ASSERT_TRUE(s.Run()); s 2075 sync/syncable/directory_backing_store_unittest.cc s.Reset(true); s 2179 sync/syncable/directory_backing_store_unittest.cc sql::Statement s(connection->GetUniqueStatement(insert_stmts[i])); s 2181 sync/syncable/directory_backing_store_unittest.cc s.BindBlob(0, ord.data(), ord.length()); s 2182 sync/syncable/directory_backing_store_unittest.cc ASSERT_TRUE(s.Run()); s 2183 sync/syncable/directory_backing_store_unittest.cc s.Reset(true); s 2302 sync/syncable/directory_backing_store_unittest.cc sql::Statement s(connection->GetUniqueStatement(insert_stmts[i])); s 2304 sync/syncable/directory_backing_store_unittest.cc s.BindBlob(0, ord.data(), ord.length()); s 2305 sync/syncable/directory_backing_store_unittest.cc ASSERT_TRUE(s.Run()); s 2306 sync/syncable/directory_backing_store_unittest.cc s.Reset(true); s 2424 sync/syncable/directory_backing_store_unittest.cc sql::Statement s(connection->GetUniqueStatement(insert_stmts[i])); s 2426 sync/syncable/directory_backing_store_unittest.cc s.BindBlob(0, ord.data(), ord.length()); s 2427 sync/syncable/directory_backing_store_unittest.cc ASSERT_TRUE(s.Run()); s 2428 sync/syncable/directory_backing_store_unittest.cc s.Reset(true); s 2806 sync/syncable/directory_backing_store_unittest.cc sql::Statement s(connection.GetUniqueStatement("SELECT non_unique_name," s 2809 sync/syncable/directory_backing_store_unittest.cc ASSERT_TRUE(s.Step()); s 2810 sync/syncable/directory_backing_store_unittest.cc ASSERT_EQ("Deleted Item", s.ColumnString(0)); s 2811 sync/syncable/directory_backing_store_unittest.cc ASSERT_TRUE(s.ColumnBool(1)); s 2812 sync/syncable/directory_backing_store_unittest.cc ASSERT_FALSE(s.ColumnBool(2)); s 2813 sync/syncable/directory_backing_store_unittest.cc ASSERT_EQ("s_ID_2", s.ColumnString(3)); s 2815 sync/syncable/directory_backing_store_unittest.cc specifics.ParseFromArray(s.ColumnBlob(4), s.ColumnByteLength(4)); s 2819 sync/syncable/directory_backing_store_unittest.cc specifics.ParseFromArray(s.ColumnBlob(5), s.ColumnByteLength(5)); s 2823 sync/syncable/directory_backing_store_unittest.cc ASSERT_FALSE(s.Step()); s 2847 sync/syncable/directory_backing_store_unittest.cc sql::Statement s(connection.GetUniqueStatement("SELECT id" s 2849 sync/syncable/directory_backing_store_unittest.cc ASSERT_TRUE(s.Step()); s 2850 sync/syncable/directory_backing_store_unittest.cc EXPECT_EQ("s_ID_7", s.ColumnString(0)); s 2879 sync/syncable/directory_backing_store_unittest.cc sql::Statement s(connection.GetUniqueStatement("SELECT model_id, " s 2881 sync/syncable/directory_backing_store_unittest.cc ASSERT_TRUE(s.Step()); s 2882 sync/syncable/directory_backing_store_unittest.cc std::string model_id = s.ColumnString(0); s 2885 sync/syncable/directory_backing_store_unittest.cc EXPECT_TRUE(s.ColumnBool(1)); s 2886 sync/syncable/directory_backing_store_unittest.cc EXPECT_EQ(694, s.ColumnInt64(2)); s 2887 sync/syncable/directory_backing_store_unittest.cc ASSERT_FALSE(s.Step()); s 3077 sync/syncable/directory_backing_store_unittest.cc sql::Statement s(connection.GetUniqueStatement( s 3079 sync/syncable/directory_backing_store_unittest.cc s.Step(); s 3080 sync/syncable/directory_backing_store_unittest.cc ASSERT_EQ(kInitialNextId, s.ColumnInt(0)); s 3095 sync/syncable/directory_backing_store_unittest.cc s.Clear(); s 3131 sync/syncable/directory_backing_store_unittest.cc sql::Statement s(connection.GetUniqueStatement( s 3134 sync/syncable/directory_backing_store_unittest.cc ASSERT_TRUE(s.Step()); s 3135 sync/syncable/directory_backing_store_unittest.cc ASSERT_EQ(sql::COLUMN_TYPE_INTEGER, s.ColumnType(1)); s 3302 sync/syncable/directory_backing_store_unittest.cc sql::Statement s(connection.GetUniqueStatement( s 3307 sync/syncable/directory_backing_store_unittest.cc ASSERT_TRUE(s.Run()); s 118 sync/syncable/entry.cc std::ostream& operator<<(std::ostream& s, const Blob& blob) { s 120 sync/syncable/entry.cc s << std::hex << std::setw(2) s 122 sync/syncable/entry.cc return s << std::dec; s 264 sync/syncable/entry.h friend std::ostream& operator << (std::ostream& s, const Entry& e); s 162 sync/syncable/syncable_unittest.cc static const char s[] = "Hello World."; s 167 sync/syncable/syncable_unittest.cc PutDataAsBookmarkFavicon(&trans, &e, s, sizeof(s)); s 175 sync/syncable/syncable_unittest.cc ExpectDataFromBookmarkFaviconEquals(&trans, &e, s, sizeof(s)); s 415 third_party/bintrees/bintrees/ctrees.c node_t *s = p->link[!last]; s 417 third_party/bintrees/bintrees/ctrees.c if (s != NULL) { s 418 third_party/bintrees/bintrees/ctrees.c if (!is_red(s->link[!last]) && s 419 third_party/bintrees/bintrees/ctrees.c !is_red(s->link[last])) { s 422 third_party/bintrees/bintrees/ctrees.c RED(s) = 1; s 428 third_party/bintrees/bintrees/ctrees.c if (is_red(s->link[last])) s 430 third_party/bintrees/bintrees/ctrees.c else if (is_red(s->link[!last])) s 102 third_party/bintrees/bintrees/cwalker.c #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \ s 103 third_party/bintrees/bintrees/cwalker.c PyCode_New(a, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) s 106 third_party/bintrees/bintrees/cwalker.c #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \ s 107 third_party/bintrees/bintrees/cwalker.c PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) s 110 third_party/bintrees/bintrees/cwalker.c #define PyUnicode_FromString(s) PyUnicode_Decode(s, strlen(s), "UTF-8", "strict") s 293 third_party/bintrees/bintrees/cwalker.c typedef struct {PyObject **p; char *s; const long n; const char* encoding; const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; /*proto*/ s 298 third_party/bintrees/bintrees/cwalker.c #define __Pyx_PyBytes_FromUString(s) PyBytes_FromString((char*)s) s 299 third_party/bintrees/bintrees/cwalker.c #define __Pyx_PyBytes_AsUString(s) ((unsigned char*) PyBytes_AsString(s)) s 3682 third_party/bintrees/bintrees/cwalker.c *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL); s 3684 third_party/bintrees/bintrees/cwalker.c *t->p = PyString_InternFromString(t->s); s 3686 third_party/bintrees/bintrees/cwalker.c *t->p = PyString_FromStringAndSize(t->s, t->n - 1); s 3691 third_party/bintrees/bintrees/cwalker.c *t->p = PyUnicode_InternFromString(t->s); s 3693 third_party/bintrees/bintrees/cwalker.c *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL); s 3695 third_party/bintrees/bintrees/cwalker.c *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1); s 3698 third_party/bintrees/bintrees/cwalker.c *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1); s 102 third_party/bintrees/bintrees/qavltree.c #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \ s 103 third_party/bintrees/bintrees/qavltree.c PyCode_New(a, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) s 106 third_party/bintrees/bintrees/qavltree.c #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \ s 107 third_party/bintrees/bintrees/qavltree.c PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) s 110 third_party/bintrees/bintrees/qavltree.c #define PyUnicode_FromString(s) PyUnicode_Decode(s, strlen(s), "UTF-8", "strict") s 293 third_party/bintrees/bintrees/qavltree.c typedef struct {PyObject **p; char *s; const long n; const char* encoding; const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; /*proto*/ s 298 third_party/bintrees/bintrees/qavltree.c #define __Pyx_PyBytes_FromUString(s) PyBytes_FromString((char*)s) s 299 third_party/bintrees/bintrees/qavltree.c #define __Pyx_PyBytes_AsUString(s) ((unsigned char*) PyBytes_AsString(s)) s 590 third_party/bintrees/bintrees/qavltree.c #define __Pyx_PyIdentifier_FromString(s) PyString_FromString(s) s 592 third_party/bintrees/bintrees/qavltree.c #define __Pyx_PyIdentifier_FromString(s) PyUnicode_FromString(s) s 3285 third_party/bintrees/bintrees/qavltree.c *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL); s 3287 third_party/bintrees/bintrees/qavltree.c *t->p = PyString_InternFromString(t->s); s 3289 third_party/bintrees/bintrees/qavltree.c *t->p = PyString_FromStringAndSize(t->s, t->n - 1); s 3294 third_party/bintrees/bintrees/qavltree.c *t->p = PyUnicode_InternFromString(t->s); s 3296 third_party/bintrees/bintrees/qavltree.c *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL); s 3298 third_party/bintrees/bintrees/qavltree.c *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1); s 3301 third_party/bintrees/bintrees/qavltree.c *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1); s 102 third_party/bintrees/bintrees/qbintree.c #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \ s 103 third_party/bintrees/bintrees/qbintree.c PyCode_New(a, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) s 106 third_party/bintrees/bintrees/qbintree.c #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \ s 107 third_party/bintrees/bintrees/qbintree.c PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) s 110 third_party/bintrees/bintrees/qbintree.c #define PyUnicode_FromString(s) PyUnicode_Decode(s, strlen(s), "UTF-8", "strict") s 293 third_party/bintrees/bintrees/qbintree.c typedef struct {PyObject **p; char *s; const long n; const char* encoding; const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; /*proto*/ s 298 third_party/bintrees/bintrees/qbintree.c #define __Pyx_PyBytes_FromUString(s) PyBytes_FromString((char*)s) s 299 third_party/bintrees/bintrees/qbintree.c #define __Pyx_PyBytes_AsUString(s) ((unsigned char*) PyBytes_AsString(s)) s 590 third_party/bintrees/bintrees/qbintree.c #define __Pyx_PyIdentifier_FromString(s) PyString_FromString(s) s 592 third_party/bintrees/bintrees/qbintree.c #define __Pyx_PyIdentifier_FromString(s) PyUnicode_FromString(s) s 3280 third_party/bintrees/bintrees/qbintree.c *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL); s 3282 third_party/bintrees/bintrees/qbintree.c *t->p = PyString_InternFromString(t->s); s 3284 third_party/bintrees/bintrees/qbintree.c *t->p = PyString_FromStringAndSize(t->s, t->n - 1); s 3289 third_party/bintrees/bintrees/qbintree.c *t->p = PyUnicode_InternFromString(t->s); s 3291 third_party/bintrees/bintrees/qbintree.c *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL); s 3293 third_party/bintrees/bintrees/qbintree.c *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1); s 3296 third_party/bintrees/bintrees/qbintree.c *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1); s 102 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \ s 103 third_party/bintrees/bintrees/qrbtree.c PyCode_New(a, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) s 106 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \ s 107 third_party/bintrees/bintrees/qrbtree.c PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) s 110 third_party/bintrees/bintrees/qrbtree.c #define PyUnicode_FromString(s) PyUnicode_Decode(s, strlen(s), "UTF-8", "strict") s 293 third_party/bintrees/bintrees/qrbtree.c typedef struct {PyObject **p; char *s; const long n; const char* encoding; const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; /*proto*/ s 298 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_PyBytes_FromUString(s) PyBytes_FromString((char*)s) s 299 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_PyBytes_AsUString(s) ((unsigned char*) PyBytes_AsString(s)) s 590 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_PyIdentifier_FromString(s) PyString_FromString(s) s 592 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_PyIdentifier_FromString(s) PyUnicode_FromString(s) s 3282 third_party/bintrees/bintrees/qrbtree.c *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL); s 3284 third_party/bintrees/bintrees/qrbtree.c *t->p = PyString_InternFromString(t->s); s 3286 third_party/bintrees/bintrees/qrbtree.c *t->p = PyString_FromStringAndSize(t->s, t->n - 1); s 3291 third_party/bintrees/bintrees/qrbtree.c *t->p = PyUnicode_InternFromString(t->s); s 3293 third_party/bintrees/bintrees/qrbtree.c *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL); s 3295 third_party/bintrees/bintrees/qrbtree.c *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1); s 3298 third_party/bintrees/bintrees/qrbtree.c *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1); s 62 third_party/bspatch/mbspatch.cc int s = read(fd, header, sizeof(MBSPatchHeader)); s 63 third_party/bspatch/mbspatch.cc if (s != sizeof(MBSPatchHeader)) s 74 third_party/bspatch/mbspatch.cc s = fstat(fd, &hs); s 75 third_party/bspatch/mbspatch.cc if (s) s 29 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/sha1-digest-function.h virtual void Update(const string& s) { s 31 third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/sha1-digest-function.h buffer_.append(s); s 432 third_party/cld/base/commandlineflags.h static union { void* align; char s[sizeof(string)]; } s_##name[2]; \ s 433 third_party/cld/base/commandlineflags.h const string* const FLAGS_no##name = new (s_##name[0].s) string(val); \ s 436 third_party/cld/base/commandlineflags.h s_##name[0].s, new (s_##name[1].s) string(*FLAGS_no##name)); \ s 437 third_party/cld/base/commandlineflags.h string& FLAGS_##name = *(reinterpret_cast<string*>(s_##name[0].s)); \ s 85 third_party/cld/base/strtoint.h inline int32 atoi32(const string &s) { s 86 third_party/cld/base/strtoint.h return atoi32(s.c_str()); s 89 third_party/cld/base/strtoint.h inline int64 atoi64(const string &s) { s 90 third_party/cld/base/strtoint.h return atoi64(s.c_str()); s 262 third_party/expat/files/lib/expat.h const XML_Char *s, s 292 third_party/expat/files/lib/expat.h const XML_Char *s, s 509 third_party/expat/files/lib/expat.h int (XMLCALL *convert)(void *data, const char *s); s 778 third_party/expat/files/lib/expat.h XML_Parse(XML_Parser parser, const char *s, int len, int isFinal); s 35 third_party/expat/files/lib/xmlparse.c #define MUST_CONVERT(enc, s) (!(enc)->isUtf16 || (((char *)(s) - (char *)NULL) & 1)) s 43 third_party/expat/files/lib/xmlparse.c #define MUST_CONVERT(enc, s) (!(enc)->isUtf8) s 81 third_party/expat/files/lib/xmlparse.c #define memmove(d,s,l) bcopy((s),(d),(l)) s 220 third_party/expat/files/lib/xmlparse.c XML_Char s[1]; s 328 third_party/expat/files/lib/xmlparse.c const char *s, const char *next); s 332 third_party/expat/files/lib/xmlparse.c doProlog(XML_Parser parser, const ENCODING *enc, const char *s, s 352 third_party/expat/files/lib/xmlparse.c storeAtts(XML_Parser parser, const ENCODING *, const char *s, s 388 third_party/expat/files/lib/xmlparse.c static void FASTCALL normalizePublicId(XML_Char *s); s 423 third_party/expat/files/lib/xmlparse.c poolCopyString(STRING_POOL *pool, const XML_Char *s); s 425 third_party/expat/files/lib/xmlparse.c poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n); s 427 third_party/expat/files/lib/xmlparse.c poolAppendString(STRING_POOL *pool, const XML_Char *s); s 562 third_party/expat/files/lib/xmlparse.c #define MALLOC(s) (parser->m_mem.malloc_fcn((s))) s 563 third_party/expat/files/lib/xmlparse.c #define REALLOC(p,s) (parser->m_mem.realloc_fcn((p),(s))) s 1500 third_party/expat/files/lib/xmlparse.c XML_Parse(XML_Parser parser, const char *s, int len, int isFinal) s 1555 third_party/expat/files/lib/xmlparse.c positionPtr = s; s 1558 third_party/expat/files/lib/xmlparse.c errorCode = processor(parser, s, parseEndPtr = s + len, &end); s 1583 third_party/expat/files/lib/xmlparse.c nLeftOver = s + len - end; s 1616 third_party/expat/files/lib/xmlparse.c memcpy(buff, s, len); s 2234 third_party/expat/files/lib/xmlparse.c const char *s, s 2252 third_party/expat/files/lib/xmlparse.c *eventPP = s; s 2255 third_party/expat/files/lib/xmlparse.c const char *next = s; /* XmlContentTok doesn't always set the last arg */ s 2256 third_party/expat/files/lib/xmlparse.c int tok = XmlContentTok(enc, s, end, &next); s 2261 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 2270 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, end); s 2282 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 2288 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 2297 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 2303 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 2312 third_party/expat/files/lib/xmlparse.c s + enc->minBytesPerChar, s 2318 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 2322 third_party/expat/files/lib/xmlparse.c s + enc->minBytesPerChar, s 2342 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 2355 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 2378 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 2408 third_party/expat/files/lib/xmlparse.c tag->rawName = s + enc->minBytesPerChar; s 2439 third_party/expat/files/lib/xmlparse.c result = storeAtts(parser, enc, s, &(tag->name), &(tag->bindings)); s 2446 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 2454 third_party/expat/files/lib/xmlparse.c const char *rawName = s + enc->minBytesPerChar; s 2464 third_party/expat/files/lib/xmlparse.c result = storeAtts(parser, enc, s, &name, &bindings); s 2479 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 2504 third_party/expat/files/lib/xmlparse.c rawName = s + enc->minBytesPerChar*2; s 2535 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 2551 third_party/expat/files/lib/xmlparse.c int n = XmlCharRefNumber(enc, s); s 2559 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 2570 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 2594 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 2606 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 2610 third_party/expat/files/lib/xmlparse.c if (MUST_CONVERT(enc, s)) { s 2612 third_party/expat/files/lib/xmlparse.c XmlConvert(enc, &s, end, &dataPtr, (ICHAR *)dataBufEnd); s 2618 third_party/expat/files/lib/xmlparse.c (XML_Char *)s, s 2619 third_party/expat/files/lib/xmlparse.c (int)((XML_Char *)end - (XML_Char *)s)); s 2622 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, end); s 2640 third_party/expat/files/lib/xmlparse.c if (MUST_CONVERT(enc, s)) { s 2643 third_party/expat/files/lib/xmlparse.c XmlConvert(enc, &s, next, &dataPtr, (ICHAR *)dataBufEnd); s 2644 third_party/expat/files/lib/xmlparse.c *eventEndPP = s; s 2647 third_party/expat/files/lib/xmlparse.c if (s == next) s 2649 third_party/expat/files/lib/xmlparse.c *eventPP = s; s 2654 third_party/expat/files/lib/xmlparse.c (XML_Char *)s, s 2655 third_party/expat/files/lib/xmlparse.c (int)((XML_Char *)next - (XML_Char *)s)); s 2658 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 2662 third_party/expat/files/lib/xmlparse.c if (!reportProcessingInstruction(parser, enc, s, next)) s 2666 third_party/expat/files/lib/xmlparse.c if (!reportComment(parser, enc, s, next)) s 2671 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 2674 third_party/expat/files/lib/xmlparse.c *eventPP = s = next; s 2907 third_party/expat/files/lib/xmlparse.c const XML_Char *s = appAtts[i]; s 2908 third_party/expat/files/lib/xmlparse.c if (s[-1] == 2) { /* prefixed */ s 2912 third_party/expat/files/lib/xmlparse.c ((XML_Char *)s)[-1] = 0; /* clear flag */ s 2913 third_party/expat/files/lib/xmlparse.c id = (ATTRIBUTE_ID *)lookup(parser, &dtd->attributeIds, s, 0); s 2925 third_party/expat/files/lib/xmlparse.c while (*s++ != XML_T(ASCII_COLON)) s 2928 third_party/expat/files/lib/xmlparse.c const XML_Char c = *s; s 2929 third_party/expat/files/lib/xmlparse.c if (!poolAppendChar(&tempPool, *s)) s 2932 third_party/expat/files/lib/xmlparse.c } while (*s++); s 2958 third_party/expat/files/lib/xmlparse.c s = b->prefix->name; s 2960 third_party/expat/files/lib/xmlparse.c if (!poolAppendChar(&tempPool, *s)) s 2962 third_party/expat/files/lib/xmlparse.c } while (*s++); s 2966 third_party/expat/files/lib/xmlparse.c s = poolStart(&tempPool); s 2968 third_party/expat/files/lib/xmlparse.c appAtts[i] = s; s 2973 third_party/expat/files/lib/xmlparse.c nsAtts[j].uriName = s; s 2981 third_party/expat/files/lib/xmlparse.c ((XML_Char *)s)[-1] = 0; /* clear flag */ s 3200 third_party/expat/files/lib/xmlparse.c const char *s = *startPtr; s 3205 third_party/expat/files/lib/xmlparse.c *eventPP = s; s 3212 third_party/expat/files/lib/xmlparse.c *eventPP = s; s 3217 third_party/expat/files/lib/xmlparse.c int tok = XmlCdataSectionTok(enc, s, end, &next); s 3229 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 3242 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 3248 third_party/expat/files/lib/xmlparse.c if (MUST_CONVERT(enc, s)) { s 3251 third_party/expat/files/lib/xmlparse.c XmlConvert(enc, &s, next, &dataPtr, (ICHAR *)dataBufEnd); s 3255 third_party/expat/files/lib/xmlparse.c if (s == next) s 3257 third_party/expat/files/lib/xmlparse.c *eventPP = s; s 3262 third_party/expat/files/lib/xmlparse.c (XML_Char *)s, s 3263 third_party/expat/files/lib/xmlparse.c (int)((XML_Char *)next - (XML_Char *)s)); s 3266 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 3274 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 3281 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 3290 third_party/expat/files/lib/xmlparse.c *eventPP = s = next; s 3338 third_party/expat/files/lib/xmlparse.c const char *s = *startPtr; s 3343 third_party/expat/files/lib/xmlparse.c *eventPP = s; s 3350 third_party/expat/files/lib/xmlparse.c *eventPP = s; s 3352 third_party/expat/files/lib/xmlparse.c tok = XmlIgnoreSectionTok(enc, s, end, &next); s 3357 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 3369 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 3376 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 3392 third_party/expat/files/lib/xmlparse.c const char *s; s 3396 third_party/expat/files/lib/xmlparse.c s = NULL; s 3408 third_party/expat/files/lib/xmlparse.c s = encodingBuf; s 3411 third_party/expat/files/lib/xmlparse.c s = protocolEncodingName; s 3413 third_party/expat/files/lib/xmlparse.c if ((ns ? XmlInitEncodingNS : XmlInitEncoding)(&initEncoding, &encoding, s)) s 3420 third_party/expat/files/lib/xmlparse.c const char *s, const char *next) s 3433 third_party/expat/files/lib/xmlparse.c s, s 3475 third_party/expat/files/lib/xmlparse.c reportDefault(parser, encoding, s, next); s 3548 third_party/expat/files/lib/xmlparse.c const char *s, s 3556 third_party/expat/files/lib/xmlparse.c return prologProcessor(parser, s, end, nextPtr); s 3563 third_party/expat/files/lib/xmlparse.c const char *s, s 3577 third_party/expat/files/lib/xmlparse.c return entityValueInitProcessor(parser, s, end, nextPtr); s 3581 third_party/expat/files/lib/xmlparse.c return externalParEntProcessor(parser, s, end, nextPtr); s 3587 third_party/expat/files/lib/xmlparse.c const char *s, s 3592 third_party/expat/files/lib/xmlparse.c const char *start = s; s 3601 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 3616 third_party/expat/files/lib/xmlparse.c return storeEntityValue(parser, encoding, s, end); s 3654 third_party/expat/files/lib/xmlparse.c const char *s, s 3658 third_party/expat/files/lib/xmlparse.c const char *next = s; s 3661 third_party/expat/files/lib/xmlparse.c tok = XmlPrologTok(encoding, s, end, &next); s 3664 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 3684 third_party/expat/files/lib/xmlparse.c s = next; s 3685 third_party/expat/files/lib/xmlparse.c tok = XmlPrologTok(encoding, s, end, &next); s 3689 third_party/expat/files/lib/xmlparse.c return doProlog(parser, encoding, s, end, tok, next, s 3695 third_party/expat/files/lib/xmlparse.c const char *s, s 3699 third_party/expat/files/lib/xmlparse.c const char *start = s; s 3700 third_party/expat/files/lib/xmlparse.c const char *next = s; s 3708 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 3723 third_party/expat/files/lib/xmlparse.c return storeEntityValue(parser, enc, s, end); s 3733 third_party/expat/files/lib/xmlparse.c const char *s, s 3737 third_party/expat/files/lib/xmlparse.c const char *next = s; s 3738 third_party/expat/files/lib/xmlparse.c int tok = XmlPrologTok(encoding, s, end, &next); s 3739 third_party/expat/files/lib/xmlparse.c return doProlog(parser, encoding, s, end, tok, next, s 3746 third_party/expat/files/lib/xmlparse.c const char *s, s 3795 third_party/expat/files/lib/xmlparse.c *eventPP = s; s 3799 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 3817 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 3828 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 3839 third_party/expat/files/lib/xmlparse.c role = XmlTokenRole(&prologState, tok, s, next, enc); s 3843 third_party/expat/files/lib/xmlparse.c enum XML_Error result = processXmlDecl(parser, 0, s, next); s 3852 third_party/expat/files/lib/xmlparse.c doctypeName = poolStoreString(&tempPool, enc, s, next); s 3873 third_party/expat/files/lib/xmlparse.c enum XML_Error result = processXmlDecl(parser, 1, s, next); s 3894 third_party/expat/files/lib/xmlparse.c if (!XmlIsPublicId(enc, s, next, eventPP)) s 3897 third_party/expat/files/lib/xmlparse.c s + enc->minBytesPerChar, s 3909 third_party/expat/files/lib/xmlparse.c if (!XmlIsPublicId(enc, s, next, eventPP)) s 3915 third_party/expat/files/lib/xmlparse.c s + enc->minBytesPerChar, s 4016 third_party/expat/files/lib/xmlparse.c return contentProcessor(parser, s, end, nextPtr); s 4018 third_party/expat/files/lib/xmlparse.c declElementType = getElementType(parser, enc, s, next); s 4023 third_party/expat/files/lib/xmlparse.c declAttributeId = getAttributeId(parser, enc, s, next); s 4073 third_party/expat/files/lib/xmlparse.c if (!poolAppend(&tempPool, enc, s, next)) s 4097 third_party/expat/files/lib/xmlparse.c *eventEndPP = s; s 4112 third_party/expat/files/lib/xmlparse.c s + enc->minBytesPerChar, s 4134 third_party/expat/files/lib/xmlparse.c *eventEndPP = s; s 4147 third_party/expat/files/lib/xmlparse.c s + enc->minBytesPerChar, s 4154 third_party/expat/files/lib/xmlparse.c *eventEndPP = s; s 4177 third_party/expat/files/lib/xmlparse.c s + enc->minBytesPerChar, s 4214 third_party/expat/files/lib/xmlparse.c s + enc->minBytesPerChar, s 4226 third_party/expat/files/lib/xmlparse.c *eventEndPP = s; s 4240 third_party/expat/files/lib/xmlparse.c declEntity->notation = poolStoreString(&dtd->pool, enc, s, next); s 4245 third_party/expat/files/lib/xmlparse.c *eventEndPP = s; s 4255 third_party/expat/files/lib/xmlparse.c *eventEndPP = s; s 4269 third_party/expat/files/lib/xmlparse.c if (XmlPredefinedEntityName(enc, s, next)) { s 4274 third_party/expat/files/lib/xmlparse.c const XML_Char *name = poolStoreString(&dtd->pool, enc, s, next); s 4306 third_party/expat/files/lib/xmlparse.c const XML_Char *name = poolStoreString(&dtd->pool, enc, s, next); s 4341 third_party/expat/files/lib/xmlparse.c declNotationName = poolStoreString(&tempPool, enc, s, next); s 4349 third_party/expat/files/lib/xmlparse.c if (!XmlIsPublicId(enc, s, next, eventPP)) s 4354 third_party/expat/files/lib/xmlparse.c s + enc->minBytesPerChar, s 4368 third_party/expat/files/lib/xmlparse.c s + enc->minBytesPerChar, s 4372 third_party/expat/files/lib/xmlparse.c *eventEndPP = s; s 4384 third_party/expat/files/lib/xmlparse.c *eventEndPP = s; s 4410 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 4487 third_party/expat/files/lib/xmlparse.c s + enc->minBytesPerChar, s 4561 third_party/expat/files/lib/xmlparse.c declElementType = getElementType(parser, enc, s, next); s 4585 third_party/expat/files/lib/xmlparse.c *eventEndPP = s; s 4626 third_party/expat/files/lib/xmlparse.c el = getElementType(parser, enc, s, nxt); s 4661 third_party/expat/files/lib/xmlparse.c *eventEndPP = s; s 4672 third_party/expat/files/lib/xmlparse.c if (!reportProcessingInstruction(parser, enc, s, next)) s 4677 third_party/expat/files/lib/xmlparse.c if (!reportComment(parser, enc, s, next)) s 4711 third_party/expat/files/lib/xmlparse.c reportDefault(parser, enc, s, next); s 4720 third_party/expat/files/lib/xmlparse.c s = next; s 4721 third_party/expat/files/lib/xmlparse.c tok = XmlPrologTok(enc, s, end, &next); s 4729 third_party/expat/files/lib/xmlparse.c const char *s, s 4734 third_party/expat/files/lib/xmlparse.c eventPtr = s; s 4737 third_party/expat/files/lib/xmlparse.c int tok = XmlPrologTok(encoding, s, end, &next); s 4743 third_party/expat/files/lib/xmlparse.c reportDefault(parser, encoding, s, next); s 4750 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 4754 third_party/expat/files/lib/xmlparse.c reportDefault(parser, encoding, s, next); s 4757 third_party/expat/files/lib/xmlparse.c if (!reportProcessingInstruction(parser, encoding, s, next)) s 4761 third_party/expat/files/lib/xmlparse.c if (!reportComment(parser, encoding, s, next)) s 4769 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 4775 third_party/expat/files/lib/xmlparse.c *nextPtr = s; s 4782 third_party/expat/files/lib/xmlparse.c eventPtr = s = next; s 4853 third_party/expat/files/lib/xmlparse.c const char *s, s 4898 third_party/expat/files/lib/xmlparse.c tok = XmlPrologTok(encoding, s, end, &next); s 4899 third_party/expat/files/lib/xmlparse.c return doProlog(parser, encoding, s, end, tok, next, nextPtr, s 4907 third_party/expat/files/lib/xmlparse.c return doContent(parser, parentParser ? 1 : 0, encoding, s, end, s 4914 third_party/expat/files/lib/xmlparse.c const char *s, s 5254 third_party/expat/files/lib/xmlparse.c normalizeLines(XML_Char *s) s 5257 third_party/expat/files/lib/xmlparse.c for (;; s++) { s 5258 third_party/expat/files/lib/xmlparse.c if (*s == XML_T('\0')) s 5260 third_party/expat/files/lib/xmlparse.c if (*s == 0xD) s 5263 third_party/expat/files/lib/xmlparse.c p = s; s 5265 third_party/expat/files/lib/xmlparse.c if (*s == 0xD) { s 5267 third_party/expat/files/lib/xmlparse.c if (*++s == 0xA) s 5268 third_party/expat/files/lib/xmlparse.c s++; s 5271 third_party/expat/files/lib/xmlparse.c *p++ = *s++; s 5272 third_party/expat/files/lib/xmlparse.c } while (*s); s 5329 third_party/expat/files/lib/xmlparse.c const char *s, const char *end) s 5331 third_party/expat/files/lib/xmlparse.c if (MUST_CONVERT(enc, s)) { s 5344 third_party/expat/files/lib/xmlparse.c XmlConvert(enc, &s, end, &dataPtr, (ICHAR *)dataBufEnd); s 5345 third_party/expat/files/lib/xmlparse.c *eventEndPP = s; s 5347 third_party/expat/files/lib/xmlparse.c *eventPP = s; s 5348 third_party/expat/files/lib/xmlparse.c } while (s != end); s 5351 third_party/expat/files/lib/xmlparse.c defaultHandler(handlerArg, (XML_Char *)s, (int)((XML_Char *)end - (XML_Char *)s)); s 5407 third_party/expat/files/lib/xmlparse.c const XML_Char *s; s 5408 third_party/expat/files/lib/xmlparse.c for (s = elementType->name; s != name; s++) { s 5409 third_party/expat/files/lib/xmlparse.c if (!poolAppendChar(&dtd->pool, *s)) s 5517 third_party/expat/files/lib/xmlparse.c const XML_Char *s; s 5525 third_party/expat/files/lib/xmlparse.c for (s = prefix->name; *s; s++) s 5526 third_party/expat/files/lib/xmlparse.c if (!poolAppendChar(&tempPool, *s)) s 5542 third_party/expat/files/lib/xmlparse.c const XML_Char *s; s 5550 third_party/expat/files/lib/xmlparse.c for (s = e->name; *s; s++) s 5551 third_party/expat/files/lib/xmlparse.c if (!poolAppendChar(&tempPool, *s)) s 5565 third_party/expat/files/lib/xmlparse.c const XML_Char *s = context; s 5568 third_party/expat/files/lib/xmlparse.c if (*s == CONTEXT_SEP || *s == XML_T('\0')) { s 5575 third_party/expat/files/lib/xmlparse.c if (*s != XML_T('\0')) s 5576 third_party/expat/files/lib/xmlparse.c s++; s 5577 third_party/expat/files/lib/xmlparse.c context = s; s 5580 third_party/expat/files/lib/xmlparse.c else if (*s == XML_T(ASCII_EQUALS)) { s 5598 third_party/expat/files/lib/xmlparse.c for (context = s + 1; s 5611 third_party/expat/files/lib/xmlparse.c s = context; s 5614 third_party/expat/files/lib/xmlparse.c if (!poolAppendChar(&tempPool, *s)) s 5616 third_party/expat/files/lib/xmlparse.c s++; s 5626 third_party/expat/files/lib/xmlparse.c XML_Char *s; s 5627 third_party/expat/files/lib/xmlparse.c for (s = publicId; *s; s++) { s 5628 third_party/expat/files/lib/xmlparse.c switch (*s) { s 5636 third_party/expat/files/lib/xmlparse.c *p++ = *s; s 5961 third_party/expat/files/lib/xmlparse.c hash(XML_Parser parser, KEY s) s 5964 third_party/expat/files/lib/xmlparse.c while (*s) s 5965 third_party/expat/files/lib/xmlparse.c h = CHAR_HASH(h, *s++); s 6161 third_party/expat/files/lib/xmlparse.c poolCopyString(STRING_POOL *pool, const XML_Char *s) s 6164 third_party/expat/files/lib/xmlparse.c if (!poolAppendChar(pool, *s)) s 6166 third_party/expat/files/lib/xmlparse.c } while (*s++); s 6167 third_party/expat/files/lib/xmlparse.c s = pool->start; s 6169 third_party/expat/files/lib/xmlparse.c return s; s 6173 third_party/expat/files/lib/xmlparse.c poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n) s 6177 third_party/expat/files/lib/xmlparse.c for (; n > 0; --n, s++) { s 6178 third_party/expat/files/lib/xmlparse.c if (!poolAppendChar(pool, *s)) s 6181 third_party/expat/files/lib/xmlparse.c s = pool->start; s 6183 third_party/expat/files/lib/xmlparse.c return s; s 6187 third_party/expat/files/lib/xmlparse.c poolAppendString(STRING_POOL *pool, const XML_Char *s) s 6189 third_party/expat/files/lib/xmlparse.c while (*s) { s 6190 third_party/expat/files/lib/xmlparse.c if (!poolAppendChar(pool, *s)) s 6192 third_party/expat/files/lib/xmlparse.c s++; s 6217 third_party/expat/files/lib/xmlparse.c pool->start = pool->blocks->s; s 6227 third_party/expat/files/lib/xmlparse.c memcpy(pool->blocks->s, pool->start, s 6229 third_party/expat/files/lib/xmlparse.c pool->ptr = pool->blocks->s + (pool->ptr - pool->start); s 6230 third_party/expat/files/lib/xmlparse.c pool->start = pool->blocks->s; s 6235 third_party/expat/files/lib/xmlparse.c if (pool->blocks && pool->start == pool->blocks->s) { s 6239 third_party/expat/files/lib/xmlparse.c (offsetof(BLOCK, s) s 6245 third_party/expat/files/lib/xmlparse.c pool->ptr = pool->blocks->s + (pool->ptr - pool->start); s 6246 third_party/expat/files/lib/xmlparse.c pool->start = pool->blocks->s; s 6256 third_party/expat/files/lib/xmlparse.c tem = (BLOCK *)pool->mem->malloc_fcn(offsetof(BLOCK, s) s 6264 third_party/expat/files/lib/xmlparse.c memcpy(tem->s, pool->start, s 6266 third_party/expat/files/lib/xmlparse.c pool->ptr = tem->s + (pool->ptr - pool->start); s 6267 third_party/expat/files/lib/xmlparse.c pool->start = tem->s; s 6268 third_party/expat/files/lib/xmlparse.c pool->end = tem->s + blockSize; s 31 third_party/fontconfig/include/fc-lang/fclang.h #define OFF(s,o) (OFF0 + o * sizeof (uintptr_t) - SET(s)) s 32 third_party/fontconfig/include/fc-lang/fclang.h #define NUM(s,n) (NUM0 + n * sizeof (FcChar16) - SET(s)) s 309 third_party/fontconfig/include/src/fcobjshash.h register const char *s = o + FcObjectTypeNamePool; s 311 third_party/fontconfig/include/src/fcobjshash.h if (*str == *s && !strcmp (str + 1, s + 1)) s 112 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc #define APPEND(s) HB_STMT_START { strcpy (p, s); p += strlen (s); } HB_STMT_END s 168 third_party/harfbuzz-ng/src/hb-common.cc const char s[1]; s 217 third_party/harfbuzz-ng/src/hb-common.cc inline bool operator == (const char *s) const { s 218 third_party/harfbuzz-ng/src/hb-common.cc return lang_equal (lang, s); s 221 third_party/harfbuzz-ng/src/hb-common.cc inline hb_language_item_t & operator = (const char *s) { s 222 third_party/harfbuzz-ng/src/hb-common.cc lang = (hb_language_t) strdup (s); s 326 third_party/harfbuzz-ng/src/hb-common.cc return language->s; s 411 third_party/harfbuzz-ng/src/hb-common.cc hb_script_from_string (const char *s, int len) s 413 third_party/harfbuzz-ng/src/hb-common.cc return hb_script_from_iso15924_tag (hb_tag_from_string (s, len)); s 318 third_party/harfbuzz-ng/src/hb-common.h hb_script_from_string (const char *s, int len); s 365 third_party/harfbuzz-ng/src/hb-font-private.hh char *s, unsigned int size) s 367 third_party/harfbuzz-ng/src/hb-font-private.hh if (get_glyph_name (glyph, s, size)) return; s 369 third_party/harfbuzz-ng/src/hb-font-private.hh if (size && snprintf (s, size, "gid%u", glyph) < 0) s 370 third_party/harfbuzz-ng/src/hb-font-private.hh *s = '\0'; s 375 third_party/harfbuzz-ng/src/hb-font-private.hh glyph_from_string (const char *s, int len, /* -1 means nul-terminated */ s 378 third_party/harfbuzz-ng/src/hb-font-private.hh if (get_glyph_from_name (s, len, glyph)) return true; s 380 third_party/harfbuzz-ng/src/hb-font-private.hh if (len == -1) len = strlen (s); s 383 third_party/harfbuzz-ng/src/hb-font-private.hh if (hb_codepoint_parse (s, len, 10, glyph)) s 389 third_party/harfbuzz-ng/src/hb-font-private.hh if (0 == strncmp (s, "gid", 3) && s 390 third_party/harfbuzz-ng/src/hb-font-private.hh hb_codepoint_parse (s + 3, len - 3, 10, glyph)) s 395 third_party/harfbuzz-ng/src/hb-font-private.hh if (0 == strncmp (s, "uni", 3) && s 396 third_party/harfbuzz-ng/src/hb-font-private.hh hb_codepoint_parse (s + 3, len - 3, 16, &unichar) && s 808 third_party/harfbuzz-ng/src/hb-font.cc char *s, unsigned int size) s 810 third_party/harfbuzz-ng/src/hb-font.cc font->glyph_to_string (glyph, s, size); s 829 third_party/harfbuzz-ng/src/hb-font.cc const char *s, int len, /* -1 means nul-terminated */ s 832 third_party/harfbuzz-ng/src/hb-font.cc return font->glyph_from_string (s, len, glyph); s 414 third_party/harfbuzz-ng/src/hb-font.h char *s, unsigned int size); s 418 third_party/harfbuzz-ng/src/hb-font.h const char *s, int len, /* -1 means nul-terminated */ s 1129 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh unsigned int s = ppem_size - startSize; s 1131 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh unsigned int byte = deltaValue[s >> (4 - f)]; s 1132 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh unsigned int bits = (byte >> (16 - (((s & ((1 << (4 - f)) - 1)) + 1) << f))); s 297 third_party/harfbuzz-ng/src/hb-ot-layout.cc const OT::Script &s = get_gsubgpos_table (face, table_tag).get_script (script_index); s 299 third_party/harfbuzz-ng/src/hb-ot-layout.cc return s.get_lang_sys_tags (start_offset, language_count, language_tags); s 310 third_party/harfbuzz-ng/src/hb-ot-layout.cc const OT::Script &s = get_gsubgpos_table (face, table_tag).get_script (script_index); s 312 third_party/harfbuzz-ng/src/hb-ot-layout.cc if (s.find_lang_sys_index (language_tag, language_index)) s 316 third_party/harfbuzz-ng/src/hb-ot-layout.cc if (s.find_lang_sys_index (HB_OT_TAG_DEFAULT_LANGUAGE, language_index)) s 120 third_party/harfbuzz-ng/src/hb-ot-map.cc stage_info_t *s = stages[table_index].push (); s 121 third_party/harfbuzz-ng/src/hb-ot-map.cc if (likely (s)) { s 122 third_party/harfbuzz-ng/src/hb-ot-map.cc s->index = current_stage[table_index]; s 123 third_party/harfbuzz-ng/src/hb-ot-map.cc s->pause_func = pause_func; s 67 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic-fallback.hh hb_codepoint_t s = shaping_table[u - SHAPING_TABLE_FIRST][feature_index]; s 70 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic-fallback.hh if (!s || s 72 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic-fallback.hh !hb_font_get_glyph (font, s, 0, &s_glyph) || s 262 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc hb_codepoint_t s = SBase + (l - LBase) * NCount + (v - VBase) * TCount + tindex; s 263 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc if (font->has_glyph (s)) s 265 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc buffer->replace_glyphs (t ? 3 : 2, 1, &s); s 298 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc hb_codepoint_t s = u; s 299 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc bool has_glyph = font->has_glyph (s); s 300 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc unsigned int lindex = (s - SBase) / NCount; s 301 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc unsigned int nindex = (s - SBase) % NCount; s 311 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc hb_codepoint_t new_s = s + new_tindex; s 802 third_party/harfbuzz-ng/src/hb-ot-tag.cc const char *lang_str, *s; s 810 third_party/harfbuzz-ng/src/hb-ot-tag.cc s = strstr (lang_str, "x-hbot"); s 811 third_party/harfbuzz-ng/src/hb-ot-tag.cc if (s) { s 814 third_party/harfbuzz-ng/src/hb-ot-tag.cc s += 6; s 815 third_party/harfbuzz-ng/src/hb-ot-tag.cc for (i = 0; i < 4 && ISALPHA (s[i]); i++) s 816 third_party/harfbuzz-ng/src/hb-ot-tag.cc tag[i] = TOUPPER (s[i]); s 847 third_party/harfbuzz-ng/src/hb-ot-tag.cc s = strchr (lang_str, '-'); s 848 third_party/harfbuzz-ng/src/hb-ot-tag.cc if (!s) s 849 third_party/harfbuzz-ng/src/hb-ot-tag.cc s = lang_str + strlen (lang_str); s 850 third_party/harfbuzz-ng/src/hb-ot-tag.cc if (s - lang_str == 3) { s 852 third_party/harfbuzz-ng/src/hb-ot-tag.cc return hb_tag_from_string (lang_str, s - lang_str) & ~0x20202000; s 549 third_party/harfbuzz-ng/src/hb-private.hh #define HB_TAG_CHAR4(s) (HB_TAG(((const char *) s)[0], \ s 550 third_party/harfbuzz-ng/src/hb-private.hh ((const char *) s)[1], \ s 551 third_party/harfbuzz-ng/src/hb-private.hh ((const char *) s)[2], \ s 552 third_party/harfbuzz-ng/src/hb-private.hh ((const char *) s)[3])) s 871 third_party/harfbuzz-ng/src/hb-private.hh hb_codepoint_parse (const char *s, unsigned int len, int base, hb_codepoint_t *out) s 876 third_party/harfbuzz-ng/src/hb-private.hh strncpy (buf, s, len); s 194 third_party/harfbuzz-ng/src/hb-shape.cc char s[128]; s 197 third_party/harfbuzz-ng/src/hb-shape.cc s[len++] = '-'; s 198 third_party/harfbuzz-ng/src/hb-shape.cc hb_tag_to_string (feature->tag, s + len); s 200 third_party/harfbuzz-ng/src/hb-shape.cc while (len && s[len - 1] == ' ') s 204 third_party/harfbuzz-ng/src/hb-shape.cc s[len++] = '['; s 206 third_party/harfbuzz-ng/src/hb-shape.cc len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->start)); s 208 third_party/harfbuzz-ng/src/hb-shape.cc s[len++] = ':'; s 210 third_party/harfbuzz-ng/src/hb-shape.cc len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->end)); s 212 third_party/harfbuzz-ng/src/hb-shape.cc s[len++] = ']'; s 216 third_party/harfbuzz-ng/src/hb-shape.cc s[len++] = '='; s 217 third_party/harfbuzz-ng/src/hb-shape.cc len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->value)); s 219 third_party/harfbuzz-ng/src/hb-shape.cc assert (len < ARRAY_LENGTH (s)); s 221 third_party/harfbuzz-ng/src/hb-shape.cc memcpy (buf, s, len); s 396 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glClearStencil (GLint s); s 527 third_party/leveldatabase/env_chromium.cc Status s; s 531 third_party/leveldatabase/env_chromium.cc s = MakeIOError(fname, "Could not determine file size.", kGetFileSize); s 536 third_party/leveldatabase/env_chromium.cc return s; s 80 third_party/leveldatabase/env_chromium_stdio.cc Status s; s 88 third_party/leveldatabase/env_chromium_stdio.cc s = MakeIOError(filename_, strerror(errno), kSequentialFileRead, errno); s 92 third_party/leveldatabase/env_chromium_stdio.cc return s; s 121 third_party/leveldatabase/env_chromium_stdio.cc Status s; s 126 third_party/leveldatabase/env_chromium_stdio.cc s = MakeIOError( s 130 third_party/leveldatabase/env_chromium_stdio.cc return s; s 165 third_party/leveldatabase/env_chromium_stdio.cc Status s; s 177 third_party/leveldatabase/env_chromium_stdio.cc s = MakeIOError( s 182 third_party/leveldatabase/env_chromium_stdio.cc return s; s 187 third_party/leveldatabase/env_chromium_stdio.cc Status s = SyncParent(); s 188 third_party/leveldatabase/env_chromium_stdio.cc if (!s.ok()) s 189 third_party/leveldatabase/env_chromium_stdio.cc return s; s 26 third_party/leveldatabase/env_chromium_unittest.cc const Status s = MakeIOError("Somefile.txt", "message", in_method); s 30 third_party/leveldatabase/env_chromium_unittest.cc ParseMethodAndError(s.ToString().c_str(), &method, &error)); s 38 third_party/leveldatabase/env_chromium_unittest.cc const Status s = MakeIOError("Somefile.txt", "message", in_method, fe); s 42 third_party/leveldatabase/env_chromium_unittest.cc ParseMethodAndError(s.ToString().c_str(), &method, &error)); s 50 third_party/leveldatabase/env_chromium_unittest.cc const Status s = s 55 third_party/leveldatabase/env_chromium_unittest.cc ParseMethodAndError(s.ToString().c_str(), &method, &error)); s 64 third_party/leveldatabase/env_chromium_unittest.cc const Status s = s 69 third_party/leveldatabase/env_chromium_unittest.cc ParseMethodAndError(s.ToString().c_str(), &method, &error)); s 76 third_party/leveldatabase/env_chromium_unittest.cc Status s = Status::IOError("Some message", "from leveldb itself"); s 79 third_party/leveldatabase/env_chromium_unittest.cc EXPECT_EQ(NONE, ParseMethodAndError(s.ToString().c_str(), &method, &error)); s 124 third_party/leveldatabase/env_chromium_unittest.cc Status s = env.NewWritableFile(manifest_file_name, &manifest_file_ptr); s 125 third_party/leveldatabase/env_chromium_unittest.cc EXPECT_TRUE(s.ok()); s 135 third_party/leveldatabase/env_chromium_unittest.cc s = env.NewWritableFile(sst_file_name, &sst_file_ptr); s 136 third_party/leveldatabase/env_chromium_unittest.cc EXPECT_TRUE(s.ok()); s 61 third_party/leveldatabase/env_chromium_win.cc Status s; s 68 third_party/leveldatabase/env_chromium_win.cc s = MakeIOErrorWin( s 74 third_party/leveldatabase/env_chromium_win.cc return s; s 106 third_party/leveldatabase/env_chromium_win.cc Status s; s 111 third_party/leveldatabase/env_chromium_win.cc s = MakeIOError( s 115 third_party/leveldatabase/env_chromium_win.cc return s; s 179 third_party/leveldatabase/env_chromium_win.cc Status s = SyncParent(); s 180 third_party/leveldatabase/env_chromium_win.cc if (!s.ok()) s 181 third_party/leveldatabase/env_chromium_win.cc return s; s 63 third_party/libaddressinput/chromium/cpp/src/util/md5.cc #define MD5STEP(f, w, x, y, z, data, s) \ s 64 third_party/libaddressinput/chromium/cpp/src/util/md5.cc ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) s 61 third_party/libaddressinput/chromium/cpp/src/util/string_util.cc void SplitString(const std::string& str, char s, std::vector<std::string>* r) { s 67 third_party/libaddressinput/chromium/cpp/src/util/string_util.cc if (i == c || str[i] == s) { s 380 third_party/libevent/evdns.c #define CLOSE_SOCKET(s) EVUTIL_CLOSESOCKET(s) s 1196 third_party/libevent/evdns.c server_port_read(struct evdns_server_port *s) { s 1204 third_party/libevent/evdns.c r = recvfrom(s->socket, packet, sizeof(packet), 0, s 1207 third_party/libevent/evdns.c int err = last_error(s->socket); s 1213 third_party/libevent/evdns.c request_parse(packet, r, s, (struct sockaddr*) &addr, addrlen); s 1656 third_party/libevent/evdns.c const char *s = req->base.questions[i]->name; s 1657 third_party/libevent/evdns.c j = dnsname_to_labels(buf, buf_len, j, s, strlen(s), &table); s 2224 third_party/libevent/evdns.c string_num_dots(const char *s) { s 2226 third_party/libevent/evdns.c while ((s = strchr(s, '.'))) { s 2227 third_party/libevent/evdns.c s++; s 2622 third_party/libevent/evdns.c strtok_r(char *s, const char *delim, char **state) { s 2623 third_party/libevent/evdns.c return strtok(s, delim); s 180 third_party/libevent/evutil.c evutil_strtoll(const char *s, char **endptr, int base) s 183 third_party/libevent/evutil.c return (ev_int64_t)strtoll(s, endptr, base); s 185 third_party/libevent/evutil.c return (ev_int64_t)strtol(s, endptr, base); s 192 third_party/libevent/evutil.c r = (ev_int64_t) _atoi64(s); s 193 third_party/libevent/evutil.c while (isspace(*s)) s 194 third_party/libevent/evutil.c ++s; s 195 third_party/libevent/evutil.c while (isdigit(*s)) s 196 third_party/libevent/evutil.c ++s; s 198 third_party/libevent/evutil.c *endptr = (char*) s; s 201 third_party/libevent/evutil.c return (ev_int64_t) _strtoi64(s, endptr, base); s 104 third_party/libevent/evutil.h #define EVUTIL_CLOSESOCKET(s) closesocket(s) s 106 third_party/libevent/evutil.h #define EVUTIL_CLOSESOCKET(s) close(s) s 165 third_party/libevent/evutil.h ev_int64_t evutil_strtoll(const char *s, char **endptr, int base); s 226 third_party/libevent/http.c strsep(char **s, const char *del) s 230 third_party/libevent/http.c if (!s || !*s) s 232 third_party/libevent/http.c tok = *s; s 236 third_party/libevent/http.c *s = d + 1; s 238 third_party/libevent/http.c *s = NULL; s 39 third_party/libevent/min_heap.h static inline void min_heap_ctor(min_heap_t* s); s 40 third_party/libevent/min_heap.h static inline void min_heap_dtor(min_heap_t* s); s 43 third_party/libevent/min_heap.h static inline int min_heap_empty(min_heap_t* s); s 44 third_party/libevent/min_heap.h static inline unsigned min_heap_size(min_heap_t* s); s 45 third_party/libevent/min_heap.h static inline struct event* min_heap_top(min_heap_t* s); s 46 third_party/libevent/min_heap.h static inline int min_heap_reserve(min_heap_t* s, unsigned n); s 47 third_party/libevent/min_heap.h static inline int min_heap_push(min_heap_t* s, struct event* e); s 48 third_party/libevent/min_heap.h static inline struct event* min_heap_pop(min_heap_t* s); s 49 third_party/libevent/min_heap.h static inline int min_heap_erase(min_heap_t* s, struct event* e); s 50 third_party/libevent/min_heap.h static inline void min_heap_shift_up_(min_heap_t* s, unsigned hole_index, struct event* e); s 51 third_party/libevent/min_heap.h static inline void min_heap_shift_down_(min_heap_t* s, unsigned hole_index, struct event* e); s 58 third_party/libevent/min_heap.h void min_heap_ctor(min_heap_t* s) { s->p = 0; s->n = 0; s->a = 0; } s 59 third_party/libevent/min_heap.h void min_heap_dtor(min_heap_t* s) { free(s->p); } s 61 third_party/libevent/min_heap.h int min_heap_empty(min_heap_t* s) { return 0u == s->n; } s 62 third_party/libevent/min_heap.h unsigned min_heap_size(min_heap_t* s) { return s->n; } s 63 third_party/libevent/min_heap.h struct event* min_heap_top(min_heap_t* s) { return s->n ? *s->p : 0; } s 65 third_party/libevent/min_heap.h int min_heap_push(min_heap_t* s, struct event* e) s 67 third_party/libevent/min_heap.h if(min_heap_reserve(s, s->n + 1)) s 69 third_party/libevent/min_heap.h min_heap_shift_up_(s, s->n++, e); s 73 third_party/libevent/min_heap.h struct event* min_heap_pop(min_heap_t* s) s 75 third_party/libevent/min_heap.h if(s->n) s 77 third_party/libevent/min_heap.h struct event* e = *s->p; s 78 third_party/libevent/min_heap.h min_heap_shift_down_(s, 0u, s->p[--s->n]); s 85 third_party/libevent/min_heap.h int min_heap_erase(min_heap_t* s, struct event* e) s 89 third_party/libevent/min_heap.h struct event *last = s->p[--s->n]; s 96 third_party/libevent/min_heap.h if (e->min_heap_idx > 0 && min_heap_elem_greater(s->p[parent], last)) s 97 third_party/libevent/min_heap.h min_heap_shift_up_(s, e->min_heap_idx, last); s 99 third_party/libevent/min_heap.h min_heap_shift_down_(s, e->min_heap_idx, last); s 106 third_party/libevent/min_heap.h int min_heap_reserve(min_heap_t* s, unsigned n) s 108 third_party/libevent/min_heap.h if(s->a < n) s 111 third_party/libevent/min_heap.h unsigned a = s->a ? s->a * 2 : 8; s 114 third_party/libevent/min_heap.h if(!(p = (struct event**)realloc(s->p, a * sizeof *p))) s 116 third_party/libevent/min_heap.h s->p = p; s 117 third_party/libevent/min_heap.h s->a = a; s 122 third_party/libevent/min_heap.h void min_heap_shift_up_(min_heap_t* s, unsigned hole_index, struct event* e) s 125 third_party/libevent/min_heap.h while(hole_index && min_heap_elem_greater(s->p[parent], e)) s 127 third_party/libevent/min_heap.h (s->p[hole_index] = s->p[parent])->min_heap_idx = hole_index; s 131 third_party/libevent/min_heap.h (s->p[hole_index] = e)->min_heap_idx = hole_index; s 134 third_party/libevent/min_heap.h void min_heap_shift_down_(min_heap_t* s, unsigned hole_index, struct event* e) s 137 third_party/libevent/min_heap.h while(min_child <= s->n) s 139 third_party/libevent/min_heap.h min_child -= min_child == s->n || min_heap_elem_greater(s->p[min_child], s->p[min_child - 1]); s 140 third_party/libevent/min_heap.h if(!(min_heap_elem_greater(e, s->p[min_child]))) s 142 third_party/libevent/min_heap.h (s->p[hole_index] = s->p[min_child])->min_heap_idx = hole_index; s 146 third_party/libevent/min_heap.h min_heap_shift_up_(s, hole_index, e); s 55 third_party/libevent/strlcpy.c register const char *s = src; s 61 third_party/libevent/strlcpy.c if ((*d++ = *s++) == 0) s 70 third_party/libevent/strlcpy.c while (*s++) s 74 third_party/libevent/strlcpy.c return(s - src - 1); /* count does not include NUL */ s 1587 third_party/libevent/test/regress.c const char *s; s 1596 third_party/libevent/test/regress.c s = " 99999stuff"; s 1597 third_party/libevent/test/regress.c if (evutil_strtoll(s, &endptr, 10) != (ev_int64_t)99999) s 1599 third_party/libevent/test/regress.c if (endptr != s+6) s 443 third_party/libjpeg/jdhuff.c #define HUFF_EXTEND(x,s) ((x) < (1<<((s)-1)) ? (x) + (((-1)<<(s)) + 1) : (x)) s 447 third_party/libjpeg/jdhuff.c #define HUFF_EXTEND(x,s) ((x) < extend_test[s] ? (x) + extend_offset[s] : (x)) s 546 third_party/libjpeg/jdhuff.c register int s, k, r; s 551 third_party/libjpeg/jdhuff.c HUFF_DECODE(s, br_state, dctbl, return FALSE, label1); s 552 third_party/libjpeg/jdhuff.c if (s) { s 553 third_party/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 554 third_party/libjpeg/jdhuff.c r = GET_BITS(s); s 555 third_party/libjpeg/jdhuff.c s = HUFF_EXTEND(r, s); s 561 third_party/libjpeg/jdhuff.c s += state.last_dc_val[ci]; s 562 third_party/libjpeg/jdhuff.c state.last_dc_val[ci] = s; s 564 third_party/libjpeg/jdhuff.c (*block)[0] = (JCOEF) s; s 572 third_party/libjpeg/jdhuff.c HUFF_DECODE(s, br_state, actbl, return FALSE, label2); s 574 third_party/libjpeg/jdhuff.c r = s >> 4; s 575 third_party/libjpeg/jdhuff.c s &= 15; s 577 third_party/libjpeg/jdhuff.c if (s) { s 579 third_party/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 580 third_party/libjpeg/jdhuff.c r = GET_BITS(s); s 581 third_party/libjpeg/jdhuff.c s = HUFF_EXTEND(r, s); s 586 third_party/libjpeg/jdhuff.c (*block)[jpeg_natural_order[k]] = (JCOEF) s; s 599 third_party/libjpeg/jdhuff.c HUFF_DECODE(s, br_state, actbl, return FALSE, label3); s 601 third_party/libjpeg/jdhuff.c r = s >> 4; s 602 third_party/libjpeg/jdhuff.c s &= 15; s 604 third_party/libjpeg/jdhuff.c if (s) { s 606 third_party/libjpeg/jdhuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 607 third_party/libjpeg/jdhuff.c DROP_BITS(s); s 203 third_party/libjpeg/jdphuff.c #define HUFF_EXTEND(x,s) ((x) < (1<<((s)-1)) ? (x) + (((-1)<<(s)) + 1) : (x)) s 207 third_party/libjpeg/jdphuff.c #define HUFF_EXTEND(x,s) ((x) < extend_test[s] ? (x) + extend_offset[s] : (x)) s 290 third_party/libjpeg/jdphuff.c register int s, r; s 325 third_party/libjpeg/jdphuff.c HUFF_DECODE(s, br_state, tbl, return FALSE, label1); s 326 third_party/libjpeg/jdphuff.c if (s) { s 327 third_party/libjpeg/jdphuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 328 third_party/libjpeg/jdphuff.c r = GET_BITS(s); s 329 third_party/libjpeg/jdphuff.c s = HUFF_EXTEND(r, s); s 333 third_party/libjpeg/jdphuff.c s += state.last_dc_val[ci]; s 334 third_party/libjpeg/jdphuff.c state.last_dc_val[ci] = s; s 336 third_party/libjpeg/jdphuff.c (*block)[0] = (JCOEF) (s << Al); s 362 third_party/libjpeg/jdphuff.c register int s, k, r; s 395 third_party/libjpeg/jdphuff.c HUFF_DECODE(s, br_state, tbl, return FALSE, label2); s 396 third_party/libjpeg/jdphuff.c r = s >> 4; s 397 third_party/libjpeg/jdphuff.c s &= 15; s 398 third_party/libjpeg/jdphuff.c if (s) { s 400 third_party/libjpeg/jdphuff.c CHECK_BIT_BUFFER(br_state, s, return FALSE); s 401 third_party/libjpeg/jdphuff.c r = GET_BITS(s); s 402 third_party/libjpeg/jdphuff.c s = HUFF_EXTEND(r, s); s 404 third_party/libjpeg/jdphuff.c (*block)[jpeg_natural_order[k]] = (JCOEF) (s << Al); s 497 third_party/libjpeg/jdphuff.c register int s, k, r; s 538 third_party/libjpeg/jdphuff.c HUFF_DECODE(s, br_state, tbl, goto undoit, label3); s 539 third_party/libjpeg/jdphuff.c r = s >> 4; s 540 third_party/libjpeg/jdphuff.c s &= 15; s 541 third_party/libjpeg/jdphuff.c if (s) { s 542 third_party/libjpeg/jdphuff.c if (s != 1) /* size of new coef should always be 1 */ s 546 third_party/libjpeg/jdphuff.c s = p1; /* newly nonzero coef is positive */ s 548 third_party/libjpeg/jdphuff.c s = m1; /* newly nonzero coef is negative */ s 583 third_party/libjpeg/jdphuff.c if (s) { s 586 third_party/libjpeg/jdphuff.c (*block)[pos] = (JCOEF) s; s 193 third_party/libjpeg/jerror.c sprintf(buffer, msgtext, err->msg_parm.s); s 232 third_party/libjpeg/jerror.h strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \ s 288 third_party/libjpeg/jerror.h strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \ s 667 third_party/libjpeg/jpeglib.h char s[JMSG_STR_PARM_MAX]; s 3515 third_party/liblouis/overrides/liblouis/compileTranslationTable.c hyphenStringHash (const CharsString * s) s 3519 third_party/liblouis/overrides/liblouis/compileTranslationTable.c for (k = 0; k < s->length; k++) s 3521 third_party/liblouis/overrides/liblouis/compileTranslationTable.c h = (h << 4) + s->chars[k]; s 1358 third_party/libusb/src/libusb/os/windows_usb.c LONG s; s 1482 third_party/libusb/src/libusb/os/windows_usb.c s = pRegQueryValueExW(key, L"DeviceInterfaceGUIDs", NULL, ®_type, s 1485 third_party/libusb/src/libusb/os/windows_usb.c if (s == ERROR_SUCCESS) { s 97 third_party/libwebp/dec/frame.c int s; s 99 third_party/libwebp/dec/frame.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 104 third_party/libwebp/dec/frame.c base_level = dec->segment_hdr_.filter_strength_[s]; s 112 third_party/libwebp/dec/frame.c VP8FInfo* const info = &dec->fstrengths_[s][i4x4]; s 164 third_party/libwebp/dec/frame.c int s; s 166 third_party/libwebp/dec/frame.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 167 third_party/libwebp/dec/frame.c VP8QuantMatrix* const dqm = &dec->dqm_[s]; s 159 third_party/libwebp/dec/vp8.c int s; s 161 third_party/libwebp/dec/vp8.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 162 third_party/libwebp/dec/vp8.c hdr->quantizer_[s] = VP8Get(br) ? VP8GetSignedValue(br, 7) : 0; s 164 third_party/libwebp/dec/vp8.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 165 third_party/libwebp/dec/vp8.c hdr->filter_strength_[s] = VP8Get(br) ? VP8GetSignedValue(br, 6) : 0; s 169 third_party/libwebp/dec/vp8.c int s; s 170 third_party/libwebp/dec/vp8.c for (s = 0; s < MB_FEATURE_TREE_PROBS; ++s) { s 171 third_party/libwebp/dec/vp8.c proba->segments_[s] = VP8Get(br) ? VP8GetValue(br, 8) : 255u; s 24 third_party/libwebp/dsp/dec_neon.c #define FLIP_SIGN_BIT2(a, b, s) \ s 25 third_party/libwebp/dsp/dec_neon.c "veor " #a "," #a "," #s " \n" \ s 26 third_party/libwebp/dsp/dec_neon.c "veor " #b "," #b "," #s " \n" \ s 28 third_party/libwebp/dsp/dec_neon.c #define FLIP_SIGN_BIT4(a, b, c, d, s) \ s 29 third_party/libwebp/dsp/dec_neon.c FLIP_SIGN_BIT2(a, b, s) \ s 30 third_party/libwebp/dsp/dec_neon.c FLIP_SIGN_BIT2(c, d, s) \ s 68 third_party/libwebp/dsp/upsampling_sse2.c const __m128i s = _mm_avg_epu8(a, d); /* s = (a + d + 1) / 2 */ \ s 70 third_party/libwebp/dsp/upsampling_sse2.c const __m128i st = _mm_xor_si128(s, t); /* st = s^t */ \ s 78 third_party/libwebp/dsp/upsampling_sse2.c const __m128i t4 = _mm_avg_epu8(s, t); \ s 83 third_party/libwebp/dsp/upsampling_sse2.c GET_M(ad, s, diag2); /* diag2 = (3a + b + c + 3d) / 8 */ \ s 341 third_party/libwebp/enc/filter.c double VP8SSIMGetSquaredError(const DistoStats* const s) { s 342 third_party/libwebp/enc/filter.c if (s->w > 0.) { s 343 third_party/libwebp/enc/filter.c const double iw2 = 1. / (s->w * s->w); s 344 third_party/libwebp/enc/filter.c const double sxx = s->xxm * s->w - s->xm * s->xm; s 345 third_party/libwebp/enc/filter.c const double syy = s->yym * s->w - s->ym * s->ym; s 346 third_party/libwebp/enc/filter.c const double sxy = s->xym * s->w - s->xm * s->ym; s 366 third_party/libwebp/enc/filter.c DistoStats s = { .0, .0, .0, .0, .0, .0 }; s 371 third_party/libwebp/enc/filter.c VP8SSIMAccumulate(yuv1 + Y_OFF, BPS, yuv2 + Y_OFF, BPS, x, y, 16, 16, &s); s 376 third_party/libwebp/enc/filter.c VP8SSIMAccumulate(yuv1 + U_OFF, BPS, yuv2 + U_OFF, BPS, x, y, 8, 8, &s); s 377 third_party/libwebp/enc/filter.c VP8SSIMAccumulate(yuv1 + V_OFF, BPS, yuv2 + V_OFF, BPS, x, y, 8, 8, &s); s 380 third_party/libwebp/enc/filter.c return VP8SSIMGet(&s); s 389 third_party/libwebp/enc/filter.c int s, i; s 391 third_party/libwebp/enc/filter.c for (s = 0; s < NUM_MB_SEGMENTS; s++) { s 393 third_party/libwebp/enc/filter.c (*it->lf_stats_)[s][i] = 0; s 402 third_party/libwebp/enc/filter.c const int s = it->mb_->segment_; s 403 third_party/libwebp/enc/filter.c const int level0 = enc->dqm_[s].fstrength_; // TODO: ref_lf_delta[] s 406 third_party/libwebp/enc/filter.c const int delta_min = -enc->dqm_[s].quant_; s 407 third_party/libwebp/enc/filter.c const int delta_max = enc->dqm_[s].quant_; s 421 third_party/libwebp/enc/filter.c (*it->lf_stats_)[s][0] += GetMBSSIM(it->yuv_in_, it->yuv_out_); s 429 third_party/libwebp/enc/filter.c (*it->lf_stats_)[s][level] += GetMBSSIM(it->yuv_in_, it->yuv_out2_); s 436 third_party/libwebp/enc/filter.c int s; s 437 third_party/libwebp/enc/filter.c for (s = 0; s < NUM_MB_SEGMENTS; s++) { s 440 third_party/libwebp/enc/filter.c double best_v = 1.00001 * (*it->lf_stats_)[s][0]; s 442 third_party/libwebp/enc/filter.c const double v = (*it->lf_stats_)[s][i]; s 448 third_party/libwebp/enc/filter.c enc->dqm_[s].fstrength_ = best_level; s 452 third_party/libwebp/enc/filter.c int s; s 453 third_party/libwebp/enc/filter.c for (s = 0; s < NUM_MB_SEGMENTS; s++) { s 454 third_party/libwebp/enc/filter.c VP8SegmentInfo* const dqm = &enc->dqm_[s]; s 57 third_party/libwebp/enc/frame.c static int InitPassStats(const VP8Encoder* const enc, PassStats* const s) { s 62 third_party/libwebp/enc/frame.c s->is_first = 1; s 63 third_party/libwebp/enc/frame.c s->dq = 10.f; s 64 third_party/libwebp/enc/frame.c s->q = s->last_q = enc->config_->quality; s 65 third_party/libwebp/enc/frame.c s->target = do_size_search ? (double)target_size s 68 third_party/libwebp/enc/frame.c s->value = s->last_value = 0.; s 69 third_party/libwebp/enc/frame.c s->do_size_search = do_size_search; s 77 third_party/libwebp/enc/frame.c static float ComputeNextQ(PassStats* const s) { s 79 third_party/libwebp/enc/frame.c if (s->is_first) { s 80 third_party/libwebp/enc/frame.c dq = (s->value > s->target) ? -s->dq : s->dq; s 81 third_party/libwebp/enc/frame.c s->is_first = 0; s 82 third_party/libwebp/enc/frame.c } else if (s->value != s->last_value) { s 83 third_party/libwebp/enc/frame.c const double slope = (s->target - s->value) / (s->last_value - s->value); s 84 third_party/libwebp/enc/frame.c dq = (float)(slope * (s->last_q - s->q)); s 89 third_party/libwebp/enc/frame.c s->dq = Clamp(dq, -30.f, 30.f); s 90 third_party/libwebp/enc/frame.c s->last_q = s->q; s 91 third_party/libwebp/enc/frame.c s->last_value = s->value; s 92 third_party/libwebp/enc/frame.c s->q = Clamp(s->q + s->dq, 0.f, 100.f); s 93 third_party/libwebp/enc/frame.c return s->q; s 173 third_party/libwebp/enc/frame.c proba_t* s = res->stats[n][ctx]; s 175 third_party/libwebp/enc/frame.c Record(0, s + 0); s 180 third_party/libwebp/enc/frame.c Record(1, s + 0); // order of record doesn't matter s 182 third_party/libwebp/enc/frame.c Record(0, s + 1); s 183 third_party/libwebp/enc/frame.c s = res->stats[VP8EncBands[n]][0]; s 185 third_party/libwebp/enc/frame.c Record(1, s + 1); s 186 third_party/libwebp/enc/frame.c if (!Record(2u < (unsigned int)(v + 1), s + 2)) { // v = -1 or 1 s 187 third_party/libwebp/enc/frame.c s = res->stats[VP8EncBands[n]][1]; s 191 third_party/libwebp/enc/frame.c if (!Record(v > 4, s + 3)) { s 192 third_party/libwebp/enc/frame.c if (Record(v != 2, s + 4)) s 193 third_party/libwebp/enc/frame.c Record(v == 4, s + 5); s 194 third_party/libwebp/enc/frame.c } else if (!Record(v > 10, s + 6)) { s 195 third_party/libwebp/enc/frame.c Record(v > 6, s + 7); s 196 third_party/libwebp/enc/frame.c } else if (!Record((v >= 3 + (8 << 2)), s + 8)) { s 197 third_party/libwebp/enc/frame.c Record((v >= 3 + (8 << 1)), s + 9); s 199 third_party/libwebp/enc/frame.c Record((v >= 3 + (8 << 3)), s + 10); s 211 third_party/libwebp/enc/frame.c if (pattern & 1) Record(!!(bits & mask), s + 3 + i); s 215 third_party/libwebp/enc/frame.c s = res->stats[VP8EncBands[n]][2]; s 218 third_party/libwebp/enc/frame.c if (n < 16) Record(0, s + 0); s 753 third_party/libwebp/enc/frame.c PassStats* const s) { s 761 third_party/libwebp/enc/frame.c SetLoopParams(enc, s->q); s 779 third_party/libwebp/enc/frame.c if (s->do_size_search) { s 783 third_party/libwebp/enc/frame.c s->value = (double)size; s 785 third_party/libwebp/enc/frame.c s->value = GetPSNR(distortion, pixel_count); s 882 third_party/libwebp/enc/frame.c int i, s; s 884 third_party/libwebp/enc/frame.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 885 third_party/libwebp/enc/frame.c enc->residual_bytes_[i][s] = (int)((it->bit_count_[s][i] + 7) >> 3); s 480 third_party/libwebp/enc/picture.c const int s = IS_YUV_CSP(tmp.colorspace, WEBP_YUV422) ? 2 : 1; s 482 third_party/libwebp/enc/picture.c pic->u0, (prev_width + s / 2) / s, prev_height, pic->uv0_stride, s 483 third_party/libwebp/enc/picture.c tmp.u0, (width + s / 2) / s, height, tmp.uv0_stride, work, 1); s 485 third_party/libwebp/enc/picture.c pic->v0, (prev_width + s / 2) / s, prev_height, pic->uv0_stride, s 486 third_party/libwebp/enc/picture.c tmp.v0, (width + s / 2) / s, height, tmp.uv0_stride, work, 1); s 1151 third_party/libwebp/enc/picture.c const uint8_t* s = src + j * src_stride; s 1153 third_party/libwebp/enc/picture.c const double sse = (double)(s[i] - value) * (s[i] - value); s 194 third_party/libwebp/enc/syntax.c int s; s 199 third_party/libwebp/enc/syntax.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 200 third_party/libwebp/enc/syntax.c VP8PutSignedValue(bw, enc->dqm_[s].quant_, 7); s 202 third_party/libwebp/enc/syntax.c for (s = 0; s < NUM_MB_SEGMENTS; ++s) { s 203 third_party/libwebp/enc/syntax.c VP8PutSignedValue(bw, enc->dqm_[s].fstrength_, 6); s 207 third_party/libwebp/enc/syntax.c for (s = 0; s < 3; ++s) { s 208 third_party/libwebp/enc/syntax.c if (VP8PutBitUniform(bw, (proba->segments_[s] != 255u))) { s 209 third_party/libwebp/enc/syntax.c VP8PutValue(bw, proba->segments_[s], 8); s 308 third_party/libwebp/enc/tree.c static void PutSegment(VP8BitWriter* const bw, int s, const uint8_t* p) { s 309 third_party/libwebp/enc/tree.c if (VP8PutBit(bw, s >= 2, p[0])) p += 1; s 310 third_party/libwebp/enc/tree.c VP8PutBit(bw, s & 1, p[1]); s 297 third_party/libwebp/enc/webpenc.c int i, s; s 301 third_party/libwebp/enc/webpenc.c for (s = 0; s <= 2; ++s) { s 302 third_party/libwebp/enc/webpenc.c stats->residual_bytes[s][i] = enc->residual_bytes_[s][i]; s 53 third_party/libwebp/utils/bit_writer.c const int s = 8 + bw->nb_bits_; s 54 third_party/libwebp/utils/bit_writer.c const int32_t bits = bw->value_ >> s; s 56 third_party/libwebp/utils/bit_writer.c bw->value_ -= bits << s; s 78 third_party/libwebp/utils/quant_levels.c int s, slot = 0; s 81 third_party/libwebp/utils/quant_levels.c for (s = min_s; s <= max_s; ++s) { s 84 third_party/libwebp/utils/quant_levels.c 2 * s > inv_q_level[slot] + inv_q_level[slot + 1]) { s 87 third_party/libwebp/utils/quant_levels.c if (freq[s] > 0) { s 88 third_party/libwebp/utils/quant_levels.c q_sum[slot] += s * freq[s]; s 89 third_party/libwebp/utils/quant_levels.c q_count[slot] += freq[s]; s 91 third_party/libwebp/utils/quant_levels.c q_level[s] = slot; s 106 third_party/libwebp/utils/quant_levels.c for (s = min_s; s <= max_s; ++s) { s 107 third_party/libwebp/utils/quant_levels.c const double error = s - inv_q_level[q_level[s]]; s 108 third_party/libwebp/utils/quant_levels.c err += freq[s] * error * error; s 123 third_party/libwebp/utils/quant_levels.c int s; s 125 third_party/libwebp/utils/quant_levels.c for (s = min_s; s <= max_s; ++s) { s 126 third_party/libwebp/utils/quant_levels.c const int slot = q_level[s]; s 127 third_party/libwebp/utils/quant_levels.c map[s] = (uint8_t)(inv_q_level[slot] + .5); s 339 third_party/libxml/src/HTMLparser.c #define CUR_SCHAR(s, l) xmlStringCurrentChar(ctxt, s, &l) s 93 third_party/libxml/src/nanoftp.c #define closesocket(s) close(s) s 155 third_party/libxml/src/nanoftp.c int s; s 157 third_party/libxml/src/nanoftp.c s = socket (AF_INET6, SOCK_STREAM, 0); s 158 third_party/libxml/src/nanoftp.c if (s != -1) { s 159 third_party/libxml/src/nanoftp.c close (s); s 103 third_party/libxml/src/nanohttp.c #define closesocket(s) close(s) s 199 third_party/libxml/src/nanohttp.c int s; s 201 third_party/libxml/src/nanohttp.c s = socket (AF_INET6, SOCK_STREAM, 0); s 202 third_party/libxml/src/nanohttp.c if (s != -1) { s 203 third_party/libxml/src/nanohttp.c close (s); s 861 third_party/libxml/src/nanohttp.c SOCKET s; s 865 third_party/libxml/src/nanohttp.c s = socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP); s 870 third_party/libxml/src/nanohttp.c s = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); s 873 third_party/libxml/src/nanohttp.c if (s == -1) { s 884 third_party/libxml/src/nanohttp.c status = ioctlsocket(s, FIONBIO, &one) == SOCKET_ERROR ? -1 : 0; s 891 third_party/libxml/src/nanohttp.c status = ioctl(s, FIONBIO, &enable); s 899 third_party/libxml/src/nanohttp.c setsockopt(s, SOL_SOCKET, SO_NONBLOCK, &noblock, s 903 third_party/libxml/src/nanohttp.c if ((status = fcntl(s, F_GETFL, 0)) != -1) { s 911 third_party/libxml/src/nanohttp.c status = fcntl(s, F_SETFL, status); s 918 third_party/libxml/src/nanohttp.c closesocket(s); s 925 third_party/libxml/src/nanohttp.c if (connect(s, addr, addrlen) == -1) { s 933 third_party/libxml/src/nanohttp.c closesocket(s); s 946 third_party/libxml/src/nanohttp.c if (s > FD_SETSIZE) s 950 third_party/libxml/src/nanohttp.c FD_SET(s, &wfd); s 954 third_party/libxml/src/nanohttp.c FD_SET(s, &xfd); s 956 third_party/libxml/src/nanohttp.c switch (select(s + 1, NULL, &wfd, &xfd, &tv)) s 958 third_party/libxml/src/nanohttp.c switch (select(s + 1, NULL, &wfd, NULL, &tv)) s 965 third_party/libxml/src/nanohttp.c p.fd = s; s 974 third_party/libxml/src/nanohttp.c closesocket(s); s 979 third_party/libxml/src/nanohttp.c closesocket(s); s 984 third_party/libxml/src/nanohttp.c if (FD_ISSET(s, &wfd) s 986 third_party/libxml/src/nanohttp.c || FD_ISSET(s, &xfd) s 997 third_party/libxml/src/nanohttp.c if (getsockopt(s, SOL_SOCKET, SO_ERROR, (char *) &status, &len) < s 1007 third_party/libxml/src/nanohttp.c closesocket(s); s 1014 third_party/libxml/src/nanohttp.c closesocket(s); s 1018 third_party/libxml/src/nanohttp.c return (s); s 1045 third_party/libxml/src/nanohttp.c int s; s 1103 third_party/libxml/src/nanohttp.c s = xmlNanoHTTPConnectAttempt (addr); s 1104 third_party/libxml/src/nanohttp.c if (s != -1) { s 1106 third_party/libxml/src/nanohttp.c return (s); s 1189 third_party/libxml/src/nanohttp.c s = xmlNanoHTTPConnectAttempt (addr); s 1190 third_party/libxml/src/nanohttp.c if (s != -1) s 1191 third_party/libxml/src/nanohttp.c return (s); s 1814 third_party/libxml/src/parser.c #define CMP4( s, c1, c2, c3, c4 ) \ s 1815 third_party/libxml/src/parser.c ( ((unsigned char *) s)[ 0 ] == c1 && ((unsigned char *) s)[ 1 ] == c2 && \ s 1816 third_party/libxml/src/parser.c ((unsigned char *) s)[ 2 ] == c3 && ((unsigned char *) s)[ 3 ] == c4 ) s 1817 third_party/libxml/src/parser.c #define CMP5( s, c1, c2, c3, c4, c5 ) \ s 1818 third_party/libxml/src/parser.c ( CMP4( s, c1, c2, c3, c4 ) && ((unsigned char *) s)[ 4 ] == c5 ) s 1819 third_party/libxml/src/parser.c #define CMP6( s, c1, c2, c3, c4, c5, c6 ) \ s 1820 third_party/libxml/src/parser.c ( CMP5( s, c1, c2, c3, c4, c5 ) && ((unsigned char *) s)[ 5 ] == c6 ) s 1821 third_party/libxml/src/parser.c #define CMP7( s, c1, c2, c3, c4, c5, c6, c7 ) \ s 1822 third_party/libxml/src/parser.c ( CMP6( s, c1, c2, c3, c4, c5, c6 ) && ((unsigned char *) s)[ 6 ] == c7 ) s 1823 third_party/libxml/src/parser.c #define CMP8( s, c1, c2, c3, c4, c5, c6, c7, c8 ) \ s 1824 third_party/libxml/src/parser.c ( CMP7( s, c1, c2, c3, c4, c5, c6, c7 ) && ((unsigned char *) s)[ 7 ] == c8 ) s 1825 third_party/libxml/src/parser.c #define CMP9( s, c1, c2, c3, c4, c5, c6, c7, c8, c9 ) \ s 1826 third_party/libxml/src/parser.c ( CMP8( s, c1, c2, c3, c4, c5, c6, c7, c8 ) && \ s 1827 third_party/libxml/src/parser.c ((unsigned char *) s)[ 8 ] == c9 ) s 1828 third_party/libxml/src/parser.c #define CMP10( s, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10 ) \ s 1829 third_party/libxml/src/parser.c ( CMP9( s, c1, c2, c3, c4, c5, c6, c7, c8, c9 ) && \ s 1830 third_party/libxml/src/parser.c ((unsigned char *) s)[ 9 ] == c10 ) s 1899 third_party/libxml/src/parser.c #define CUR_SCHAR(s, l) xmlStringCurrentChar(ctxt, s, &l) s 9351 third_party/libxml/src/parser.c int s, sl; s 9369 third_party/libxml/src/parser.c s = CUR_CHAR(sl); s 9370 third_party/libxml/src/parser.c if (!IS_CHAR(s)) { s 9383 third_party/libxml/src/parser.c ((r != ']') || (s != ']') || (cur != '>'))) { s 9397 third_party/libxml/src/parser.c r = s; s 9399 third_party/libxml/src/parser.c s = cur; s 1575 third_party/libxml/src/pattern.c int i, s = 0, root = 0, flags = 0, prevs = -1; s 1619 third_party/libxml/src/pattern.c s = xmlStreamCompAddStep(stream, NULL, step.value, s 1621 third_party/libxml/src/pattern.c if (s < 0) s 1623 third_party/libxml/src/pattern.c prevs = s; s 1629 third_party/libxml/src/pattern.c s = xmlStreamCompAddStep(stream, s 1632 third_party/libxml/src/pattern.c if (s < 0) s 1655 third_party/libxml/src/pattern.c s = xmlStreamCompAddStep(stream, NULL, NULL, s 1657 third_party/libxml/src/pattern.c if (s < 0) s 1678 third_party/libxml/src/pattern.c s = xmlStreamCompAddStep(stream, step.value, step.value2, s 1680 third_party/libxml/src/pattern.c if (s < 0) s 1682 third_party/libxml/src/pattern.c prevs = s; s 1687 third_party/libxml/src/pattern.c s = xmlStreamCompAddStep(stream, step.value, step.value2, s 1689 third_party/libxml/src/pattern.c if (s < 0) s 1691 third_party/libxml/src/pattern.c prevs = s; s 1695 third_party/libxml/src/pattern.c s = xmlStreamCompAddStep(stream, NULL, NULL, s 1697 third_party/libxml/src/pattern.c if (s < 0) s 1699 third_party/libxml/src/pattern.c prevs = s; s 1731 third_party/libxml/src/pattern.c if (stream->nbStep <= s) s 1733 third_party/libxml/src/pattern.c stream->steps[s].flags |= XML_STREAM_STEP_FINAL; s 350 third_party/libxml/src/tree.c #define CUR_SCHAR(s, l) xmlStringCurrentChar(NULL, s, &l) s 107 third_party/libxml/src/uri.c #define STRNDUP(s, n) (char *) xmlStrndup((const xmlChar *)(s), (n)) s 706 third_party/libxml/src/xmlIO.c typedef int (* xmlWrapStatFunc) (const char *f, struct stat *s); s 482 third_party/libxml/src/xmlmemory.c char *s; s 508 third_party/libxml/src/xmlmemory.c s = (char *) HDR_2_CLIENT(p); s 512 third_party/libxml/src/xmlmemory.c if (s != NULL) s 513 third_party/libxml/src/xmlmemory.c strcpy(s,str); s 519 third_party/libxml/src/xmlmemory.c if (xmlMemTraceBlockAt == s) { s 525 third_party/libxml/src/xmlmemory.c return(s); s 810 third_party/libxml/src/xmlreader.c int val, s; s 860 third_party/libxml/src/xmlreader.c s = inbuf->use - reader->cur; s 863 third_party/libxml/src/xmlreader.c s, 0); s 864 third_party/libxml/src/xmlreader.c reader->cur += s; s 892 third_party/libxml/src/xmlreader.c s = inbuf->use - reader->cur; s 895 third_party/libxml/src/xmlreader.c s, 1); s 54 third_party/libxml/src/xmlregexp.c #define CUR_SCHAR(s, l) xmlStringCurrentChar(NULL, s, &l) s 6410 third_party/libxml/src/xpath.c xmlXPathObjectPtr arg, xmlXPathObjectPtr s) { s 6415 third_party/libxml/src/xpath.c if ((s == NULL) || (arg == NULL) || s 6418 third_party/libxml/src/xpath.c xmlXPathReleaseObject(ctxt->context, s); s 6429 third_party/libxml/src/xpath.c valuePush(ctxt, xmlXPathCacheObjectCopy(ctxt->context, s)); s 6437 third_party/libxml/src/xpath.c xmlXPathReleaseObject(ctxt->context, s); s 143 third_party/libxslt/libxslt/xsltInternals.h #define XSLT_HAS_INTERNAL_NSMAP(s) \ s 144 third_party/libxslt/libxslt/xsltInternals.h (((s) != NULL) && ((s)->principal) && \ s 145 third_party/libxslt/libxslt/xsltInternals.h ((s)->principal->principalData) && \ s 146 third_party/libxslt/libxslt/xsltInternals.h ((s)->principal->principalData->nsMap)) s 153 third_party/libxslt/libxslt/xsltInternals.h #define XSLT_GET_INTERNAL_NSMAP(s) ((s)->principal->principalData->nsMap) s 70 third_party/lzma_sdk/7zDec.c CByteInToLook s; s 73 third_party/lzma_sdk/7zDec.c s.p.Read = ReadByte; s 74 third_party/lzma_sdk/7zDec.c s.inStream = inStream; s 75 third_party/lzma_sdk/7zDec.c s.begin = s.end = s.cur = NULL; s 76 third_party/lzma_sdk/7zDec.c s.extra = False; s 77 third_party/lzma_sdk/7zDec.c s.res = SZ_OK; s 78 third_party/lzma_sdk/7zDec.c s.processed = 0; s 99 third_party/lzma_sdk/7zDec.c rc.Stream = &s.p; s 102 third_party/lzma_sdk/7zDec.c else if (s.extra) s 103 third_party/lzma_sdk/7zDec.c res = (s.res != SZ_OK ? s.res : SZ_ERROR_DATA); s 110 third_party/lzma_sdk/7zDec.c if (s.extra || sym < 0) s 115 third_party/lzma_sdk/7zDec.c res = (s.res != SZ_OK ? s.res : SZ_ERROR_DATA); s 116 third_party/lzma_sdk/7zDec.c else if (s.processed + (s.cur - s.begin) != inSize || !Ppmd7z_RangeDec_IsFinishedOK(&rc)) s 247 third_party/lzma_sdk/7zFile.c p->s.Read = FileSeqInStream_Read; s 267 third_party/lzma_sdk/7zFile.c p->s.Read = FileInStream_Read; s 268 third_party/lzma_sdk/7zFile.c p->s.Seek = FileInStream_Seek; s 283 third_party/lzma_sdk/7zFile.c p->s.Write = FileOutStream_Write; s 57 third_party/lzma_sdk/7zFile.h ISeqInStream s; s 66 third_party/lzma_sdk/7zFile.h ISeekInStream s; s 75 third_party/lzma_sdk/7zFile.h ISeqOutStream s; s 136 third_party/lzma_sdk/7zStream.c p->s.Look = lookahead ? s 139 third_party/lzma_sdk/7zStream.c p->s.Skip = LookToRead_Skip; s 140 third_party/lzma_sdk/7zStream.c p->s.Read = LookToRead_Read; s 141 third_party/lzma_sdk/7zStream.c p->s.Seek = LookToRead_Seek; s 157 third_party/lzma_sdk/7zStream.c p->s.Read = SecToLook_Read; s 168 third_party/lzma_sdk/7zStream.c p->s.Read = SecToRead_Read; s 450 third_party/lzma_sdk/LzmaEnc.c #define IsCharState(s) ((s) < 7) s 194 third_party/lzma_sdk/Types.h ILookInStream s; s 206 third_party/lzma_sdk/Types.h ISeqInStream s; s 214 third_party/lzma_sdk/Types.h ISeqInStream s; s 260 third_party/mach_override/libudis86/decode.c resolve_operand_size( const struct ud * u, unsigned int s ) s 262 third_party/mach_override/libudis86/decode.c switch ( s ) s 273 third_party/mach_override/libudis86/decode.c return s; s 336 third_party/mach_override/libudis86/decode.c decode_gpr(register struct ud* u, unsigned int s, unsigned char rm) s 338 third_party/mach_override/libudis86/decode.c switch (s) { s 120 third_party/markupsafe/_speedups.c PyObject *s = NULL, *rv = NULL, *html; s 149 third_party/markupsafe/_speedups.c s = escape_unicode((PyUnicodeObject*)unicode); s 153 third_party/markupsafe/_speedups.c s = escape_unicode((PyUnicodeObject*)text); s 156 third_party/markupsafe/_speedups.c rv = PyObject_CallFunctionObjArgs(markup, (PyObject*)s, NULL); s 157 third_party/markupsafe/_speedups.c Py_DECREF(s); s 172 third_party/markupsafe/_speedups.c soft_unicode(PyObject *self, PyObject *s) s 174 third_party/markupsafe/_speedups.c if (!PyUnicode_Check(s)) s 176 third_party/markupsafe/_speedups.c return PyObject_Unicode(s); s 178 third_party/markupsafe/_speedups.c return PyObject_Str(s); s 180 third_party/markupsafe/_speedups.c Py_INCREF(s); s 181 third_party/markupsafe/_speedups.c return s; s 138 third_party/modp_b64/modp_b64.h inline std::string& modp_b64_encode(std::string& s) s 140 third_party/modp_b64/modp_b64.h std::string x(modp_b64_encode_len(s.size()), '\0'); s 141 third_party/modp_b64/modp_b64.h size_t d = modp_b64_encode(const_cast<char*>(x.data()), s.data(), (int)s.size()); s 143 third_party/modp_b64/modp_b64.h s.swap(x); s 144 third_party/modp_b64/modp_b64.h return s; s 156 third_party/modp_b64/modp_b64.h inline std::string& modp_b64_decode(std::string& s) s 158 third_party/modp_b64/modp_b64.h std::string x(modp_b64_decode_len(s.size()), '\0'); s 159 third_party/modp_b64/modp_b64.h size_t d = modp_b64_decode(const_cast<char*>(x.data()), s.data(), (int)s.size()); s 165 third_party/modp_b64/modp_b64.h s.swap(x); s 166 third_party/modp_b64/modp_b64.h return s; s 60 third_party/mt19937ar/mt19937ar.cc void MersenneTwister::init_genrand(uint32 s) s 62 third_party/mt19937ar/mt19937ar.cc mt[0]= s & 0xffffffffUL; s 56 third_party/mt19937ar/mt19937ar.h void init_genrand(uint32 s); s 49 third_party/npapi/npspy/common/utils.cpp struct stat s; s 50 third_party/npapi/npspy/common/utils.cpp return (stat(szFileName, &s) != -1); s 126 third_party/npapi/npspy/extern/java/jni.h jshort s; s 74 third_party/npapi/npspy/extern/java/jritypes.h jshort s; s 156 third_party/npapi/npspy/extern/nspr/md/_pth.h #define _PT_PTHREAD_ATTR_GETSTACKSIZE(a, s) \ s 157 third_party/npapi/npspy/extern/nspr/md/_pth.h (*(s) = pthread_attr_getstacksize(*(a)), 0) s 166 third_party/npapi/npspy/extern/nspr/md/_pth.h #define _PT_PTHREAD_ATTR_GETSTACKSIZE(a, s) pthread_attr_getstacksize(a, s) s 128 third_party/npapi/npspy/extern/nspr/md/_sunos4.h extern int getsockname (int s, struct sockaddr *name, int *namelen); s 129 third_party/npapi/npspy/extern/nspr/md/_sunos4.h extern int getpeername (int s, struct sockaddr *name, int *namelen); s 130 third_party/npapi/npspy/extern/nspr/md/_sunos4.h extern int getsockopt (int s, int level, int optname, char* optval, int* optlen); s 131 third_party/npapi/npspy/extern/nspr/md/_sunos4.h extern int setsockopt (int s, int level, int optname, const char* optval, int optlen); s 132 third_party/npapi/npspy/extern/nspr/md/_sunos4.h extern int accept (int s, struct sockaddr *addr, int *addrlen); s 133 third_party/npapi/npspy/extern/nspr/md/_sunos4.h extern int listen (int s, int backlog); s 303 third_party/npapi/npspy/extern/nspr/md/_win16.h #define _MD_SOCKETPAIR(s, type, proto, sv) -1 s 293 third_party/npapi/npspy/extern/nspr/md/_win95.h #define _MD_SOCKETPAIR(s, type, proto, sv) -1 s 300 third_party/npapi/npspy/extern/nspr/md/_winnt.h #define _MD_CLOSE_SOCKET(s) _PR_MD_CLOSE(s, PR_TRUE) s 303 third_party/npapi/npspy/extern/nspr/md/_winnt.h #define _MD_SOCKETPAIR(s, type, proto, sv) -1 s 332 third_party/npapi/npspy/extern/nspr/md/_winnt.h #define _MD_ACCEPT(s, a, l, to) \ s 333 third_party/npapi/npspy/extern/nspr/md/_winnt.h _MD_FAST_ACCEPT(s, a, l, to, PR_FALSE, NULL, NULL) s 334 third_party/npapi/npspy/extern/nspr/md/_winnt.h #define _MD_FAST_ACCEPT(s, a, l, to, fast, cb, cba) \ s 335 third_party/npapi/npspy/extern/nspr/md/_winnt.h _PR_MD_FAST_ACCEPT(s, a, l, to, fast, cb, cba) s 336 third_party/npapi/npspy/extern/nspr/md/_winnt.h #define _MD_ACCEPT_READ(s, ns, ra, buf, l, t) \ s 337 third_party/npapi/npspy/extern/nspr/md/_winnt.h _MD_FAST_ACCEPT_READ(s, ns, ra, buf, l, t, PR_FALSE, NULL, NULL) s 338 third_party/npapi/npspy/extern/nspr/md/_winnt.h #define _MD_FAST_ACCEPT_READ(s, ns, ra, buf, l, t, fast, cb, cba) \ s 339 third_party/npapi/npspy/extern/nspr/md/_winnt.h _PR_MD_FAST_ACCEPT_READ(s, ns, ra, buf, l, t, fast, cb, cba) s 141 third_party/npapi/npspy/extern/nspr/plstr.h PL_strdup(const char *s); s 150 third_party/npapi/npspy/extern/nspr/plstr.h PL_strfree(char *s); s 165 third_party/npapi/npspy/extern/nspr/plstr.h PL_strndup(const char *s, PRUint32 max); s 267 third_party/npapi/npspy/extern/nspr/plstr.h PL_strchr(const char *s, char c); s 278 third_party/npapi/npspy/extern/nspr/plstr.h PL_strrchr(const char *s, char c); s 290 third_party/npapi/npspy/extern/nspr/plstr.h PL_strnchr(const char *s, char c, PRUint32 n); s 302 third_party/npapi/npspy/extern/nspr/plstr.h PL_strnrchr(const char *s, char c, PRUint32 n); s 318 third_party/npapi/npspy/extern/nspr/plstr.h PL_strpbrk(const char *s, const char *list); s 329 third_party/npapi/npspy/extern/nspr/plstr.h PL_strprbrk(const char *s, const char *list); s 340 third_party/npapi/npspy/extern/nspr/plstr.h PL_strnpbrk(const char *s, const char *list, PRUint32 n); s 351 third_party/npapi/npspy/extern/nspr/plstr.h PL_strnprbrk(const char *s, const char *list, PRUint32 n); s 237 third_party/npapi/npspy/extern/nspr/prlog.h NSPR_API(void) PR_Assert(const char *s, const char *file, PRIntn ln); s 96 third_party/npapi/npspy/extern/nspr/prprf.h typedef PRIntn (*PRStuffFunc)(void *arg, const char *s, PRUint32 slen); s 104 third_party/npapi/npspy/extern/nspr/prwin16.h size_t (PR_CALLBACK *strftime)(char *s, size_t len, const char *fmt, const struct tm *p); s 118 third_party/npapi/npspy/extern/nspr/prwin16.h char *s, s 40 third_party/power_gadget/PowerGadgetLib.cpp static bool split(const wstring& s, wstring &path) s 47 third_party/power_gadget/PowerGadgetLib.cpp while((pos = s.find(L';', pos)) != wstring::npos) s 49 third_party/power_gadget/PowerGadgetLib.cpp wstring substring( s.substr(prev_pos, pos-prev_pos) ); s 61 third_party/power_gadget/PowerGadgetLib.cpp wstring substring(s.substr(prev_pos, pos-prev_pos)); s 92 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringArrayList.java String s = bs.toStringUtf8(); s 94 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringArrayList.java list.set(index, s); s 96 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringArrayList.java return s; s 106 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringArrayList.java public String set(int index, String s) { s 107 third_party/protobuf/java/src/main/java/com/google/protobuf/LazyStringArrayList.java Object o = list.set(index, s); s 167 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java private static ByteString asBytes(String s) { s 168 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8Test.java return ByteString.copyFromUtf8(s); s 223 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java String s = new String(bytes, "UTF-8"); s 224 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java byte[] bytesReencoded = s.getBytes("UTF-8"); s 409 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java StringBuilder s = new StringBuilder(); s 410 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java s.append("\""); s 413 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java s.append(" "); s 415 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java s.append(String.format("%02x", b[i] & 0xFF)); s 417 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java s.append("\""); s 418 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java return s.toString(); s 341 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc PyObject* s = PyObject_Str(arg); s 344 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc PyString_AS_STRING(s)); s 345 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc Py_DECREF(s); s 786 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc PyObject* s = PyObject_Str(arg); s 788 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc PyString_AS_STRING(s)); s 789 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc Py_DECREF(s); s 939 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc PyObject* s = InternalGetRepeatedScalar( s 941 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc PyList_Append(list, s); s 942 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc Py_DECREF(s); s 948 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc PyObject* s = InternalGetRepeatedScalar( s 950 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc PyList_Append(list, s); s 951 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc Py_DECREF(s); s 1547 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc const string* s; s 1549 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc s = &fields[i]->full_name(); s 1551 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc s = &fields[i]->name(); s 1553 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc field_name = PyString_FromStringAndSize(s->c_str(), s->length()); s 2408 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("FileAnnotation", file_options.s()); s 2409 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc EXPECT_EQ("NestedFileAnnotation", file_options.sub().s()); s 2411 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc file_options.file().GetExtension(protobuf_unittest::fileopt).s()); s 2415 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc ::message_set_extension).s()); s 2419 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc msg->options().GetExtension(protobuf_unittest::msgopt).s()); s 2421 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc field->options().GetExtension(protobuf_unittest::fieldopt).s()); s 2423 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc enumd->options().GetExtension(protobuf_unittest::enumopt).s()); s 2425 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc enumv->options().GetExtension(protobuf_unittest::enumvalopt).s()); s 2427 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc service->options().GetExtension(protobuf_unittest::serviceopt).s()); s 2429 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc method->options().GetExtension(protobuf_unittest::methodopt).s()); s 454 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc const string s("this is a fairly large string that will cause some " s 456 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc message.SetExtension(unittest::optional_string_extension, s); s 457 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc int min_expected_size = base_size + s.length(); s 67 third_party/protobuf/src/google/protobuf/stubs/stl_util.h inline void STLStringResizeUninitialized(string* s, size_t new_size) { s 68 third_party/protobuf/src/google/protobuf/stubs/stl_util.h s->resize(new_size); s 87 third_party/protobuf/src/google/protobuf/stubs/strutil.cc void StripString(string* s, const char* remove, char replacewith) { s 88 third_party/protobuf/src/google/protobuf/stubs/strutil.cc const char * str_start = s->c_str(); s 93 third_party/protobuf/src/google/protobuf/stubs/strutil.cc (*s)[str - str_start] = replacewith; s 104 third_party/protobuf/src/google/protobuf/stubs/strutil.cc void StringReplace(const string& s, const string& oldsub, s 108 third_party/protobuf/src/google/protobuf/stubs/strutil.cc res->append(s); // if empty, append the given string. s 115 third_party/protobuf/src/google/protobuf/stubs/strutil.cc pos = s.find(oldsub, start_pos); s 119 third_party/protobuf/src/google/protobuf/stubs/strutil.cc res->append(s, start_pos, pos - start_pos); s 123 third_party/protobuf/src/google/protobuf/stubs/strutil.cc res->append(s, start_pos, s.length() - start_pos); s 135 third_party/protobuf/src/google/protobuf/stubs/strutil.cc string StringReplace(const string& s, const string& oldsub, s 138 third_party/protobuf/src/google/protobuf/stubs/strutil.cc StringReplace(s, oldsub, newsub, replace_all, &ret); s 123 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT void StripString(string* s, const char* remove, s 135 third_party/protobuf/src/google/protobuf/stubs/strutil.h inline void LowerString(string * s) { s 136 third_party/protobuf/src/google/protobuf/stubs/strutil.h string::iterator end = s->end(); s 137 third_party/protobuf/src/google/protobuf/stubs/strutil.h for (string::iterator i = s->begin(); i != end; ++i) { s 143 third_party/protobuf/src/google/protobuf/stubs/strutil.h inline void UpperString(string * s) { s 144 third_party/protobuf/src/google/protobuf/stubs/strutil.h string::iterator end = s->end(); s 145 third_party/protobuf/src/google/protobuf/stubs/strutil.h for (string::iterator i = s->begin(); i != end; ++i) { s 159 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT string StringReplace(const string& s, const string& oldsub, s 851 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc bool StartsWith(const string& s, const string& prefix) { s 852 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc return s.substr(0, prefix.length()) == prefix; s 39 third_party/re2/re2/dfa.cc static void* memrchr(const void* s, int c, size_t n) { s 40 third_party/re2/re2/dfa.cc const unsigned char* p = (const unsigned char*)s; s 143 third_party/re2/re2/dfa.cc const char* s = reinterpret_cast<const char*>(a->inst_); s 146 third_party/re2/re2/dfa.cc return Hash32StringWithSeed(s, len, a->flag_); s 148 third_party/re2/re2/dfa.cc return Hash64StringWithSeed(s, len, a->flag_); s 222 third_party/re2/re2/dfa.cc static void StateToWorkq(State* s, Workq* q); s 510 third_party/re2/re2/dfa.cc string s; s 514 third_party/re2/re2/dfa.cc StringAppendF(&s, "|"); s 517 third_party/re2/re2/dfa.cc StringAppendF(&s, "%s%d", sep, *it); s 521 third_party/re2/re2/dfa.cc return s; s 532 third_party/re2/re2/dfa.cc string s; s 534 third_party/re2/re2/dfa.cc StringAppendF(&s, "(%p)", state); s 537 third_party/re2/re2/dfa.cc StringAppendF(&s, "|"); s 540 third_party/re2/re2/dfa.cc StringAppendF(&s, "%s%d", sep, state->inst_[i]); s 544 third_party/re2/re2/dfa.cc StringAppendF(&s, " flag=%#x", state->flag_); s 545 third_party/re2/re2/dfa.cc return s; s 767 third_party/re2/re2/dfa.cc State* s = reinterpret_cast<State*>(space); s 768 third_party/re2/re2/dfa.cc s->next_ = reinterpret_cast<State**>(s + 1); s 769 third_party/re2/re2/dfa.cc s->inst_ = reinterpret_cast<int*>(s->next_ + nnext); s 770 third_party/re2/re2/dfa.cc memset(s->next_, 0, nnext*sizeof s->next_[0]); s 771 third_party/re2/re2/dfa.cc memmove(s->inst_, inst, ninst*sizeof s->inst_[0]); s 772 third_party/re2/re2/dfa.cc s->ninst_ = ninst; s 773 third_party/re2/re2/dfa.cc s->flag_ = flag; s 775 third_party/re2/re2/dfa.cc fprintf(stderr, " -> %s\n", DumpState(s).c_str()); s 778 third_party/re2/re2/dfa.cc state_cache_.insert(s); s 779 third_party/re2/re2/dfa.cc return s; s 797 third_party/re2/re2/dfa.cc void DFA::StateToWorkq(State* s, Workq* q) { s 799 third_party/re2/re2/dfa.cc for (int i = 0; i < s->ninst_; i++) { s 800 third_party/re2/re2/dfa.cc if (s->inst_[i] == Mark) s 803 third_party/re2/re2/dfa.cc q->insert_new(s->inst_[i]); s 1245 third_party/re2/re2/dfa.cc State* s = dfa_->CachedState(inst_, ninst_, flag_); s 1246 third_party/re2/re2/dfa.cc if (s == NULL) s 1248 third_party/re2/re2/dfa.cc return s; s 1335 third_party/re2/re2/dfa.cc State* s = start; s 1337 third_party/re2/re2/dfa.cc if (s->IsMatch()) { s 1349 third_party/re2/re2/dfa.cc DumpState(s).c_str()); s 1350 third_party/re2/re2/dfa.cc if (have_firstbyte && s == start) { s 1394 third_party/re2/re2/dfa.cc State* ns = s->next_[bytemap[c]]; s 1397 third_party/re2/re2/dfa.cc ns = RunStateOnByteUnlocked(s, c); s 1416 third_party/re2/re2/dfa.cc StateSaver save_s(this, s); s 1423 third_party/re2/re2/dfa.cc (s = save_s.Restore()) == NULL) { s 1428 third_party/re2/re2/dfa.cc ns = RunStateOnByteUnlocked(s, c); s 1445 third_party/re2/re2/dfa.cc s = ns; s 1447 third_party/re2/re2/dfa.cc if (s->IsMatch()) { s 1458 third_party/re2/re2/dfa.cc DumpState(s).c_str()); s 1483 third_party/re2/re2/dfa.cc State* ns = s->next_[ByteMap(lastbyte)]; s 1486 third_party/re2/re2/dfa.cc ns = RunStateOnByteUnlocked(s, lastbyte); s 1488 third_party/re2/re2/dfa.cc StateSaver save_s(this, s); s 1490 third_party/re2/re2/dfa.cc if ((s = save_s.Restore()) == NULL) { s 1494 third_party/re2/re2/dfa.cc ns = RunStateOnByteUnlocked(s, lastbyte); s 1502 third_party/re2/re2/dfa.cc s = ns; s 1504 third_party/re2/re2/dfa.cc fprintf(stderr, "@_: %s\n", DumpState(s).c_str()); s 1505 third_party/re2/re2/dfa.cc if (s == FullMatchState) { s 1509 third_party/re2/re2/dfa.cc if (s > SpecialStateMax && s->IsMatch()) { s 1515 third_party/re2/re2/dfa.cc for (int i = 0; i < s->ninst_; i++) { s 1516 third_party/re2/re2/dfa.cc Prog::Inst* ip = prog_->inst(s->inst_[i]); s 1523 third_party/re2/re2/dfa.cc DumpState(s).c_str()); s 1725 third_party/re2/re2/dfa.cc State* s = RunStateOnByte(info->start, i); s 1726 third_party/re2/re2/dfa.cc if (s == NULL) { s 1732 third_party/re2/re2/dfa.cc if (s == info->start) s 1956 third_party/re2/re2/dfa.cc State* s = q[i]; s 1958 third_party/re2/re2/dfa.cc State* ns = RunStateOnByteUnlocked(s, c); s 2036 third_party/re2/re2/dfa.cc State* s = params.start; s 2039 third_party/re2/re2/dfa.cc if (previously_visited_states[s] > kMaxEltRepetitions) { s 2041 third_party/re2/re2/dfa.cc << " for state s=" << s << " and min=" << CEscape(*min); s 2044 third_party/re2/re2/dfa.cc previously_visited_states[s]++; s 2047 third_party/re2/re2/dfa.cc State* ns = RunStateOnByteUnlocked(s, kByteEndText); s 2056 third_party/re2/re2/dfa.cc ns = RunStateOnByteUnlocked(s, j); s 2063 third_party/re2/re2/dfa.cc s = ns; s 2073 third_party/re2/re2/dfa.cc s = params.start; s 2076 third_party/re2/re2/dfa.cc if (previously_visited_states[s] > kMaxEltRepetitions) { s 2078 third_party/re2/re2/dfa.cc << " for state s=" << s << " and max=" << CEscape(*max); s 2081 third_party/re2/re2/dfa.cc previously_visited_states[s] += 1; s 2086 third_party/re2/re2/dfa.cc State* ns = RunStateOnByteUnlocked(s, j); s 2093 third_party/re2/re2/dfa.cc s = ns; s 379 third_party/re2/re2/nfa.cc string s; s 383 third_party/re2/re2/nfa.cc StringAppendF(&s, "(?,?)"); s 385 third_party/re2/re2/nfa.cc StringAppendF(&s, "(%d,?)", (int)(capture[i] - btext_)); s 387 third_party/re2/re2/nfa.cc StringAppendF(&s, "(%d,%d)", s 391 third_party/re2/re2/nfa.cc return s; s 577 third_party/re2/re2/onepass.cc string s; s 83 third_party/re2/re2/parse.cc bool PushRepeatOp(RegexpOp op, const StringPiece& s, bool nongreedy); s 87 third_party/re2/re2/parse.cc bool PushRepetition(int min, int max, const StringPiece& s, bool nongreedy); s 118 third_party/re2/re2/parse.cc bool ParseCharClass(StringPiece* s, Regexp** out_re, s 123 third_party/re2/re2/parse.cc bool ParseCCCharacter(StringPiece* s, Rune *rp, s 129 third_party/re2/re2/parse.cc bool ParseCCRange(StringPiece* s, RuneRange* rr, s 134 third_party/re2/re2/parse.cc bool ParsePerlFlags(StringPiece* s); s 447 third_party/re2/re2/parse.cc bool Regexp::ParseState::PushRepeatOp(RegexpOp op, const StringPiece& s, s 451 third_party/re2/re2/parse.cc status_->set_error_arg(s); s 469 third_party/re2/re2/parse.cc const StringPiece& s, s 473 third_party/re2/re2/parse.cc status_->set_error_arg(s); s 478 third_party/re2/re2/parse.cc status_->set_error_arg(s); s 1122 third_party/re2/re2/parse.cc static bool ParseInteger(StringPiece* s, int* np) { s 1123 third_party/re2/re2/parse.cc if (s->size() == 0 || !isdigit((*s)[0] & 0xFF)) s 1126 third_party/re2/re2/parse.cc if (s->size() >= 2 && (*s)[0] == '0' && isdigit((*s)[1] & 0xFF)) s 1130 third_party/re2/re2/parse.cc while (s->size() > 0 && isdigit(c = (*s)[0] & 0xFF)) { s 1135 third_party/re2/re2/parse.cc s->remove_prefix(1); // digit s 1151 third_party/re2/re2/parse.cc StringPiece s = *sp; s 1152 third_party/re2/re2/parse.cc if (s.size() == 0 || s[0] != '{') s 1154 third_party/re2/re2/parse.cc s.remove_prefix(1); // '{' s 1155 third_party/re2/re2/parse.cc if (!ParseInteger(&s, lo)) s 1157 third_party/re2/re2/parse.cc if (s.size() == 0) s 1159 third_party/re2/re2/parse.cc if (s[0] == ',') { s 1160 third_party/re2/re2/parse.cc s.remove_prefix(1); // ',' s 1161 third_party/re2/re2/parse.cc if (s.size() == 0) s 1163 third_party/re2/re2/parse.cc if (s[0] == '}') { s 1168 third_party/re2/re2/parse.cc if (!ParseInteger(&s, hi)) s 1175 third_party/re2/re2/parse.cc if (s.size() == 0 || s[0] != '}') s 1177 third_party/re2/re2/parse.cc s.remove_prefix(1); // '}' s 1178 third_party/re2/re2/parse.cc *sp = s; s 1204 third_party/re2/re2/parse.cc static bool IsValidUTF8(const StringPiece& s, RegexpStatus* status) { s 1205 third_party/re2/re2/parse.cc StringPiece t = s; s 1236 third_party/re2/re2/parse.cc static bool ParseEscape(StringPiece* s, Rune* rp, s 1238 third_party/re2/re2/parse.cc const char* begin = s->begin(); s 1239 third_party/re2/re2/parse.cc if (s->size() < 1 || (*s)[0] != '\\') { s 1245 third_party/re2/re2/parse.cc if (s->size() < 2) { s 1251 third_party/re2/re2/parse.cc s->remove_prefix(1); // backslash s 1252 third_party/re2/re2/parse.cc if (StringPieceToRune(&c, s, status) < 0) s 1276 third_party/re2/re2/parse.cc if (s->size() == 0 || (*s)[0] < '0' || (*s)[0] > '7') s 1282 third_party/re2/re2/parse.cc if (s->size() > 0 && '0' <= (c = (*s)[0]) && c <= '7') { s 1284 third_party/re2/re2/parse.cc s->remove_prefix(1); // digit s 1285 third_party/re2/re2/parse.cc if (s->size() > 0) { s 1286 third_party/re2/re2/parse.cc c = (*s)[0]; s 1289 third_party/re2/re2/parse.cc s->remove_prefix(1); // digit s 1298 third_party/re2/re2/parse.cc if (s->size() == 0) s 1300 third_party/re2/re2/parse.cc if (StringPieceToRune(&c, s, status) < 0) s 1309 third_party/re2/re2/parse.cc if (StringPieceToRune(&c, s, status) < 0) s 1318 third_party/re2/re2/parse.cc if (s->size() == 0) s 1320 third_party/re2/re2/parse.cc if (StringPieceToRune(&c, s, status) < 0) s 1329 third_party/re2/re2/parse.cc if (s->size() == 0) s 1331 third_party/re2/re2/parse.cc if (StringPieceToRune(&c1, s, status) < 0) s 1378 third_party/re2/re2/parse.cc status->set_error_arg(StringPiece(begin, s->data() - begin)); s 1489 third_party/re2/re2/parse.cc UGroup* MaybeParsePerlCCEscape(StringPiece* s, Regexp::ParseFlags parse_flags) { s 1492 third_party/re2/re2/parse.cc if (s->size() < 2 || (*s)[0] != '\\') s 1496 third_party/re2/re2/parse.cc StringPiece name(s->begin(), 2); s 1500 third_party/re2/re2/parse.cc s->remove_prefix(name.size()); s 1512 third_party/re2/re2/parse.cc ParseStatus ParseUnicodeGroup(StringPiece* s, Regexp::ParseFlags parse_flags, s 1518 third_party/re2/re2/parse.cc if (s->size() < 2 || (*s)[0] != '\\') s 1520 third_party/re2/re2/parse.cc Rune c = (*s)[1]; s 1528 third_party/re2/re2/parse.cc StringPiece seq = *s; // \p{Han} or \pL s 1530 third_party/re2/re2/parse.cc s->remove_prefix(2); // '\\', 'p' s 1532 third_party/re2/re2/parse.cc if (!StringPieceToRune(&c, s, status)) s 1537 third_party/re2/re2/parse.cc name = StringPiece(p, s->begin() - p); s 1540 third_party/re2/re2/parse.cc int end = s->find('}', 0); s 1541 third_party/re2/re2/parse.cc if (end == s->npos) { s 1548 third_party/re2/re2/parse.cc name = StringPiece(s->begin(), end); // without '}' s 1549 third_party/re2/re2/parse.cc s->remove_prefix(end + 1); // with '}' s 1555 third_party/re2/re2/parse.cc seq = StringPiece(seq.begin(), s->begin() - seq.begin()); s 1576 third_party/re2/re2/parse.cc static ParseStatus ParseCCName(StringPiece* s, Regexp::ParseFlags parse_flags, s 1580 third_party/re2/re2/parse.cc const char* p = s->data(); s 1581 third_party/re2/re2/parse.cc const char* ep = s->data() + s->size(); s 1605 third_party/re2/re2/parse.cc s->remove_prefix(name.size()); s 1614 third_party/re2/re2/parse.cc bool Regexp::ParseState::ParseCCCharacter(StringPiece* s, Rune *rp, s 1617 third_party/re2/re2/parse.cc if (s->size() == 0) { s 1625 third_party/re2/re2/parse.cc if (s->size() >= 1 && (*s)[0] == '\\') s 1626 third_party/re2/re2/parse.cc return ParseEscape(s, rp, status, rune_max_); s 1629 third_party/re2/re2/parse.cc return StringPieceToRune(rp, s, status) >= 0; s 1637 third_party/re2/re2/parse.cc bool Regexp::ParseState::ParseCCRange(StringPiece* s, RuneRange* rr, s 1640 third_party/re2/re2/parse.cc StringPiece os = *s; s 1641 third_party/re2/re2/parse.cc if (!ParseCCCharacter(s, &rr->lo, whole_class, status)) s 1644 third_party/re2/re2/parse.cc if (s->size() >= 2 && (*s)[0] == '-' && (*s)[1] != ']') { s 1645 third_party/re2/re2/parse.cc s->remove_prefix(1); // '-' s 1646 third_party/re2/re2/parse.cc if (!ParseCCCharacter(s, &rr->hi, whole_class, status)) s 1650 third_party/re2/re2/parse.cc status->set_error_arg(StringPiece(os.data(), s->data() - os.data())); s 1662 third_party/re2/re2/parse.cc bool Regexp::ParseState::ParseCharClass(StringPiece* s, s 1665 third_party/re2/re2/parse.cc StringPiece whole_class = *s; s 1666 third_party/re2/re2/parse.cc if (s->size() == 0 || (*s)[0] != '[') { s 1675 third_party/re2/re2/parse.cc s->remove_prefix(1); // '[' s 1676 third_party/re2/re2/parse.cc if (s->size() > 0 && (*s)[0] == '^') { s 1677 third_party/re2/re2/parse.cc s->remove_prefix(1); // '^' s 1686 third_party/re2/re2/parse.cc while (s->size() > 0 && ((*s)[0] != ']' || first)) { s 1689 third_party/re2/re2/parse.cc if ((*s)[0] == '-' && !first && !(flags_&PerlX) && s 1690 third_party/re2/re2/parse.cc (s->size() == 1 || (*s)[1] != ']')) { s 1691 third_party/re2/re2/parse.cc StringPiece t = *s; s 1700 third_party/re2/re2/parse.cc status->set_error_arg(StringPiece(s->data(), 1+n)); s 1707 third_party/re2/re2/parse.cc if (s->size() > 2 && (*s)[0] == '[' && (*s)[1] == ':') { s 1708 third_party/re2/re2/parse.cc switch (ParseCCName(s, flags_, re->ccb_, status)) { s 1720 third_party/re2/re2/parse.cc if (s->size() > 2 && s 1721 third_party/re2/re2/parse.cc (*s)[0] == '\\' && s 1722 third_party/re2/re2/parse.cc ((*s)[1] == 'p' || (*s)[1] == 'P')) { s 1723 third_party/re2/re2/parse.cc switch (ParseUnicodeGroup(s, flags_, re->ccb_, status)) { s 1735 third_party/re2/re2/parse.cc UGroup *g = MaybeParsePerlCCEscape(s, flags_); s 1743 third_party/re2/re2/parse.cc if (!ParseCCRange(s, &rr, whole_class, status)) { s 1754 third_party/re2/re2/parse.cc if (s->size() == 0) { s 1760 third_party/re2/re2/parse.cc s->remove_prefix(1); // ']' s 1794 third_party/re2/re2/parse.cc bool Regexp::ParseState::ParsePerlFlags(StringPiece* s) { s 1795 third_party/re2/re2/parse.cc StringPiece t = *s; s 1825 third_party/re2/re2/parse.cc if (!IsValidUTF8(*s, status_)) s 1828 third_party/re2/re2/parse.cc status_->set_error_arg(*s); s 1848 third_party/re2/re2/parse.cc s->remove_prefix(capture.end() - s->begin()); s 1926 third_party/re2/re2/parse.cc *s = t; s 1931 third_party/re2/re2/parse.cc status_->set_error_arg(StringPiece(s->begin(), t.begin() - s->begin())); s 1954 third_party/re2/re2/parse.cc Regexp* Regexp::Parse(const StringPiece& s, ParseFlags global_flags, s 1961 third_party/re2/re2/parse.cc ParseState ps(global_flags, s, status); s 1962 third_party/re2/re2/parse.cc StringPiece t = s; s 278 third_party/re2/re2/prefilter.cc string s; s 281 third_party/re2/re2/prefilter.cc s += ","; s 282 third_party/re2/re2/prefilter.cc s += *i; s 284 third_party/re2/re2/prefilter.cc return s; s 682 third_party/re2/re2/prefilter.cc string s = ""; s 685 third_party/re2/re2/prefilter.cc s += " "; s 686 third_party/re2/re2/prefilter.cc s += (*subs_)[i]->DebugString(); s 688 third_party/re2/re2/prefilter.cc return s; s 691 third_party/re2/re2/prefilter.cc string s = "("; s 694 third_party/re2/re2/prefilter.cc s += "|"; s 695 third_party/re2/re2/prefilter.cc s += (*subs_)[i]->DebugString(); s 697 third_party/re2/re2/prefilter.cc s += ")"; s 698 third_party/re2/re2/prefilter.cc return s; s 152 third_party/re2/re2/prefilter_tree.cc string s = Itoa(node->op()) + ":"; s 154 third_party/re2/re2/prefilter_tree.cc s += node->atom(); s 158 third_party/re2/re2/prefilter_tree.cc s += ','; s 159 third_party/re2/re2/prefilter_tree.cc s += Itoa((*node->subs())[i]->unique_id()); s 162 third_party/re2/re2/prefilter_tree.cc return s; s 135 third_party/re2/re2/prog.cc string s; s 140 third_party/re2/re2/prog.cc StringAppendF(&s, "%d. %s\n", id, ip->Dump().c_str()); s 145 third_party/re2/re2/prog.cc return s; s 352 third_party/re2/re2/re2.cc for (const char *s = rewrite.data(), *end = s + rewrite.size(); s 353 third_party/re2/re2/re2.cc s < end; s++) { s 354 third_party/re2/re2/re2.cc if (*s == '\\') { s 355 third_party/re2/re2/re2.cc s++; s 356 third_party/re2/re2/re2.cc int c = (s < end) ? *s : -1; s 377 third_party/re2/re2/re2.cc string s; s 378 third_party/re2/re2/re2.cc if (!re.Rewrite(&s, rewrite, vec, nvec)) s 383 third_party/re2/re2/re2.cc str->replace(vec[0].data() - str->data(), vec[0].size(), s); s 854 third_party/re2/re2/re2.cc const StringPiece& s = vec[i+1]; s 855 third_party/re2/re2/re2.cc if (!args[i]->Parse(s.data(), s.size())) { s 857 third_party/re2/re2/re2.cc VLOG(1) << "Parse error on #" << i << " " << s << " " s 858 third_party/re2/re2/re2.cc << (void*)s.data() << "/" << s.size(); s 872 third_party/re2/re2/re2.cc for (const char *s = rewrite.data(), *end = s + rewrite.size(); s 873 third_party/re2/re2/re2.cc s < end; s++) { s 874 third_party/re2/re2/re2.cc int c = *s; s 876 third_party/re2/re2/re2.cc s++; s 877 third_party/re2/re2/re2.cc c = (s < end) ? *s : -1; s 920 third_party/re2/re2/re2.cc for (const char *s = rewrite.data(), *end = s + rewrite.size(); s 921 third_party/re2/re2/re2.cc s < end; s++) { s 922 third_party/re2/re2/re2.cc int c = *s; s 926 third_party/re2/re2/re2.cc if (++s == end) { s 930 third_party/re2/re2/re2.cc c = *s; s 487 third_party/re2/re2/regexp.cc string s; s 488 third_party/re2/re2/regexp.cc s.append(CodeText(code_)); s 489 third_party/re2/re2/regexp.cc s.append(": "); s 490 third_party/re2/re2/regexp.cc s.append(error_arg_.data(), error_arg_.size()); s 491 third_party/re2/re2/regexp.cc return s; s 345 third_party/re2/re2/regexp.h static Regexp* Parse(const StringPiece& s, ParseFlags flags, s 445 third_party/re2/re2/regexp.h friend bool ParseCharClass(StringPiece* s, Regexp** out_re, s 144 third_party/re2/re2/stringpiece.h int find(const StringPiece& s, size_type pos = 0) const; s 146 third_party/re2/re2/stringpiece.h int rfind(const StringPiece& s, size_type pos = npos) const; s 122 third_party/re2/re2/testing/compile_test.cc string s = prog->Dump(); s 123 third_party/re2/re2/testing/compile_test.cc if (s != t.code) { s 126 third_party/re2/re2/testing/compile_test.cc LOG(ERROR) << "Got:\n" << s; s 37 third_party/re2/re2/testing/dfa_test.cc string s = "a"; s 39 third_party/re2/re2/testing/dfa_test.cc s += "[ab]"; s 40 third_party/re2/re2/testing/dfa_test.cc s += "b"; s 45 third_party/re2/re2/testing/dfa_test.cc Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); s 60 third_party/re2/re2/testing/dfa_test.cc Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); s 90 third_party/re2/re2/testing/dfa_test.cc string s = "a"; s 92 third_party/re2/re2/testing/dfa_test.cc s += "[ab]"; s 93 third_party/re2/re2/testing/dfa_test.cc s += "b"; s 96 third_party/re2/re2/testing/dfa_test.cc Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); s 142 third_party/re2/re2/testing/dfa_test.cc string s; s 144 third_party/re2/re2/testing/dfa_test.cc s.append("0"); s 152 third_party/re2/re2/testing/dfa_test.cc s.append("1"); s 154 third_party/re2/re2/testing/dfa_test.cc s.append("0"); s 159 third_party/re2/re2/testing/dfa_test.cc return s; s 57 third_party/re2/re2/testing/dump.cc static void DumpRegexpAppending(Regexp* re, string* s) { s 59 third_party/re2/re2/testing/dump.cc StringAppendF(s, "op%d", re->op()); s 69 third_party/re2/re2/testing/dump.cc s->append("n"); s 72 third_party/re2/re2/testing/dump.cc s->append(kOpcodeNames[re->op()]); s 76 third_party/re2/re2/testing/dump.cc s->append("fold"); s 82 third_party/re2/re2/testing/dump.cc s->append("fold"); s 88 third_party/re2/re2/testing/dump.cc s->append("{"); s 94 third_party/re2/re2/testing/dump.cc s->append("\\z"); s 101 third_party/re2/re2/testing/dump.cc s->append(buf); s 109 third_party/re2/re2/testing/dump.cc s->append(buf); s 115 third_party/re2/re2/testing/dump.cc DumpRegexpAppending(re->sub()[i], s); s 120 third_party/re2/re2/testing/dump.cc DumpRegexpAppending(re->sub()[0], s); s 124 third_party/re2/re2/testing/dump.cc s->append(*re->name()); s 125 third_party/re2/re2/testing/dump.cc s->append(":"); s 127 third_party/re2/re2/testing/dump.cc DumpRegexpAppending(re->sub()[0], s); s 130 third_party/re2/re2/testing/dump.cc s->append(StringPrintf("%d,%d ", re->min(), re->max())); s 131 third_party/re2/re2/testing/dump.cc DumpRegexpAppending(re->sub()[0], s); s 138 third_party/re2/re2/testing/dump.cc s->append(sep); s 140 third_party/re2/re2/testing/dump.cc s->append(StringPrintf("%#x", rr.lo)); s 142 third_party/re2/re2/testing/dump.cc s->append(StringPrintf("%#x-%#x", rr.lo, rr.hi)); s 148 third_party/re2/re2/testing/dump.cc s->append("}"); s 152 third_party/re2/re2/testing/dump.cc string s; s 157 third_party/re2/re2/testing/dump.cc return s; s 160 third_party/re2/re2/testing/dump.cc DumpRegexpAppending(this, &s); s 161 third_party/re2/re2/testing/dump.cc return s; s 213 third_party/re2/re2/testing/parse_test.cc string s = re[i]->Dump(); s 214 third_party/re2/re2/testing/parse_test.cc EXPECT_EQ(string(tests[i].parse), s) << "Regexp: " << tests[i].regexp s 215 third_party/re2/re2/testing/parse_test.cc << "\nparse: " << tests[i].parse << " s: " << s << " flag=" << f; s 390 third_party/re2/re2/testing/parse_test.cc string s = re->Dump(); s 391 third_party/re2/re2/testing/parse_test.cc EXPECT_EQ(string(tests[i].parse), s) << " " << tests[i].regexp << " " << string(tests[i].parse) << " " << s; s 407 third_party/re2/re2/testing/parse_test.cc if (s != ss || t != tt) s 409 third_party/re2/re2/testing/parse_test.cc EXPECT_EQ(s, ss); s 18 third_party/re2/re2/testing/possible_match_test.cc string s = "\x70"; s 20 third_party/re2/re2/testing/possible_match_test.cc EXPECT_LT(s, t); s 214 third_party/re2/re2/testing/possible_match_test.cc const StringPiece& s = strgen_.Next(); s 216 third_party/re2/re2/testing/possible_match_test.cc if (!RE2::FullMatch(s, re)) s 218 third_party/re2/re2/testing/possible_match_test.cc CHECK_GE(s, min) << " regexp: " << regexp << " max: " << max; s 219 third_party/re2/re2/testing/possible_match_test.cc CHECK_LE(s, max) << " regexp: " << regexp << " min: " << min; s 222 third_party/re2/re2/testing/re2_test.cc string s; s 224 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::Extract("boris@kremvax.ru", "(.*)@([^.]*)", "\\2!\\1", &s)); s 225 third_party/re2/re2/testing/re2_test.cc CHECK_EQ(s, "kremvax!boris"); s 227 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::Extract("foo", ".*", "'\\0'", &s)); s 228 third_party/re2/re2/testing/re2_test.cc CHECK_EQ(s, "'foo'"); s 230 third_party/re2/re2/testing/re2_test.cc CHECK(!RE2::Extract("baz", "bar", "'\\0'", &s)); s 231 third_party/re2/re2/testing/re2_test.cc CHECK_EQ(s, "'foo'"); s 240 third_party/re2/re2/testing/re2_test.cc string s(" aaa b!@#$@#$cccc"); s 241 third_party/re2/re2/testing/re2_test.cc StringPiece input(s); s 251 third_party/re2/re2/testing/re2_test.cc const string s(" one two three 4"); s 252 third_party/re2/re2/testing/re2_test.cc StringPiece input(s); s 280 third_party/re2/re2/testing/re2_test.cc string s(" aaa b!@#$@#$cccc"); s 281 third_party/re2/re2/testing/re2_test.cc StringPiece input(s); s 300 third_party/re2/re2/testing/re2_test.cc const string s(" one two three 4"); s 301 third_party/re2/re2/testing/re2_test.cc StringPiece input(s); s 355 third_party/re2/re2/testing/re2_test.cc StringPiece s = "zyzzyva"; s 356 third_party/re2/re2/testing/re2_test.cc CHECK(!re.Match(s, 0, s.size(), RE2::UNANCHORED, s 360 third_party/re2/re2/testing/re2_test.cc s = "a chrisr:9000 here"; s 361 third_party/re2/re2/testing/re2_test.cc CHECK(re.Match(s, 0, s.size(), RE2::UNANCHORED, s 546 third_party/re2/re2/testing/re2_test.cc string s; s 547 third_party/re2/re2/testing/re2_test.cc argv[1] = &s; s 550 third_party/re2/re2/testing/re2_test.cc EXPECT_EQ("life", s); s 589 third_party/re2/re2/testing/re2_test.cc string s; s 591 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::FullMatch("hello", "h(.*)o", &s)); s 592 third_party/re2/re2/testing/re2_test.cc CHECK_EQ(s, string("ell")); s 607 third_party/re2/re2/testing/re2_test.cc string s; s 609 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::FullMatch("ruby:1234", "(\\w+):(\\d+)", &s, &i)); s 610 third_party/re2/re2/testing/re2_test.cc CHECK_EQ(s, string("ruby")); s 630 third_party/re2/re2/testing/re2_test.cc string s; s 631 third_party/re2/re2/testing/re2_test.cc argv[1] = &s; s 634 third_party/re2/re2/testing/re2_test.cc EXPECT_EQ("life", s); s 640 third_party/re2/re2/testing/re2_test.cc string s; s 642 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::FullMatch("ruby:1234", "(\\w+)(:)(\\d+)", &s, (void*)NULL, &i)); s 643 third_party/re2/re2/testing/re2_test.cc CHECK_EQ(s, string("ruby")); s 648 third_party/re2/re2/testing/re2_test.cc string s; s 660 third_party/re2/re2/testing/re2_test.cc CHECK(!RE2::FullMatch("hello", "h(.*)lo", &s, (char*)NULL)); s 1020 third_party/re2/re2/testing/re2_test.cc string s; s 1022 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::PartialMatch(utf8_string, re_test3, &s)); s 1023 third_party/re2/re2/testing/re2_test.cc CHECK_EQ(s, string("\xe6")); s 1025 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::PartialMatch(utf8_string, re_test4, &s)); s 1026 third_party/re2/re2/testing/re2_test.cc CHECK_EQ(s, string("\xe6\x97\xa5")); s 1109 third_party/re2/re2/testing/re2_test.cc string s; s 1110 third_party/re2/re2/testing/re2_test.cc s.append(515, 'c'); s 1111 third_party/re2/re2/testing/re2_test.cc s.append("x"); s 1112 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::PartialMatch(s, re)); s 1134 third_party/re2/re2/testing/re2_test.cc string s; s 1135 third_party/re2/re2/testing/re2_test.cc s.append(515, 'c'); s 1136 third_party/re2/re2/testing/re2_test.cc s.append("x"); s 1137 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::PartialMatch(s, re)); s 1272 third_party/re2/re2/testing/re2_test.cc StringPiece s = "xxxxxxxxxxxxxxxxxxxxxxxxxx_________x"; s 1273 third_party/re2/re2/testing/re2_test.cc EXPECT_FALSE(re.Match(s, 0, s.size(), RE2::UNANCHORED, NULL, 0)); s 152 third_party/re2/re2/testing/regexp_benchmark.cc string s; s 153 third_party/re2/re2/testing/regexp_benchmark.cc MakeText(&s, nbytes); s 156 third_party/re2/re2/testing/regexp_benchmark.cc search(iters, regexp, s, Prog::kUnanchored, false); s 241 third_party/re2/re2/testing/regexp_benchmark.cc string s; s 242 third_party/re2/re2/testing/regexp_benchmark.cc s.append(nbytes/2, 'x'); s 243 third_party/re2/re2/testing/regexp_benchmark.cc string regexp = "^" + s + ".*$"; s 246 third_party/re2/re2/testing/regexp_benchmark.cc s += t; s 249 third_party/re2/re2/testing/regexp_benchmark.cc search(iters, regexp.c_str(), s, Prog::kUnanchored, true); s 268 third_party/re2/re2/testing/regexp_benchmark.cc string s; s 269 third_party/re2/re2/testing/regexp_benchmark.cc MakeText(&s, nbytes); s 270 third_party/re2/re2/testing/regexp_benchmark.cc s.append("Hello World"); s 274 third_party/re2/re2/testing/regexp_benchmark.cc StringPiece t = s; s 287 third_party/re2/re2/testing/regexp_benchmark.cc string s; s 288 third_party/re2/re2/testing/regexp_benchmark.cc MakeText(&s, nbytes); s 290 third_party/re2/re2/testing/regexp_benchmark.cc search(iters, regexp, s, Prog::kAnchored, true); s 527 third_party/re2/re2/testing/regexp_benchmark.cc string s; s 528 third_party/re2/re2/testing/regexp_benchmark.cc s.append(100000, 'x'); s 529 third_party/re2/re2/testing/regexp_benchmark.cc s.append("650-253-0001"); s 531 third_party/re2/re2/testing/regexp_benchmark.cc run(iters, "[0-9]+.(.*)", s); s 547 third_party/re2/re2/testing/regexp_benchmark.cc string s; s 548 third_party/re2/re2/testing/regexp_benchmark.cc s.append("650-253-"); s 549 third_party/re2/re2/testing/regexp_benchmark.cc s.append(100000, '0'); s 551 third_party/re2/re2/testing/regexp_benchmark.cc run(iters, "[0-9]+.(.*)", s); s 694 third_party/re2/re2/testing/regexp_benchmark.cc string s; s 695 third_party/re2/re2/testing/regexp_benchmark.cc MakeText(&s, nbytes); s 696 third_party/re2/re2/testing/regexp_benchmark.cc s.append("(650) 253-0001"); s 699 third_party/re2/re2/testing/regexp_benchmark.cc search(iters, "(\\d{3}-|\\(\\d{3}\\)\\s+)(\\d{3}-\\d{4})", s); s 1413 third_party/re2/re2/testing/regexp_benchmark.cc string s; s 1414 third_party/re2/re2/testing/regexp_benchmark.cc MakeText(&s, n); s 1415 third_party/re2/re2/testing/regexp_benchmark.cc s += "ABCDEFGHIJ"; s 1420 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(PCRE::FullMatch(s, re)); s 1426 third_party/re2/re2/testing/regexp_benchmark.cc string s; s 1427 third_party/re2/re2/testing/regexp_benchmark.cc MakeText(&s, n); s 1428 third_party/re2/re2/testing/regexp_benchmark.cc s += "ABCDEFGHIJ"; s 1433 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(RE2::FullMatch(s, re)); s 78 third_party/re2/re2/testing/regexp_generator.cc static int CountArgs(const string& s) { s 79 third_party/re2/re2/testing/regexp_generator.cc const char *p = s.c_str(); s 229 third_party/re2/re2/testing/regexp_generator.cc vector<string> Explode(const StringPiece& s) { s 232 third_party/re2/re2/testing/regexp_generator.cc for (const char *q = s.begin(); q < s.end(); ) { s 244 third_party/re2/re2/testing/regexp_generator.cc vector<string> Split(const StringPiece& sep, const StringPiece& s) { s 248 third_party/re2/re2/testing/regexp_generator.cc return Explode(s); s 250 third_party/re2/re2/testing/regexp_generator.cc const char *p = s.begin(); s 251 third_party/re2/re2/testing/regexp_generator.cc for (const char *q = s.begin(); q + sep.size() <= s.end(); q++) { s 259 third_party/re2/re2/testing/regexp_generator.cc if (p < s.end()) s 260 third_party/re2/re2/testing/regexp_generator.cc v.push_back(string(p, s.end() - p)); s 62 third_party/re2/re2/testing/regexp_generator.h vector<string> Explode(const StringPiece& s); s 66 third_party/re2/re2/testing/regexp_generator.h vector<string> Split(const StringPiece& sep, const StringPiece& s); s 50 third_party/re2/re2/testing/required_prefix_test.cc Regexp* s = NULL; s 51 third_party/re2/re2/testing/required_prefix_test.cc CHECK_EQ(t.return_value, re->RequiredPrefix(&p, &f, &s)) s 58 third_party/re2/re2/testing/required_prefix_test.cc CHECK_EQ(s->ToString(), string(t.suffix)) s 60 third_party/re2/re2/testing/required_prefix_test.cc s->Decref(); s 16 third_party/re2/re2/testing/set_test.cc RE2::Set s(RE2::DefaultOptions, RE2::UNANCHORED); s 18 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Add("foo", NULL), 0); s 19 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Add("(", NULL), -1); s 20 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Add("bar", NULL), 1); s 22 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Compile(), true); s 25 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("foobar", &v), true); s 31 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("fooba", &v), true); s 36 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("oobar", &v), true); s 42 third_party/re2/re2/testing/set_test.cc RE2::Set s(RE2::DefaultOptions, RE2::UNANCHORED); s 44 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Add("foo", NULL), 0); s 45 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Add("(", NULL), -1); s 46 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Add("foobar", NULL), 1); s 48 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Compile(), true); s 51 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("foobar", &v), true); s 57 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("obarfoobaroo", &v), true); s 63 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("fooba", &v), true); s 68 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("oobar", &v), false); s 73 third_party/re2/re2/testing/set_test.cc RE2::Set s(RE2::DefaultOptions, RE2::UNANCHORED); s 75 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Add("foo$", NULL), 0); s 76 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Compile(), true); s 79 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("foo", &v), true); s 85 third_party/re2/re2/testing/set_test.cc RE2::Set s(RE2::DefaultOptions, RE2::ANCHOR_BOTH); s 87 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Add("foo", NULL), 0); s 88 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Add("(", NULL), -1); s 89 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Add("bar", NULL), 1); s 91 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Compile(), true); s 94 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("foobar", &v), false); s 97 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("fooba", &v), false); s 100 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("oobar", &v), false); s 103 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("foo", &v), true); s 107 third_party/re2/re2/testing/set_test.cc CHECK_EQ(s.Match("bar", &v), true); s 49 third_party/re2/re2/testing/string_generator_test.cc string s = g.Next().as_string(); s 53 third_party/re2/re2/testing/string_generator_test.cc for (const char *p = s.c_str(); *p != '\0'; ) { s 60 third_party/re2/re2/testing/string_generator_test.cc int l = utflen(s.c_str()); s 66 third_party/re2/re2/testing/string_generator_test.cc EXPECT_LT(last_s, s); s 68 third_party/re2/re2/testing/string_generator_test.cc last_s = s; s 92 third_party/re2/re2/testing/tester.cc static string FormatCapture(const StringPiece& text, const StringPiece& s) { s 93 third_party/re2/re2/testing/tester.cc if (s.begin() == NULL) s 96 third_party/re2/re2/testing/tester.cc static_cast<int>(s.begin() - text.begin()), s 97 third_party/re2/re2/testing/tester.cc static_cast<int>(s.end() - text.begin())); s 166 third_party/re2/re2/walker-inl.h WalkState<T>* s; s 169 third_party/re2/re2/walker-inl.h s = &stack_->top(); s 170 third_party/re2/re2/walker-inl.h Regexp* re = s->re; s 171 third_party/re2/re2/walker-inl.h switch (s->n) { s 175 third_party/re2/re2/walker-inl.h t = ShortVisit(re, s->parent_arg); s 179 third_party/re2/re2/walker-inl.h s->pre_arg = PreVisit(re, s->parent_arg, &stop); s 181 third_party/re2/re2/walker-inl.h t = s->pre_arg; s 184 third_party/re2/re2/walker-inl.h s->n = 0; s 185 third_party/re2/re2/walker-inl.h s->child_args = NULL; s 187 third_party/re2/re2/walker-inl.h s->child_args = &s->child_arg; s 189 third_party/re2/re2/walker-inl.h s->child_args = new T[re->nsub_]; s 195 third_party/re2/re2/walker-inl.h if (s->n < re->nsub_) { s 196 third_party/re2/re2/walker-inl.h if (use_copy && s->n > 0 && sub[s->n - 1] == sub[s->n]) { s 197 third_party/re2/re2/walker-inl.h s->child_args[s->n] = Copy(s->child_args[s->n - 1]); s 198 third_party/re2/re2/walker-inl.h s->n++; s 200 third_party/re2/re2/walker-inl.h stack_->push(WalkState<T>(sub[s->n], s->pre_arg)); s 206 third_party/re2/re2/walker-inl.h t = PostVisit(re, s->parent_arg, s->pre_arg, s->child_args, s->n); s 208 third_party/re2/re2/walker-inl.h delete[] s->child_args; s 218 third_party/re2/re2/walker-inl.h s = &stack_->top(); s 219 third_party/re2/re2/walker-inl.h if (s->child_args != NULL) s 220 third_party/re2/re2/walker-inl.h s->child_args[s->n] = t; s 222 third_party/re2/re2/walker-inl.h s->child_arg = t; s 223 third_party/re2/re2/walker-inl.h s->n++; s 61 third_party/re2/util/logging.h string s = str_.str(); s 62 third_party/re2/util/logging.h int n = (int)s.size(); // shut up msvc s 63 third_party/re2/util/logging.h if(write(2, s.data(), n) < 0) {} // shut up gcc s 339 third_party/re2/util/pcre.cc string s; s 340 third_party/re2/util/pcre.cc if (!pattern.Rewrite(&s, rewrite, *str, vec, matches)) s 345 third_party/re2/util/pcre.cc str->replace(vec[0], vec[1] - vec[0], s); s 614 third_party/re2/util/pcre.cc for (const char *s = rewrite.data(), *end = s + rewrite.size(); s 615 third_party/re2/util/pcre.cc s < end; s++) { s 616 third_party/re2/util/pcre.cc int c = *s; s 618 third_party/re2/util/pcre.cc c = *++s; s 649 third_party/re2/util/pcre.cc for (const char *s = rewrite.data(), *end = s + rewrite.size(); s 650 third_party/re2/util/pcre.cc s < end; s++) { s 651 third_party/re2/util/pcre.cc int c = *s; s 655 third_party/re2/util/pcre.cc if (++s == end) { s 659 third_party/re2/util/pcre.cc c = *s; s 210 third_party/re2/util/rune.cc utflen(const char *s) s 218 third_party/re2/util/rune.cc c = *(unsigned char*)s; s 222 third_party/re2/util/rune.cc s++; s 224 third_party/re2/util/rune.cc s += chartorune(&rune, s); s 231 third_party/re2/util/rune.cc utfrune(const char *s, Rune c) s 238 third_party/re2/util/rune.cc return strchr((char*)s, c); s 241 third_party/re2/util/rune.cc c1 = *(unsigned char*)s; s 246 third_party/re2/util/rune.cc return (char*)s; s 247 third_party/re2/util/rune.cc s++; s 250 third_party/re2/util/rune.cc n = chartorune(&r, s); s 252 third_party/re2/util/rune.cc return (char*)s; s 253 third_party/re2/util/rune.cc s += n; s 42 third_party/re2/util/stringpiece.cc int StringPiece::find(const StringPiece& s, size_type pos) const { s 47 third_party/re2/util/stringpiece.cc s.ptr_, s.ptr_ + s.length_); s 49 third_party/re2/util/stringpiece.cc return xpos + s.length_ <= length_ ? xpos : npos; s 60 third_party/re2/util/stringpiece.cc int StringPiece::rfind(const StringPiece& s, size_type pos) const { s 61 third_party/re2/util/stringpiece.cc if (length_ < s.length_) return npos; s 63 third_party/re2/util/stringpiece.cc if (s.length_ == 0) return min(ulen, pos); s 65 third_party/re2/util/stringpiece.cc const char* last = ptr_ + min(ulen - s.length_, pos) + s.length_; s 66 third_party/re2/util/stringpiece.cc const char* result = std::find_end(ptr_, last, s.ptr_, s.ptr_ + s.length_); s 8 third_party/re2/util/stringprintf.cc #define va_copy(d,s) ((d) = (s)) //KLUGE: for MS compilers s 67 third_party/re2/util/strutil.cc string s = string(dest, len); s 69 third_party/re2/util/strutil.cc return s; s 20 third_party/re2/util/test.h TestRegisterer(void (*fn)(void), const char *s) { s 21 third_party/re2/util/test.h RegisterTest(fn, s); s 35 third_party/re2/util/utf.h int runetochar(char* s, const Rune* r); s 36 third_party/re2/util/utf.h int chartorune(Rune* r, const char* s); s 37 third_party/re2/util/utf.h int fullrune(const char* s, int n); s 38 third_party/re2/util/utf.h int utflen(const char* s); s 120 third_party/re2/util/util.h static inline uint32 Hash32StringWithSeed(const char* s, int len, uint32 seed) { s 121 third_party/re2/util/util.h return hashword((uint32*)s, len/4, seed); s 124 third_party/re2/util/util.h static inline uint64 Hash64StringWithSeed(const char* s, int len, uint32 seed) { s 128 third_party/re2/util/util.h hashword2((uint32*)s, len/4, &x, &y); s 6 third_party/simplejson/_speedups.c json_PyOS_string_to_double(const char *s, char **endptr, PyObject *overflow_exception); s 8 third_party/simplejson/_speedups.c json_PyOS_string_to_double(const char *s, char **endptr, PyObject *overflow_exception) { s 13 third_party/simplejson/_speedups.c x = PyOS_ascii_atof(s); s 122 third_party/simplejson/_speedups.c scan_once_str(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr); s 124 third_party/simplejson/_speedups.c scan_once_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr); s 144 third_party/simplejson/_speedups.c encoder_listencode_list(PyEncoderObject *s, PyObject *rval, PyObject *seq, Py_ssize_t indent_level); s 146 third_party/simplejson/_speedups.c encoder_listencode_obj(PyEncoderObject *s, PyObject *rval, PyObject *obj, Py_ssize_t indent_level); s 148 third_party/simplejson/_speedups.c encoder_listencode_dict(PyEncoderObject *s, PyObject *rval, PyObject *dct, Py_ssize_t indent_level); s 152 third_party/simplejson/_speedups.c raise_errmsg(char *msg, PyObject *s, Py_ssize_t end); s 154 third_party/simplejson/_speedups.c encoder_encode_string(PyEncoderObject *s, PyObject *obj); s 160 third_party/simplejson/_speedups.c encoder_encode_float(PyEncoderObject *s, PyObject *obj); s 418 third_party/simplejson/_speedups.c raise_errmsg(char *msg, PyObject *s, Py_ssize_t end) s 433 third_party/simplejson/_speedups.c exc = PyObject_CallFunction(JSONDecodeError, "(zOO&)", msg, s, _convertPyInt_FromSsize_t, &end); s 988 third_party/simplejson/_speedups.c PyScannerObject *s; s 990 third_party/simplejson/_speedups.c s = (PyScannerObject *)self; s 991 third_party/simplejson/_speedups.c Py_VISIT(s->encoding); s 992 third_party/simplejson/_speedups.c Py_VISIT(s->strict); s 993 third_party/simplejson/_speedups.c Py_VISIT(s->object_hook); s 994 third_party/simplejson/_speedups.c Py_VISIT(s->pairs_hook); s 995 third_party/simplejson/_speedups.c Py_VISIT(s->parse_float); s 996 third_party/simplejson/_speedups.c Py_VISIT(s->parse_int); s 997 third_party/simplejson/_speedups.c Py_VISIT(s->parse_constant); s 998 third_party/simplejson/_speedups.c Py_VISIT(s->memo); s 1005 third_party/simplejson/_speedups.c PyScannerObject *s; s 1007 third_party/simplejson/_speedups.c s = (PyScannerObject *)self; s 1008 third_party/simplejson/_speedups.c Py_CLEAR(s->encoding); s 1009 third_party/simplejson/_speedups.c Py_CLEAR(s->strict); s 1010 third_party/simplejson/_speedups.c Py_CLEAR(s->object_hook); s 1011 third_party/simplejson/_speedups.c Py_CLEAR(s->pairs_hook); s 1012 third_party/simplejson/_speedups.c Py_CLEAR(s->parse_float); s 1013 third_party/simplejson/_speedups.c Py_CLEAR(s->parse_int); s 1014 third_party/simplejson/_speedups.c Py_CLEAR(s->parse_constant); s 1015 third_party/simplejson/_speedups.c Py_CLEAR(s->memo); s 1020 third_party/simplejson/_speedups.c _parse_object_str(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) { s 1036 third_party/simplejson/_speedups.c char *encoding = PyString_AS_STRING(s->encoding); s 1037 third_party/simplejson/_speedups.c int strict = PyObject_IsTrue(s->strict); s 1038 third_party/simplejson/_speedups.c int has_pairs_hook = (s->pairs_hook != Py_None); s 1069 third_party/simplejson/_speedups.c memokey = PyDict_GetItem(s->memo, key); s 1076 third_party/simplejson/_speedups.c if (PyDict_SetItem(s->memo, key, key) < 0) s 1091 third_party/simplejson/_speedups.c val = scan_once_str(s, pystr, idx, &next_idx); s 1140 third_party/simplejson/_speedups.c if (s->pairs_hook != Py_None) { s 1141 third_party/simplejson/_speedups.c val = PyObject_CallFunctionObjArgs(s->pairs_hook, pairs, NULL); s 1150 third_party/simplejson/_speedups.c if (s->object_hook != Py_None) { s 1151 third_party/simplejson/_speedups.c val = PyObject_CallFunctionObjArgs(s->object_hook, rval, NULL); s 1169 third_party/simplejson/_speedups.c _parse_object_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) { s 1184 third_party/simplejson/_speedups.c int strict = PyObject_IsTrue(s->strict); s 1185 third_party/simplejson/_speedups.c int has_pairs_hook = (s->pairs_hook != Py_None); s 1217 third_party/simplejson/_speedups.c memokey = PyDict_GetItem(s->memo, key); s 1224 third_party/simplejson/_speedups.c if (PyDict_SetItem(s->memo, key, key) < 0) s 1240 third_party/simplejson/_speedups.c val = scan_once_unicode(s, pystr, idx, &next_idx); s 1291 third_party/simplejson/_speedups.c if (s->pairs_hook != Py_None) { s 1292 third_party/simplejson/_speedups.c val = PyObject_CallFunctionObjArgs(s->pairs_hook, pairs, NULL); s 1301 third_party/simplejson/_speedups.c if (s->object_hook != Py_None) { s 1302 third_party/simplejson/_speedups.c val = PyObject_CallFunctionObjArgs(s->object_hook, rval, NULL); s 1320 third_party/simplejson/_speedups.c _parse_array_str(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) { s 1344 third_party/simplejson/_speedups.c val = scan_once_str(s, pystr, idx, &next_idx); s 1392 third_party/simplejson/_speedups.c _parse_array_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) { s 1416 third_party/simplejson/_speedups.c val = scan_once_unicode(s, pystr, idx, &next_idx); s 1464 third_party/simplejson/_speedups.c _parse_constant(PyScannerObject *s, char *constant, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) { s 1482 third_party/simplejson/_speedups.c rval = PyObject_CallFunctionObjArgs(s->parse_constant, cstr, NULL); s 1490 third_party/simplejson/_speedups.c _match_number_str(PyScannerObject *s, PyObject *pystr, Py_ssize_t start, Py_ssize_t *next_idx_ptr) { s 1566 third_party/simplejson/_speedups.c if (s->parse_float != (PyObject *)&PyFloat_Type) { s 1567 third_party/simplejson/_speedups.c rval = PyObject_CallFunctionObjArgs(s->parse_float, numstr, NULL); s 1580 third_party/simplejson/_speedups.c if (s->parse_int != (PyObject *)&PyInt_Type) { s 1581 third_party/simplejson/_speedups.c rval = PyObject_CallFunctionObjArgs(s->parse_int, numstr, NULL); s 1593 third_party/simplejson/_speedups.c _match_number_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t start, Py_ssize_t *next_idx_ptr) { s 1667 third_party/simplejson/_speedups.c if (s->parse_float != (PyObject *)&PyFloat_Type) { s 1668 third_party/simplejson/_speedups.c rval = PyObject_CallFunctionObjArgs(s->parse_float, numstr, NULL); s 1676 third_party/simplejson/_speedups.c rval = PyObject_CallFunctionObjArgs(s->parse_int, numstr, NULL); s 1684 third_party/simplejson/_speedups.c scan_once_str(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) s 1707 third_party/simplejson/_speedups.c PyString_AS_STRING(s->encoding), s 1708 third_party/simplejson/_speedups.c PyObject_IsTrue(s->strict), s 1713 third_party/simplejson/_speedups.c rval = _parse_object_str(s, pystr, idx + 1, next_idx_ptr); s 1717 third_party/simplejson/_speedups.c rval = _parse_array_str(s, pystr, idx + 1, next_idx_ptr); s 1752 third_party/simplejson/_speedups.c rval = _parse_constant(s, "NaN", idx, next_idx_ptr); s 1760 third_party/simplejson/_speedups.c rval = _parse_constant(s, "Infinity", idx, next_idx_ptr); s 1768 third_party/simplejson/_speedups.c rval = _parse_constant(s, "-Infinity", idx, next_idx_ptr); s 1778 third_party/simplejson/_speedups.c rval = _match_number_str(s, pystr, idx, next_idx_ptr); s 1784 third_party/simplejson/_speedups.c scan_once_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_t *next_idx_ptr) s 1807 third_party/simplejson/_speedups.c PyObject_IsTrue(s->strict), s 1812 third_party/simplejson/_speedups.c rval = _parse_object_unicode(s, pystr, idx + 1, next_idx_ptr); s 1816 third_party/simplejson/_speedups.c rval = _parse_array_unicode(s, pystr, idx + 1, next_idx_ptr); s 1851 third_party/simplejson/_speedups.c rval = _parse_constant(s, "NaN", idx, next_idx_ptr); s 1859 third_party/simplejson/_speedups.c rval = _parse_constant(s, "Infinity", idx, next_idx_ptr); s 1867 third_party/simplejson/_speedups.c rval = _parse_constant(s, "-Infinity", idx, next_idx_ptr); s 1877 third_party/simplejson/_speedups.c rval = _match_number_unicode(s, pystr, idx, next_idx_ptr); s 1891 third_party/simplejson/_speedups.c PyScannerObject *s; s 1893 third_party/simplejson/_speedups.c s = (PyScannerObject *)self; s 1898 third_party/simplejson/_speedups.c rval = scan_once_str(s, pystr, idx, &next_idx); s 1901 third_party/simplejson/_speedups.c rval = scan_once_unicode(s, pystr, idx, &next_idx); s 1909 third_party/simplejson/_speedups.c PyDict_Clear(s->memo); s 1916 third_party/simplejson/_speedups.c PyScannerObject *s; s 1917 third_party/simplejson/_speedups.c s = (PyScannerObject *)type->tp_alloc(type, 0); s 1918 third_party/simplejson/_speedups.c if (s != NULL) { s 1919 third_party/simplejson/_speedups.c s->encoding = NULL; s 1920 third_party/simplejson/_speedups.c s->strict = NULL; s 1921 third_party/simplejson/_speedups.c s->object_hook = NULL; s 1922 third_party/simplejson/_speedups.c s->pairs_hook = NULL; s 1923 third_party/simplejson/_speedups.c s->parse_float = NULL; s 1924 third_party/simplejson/_speedups.c s->parse_int = NULL; s 1925 third_party/simplejson/_speedups.c s->parse_constant = NULL; s 1927 third_party/simplejson/_speedups.c return (PyObject *)s; s 1936 third_party/simplejson/_speedups.c PyScannerObject *s; s 1939 third_party/simplejson/_speedups.c s = (PyScannerObject *)self; s 1944 third_party/simplejson/_speedups.c if (s->memo == NULL) { s 1945 third_party/simplejson/_speedups.c s->memo = PyDict_New(); s 1946 third_party/simplejson/_speedups.c if (s->memo == NULL) s 1951 third_party/simplejson/_speedups.c s->encoding = PyObject_GetAttrString(ctx, "encoding"); s 1952 third_party/simplejson/_speedups.c if (s->encoding == NULL) s 1954 third_party/simplejson/_speedups.c if (s->encoding == Py_None) { s 1956 third_party/simplejson/_speedups.c s->encoding = PyString_InternFromString(DEFAULT_ENCODING); s 1958 third_party/simplejson/_speedups.c else if (PyUnicode_Check(s->encoding)) { s 1959 third_party/simplejson/_speedups.c PyObject *tmp = PyUnicode_AsEncodedString(s->encoding, NULL, NULL); s 1960 third_party/simplejson/_speedups.c Py_DECREF(s->encoding); s 1961 third_party/simplejson/_speedups.c s->encoding = tmp; s 1963 third_party/simplejson/_speedups.c if (s->encoding == NULL || !PyString_Check(s->encoding)) s 1967 third_party/simplejson/_speedups.c s->strict = PyObject_GetAttrString(ctx, "strict"); s 1968 third_party/simplejson/_speedups.c if (s->strict == NULL) s 1970 third_party/simplejson/_speedups.c s->object_hook = PyObject_GetAttrString(ctx, "object_hook"); s 1971 third_party/simplejson/_speedups.c if (s->object_hook == NULL) s 1973 third_party/simplejson/_speedups.c s->pairs_hook = PyObject_GetAttrString(ctx, "object_pairs_hook"); s 1974 third_party/simplejson/_speedups.c if (s->pairs_hook == NULL) s 1976 third_party/simplejson/_speedups.c s->parse_float = PyObject_GetAttrString(ctx, "parse_float"); s 1977 third_party/simplejson/_speedups.c if (s->parse_float == NULL) s 1979 third_party/simplejson/_speedups.c s->parse_int = PyObject_GetAttrString(ctx, "parse_int"); s 1980 third_party/simplejson/_speedups.c if (s->parse_int == NULL) s 1982 third_party/simplejson/_speedups.c s->parse_constant = PyObject_GetAttrString(ctx, "parse_constant"); s 1983 third_party/simplejson/_speedups.c if (s->parse_constant == NULL) s 1989 third_party/simplejson/_speedups.c Py_CLEAR(s->encoding); s 1990 third_party/simplejson/_speedups.c Py_CLEAR(s->strict); s 1991 third_party/simplejson/_speedups.c Py_CLEAR(s->object_hook); s 1992 third_party/simplejson/_speedups.c Py_CLEAR(s->pairs_hook); s 1993 third_party/simplejson/_speedups.c Py_CLEAR(s->parse_float); s 1994 third_party/simplejson/_speedups.c Py_CLEAR(s->parse_int); s 1995 third_party/simplejson/_speedups.c Py_CLEAR(s->parse_constant); s 2048 third_party/simplejson/_speedups.c PyEncoderObject *s; s 2049 third_party/simplejson/_speedups.c s = (PyEncoderObject *)type->tp_alloc(type, 0); s 2050 third_party/simplejson/_speedups.c if (s != NULL) { s 2051 third_party/simplejson/_speedups.c s->markers = NULL; s 2052 third_party/simplejson/_speedups.c s->defaultfn = NULL; s 2053 third_party/simplejson/_speedups.c s->encoder = NULL; s 2054 third_party/simplejson/_speedups.c s->indent = NULL; s 2055 third_party/simplejson/_speedups.c s->key_separator = NULL; s 2056 third_party/simplejson/_speedups.c s->item_separator = NULL; s 2057 third_party/simplejson/_speedups.c s->sort_keys = NULL; s 2058 third_party/simplejson/_speedups.c s->skipkeys = NULL; s 2059 third_party/simplejson/_speedups.c s->key_memo = NULL; s 2060 third_party/simplejson/_speedups.c s->item_sort_key = NULL; s 2061 third_party/simplejson/_speedups.c s->Decimal = NULL; s 2063 third_party/simplejson/_speedups.c return (PyObject *)s; s 2072 third_party/simplejson/_speedups.c PyEncoderObject *s; s 2079 third_party/simplejson/_speedups.c s = (PyEncoderObject *)self; s 2088 third_party/simplejson/_speedups.c s->markers = markers; s 2089 third_party/simplejson/_speedups.c s->defaultfn = defaultfn; s 2090 third_party/simplejson/_speedups.c s->encoder = encoder; s 2091 third_party/simplejson/_speedups.c s->indent = indent; s 2092 third_party/simplejson/_speedups.c s->key_separator = key_separator; s 2093 third_party/simplejson/_speedups.c s->item_separator = item_separator; s 2094 third_party/simplejson/_speedups.c s->sort_keys = sort_keys; s 2095 third_party/simplejson/_speedups.c s->skipkeys = skipkeys; s 2096 third_party/simplejson/_speedups.c s->key_memo = key_memo; s 2097 third_party/simplejson/_speedups.c s->fast_encode = (PyCFunction_Check(s->encoder) && PyCFunction_GetFunction(s->encoder) == (PyCFunction)py_encode_basestring_ascii); s 2098 third_party/simplejson/_speedups.c s->allow_nan = PyObject_IsTrue(allow_nan); s 2099 third_party/simplejson/_speedups.c s->use_decimal = PyObject_IsTrue(use_decimal); s 2100 third_party/simplejson/_speedups.c s->namedtuple_as_object = PyObject_IsTrue(namedtuple_as_object); s 2101 third_party/simplejson/_speedups.c s->tuple_as_array = PyObject_IsTrue(tuple_as_array); s 2102 third_party/simplejson/_speedups.c s->bigint_as_string = PyObject_IsTrue(bigint_as_string); s 2103 third_party/simplejson/_speedups.c s->item_sort_key = item_sort_key; s 2104 third_party/simplejson/_speedups.c s->Decimal = Decimal; s 2106 third_party/simplejson/_speedups.c Py_INCREF(s->markers); s 2107 third_party/simplejson/_speedups.c Py_INCREF(s->defaultfn); s 2108 third_party/simplejson/_speedups.c Py_INCREF(s->encoder); s 2109 third_party/simplejson/_speedups.c Py_INCREF(s->indent); s 2110 third_party/simplejson/_speedups.c Py_INCREF(s->key_separator); s 2111 third_party/simplejson/_speedups.c Py_INCREF(s->item_separator); s 2112 third_party/simplejson/_speedups.c Py_INCREF(s->sort_keys); s 2113 third_party/simplejson/_speedups.c Py_INCREF(s->skipkeys); s 2114 third_party/simplejson/_speedups.c Py_INCREF(s->key_memo); s 2115 third_party/simplejson/_speedups.c Py_INCREF(s->item_sort_key); s 2116 third_party/simplejson/_speedups.c Py_INCREF(s->Decimal); s 2128 third_party/simplejson/_speedups.c PyEncoderObject *s; s 2130 third_party/simplejson/_speedups.c s = (PyEncoderObject *)self; s 2137 third_party/simplejson/_speedups.c if (encoder_listencode_obj(s, rval, obj, indent_level)) { s 2179 third_party/simplejson/_speedups.c encoder_encode_float(PyEncoderObject *s, PyObject *obj) s 2184 third_party/simplejson/_speedups.c if (!s->allow_nan) { s 2203 third_party/simplejson/_speedups.c encoder_encode_string(PyEncoderObject *s, PyObject *obj) s 2206 third_party/simplejson/_speedups.c if (s->fast_encode) s 2209 third_party/simplejson/_speedups.c return PyObject_CallFunctionObjArgs(s->encoder, obj, NULL); s 2222 third_party/simplejson/_speedups.c encoder_listencode_obj(PyEncoderObject *s, PyObject *rval, PyObject *obj, Py_ssize_t indent_level) s 2236 third_party/simplejson/_speedups.c PyObject *encoded = encoder_encode_string(s, obj); s 2243 third_party/simplejson/_speedups.c if (s->bigint_as_string) { s 2252 third_party/simplejson/_speedups.c PyObject *encoded = encoder_encode_float(s, obj); s 2256 third_party/simplejson/_speedups.c else if (s->namedtuple_as_object && _is_namedtuple(obj)) { s 2259 third_party/simplejson/_speedups.c rv = encoder_listencode_dict(s, rval, newobj, indent_level); s 2263 third_party/simplejson/_speedups.c else if (PyList_Check(obj) || (s->tuple_as_array && PyTuple_Check(obj))) { s 2264 third_party/simplejson/_speedups.c rv = encoder_listencode_list(s, rval, obj, indent_level); s 2267 third_party/simplejson/_speedups.c rv = encoder_listencode_dict(s, rval, obj, indent_level); s 2269 third_party/simplejson/_speedups.c else if (s->use_decimal && PyObject_TypeCheck(obj, s->Decimal)) { s 2277 third_party/simplejson/_speedups.c if (s->markers != Py_None) { s 2282 third_party/simplejson/_speedups.c has_key = PyDict_Contains(s->markers, ident); s 2289 third_party/simplejson/_speedups.c if (PyDict_SetItem(s->markers, ident, obj)) { s 2294 third_party/simplejson/_speedups.c newobj = PyObject_CallFunctionObjArgs(s->defaultfn, obj, NULL); s 2299 third_party/simplejson/_speedups.c rv = encoder_listencode_obj(s, rval, newobj, indent_level); s 2306 third_party/simplejson/_speedups.c if (PyDict_DelItem(s->markers, ident)) { s 2319 third_party/simplejson/_speedups.c encoder_listencode_dict(PyEncoderObject *s, PyObject *rval, PyObject *dct, Py_ssize_t indent_level) s 2346 third_party/simplejson/_speedups.c if (s->markers != Py_None) { s 2351 third_party/simplejson/_speedups.c has_key = PyDict_Contains(s->markers, ident); s 2357 third_party/simplejson/_speedups.c if (PyDict_SetItem(s->markers, ident, dct)) { s 2365 third_party/simplejson/_speedups.c if (s->indent != Py_None) { s 2375 third_party/simplejson/_speedups.c if (PyCallable_Check(s->item_sort_key)) { s 2380 third_party/simplejson/_speedups.c PyObject_CallMethod(items, "sort", "OO", Py_None, s->item_sort_key); s 2382 third_party/simplejson/_speedups.c else if (PyObject_IsTrue(s->sort_keys)) { s 2422 third_party/simplejson/_speedups.c skipkeys = PyObject_IsTrue(s->skipkeys); s 2437 third_party/simplejson/_speedups.c encoded = PyDict_GetItem(s->key_memo, key); s 2446 third_party/simplejson/_speedups.c kstr = encoder_encode_float(s, key); s 2473 third_party/simplejson/_speedups.c if (PyList_Append(rval, s->item_separator)) s 2478 third_party/simplejson/_speedups.c encoded = encoder_encode_string(s, kstr); s 2482 third_party/simplejson/_speedups.c if (PyDict_SetItem(s->key_memo, key, encoded)) s 2489 third_party/simplejson/_speedups.c if (PyList_Append(rval, s->key_separator)) s 2491 third_party/simplejson/_speedups.c if (encoder_listencode_obj(s, rval, value, indent_level)) s 2500 third_party/simplejson/_speedups.c if (PyDict_DelItem(s->markers, ident)) s 2504 third_party/simplejson/_speedups.c if (s->indent != Py_None) { s 2526 third_party/simplejson/_speedups.c encoder_listencode_list(PyEncoderObject *s, PyObject *rval, PyObject *seq, Py_ssize_t indent_level) s 2552 third_party/simplejson/_speedups.c if (s->markers != Py_None) { s 2557 third_party/simplejson/_speedups.c has_key = PyDict_Contains(s->markers, ident); s 2563 third_party/simplejson/_speedups.c if (PyDict_SetItem(s->markers, ident, seq)) { s 2574 third_party/simplejson/_speedups.c if (s->indent != Py_None) { s 2585 third_party/simplejson/_speedups.c if (PyList_Append(rval, s->item_separator)) s 2588 third_party/simplejson/_speedups.c if (encoder_listencode_obj(s, rval, obj, indent_level)) s 2597 third_party/simplejson/_speedups.c if (PyDict_DelItem(s->markers, ident)) s 2601 third_party/simplejson/_speedups.c if (s->indent != Py_None) { s 2630 third_party/simplejson/_speedups.c PyEncoderObject *s; s 2632 third_party/simplejson/_speedups.c s = (PyEncoderObject *)self; s 2633 third_party/simplejson/_speedups.c Py_VISIT(s->markers); s 2634 third_party/simplejson/_speedups.c Py_VISIT(s->defaultfn); s 2635 third_party/simplejson/_speedups.c Py_VISIT(s->encoder); s 2636 third_party/simplejson/_speedups.c Py_VISIT(s->indent); s 2637 third_party/simplejson/_speedups.c Py_VISIT(s->key_separator); s 2638 third_party/simplejson/_speedups.c Py_VISIT(s->item_separator); s 2639 third_party/simplejson/_speedups.c Py_VISIT(s->sort_keys); s 2640 third_party/simplejson/_speedups.c Py_VISIT(s->skipkeys); s 2641 third_party/simplejson/_speedups.c Py_VISIT(s->key_memo); s 2642 third_party/simplejson/_speedups.c Py_VISIT(s->item_sort_key); s 2650 third_party/simplejson/_speedups.c PyEncoderObject *s; s 2652 third_party/simplejson/_speedups.c s = (PyEncoderObject *)self; s 2653 third_party/simplejson/_speedups.c Py_CLEAR(s->markers); s 2654 third_party/simplejson/_speedups.c Py_CLEAR(s->defaultfn); s 2655 third_party/simplejson/_speedups.c Py_CLEAR(s->encoder); s 2656 third_party/simplejson/_speedups.c Py_CLEAR(s->indent); s 2657 third_party/simplejson/_speedups.c Py_CLEAR(s->key_separator); s 2658 third_party/simplejson/_speedups.c Py_CLEAR(s->item_separator); s 2659 third_party/simplejson/_speedups.c Py_CLEAR(s->sort_keys); s 2660 third_party/simplejson/_speedups.c Py_CLEAR(s->skipkeys); s 2661 third_party/simplejson/_speedups.c Py_CLEAR(s->key_memo); s 2662 third_party/simplejson/_speedups.c Py_CLEAR(s->item_sort_key); s 2663 third_party/simplejson/_speedups.c Py_CLEAR(s->Decimal); s 12461 third_party/sqlite/amalgamation/sqlite3.c Mem s; /* The return value is stored here */ s 12928 third_party/sqlite/amalgamation/sqlite3.c double s; /* Seconds */ s 13037 third_party/sqlite/amalgamation/sqlite3.c int h, m, s; s 13045 third_party/sqlite/amalgamation/sqlite3.c if( getDigits(zDate, 2, 0, 59, 0, &s)!=1 ){ s 13060 third_party/sqlite/amalgamation/sqlite3.c s = 0; s 13066 third_party/sqlite/amalgamation/sqlite3.c p->s = s + ms; s 13102 third_party/sqlite/amalgamation/sqlite3.c p->iJD += p->h*3600000 + p->m*60000 + (sqlite3_int64)(p->s*1000); s 13232 third_party/sqlite/amalgamation/sqlite3.c int s; s 13235 third_party/sqlite/amalgamation/sqlite3.c s = (int)((p->iJD + 43200000) % 86400000); s 13236 third_party/sqlite/amalgamation/sqlite3.c p->s = s/1000.0; s 13237 third_party/sqlite/amalgamation/sqlite3.c s = (int)p->s; s 13238 third_party/sqlite/amalgamation/sqlite3.c p->s -= s; s 13239 third_party/sqlite/amalgamation/sqlite3.c p->h = s/3600; s 13240 third_party/sqlite/amalgamation/sqlite3.c s -= p->h*3600; s 13241 third_party/sqlite/amalgamation/sqlite3.c p->m = s/60; s 13242 third_party/sqlite/amalgamation/sqlite3.c p->s += s - p->m*60; s 13280 third_party/sqlite/amalgamation/sqlite3.c x.s = 0.0; s 13282 third_party/sqlite/amalgamation/sqlite3.c int s = (int)(x.s + 0.5); s 13283 third_party/sqlite/amalgamation/sqlite3.c x.s = s; s 13298 third_party/sqlite/amalgamation/sqlite3.c y.s = sLocal.tm_sec; s 13309 third_party/sqlite/amalgamation/sqlite3.c y.s = sLocal.tm_sec; s 13321 third_party/sqlite/amalgamation/sqlite3.c y.s = pTm->tm_sec; s 13443 third_party/sqlite/amalgamation/sqlite3.c p->s = 0.0; s 13628 third_party/sqlite/amalgamation/sqlite3.c x.Y, x.M, x.D, x.h, x.m, (int)(x.s)); s 13647 third_party/sqlite/amalgamation/sqlite3.c sqlite3_snprintf(sizeof(zBuf), zBuf, "%02d:%02d:%02d", x.h, x.m, (int)x.s); s 13763 third_party/sqlite/amalgamation/sqlite3.c double s = x.s; s 13764 third_party/sqlite/amalgamation/sqlite3.c if( s>59.999 ) s = 59.999; s 13765 third_party/sqlite/amalgamation/sqlite3.c sqlite3_snprintf(7, &z[j],"%06.3f", s); s 13803 third_party/sqlite/amalgamation/sqlite3.c case 'S': sqlite3_snprintf(3,&z[j],"%02d",(int)x.s); j+=2; break; s 19541 third_party/sqlite/amalgamation/sqlite3.c unsigned char s[256]; /* State variables */ s 19594 third_party/sqlite/amalgamation/sqlite3.c wsdPrng.s[i] = (u8)i; s 19597 third_party/sqlite/amalgamation/sqlite3.c wsdPrng.j += wsdPrng.s[i] + k[i]; s 19598 third_party/sqlite/amalgamation/sqlite3.c t = wsdPrng.s[wsdPrng.j]; s 19599 third_party/sqlite/amalgamation/sqlite3.c wsdPrng.s[wsdPrng.j] = wsdPrng.s[i]; s 19600 third_party/sqlite/amalgamation/sqlite3.c wsdPrng.s[i] = t; s 19608 third_party/sqlite/amalgamation/sqlite3.c t = wsdPrng.s[wsdPrng.i]; s 19610 third_party/sqlite/amalgamation/sqlite3.c wsdPrng.s[wsdPrng.i] = wsdPrng.s[wsdPrng.j]; s 19611 third_party/sqlite/amalgamation/sqlite3.c wsdPrng.s[wsdPrng.j] = t; s 19612 third_party/sqlite/amalgamation/sqlite3.c t += wsdPrng.s[wsdPrng.i]; s 19613 third_party/sqlite/amalgamation/sqlite3.c return wsdPrng.s[t]; s 20488 third_party/sqlite/amalgamation/sqlite3.c i64 s = 0; /* significand */ s 20516 third_party/sqlite/amalgamation/sqlite3.c while( z<zEnd && sqlite3Isdigit(*z) && s<((LARGEST_INT64-9)/10) ){ s 20517 third_party/sqlite/amalgamation/sqlite3.c s = s*10 + (*z - '0'); s 20531 third_party/sqlite/amalgamation/sqlite3.c while( z<zEnd && sqlite3Isdigit(*z) && s<((LARGEST_INT64-9)/10) ){ s 20532 third_party/sqlite/amalgamation/sqlite3.c s = s*10 + (*z - '0'); s 20576 third_party/sqlite/amalgamation/sqlite3.c if( !s ) { s 20583 third_party/sqlite/amalgamation/sqlite3.c while( s<(LARGEST_INT64/10) && e>0 ) e--,s*=10; s 20585 third_party/sqlite/amalgamation/sqlite3.c while( !(s%10) && e>0 ) e--,s/=10; s 20589 third_party/sqlite/amalgamation/sqlite3.c s = sign<0 ? -s : s; s 20599 third_party/sqlite/amalgamation/sqlite3.c result = s / scale; s 20602 third_party/sqlite/amalgamation/sqlite3.c result = s * scale; s 20611 third_party/sqlite/amalgamation/sqlite3.c result = s / scale; s 20613 third_party/sqlite/amalgamation/sqlite3.c result = s * scale; s 20617 third_party/sqlite/amalgamation/sqlite3.c result = (double)s; s 20889 third_party/sqlite/amalgamation/sqlite3.c u32 a,b,s; s 20952 third_party/sqlite/amalgamation/sqlite3.c s = a; s 20966 third_party/sqlite/amalgamation/sqlite3.c s = s>>18; s 20967 third_party/sqlite/amalgamation/sqlite3.c *v = ((u64)s)<<32 | a; s 20972 third_party/sqlite/amalgamation/sqlite3.c s = s<<7; s 20973 third_party/sqlite/amalgamation/sqlite3.c s |= b; s 20987 third_party/sqlite/amalgamation/sqlite3.c s = s>>18; s 20988 third_party/sqlite/amalgamation/sqlite3.c *v = ((u64)s)<<32 | a; s 21002 third_party/sqlite/amalgamation/sqlite3.c s = s>>11; s 21003 third_party/sqlite/amalgamation/sqlite3.c *v = ((u64)s)<<32 | a; s 21020 third_party/sqlite/amalgamation/sqlite3.c s = s>>4; s 21021 third_party/sqlite/amalgamation/sqlite3.c *v = ((u64)s)<<32 | a; s 21036 third_party/sqlite/amalgamation/sqlite3.c s = s<<4; s 21040 third_party/sqlite/amalgamation/sqlite3.c s |= b; s 21042 third_party/sqlite/amalgamation/sqlite3.c *v = ((u64)s)<<32 | a; s 24680 third_party/sqlite/amalgamation/sqlite3.c int s; s 24687 third_party/sqlite/amalgamation/sqlite3.c s = osFcntl(fd, op, p); s 24688 third_party/sqlite/amalgamation/sqlite3.c sqlite3DebugPrintf("fcntl unknown %d %d %d\n", fd, op, s); s 24689 third_party/sqlite/amalgamation/sqlite3.c return s; s 24701 third_party/sqlite/amalgamation/sqlite3.c s = osFcntl(fd, op, p); s 24705 third_party/sqlite/amalgamation/sqlite3.c (int)p->l_pid, s); s 24706 third_party/sqlite/amalgamation/sqlite3.c if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){ s 24723 third_party/sqlite/amalgamation/sqlite3.c return s; s 36367 third_party/sqlite/amalgamation/sqlite3.c # define sqlite3WalCheckpoint(r,s,t,u,v,w,x,y,z) 0 s 56219 third_party/sqlite/amalgamation/sqlite3.c ctx.s.flags = MEM_Null; s 56220 third_party/sqlite/amalgamation/sqlite3.c ctx.s.db = pMem->db; s 56226 third_party/sqlite/amalgamation/sqlite3.c memcpy(pMem, &ctx.s, sizeof(ctx.s)); s 60533 third_party/sqlite/amalgamation/sqlite3.c if( sqlite3VdbeMemSetStr(&pCtx->s, z, n, enc, xDel)==SQLITE_TOOBIG ){ s 60544 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60548 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60549 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetDouble(&pCtx->s, rVal); s 60552 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60554 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF8, SQLITE_TRANSIENT); s 60558 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60560 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF16NATIVE, SQLITE_TRANSIENT); s 60564 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60565 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetInt64(&pCtx->s, (i64)iVal); s 60568 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60569 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetInt64(&pCtx->s, iVal); s 60572 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60573 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetNull(&pCtx->s); s 60581 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60591 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60600 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60609 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60614 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60615 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemCopy(&pCtx->s, pValue); s 60618 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60619 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetZeroBlob(&pCtx->s, n); s 60623 third_party/sqlite/amalgamation/sqlite3.c if( pCtx->s.flags & MEM_Null ){ s 60624 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetStr(&pCtx->s, sqlite3ErrStr(errCode), -1, s 60631 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60633 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetStr(&pCtx->s, "string or blob too big", -1, s 60639 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60640 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetNull(&pCtx->s); s 60642 third_party/sqlite/amalgamation/sqlite3.c pCtx->s.db->mallocFailed = 1; s 60864 third_party/sqlite/amalgamation/sqlite3.c return p->s.db; s 60897 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->s.db->mutex) ); s 60924 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60947 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 60952 third_party/sqlite/amalgamation/sqlite3.c pVdbeFunc = sqlite3DbRealloc(pCtx->s.db, pVdbeFunc, nMalloc); s 63703 third_party/sqlite/amalgamation/sqlite3.c u.ag.ctx.s.flags = MEM_Null; s 63704 third_party/sqlite/amalgamation/sqlite3.c u.ag.ctx.s.db = db; s 63705 third_party/sqlite/amalgamation/sqlite3.c u.ag.ctx.s.xDel = 0; s 63706 third_party/sqlite/amalgamation/sqlite3.c u.ag.ctx.s.zMalloc = 0; s 63712 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemMove(&u.ag.ctx.s, pOut); s 63713 third_party/sqlite/amalgamation/sqlite3.c MemSetTypeFlag(&u.ag.ctx.s, MEM_Null); s 63729 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemRelease(&u.ag.ctx.s); s 63744 third_party/sqlite/amalgamation/sqlite3.c sqlite3SetString(&p->zErrMsg, db, "%s", sqlite3_value_text(&u.ag.ctx.s)); s 63749 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeChangeEncoding(&u.ag.ctx.s, encoding); s 63750 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemMove(pOut, &u.ag.ctx.s); s 67603 third_party/sqlite/amalgamation/sqlite3.c u.cb.ctx.s.flags = MEM_Null; s 67604 third_party/sqlite/amalgamation/sqlite3.c u.cb.ctx.s.z = 0; s 67605 third_party/sqlite/amalgamation/sqlite3.c u.cb.ctx.s.zMalloc = 0; s 67606 third_party/sqlite/amalgamation/sqlite3.c u.cb.ctx.s.xDel = 0; s 67607 third_party/sqlite/amalgamation/sqlite3.c u.cb.ctx.s.db = db; s 67618 third_party/sqlite/amalgamation/sqlite3.c sqlite3SetString(&p->zErrMsg, db, "%s", sqlite3_value_text(&u.cb.ctx.s)); s 67622 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemRelease(&u.cb.ctx.s); s 68084 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemMove(&u.cj.sContext.s, u.cj.pDest); s 68085 third_party/sqlite/amalgamation/sqlite3.c MemSetTypeFlag(&u.cj.sContext.s, MEM_Null); s 68097 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeChangeEncoding(&u.cj.sContext.s, encoding); s 68098 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemMove(u.cj.pDest, &u.cj.sContext.s); s 767 third_party/sqlite/src/ext/async/sqlite3async.c sqlite3_int64 s = 0; s 779 third_party/sqlite/src/ext/async/sqlite3async.c rc = pBase->pMethods->xFileSize(pBase, &s); s 789 third_party/sqlite/src/ext/async/sqlite3async.c s = 0; s 796 third_party/sqlite/src/ext/async/sqlite3async.c s = MAX(pWrite->iOffset + (sqlite3_int64)(pWrite->nByte), s); s 799 third_party/sqlite/src/ext/async/sqlite3async.c s = MIN(s, pWrite->iOffset); s 804 third_party/sqlite/src/ext/async/sqlite3async.c *piSize = s; s 68 third_party/sqlite/src/ext/fts1/fts1.c char *s; /* Content of the string */ s 74 third_party/sqlite/src/ext/fts1/fts1.c sb->s = malloc(100); s 75 third_party/sqlite/src/ext/fts1/fts1.c sb->s[0] = '\0'; s 81 third_party/sqlite/src/ext/fts1/fts1.c sb->s = realloc(sb->s, sb->alloced+1); s 82 third_party/sqlite/src/ext/fts1/fts1.c if( sb->s==0 ){ s 87 third_party/sqlite/src/ext/fts1/fts1.c memcpy(sb->s + sb->len, zFrom, nFrom); s 89 third_party/sqlite/src/ext/fts1/fts1.c sb->s[sb->len] = 0; s 872 third_party/sqlite/src/ext/fts1/fts1.c static char *string_dup_n(const char *s, int n){ s 874 third_party/sqlite/src/ext/fts1/fts1.c memcpy(str, s, n); s 882 third_party/sqlite/src/ext/fts1/fts1.c static char *string_dup(const char *s){ s 883 third_party/sqlite/src/ext/fts1/fts1.c return string_dup_n(s, strlen(s)); s 1145 third_party/sqlite/src/ext/fts1/fts1.c return sb.s; s 1166 third_party/sqlite/src/ext/fts1/fts1.c return sb.s; s 1209 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_stmt *s = *ppStmt; s 1211 third_party/sqlite/src/ext/fts1/fts1.c assert( s==v->pFulltextStatements[iStmt] ); s 1213 third_party/sqlite/src/ext/fts1/fts1.c while( (rc=sqlite3_step(s))!=SQLITE_DONE && rc!=SQLITE_ROW ){ s 1224 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_finalize(s); s 1230 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_finalize(s); s 1247 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_stmt *s; s 1249 third_party/sqlite/src/ext/fts1/fts1.c int rc = sql_get_statement(v, CONTENT_INSERT_STMT, &s); s 1252 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_value(s, 1, rowid); s 1256 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_value(s, 2+i, pValues[i]); s 1260 third_party/sqlite/src/ext/fts1/fts1.c return sql_single_step_statement(v, CONTENT_INSERT_STMT, &s); s 1267 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_stmt *s; s 1269 third_party/sqlite/src/ext/fts1/fts1.c int rc = sql_get_statement(v, CONTENT_UPDATE_STMT, &s); s 1273 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_value(s, 1+i, pValues[i]); s 1277 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_int64(s, 1+v->nColumn, iRowid); s 1280 third_party/sqlite/src/ext/fts1/fts1.c return sql_single_step_statement(v, CONTENT_UPDATE_STMT, &s); s 1300 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_stmt *s; s 1307 third_party/sqlite/src/ext/fts1/fts1.c rc = sql_get_statement(v, CONTENT_SELECT_STMT, &s); s 1310 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_int64(s, 1, iRow); s 1313 third_party/sqlite/src/ext/fts1/fts1.c rc = sql_step_statement(v, CONTENT_SELECT_STMT, &s); s 1318 third_party/sqlite/src/ext/fts1/fts1.c if( sqlite3_column_type(s, i)==SQLITE_NULL ){ s 1321 third_party/sqlite/src/ext/fts1/fts1.c values[i] = string_dup((char*)sqlite3_column_text(s, i)); s 1327 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_step(s); s 1339 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_stmt *s; s 1340 third_party/sqlite/src/ext/fts1/fts1.c int rc = sql_get_statement(v, CONTENT_DELETE_STMT, &s); s 1343 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_int64(s, 1, iRow); s 1346 third_party/sqlite/src/ext/fts1/fts1.c return sql_single_step_statement(v, CONTENT_DELETE_STMT, &s); s 1356 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_stmt *s; s 1357 third_party/sqlite/src/ext/fts1/fts1.c int rc = sql_get_statement(v, TERM_SELECT_STMT, &s); s 1360 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_text(s, 1, pTerm, nTerm, SQLITE_STATIC); s 1363 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_int(s, 2, iSegment); s 1366 third_party/sqlite/src/ext/fts1/fts1.c rc = sql_step_statement(v, TERM_SELECT_STMT, &s); s 1369 third_party/sqlite/src/ext/fts1/fts1.c *rowid = sqlite3_column_int64(s, 0); s 1371 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_column_blob(s, 1), sqlite3_column_bytes(s, 1)); s 1375 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_step(s); s 1398 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_stmt *s; s 1399 third_party/sqlite/src/ext/fts1/fts1.c int rc = sql_get_statement(v, TERM_SELECT_ALL_STMT, &s); s 1402 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_text(s, 1, pTerm, nTerm, SQLITE_STATIC); s 1408 third_party/sqlite/src/ext/fts1/fts1.c while( (rc=sql_step_statement(v, TERM_SELECT_ALL_STMT, &s))==SQLITE_ROW ){ s 1418 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_column_blob(s, 0), sqlite3_column_bytes(s, 0)); s 1451 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_stmt *s; s 1452 third_party/sqlite/src/ext/fts1/fts1.c int rc = sql_get_statement(v, TERM_INSERT_STMT, &s); s 1456 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_null(s, 1); s 1458 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_int64(s, 1, *piRowid); s 1462 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_text(s, 2, pTerm, nTerm, SQLITE_STATIC); s 1465 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_int(s, 3, iSegment); s 1468 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_blob(s, 4, doclist->pData, doclist->nData, SQLITE_STATIC); s 1471 third_party/sqlite/src/ext/fts1/fts1.c return sql_single_step_statement(v, TERM_INSERT_STMT, &s); s 1477 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_stmt *s; s 1478 third_party/sqlite/src/ext/fts1/fts1.c int rc = sql_get_statement(v, TERM_UPDATE_STMT, &s); s 1481 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_blob(s, 1, doclist->pData, doclist->nData, SQLITE_STATIC); s 1484 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_int64(s, 2, rowid); s 1487 third_party/sqlite/src/ext/fts1/fts1.c return sql_single_step_statement(v, TERM_UPDATE_STMT, &s); s 1491 third_party/sqlite/src/ext/fts1/fts1.c sqlite3_stmt *s; s 1492 third_party/sqlite/src/ext/fts1/fts1.c int rc = sql_get_statement(v, TERM_DELETE_STMT, &s); s 1495 third_party/sqlite/src/ext/fts1/fts1.c rc = sqlite3_bind_int64(s, 1, rowid); s 1498 third_party/sqlite/src/ext/fts1/fts1.c return sql_single_step_statement(v, TERM_DELETE_STMT, &s); s 1775 third_party/sqlite/src/ext/fts1/fts1.c static int startsWith(const char *s, const char *t){ s 1776 third_party/sqlite/src/ext/fts1/fts1.c while( safe_isspace(*s) ){ s++; } s 1778 third_party/sqlite/src/ext/fts1/fts1.c if( safe_tolower(*s++)!=safe_tolower(*t++) ) return 0; s 1780 third_party/sqlite/src/ext/fts1/fts1.c return *s!='_' && !safe_isalnum(*s); s 2070 third_party/sqlite/src/ext/fts1/fts1.c rc = sql_exec(db, spec.zDb, spec.zName, schema.s); s 2071 third_party/sqlite/src/ext/fts1/fts1.c free(schema.s); s 2330 third_party/sqlite/src/ext/fts1/fts1.c p->zOffset = sb.s; s 2385 third_party/sqlite/src/ext/fts1/fts1.c if( safe_isspace(p->s[p->len-1]) ) return; s 2393 third_party/sqlite/src/ext/fts1/fts1.c while( p->len>0 && safe_isspace(p->s[p->len-1]) ){ s 2515 third_party/sqlite/src/ext/fts1/fts1.c pCursor->snippet.zSnippet = sb.s; s 460 third_party/sqlite/src/ext/fts1/fulltext.c static char *string_dup_n(const char *s, int n){ s 462 third_party/sqlite/src/ext/fts1/fulltext.c memcpy(str, s, n); s 470 third_party/sqlite/src/ext/fts1/fulltext.c static char *string_dup(const char *s){ s 471 third_party/sqlite/src/ext/fts1/fulltext.c return string_dup_n(s, strlen(s)); s 621 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_stmt *s = *ppStmt; s 623 third_party/sqlite/src/ext/fts1/fulltext.c assert( s==v->pFulltextStatements[iStmt] ); s 625 third_party/sqlite/src/ext/fts1/fulltext.c while( (rc=sqlite3_step(s))!=SQLITE_DONE && rc!=SQLITE_ROW ){ s 631 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_reset(s); s 639 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_transfer_bindings(s, pNewStmt); s 642 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_finalize(s); s 644 third_party/sqlite/src/ext/fts1/fulltext.c s = pNewStmt; s 649 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_finalize(s); s 666 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_stmt *s; s 667 third_party/sqlite/src/ext/fts1/fulltext.c int rc = sql_get_statement(v, CONTENT_INSERT_STMT, &s); s 670 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_value(s, 1, rowid); s 673 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_text(s, 2, zContent, nContent, SQLITE_STATIC); s 676 third_party/sqlite/src/ext/fts1/fulltext.c return sql_single_step_statement(v, CONTENT_INSERT_STMT, &s); s 683 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_stmt *s; s 684 third_party/sqlite/src/ext/fts1/fulltext.c int rc = sql_get_statement(v, CONTENT_SELECT_STMT, &s); s 687 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_int64(s, 1, iRow); s 690 third_party/sqlite/src/ext/fts1/fulltext.c rc = sql_step_statement(v, CONTENT_SELECT_STMT, &s); s 693 third_party/sqlite/src/ext/fts1/fulltext.c *pzContent = string_dup((const char *)sqlite3_column_text(s, 0)); s 697 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_step(s); s 706 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_stmt *s; s 707 third_party/sqlite/src/ext/fts1/fulltext.c int rc = sql_get_statement(v, CONTENT_DELETE_STMT, &s); s 710 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_int64(s, 1, iRow); s 713 third_party/sqlite/src/ext/fts1/fulltext.c return sql_single_step_statement(v, CONTENT_DELETE_STMT, &s); s 723 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_stmt *s; s 724 third_party/sqlite/src/ext/fts1/fulltext.c int rc = sql_get_statement(v, TERM_SELECT_STMT, &s); s 727 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_text(s, 1, zTerm, nTerm, SQLITE_TRANSIENT); s 730 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_int64(s, 2, iFirst); s 733 third_party/sqlite/src/ext/fts1/fulltext.c rc = sql_step_statement(v, TERM_SELECT_STMT, &s); s 736 third_party/sqlite/src/ext/fts1/fulltext.c *rowid = sqlite3_column_int64(s, 0); s 738 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_column_blob(s, 1), sqlite3_column_bytes(s, 1)); s 742 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_step(s); s 752 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_stmt *s; s 753 third_party/sqlite/src/ext/fts1/fulltext.c int rc = sql_get_statement(v, TERM_CHUNK_SELECT_STMT, &s); s 756 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_text(s, 1, zTerm, nTerm, SQLITE_STATIC); s 759 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_int64(s, 2, iFirst); s 762 third_party/sqlite/src/ext/fts1/fulltext.c rc = sql_step_statement(v, TERM_CHUNK_SELECT_STMT, &s); s 765 third_party/sqlite/src/ext/fts1/fulltext.c switch( sqlite3_column_type(s, 0) ){ s 770 third_party/sqlite/src/ext/fts1/fulltext.c *piResult = sqlite3_column_int64(s, 0); s 777 third_party/sqlite/src/ext/fts1/fulltext.c if( sqlite3_step(s) != SQLITE_DONE ) return SQLITE_ERROR; s 785 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_stmt *s; s 786 third_party/sqlite/src/ext/fts1/fulltext.c int rc = sql_get_statement(v, TERM_INSERT_STMT, &s); s 789 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_text(s, 1, zTerm, nTerm, SQLITE_STATIC); s 792 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_int64(s, 2, iFirst); s 795 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_blob(s, 3, doclist->pData, doclist->nData, SQLITE_STATIC); s 798 third_party/sqlite/src/ext/fts1/fulltext.c return sql_single_step_statement(v, TERM_INSERT_STMT, &s); s 804 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_stmt *s; s 805 third_party/sqlite/src/ext/fts1/fulltext.c int rc = sql_get_statement(v, TERM_UPDATE_STMT, &s); s 808 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_blob(s, 1, doclist->pData, doclist->nData, s 812 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_int64(s, 2, rowid); s 815 third_party/sqlite/src/ext/fts1/fulltext.c return sql_single_step_statement(v, TERM_UPDATE_STMT, &s); s 819 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_stmt *s; s 820 third_party/sqlite/src/ext/fts1/fulltext.c int rc = sql_get_statement(v, TERM_DELETE_STMT, &s); s 823 third_party/sqlite/src/ext/fts1/fulltext.c rc = sqlite3_bind_int64(s, 1, rowid); s 826 third_party/sqlite/src/ext/fts1/fulltext.c return sql_single_step_statement(v, TERM_DELETE_STMT, &s); s 1168 third_party/sqlite/src/ext/fts1/fulltext.c char *s = zQuery1; s 1172 third_party/sqlite/src/ext/fts1/fulltext.c while( *s ){ s 1173 third_party/sqlite/src/ext/fts1/fulltext.c char *t = s; s 1181 third_party/sqlite/src/ext/fts1/fulltext.c if( *s ){ s 1182 third_party/sqlite/src/ext/fts1/fulltext.c tokenize_segment(v->pTokenizer, s, in_phrase, pQuery); s 1184 third_party/sqlite/src/ext/fts1/fulltext.c s = t; s 1271 third_party/sqlite/src/ext/fts1/fulltext.c const char *s; s 1274 third_party/sqlite/src/ext/fts1/fulltext.c s = (const char *) sqlite3_column_text(c->pStmt, 1); s 1275 third_party/sqlite/src/ext/fts1/fulltext.c sqlite3_result_text(pContext, s, -1, SQLITE_TRANSIENT); s 25 third_party/sqlite/src/ext/fts1/simple_tokenizer.c static char *string_dup(const char *s){ s 26 third_party/sqlite/src/ext/fts1/simple_tokenizer.c char *str = malloc(strlen(s) + 1); s 27 third_party/sqlite/src/ext/fts1/simple_tokenizer.c strcpy(str, s); s 1791 third_party/sqlite/src/ext/fts2/fts2.c static char *string_dup_n(const char *s, int n){ s 1793 third_party/sqlite/src/ext/fts2/fts2.c memcpy(str, s, n); s 1801 third_party/sqlite/src/ext/fts2/fts2.c static char *string_dup(const char *s){ s 1802 third_party/sqlite/src/ext/fts2/fts2.c return string_dup_n(s, strlen(s)); s 2154 third_party/sqlite/src/ext/fts2/fts2.c static int sql_single_step(sqlite3_stmt *s){ s 2155 third_party/sqlite/src/ext/fts2/fts2.c int rc = sqlite3_step(s); s 2187 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2189 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_statement(v, CONTENT_INSERT_STMT, &s); s 2192 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_value(s, 1, rowid); s 2196 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_value(s, 2+i, pValues[i]); s 2200 third_party/sqlite/src/ext/fts2/fts2.c return sql_single_step(s); s 2207 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2209 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_statement(v, CONTENT_UPDATE_STMT, &s); s 2213 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_value(s, 1+i, pValues[i]); s 2217 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int64(s, 1+v->nColumn, iRowid); s 2220 third_party/sqlite/src/ext/fts2/fts2.c return sql_single_step(s); s 2240 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2247 third_party/sqlite/src/ext/fts2/fts2.c rc = sql_get_statement(v, CONTENT_SELECT_STMT, &s); s 2250 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int64(s, 1, iRow); s 2253 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 2258 third_party/sqlite/src/ext/fts2/fts2.c if( sqlite3_column_type(s, i)==SQLITE_NULL ){ s 2261 third_party/sqlite/src/ext/fts2/fts2.c values[i] = string_dup((char*)sqlite3_column_text(s, i)); s 2267 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 2279 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2280 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_statement(v, CONTENT_DELETE_STMT, &s); s 2283 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int64(s, 1, iRow); s 2286 third_party/sqlite/src/ext/fts2/fts2.c return sql_single_step(s); s 2293 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2294 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_statement(v, CONTENT_EXISTS_STMT, &s); s 2297 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 2302 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 2313 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2314 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_statement(v, BLOCK_INSERT_STMT, &s); s 2317 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_blob(s, 1, pData, nData, SQLITE_STATIC); s 2320 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 2336 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2337 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_statement(v, BLOCK_DELETE_STMT, &s); s 2340 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int64(s, 1, iStartBlockid); s 2343 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int64(s, 2, iEndBlockid); s 2346 third_party/sqlite/src/ext/fts2/fts2.c return sql_single_step(s); s 2354 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2355 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_statement(v, SEGDIR_MAX_INDEX_STMT, &s); s 2358 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int(s, 1, iLevel); s 2361 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 2367 third_party/sqlite/src/ext/fts2/fts2.c if( SQLITE_NULL==sqlite3_column_type(s, 0) ){ s 2368 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 2373 third_party/sqlite/src/ext/fts2/fts2.c *pidx = sqlite3_column_int(s, 0); s 2377 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 2394 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2395 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_statement(v, SEGDIR_SET_STMT, &s); s 2398 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int(s, 1, iLevel); s 2401 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int(s, 2, idx); s 2404 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int64(s, 3, iStartBlockid); s 2407 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int64(s, 4, iLeavesEndBlockid); s 2410 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int64(s, 5, iEndBlockid); s 2413 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_blob(s, 6, pRootData, nRootData, SQLITE_STATIC); s 2416 third_party/sqlite/src/ext/fts2/fts2.c return sql_single_step(s); s 2426 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2427 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_statement(v, SEGDIR_SPAN_STMT, &s); s 2430 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int(s, 1, iLevel); s 2433 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 2438 third_party/sqlite/src/ext/fts2/fts2.c if( SQLITE_NULL==sqlite3_column_type(s, 0) ){ s 2441 third_party/sqlite/src/ext/fts2/fts2.c int rc2 = sqlite3_step(s); s 2446 third_party/sqlite/src/ext/fts2/fts2.c *piStartBlockid = sqlite3_column_int64(s, 0); s 2447 third_party/sqlite/src/ext/fts2/fts2.c *piEndBlockid = sqlite3_column_int64(s, 1); s 2451 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 2461 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2472 third_party/sqlite/src/ext/fts2/fts2.c rc = sql_get_statement(v, SEGDIR_DELETE_STMT, &s); s 2475 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int64(s, 1, iLevel); s 2478 third_party/sqlite/src/ext/fts2/fts2.c return sql_single_step(s); s 2485 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2486 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_statement(v, SEGDIR_DELETE_ALL_STMT, &s); s 2489 third_party/sqlite/src/ext/fts2/fts2.c rc = sql_single_step(s); s 2492 third_party/sqlite/src/ext/fts2/fts2.c rc = sql_get_statement(v, BLOCK_DELETE_ALL_STMT, &s); s 2495 third_party/sqlite/src/ext/fts2/fts2.c return sql_single_step(s); s 2503 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 2504 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_statement(v, SEGDIR_COUNT_STMT, &s); s 2507 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 2518 third_party/sqlite/src/ext/fts2/fts2.c *pnSegments = sqlite3_column_int(s, 0); s 2519 third_party/sqlite/src/ext/fts2/fts2.c *piMaxLevel = sqlite3_column_int(s, 1); s 2523 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 2820 third_party/sqlite/src/ext/fts2/fts2.c static int startsWith(const char *s, const char *t){ s 2821 third_party/sqlite/src/ext/fts2/fts2.c while( safe_isspace(*s) ){ s++; } s 2823 third_party/sqlite/src/ext/fts2/fts2.c if( safe_tolower(*s++)!=safe_tolower(*t++) ) return 0; s 2825 third_party/sqlite/src/ext/fts2/fts2.c return *s!='_' && !safe_isalnum(*s); s 5343 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 5344 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_leaf_statement(v, idx, &s); s 5347 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int64(s, 1, iStartBlockid); s 5350 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int64(s, 2, iEndBlockid); s 5353 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 5365 third_party/sqlite/src/ext/fts2/fts2.c if( sqlite3_column_type(s, 0)!=SQLITE_BLOB ){ s 5368 third_party/sqlite/src/ext/fts2/fts2.c const char *pLeafData = sqlite3_column_blob(s, 0); s 5369 third_party/sqlite/src/ext/fts2/fts2.c int nLeafData = sqlite3_column_bytes(s, 0); s 5382 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_finalize(s); s 5384 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_reset(s); s 5389 third_party/sqlite/src/ext/fts2/fts2.c pReader->pStmt = s; s 5479 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 5480 third_party/sqlite/src/ext/fts2/fts2.c int i, rc = sql_get_statement(v, SEGDIR_SELECT_LEVEL_STMT, &s); s 5483 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int(s, 1, iLevel); s 5487 third_party/sqlite/src/ext/fts2/fts2.c while( (rc = sqlite3_step(s))==SQLITE_ROW ){ s 5488 third_party/sqlite/src/ext/fts2/fts2.c sqlite_int64 iStart = sqlite3_column_int64(s, 0); s 5489 third_party/sqlite/src/ext/fts2/fts2.c sqlite_int64 iEnd = sqlite3_column_int64(s, 1); s 5490 third_party/sqlite/src/ext/fts2/fts2.c const char *pRootData = sqlite3_column_blob(s, 2); s 5491 third_party/sqlite/src/ext/fts2/fts2.c int nRootData = sqlite3_column_bytes(s, 2); s 5492 third_party/sqlite/src/ext/fts2/fts2.c sqlite_int64 iIndex = sqlite3_column_int64(s, 3); s 5496 third_party/sqlite/src/ext/fts2/fts2.c if( sqlite3_column_type(s, 0)!=SQLITE_INTEGER || s 5497 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_column_type(s, 1)!=SQLITE_INTEGER || s 5498 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_column_type(s, 2)!=SQLITE_BLOB || s 5515 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_reset(s); /* So we don't leave a lock. */ s 5915 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s = NULL; s 5924 third_party/sqlite/src/ext/fts2/fts2.c rc = sql_get_statement(v, BLOCK_SELECT_STMT, &s); s 5927 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int64(s, 1, iBlockid); s 5930 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 5936 third_party/sqlite/src/ext/fts2/fts2.c if( sqlite3_column_type(s, 0)!=SQLITE_BLOB ){ s 5937 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_reset(s); /* So we don't leave a lock. */ s 5940 third_party/sqlite/src/ext/fts2/fts2.c const char *pData = sqlite3_column_blob(s, 0); s 5941 third_party/sqlite/src/ext/fts2/fts2.c int nData = sqlite3_column_bytes(s, 0); s 5945 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_reset(s); /* So we don't leave a lock. */ s 5952 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_reset(s); s 5960 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 6083 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 6084 third_party/sqlite/src/ext/fts2/fts2.c int rc = sql_get_statement(v, SEGDIR_SELECT_ALL_STMT, &s); s 6095 third_party/sqlite/src/ext/fts2/fts2.c while( (rc = sqlite3_step(s))==SQLITE_ROW ){ s 6096 third_party/sqlite/src/ext/fts2/fts2.c const char *pData = sqlite3_column_blob(s, 2); s 6097 third_party/sqlite/src/ext/fts2/fts2.c const int nData = sqlite3_column_bytes(s, 2); s 6098 third_party/sqlite/src/ext/fts2/fts2.c const sqlite_int64 iLeavesEnd = sqlite3_column_int64(s, 1); s 6101 third_party/sqlite/src/ext/fts2/fts2.c if( sqlite3_column_type(s, 1)!=SQLITE_INTEGER || s 6102 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_column_type(s, 2)!=SQLITE_BLOB ){ s 6126 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_reset(s); /* So we don't leave a lock. */ s 6605 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s; s 6622 third_party/sqlite/src/ext/fts2/fts2.c rc = sql_get_statement(v, SEGDIR_SELECT_ALL_STMT, &s); s 6634 third_party/sqlite/src/ext/fts2/fts2.c while( (rc = sqlite3_step(s))==SQLITE_ROW ){ s 6635 third_party/sqlite/src/ext/fts2/fts2.c sqlite_int64 iStart = sqlite3_column_int64(s, 0); s 6636 third_party/sqlite/src/ext/fts2/fts2.c sqlite_int64 iEnd = sqlite3_column_int64(s, 1); s 6637 third_party/sqlite/src/ext/fts2/fts2.c const char *pRootData = sqlite3_column_blob(s, 2); s 6638 third_party/sqlite/src/ext/fts2/fts2.c int nRootData = sqlite3_column_bytes(s, 2); s 6641 third_party/sqlite/src/ext/fts2/fts2.c if( sqlite3_column_type(s, 0)!=SQLITE_INTEGER || s 6642 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_column_type(s, 1)!=SQLITE_INTEGER || s 6643 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_column_type(s, 2)!=SQLITE_BLOB ){ s 6662 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_reset(s); /* So we don't leave a lock. */ s 6720 third_party/sqlite/src/ext/fts2/fts2.c static int collectSegmentTerms(fulltext_vtab *v, sqlite3_stmt *s, s 6722 third_party/sqlite/src/ext/fts2/fts2.c const sqlite_int64 iStartBlockid = sqlite3_column_int64(s, 0); s 6723 third_party/sqlite/src/ext/fts2/fts2.c const sqlite_int64 iEndBlockid = sqlite3_column_int64(s, 1); s 6724 third_party/sqlite/src/ext/fts2/fts2.c const char *pRootData = sqlite3_column_blob(s, 2); s 6725 third_party/sqlite/src/ext/fts2/fts2.c const int nRootData = sqlite3_column_bytes(s, 2); s 6730 third_party/sqlite/src/ext/fts2/fts2.c if( sqlite3_column_type(s, 0)!=SQLITE_INTEGER || s 6731 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_column_type(s, 1)!=SQLITE_INTEGER || s 6732 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_column_type(s, 2)!=SQLITE_BLOB ){ s 6831 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s = NULL; s 6841 third_party/sqlite/src/ext/fts2/fts2.c rc = sql_get_statement(v, SEGDIR_SELECT_ALL_STMT, &s); s 6843 third_party/sqlite/src/ext/fts2/fts2.c rc = sql_get_statement(v, SEGDIR_SELECT_SEGMENT_STMT, &s); s 6845 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int(s, 1, sqlite3_value_int(argv[1])); s 6847 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int(s, 2, sqlite3_value_int(argv[2])); s 6859 third_party/sqlite/src/ext/fts2/fts2.c while( (rc = sqlite3_step(s))==SQLITE_ROW ){ s 6860 third_party/sqlite/src/ext/fts2/fts2.c rc = collectSegmentTerms(v, s, &terms); s 6865 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_reset(s); s 7023 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_stmt *s = NULL; s 7026 third_party/sqlite/src/ext/fts2/fts2.c rc = sql_get_statement(v, SEGDIR_SELECT_SEGMENT_STMT, &s); s 7028 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int(s, 1, sqlite3_value_int(argv[2])); s 7030 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_bind_int(s, 2, sqlite3_value_int(argv[3])); s 7035 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 7045 third_party/sqlite/src/ext/fts2/fts2.c const sqlite_int64 iLeavesEnd = sqlite3_column_int64(s, 1); s 7046 third_party/sqlite/src/ext/fts2/fts2.c const char *pData = sqlite3_column_blob(s, 2); s 7047 third_party/sqlite/src/ext/fts2/fts2.c const int nData = sqlite3_column_bytes(s, 2); s 7055 third_party/sqlite/src/ext/fts2/fts2.c rc = sqlite3_step(s); s 7059 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_reset(s); s 7069 third_party/sqlite/src/ext/fts2/fts2.c sqlite3_reset(s); s 79 third_party/sqlite/src/src/date.c double s; /* Seconds */ s 188 third_party/sqlite/src/src/date.c int h, m, s; s 196 third_party/sqlite/src/src/date.c if( getDigits(zDate, 2, 0, 59, 0, &s)!=1 ){ s 211 third_party/sqlite/src/src/date.c s = 0; s 217 third_party/sqlite/src/src/date.c p->s = s + ms; s 253 third_party/sqlite/src/src/date.c p->iJD += p->h*3600000 + p->m*60000 + (sqlite3_int64)(p->s*1000); s 383 third_party/sqlite/src/src/date.c int s; s 386 third_party/sqlite/src/src/date.c s = (int)((p->iJD + 43200000) % 86400000); s 387 third_party/sqlite/src/src/date.c p->s = s/1000.0; s 388 third_party/sqlite/src/src/date.c s = (int)p->s; s 389 third_party/sqlite/src/src/date.c p->s -= s; s 390 third_party/sqlite/src/src/date.c p->h = s/3600; s 391 third_party/sqlite/src/src/date.c s -= p->h*3600; s 392 third_party/sqlite/src/src/date.c p->m = s/60; s 393 third_party/sqlite/src/src/date.c p->s += s - p->m*60; s 431 third_party/sqlite/src/src/date.c x.s = 0.0; s 433 third_party/sqlite/src/src/date.c int s = (int)(x.s + 0.5); s 434 third_party/sqlite/src/src/date.c x.s = s; s 449 third_party/sqlite/src/src/date.c y.s = sLocal.tm_sec; s 460 third_party/sqlite/src/src/date.c y.s = sLocal.tm_sec; s 472 third_party/sqlite/src/src/date.c y.s = pTm->tm_sec; s 594 third_party/sqlite/src/src/date.c p->s = 0.0; s 779 third_party/sqlite/src/src/date.c x.Y, x.M, x.D, x.h, x.m, (int)(x.s)); s 798 third_party/sqlite/src/src/date.c sqlite3_snprintf(sizeof(zBuf), zBuf, "%02d:%02d:%02d", x.h, x.m, (int)x.s); s 914 third_party/sqlite/src/src/date.c double s = x.s; s 915 third_party/sqlite/src/src/date.c if( s>59.999 ) s = 59.999; s 916 third_party/sqlite/src/src/date.c sqlite3_snprintf(7, &z[j],"%06.3f", s); s 954 third_party/sqlite/src/src/date.c case 'S': sqlite3_snprintf(3,&z[j],"%02d",(int)x.s); j+=2; break; s 539 third_party/sqlite/src/src/os_unix.c int s; s 546 third_party/sqlite/src/src/os_unix.c s = osFcntl(fd, op, p); s 547 third_party/sqlite/src/src/os_unix.c sqlite3DebugPrintf("fcntl unknown %d %d %d\n", fd, op, s); s 548 third_party/sqlite/src/src/os_unix.c return s; s 560 third_party/sqlite/src/src/os_unix.c s = osFcntl(fd, op, p); s 564 third_party/sqlite/src/src/os_unix.c (int)p->l_pid, s); s 565 third_party/sqlite/src/src/os_unix.c if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){ s 582 third_party/sqlite/src/src/os_unix.c return s; s 27 third_party/sqlite/src/src/random.c unsigned char s[256]; /* State variables */ s 80 third_party/sqlite/src/src/random.c wsdPrng.s[i] = (u8)i; s 83 third_party/sqlite/src/src/random.c wsdPrng.j += wsdPrng.s[i] + k[i]; s 84 third_party/sqlite/src/src/random.c t = wsdPrng.s[wsdPrng.j]; s 85 third_party/sqlite/src/src/random.c wsdPrng.s[wsdPrng.j] = wsdPrng.s[i]; s 86 third_party/sqlite/src/src/random.c wsdPrng.s[i] = t; s 94 third_party/sqlite/src/src/random.c t = wsdPrng.s[wsdPrng.i]; s 96 third_party/sqlite/src/src/random.c wsdPrng.s[wsdPrng.i] = wsdPrng.s[wsdPrng.j]; s 97 third_party/sqlite/src/src/random.c wsdPrng.s[wsdPrng.j] = t; s 98 third_party/sqlite/src/src/random.c t += wsdPrng.s[wsdPrng.i]; s 99 third_party/sqlite/src/src/random.c return wsdPrng.s[t]; s 3124 third_party/sqlite/src/src/tclsqlite.c #define MD5STEP(f, w, x, y, z, data, s) \ s 3125 third_party/sqlite/src/src/tclsqlite.c ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) s 339 third_party/sqlite/src/src/test_mutex.c int s = sizeof(struct ConfigOption); s 348 third_party/sqlite/src/src/test_mutex.c if( Tcl_GetIndexFromObjStruct(interp, objv[1], aOpt, s, "flag", 0, &i) ){ s 268 third_party/sqlite/src/src/util.c i64 s = 0; /* significand */ s 296 third_party/sqlite/src/src/util.c while( z<zEnd && sqlite3Isdigit(*z) && s<((LARGEST_INT64-9)/10) ){ s 297 third_party/sqlite/src/src/util.c s = s*10 + (*z - '0'); s 311 third_party/sqlite/src/src/util.c while( z<zEnd && sqlite3Isdigit(*z) && s<((LARGEST_INT64-9)/10) ){ s 312 third_party/sqlite/src/src/util.c s = s*10 + (*z - '0'); s 356 third_party/sqlite/src/src/util.c if( !s ) { s 363 third_party/sqlite/src/src/util.c while( s<(LARGEST_INT64/10) && e>0 ) e--,s*=10; s 365 third_party/sqlite/src/src/util.c while( !(s%10) && e>0 ) e--,s/=10; s 369 third_party/sqlite/src/src/util.c s = sign<0 ? -s : s; s 379 third_party/sqlite/src/src/util.c result = s / scale; s 382 third_party/sqlite/src/src/util.c result = s * scale; s 391 third_party/sqlite/src/src/util.c result = s / scale; s 393 third_party/sqlite/src/src/util.c result = s * scale; s 397 third_party/sqlite/src/src/util.c result = (double)s; s 669 third_party/sqlite/src/src/util.c u32 a,b,s; s 732 third_party/sqlite/src/src/util.c s = a; s 746 third_party/sqlite/src/src/util.c s = s>>18; s 747 third_party/sqlite/src/src/util.c *v = ((u64)s)<<32 | a; s 752 third_party/sqlite/src/src/util.c s = s<<7; s 753 third_party/sqlite/src/src/util.c s |= b; s 767 third_party/sqlite/src/src/util.c s = s>>18; s 768 third_party/sqlite/src/src/util.c *v = ((u64)s)<<32 | a; s 782 third_party/sqlite/src/src/util.c s = s>>11; s 783 third_party/sqlite/src/src/util.c *v = ((u64)s)<<32 | a; s 800 third_party/sqlite/src/src/util.c s = s>>4; s 801 third_party/sqlite/src/src/util.c *v = ((u64)s)<<32 | a; s 816 third_party/sqlite/src/src/util.c s = s<<4; s 820 third_party/sqlite/src/src/util.c s |= b; s 822 third_party/sqlite/src/src/util.c *v = ((u64)s)<<32 | a; s 1377 third_party/sqlite/src/src/vdbe.c ctx.s.flags = MEM_Null; s 1378 third_party/sqlite/src/src/vdbe.c ctx.s.db = db; s 1379 third_party/sqlite/src/src/vdbe.c ctx.s.xDel = 0; s 1380 third_party/sqlite/src/src/vdbe.c ctx.s.zMalloc = 0; s 1386 third_party/sqlite/src/src/vdbe.c sqlite3VdbeMemMove(&ctx.s, pOut); s 1387 third_party/sqlite/src/src/vdbe.c MemSetTypeFlag(&ctx.s, MEM_Null); s 1403 third_party/sqlite/src/src/vdbe.c sqlite3VdbeMemRelease(&ctx.s); s 1418 third_party/sqlite/src/src/vdbe.c sqlite3SetString(&p->zErrMsg, db, "%s", sqlite3_value_text(&ctx.s)); s 1423 third_party/sqlite/src/src/vdbe.c sqlite3VdbeChangeEncoding(&ctx.s, encoding); s 1424 third_party/sqlite/src/src/vdbe.c sqlite3VdbeMemMove(pOut, &ctx.s); s 5183 third_party/sqlite/src/src/vdbe.c ctx.s.flags = MEM_Null; s 5184 third_party/sqlite/src/src/vdbe.c ctx.s.z = 0; s 5185 third_party/sqlite/src/src/vdbe.c ctx.s.zMalloc = 0; s 5186 third_party/sqlite/src/src/vdbe.c ctx.s.xDel = 0; s 5187 third_party/sqlite/src/src/vdbe.c ctx.s.db = db; s 5198 third_party/sqlite/src/src/vdbe.c sqlite3SetString(&p->zErrMsg, db, "%s", sqlite3_value_text(&ctx.s)); s 5202 third_party/sqlite/src/src/vdbe.c sqlite3VdbeMemRelease(&ctx.s); s 5648 third_party/sqlite/src/src/vdbe.c sqlite3VdbeMemMove(&sContext.s, pDest); s 5649 third_party/sqlite/src/src/vdbe.c MemSetTypeFlag(&sContext.s, MEM_Null); s 5661 third_party/sqlite/src/src/vdbe.c sqlite3VdbeChangeEncoding(&sContext.s, encoding); s 5662 third_party/sqlite/src/src/vdbe.c sqlite3VdbeMemMove(pDest, &sContext.s); s 247 third_party/sqlite/src/src/vdbeInt.h Mem s; /* The return value is stored here */ s 199 third_party/sqlite/src/src/vdbeapi.c if( sqlite3VdbeMemSetStr(&pCtx->s, z, n, enc, xDel)==SQLITE_TOOBIG ){ s 210 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 214 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 215 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetDouble(&pCtx->s, rVal); s 218 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 220 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF8, SQLITE_TRANSIENT); s 224 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 226 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF16NATIVE, SQLITE_TRANSIENT); s 230 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 231 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetInt64(&pCtx->s, (i64)iVal); s 234 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 235 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetInt64(&pCtx->s, iVal); s 238 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 239 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetNull(&pCtx->s); s 247 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 257 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 266 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 275 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 280 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 281 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemCopy(&pCtx->s, pValue); s 284 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 285 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetZeroBlob(&pCtx->s, n); s 289 third_party/sqlite/src/src/vdbeapi.c if( pCtx->s.flags & MEM_Null ){ s 290 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetStr(&pCtx->s, sqlite3ErrStr(errCode), -1, s 297 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 299 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetStr(&pCtx->s, "string or blob too big", -1, s 305 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 306 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetNull(&pCtx->s); s 308 third_party/sqlite/src/src/vdbeapi.c pCtx->s.db->mallocFailed = 1; s 530 third_party/sqlite/src/src/vdbeapi.c return p->s.db; s 563 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(p->s.db->mutex) ); s 590 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 613 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); s 618 third_party/sqlite/src/src/vdbeapi.c pVdbeFunc = sqlite3DbRealloc(pCtx->s.db, pVdbeFunc, nMalloc); s 254 third_party/sqlite/src/src/vdbemem.c ctx.s.flags = MEM_Null; s 255 third_party/sqlite/src/src/vdbemem.c ctx.s.db = pMem->db; s 261 third_party/sqlite/src/src/vdbemem.c memcpy(pMem, &ctx.s, sizeof(ctx.s)); s 35 third_party/sqlite/src/src/wal.h # define sqlite3WalCheckpoint(r,s,t,u,v,w,x,y,z) 0 s 143 third_party/sqlite/src/test/threadtest3.c #define MD5STEP(f, w, x, y, z, data, s) \ s 144 third_party/sqlite/src/test/threadtest3.c ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x ) s 4215 third_party/sqlite/src/tool/lemon.c char *s; s 4216 third_party/sqlite/src/tool/lemon.c s = (char*)calloc( size, 1); s 4217 third_party/sqlite/src/tool/lemon.c if( s==0 ){ s 4221 third_party/sqlite/src/tool/lemon.c return s; s 4225 third_party/sqlite/src/tool/lemon.c void SetFree(char *s) s 4227 third_party/sqlite/src/tool/lemon.c free(s); s 4232 third_party/sqlite/src/tool/lemon.c int SetAdd(char *s, int e) s 4236 third_party/sqlite/src/tool/lemon.c rv = s[e]; s 4237 third_party/sqlite/src/tool/lemon.c s[e] = 1; s 293 third_party/talloc/libreplace/crypt.c #define s_lookup(i,s) sbox[(i)][(((s)>>4) & 0x2)|((s) & 0x1)][((s)>>1) & 0xf]; s 629 third_party/talloc/libreplace/crypt.c int i, s; s 637 third_party/talloc/libreplace/crypt.c s = (v2 & 0xf) << 2; s 643 third_party/talloc/libreplace/crypt.c outbuf[12] = bin_to_ascii(s); s 656 third_party/talloc/libreplace/crypt.c { ufc_long *s; s 674 third_party/talloc/libreplace/crypt.c s = _ufc_doit((ufc_long)0, (ufc_long)0, s 680 third_party/talloc/libreplace/crypt.c return output_conversion(s[0], s[1], salt); s 697 third_party/talloc/libreplace/crypt.c long32 s, *k; s 702 third_party/talloc/libreplace/crypt.c s = *k++ ^ r1; s 703 third_party/talloc/libreplace/crypt.c l1 ^= SBA(_ufc_sb1, s & 0xffff); l2 ^= SBA(_ufc_sb1, (s & 0xffff)+4); s 704 third_party/talloc/libreplace/crypt.c l1 ^= SBA(_ufc_sb0, s >>= 16); l2 ^= SBA(_ufc_sb0, (s) +4); s 705 third_party/talloc/libreplace/crypt.c s = *k++ ^ r2; s 706 third_party/talloc/libreplace/crypt.c l1 ^= SBA(_ufc_sb3, s & 0xffff); l2 ^= SBA(_ufc_sb3, (s & 0xffff)+4); s 707 third_party/talloc/libreplace/crypt.c l1 ^= SBA(_ufc_sb2, s >>= 16); l2 ^= SBA(_ufc_sb2, (s) +4); s 709 third_party/talloc/libreplace/crypt.c s = *k++ ^ l1; s 710 third_party/talloc/libreplace/crypt.c r1 ^= SBA(_ufc_sb1, s & 0xffff); r2 ^= SBA(_ufc_sb1, (s & 0xffff)+4); s 711 third_party/talloc/libreplace/crypt.c r1 ^= SBA(_ufc_sb0, s >>= 16); r2 ^= SBA(_ufc_sb0, (s) +4); s 712 third_party/talloc/libreplace/crypt.c s = *k++ ^ l2; s 713 third_party/talloc/libreplace/crypt.c r1 ^= SBA(_ufc_sb3, s & 0xffff); r2 ^= SBA(_ufc_sb3, (s & 0xffff)+4); s 714 third_party/talloc/libreplace/crypt.c r1 ^= SBA(_ufc_sb2, s >>= 16); r2 ^= SBA(_ufc_sb2, (s) +4); s 716 third_party/talloc/libreplace/crypt.c s=l1; l1=r1; r1=s; s=l2; l2=r2; r2=s; s 736 third_party/talloc/libreplace/crypt.c long64 l, r, s, *k; s 744 third_party/talloc/libreplace/crypt.c s = *k++ ^ r; s 745 third_party/talloc/libreplace/crypt.c l ^= SBA(_ufc_sb3, (s >> 0) & 0xffff); s 746 third_party/talloc/libreplace/crypt.c l ^= SBA(_ufc_sb2, (s >> 16) & 0xffff); s 747 third_party/talloc/libreplace/crypt.c l ^= SBA(_ufc_sb1, (s >> 32) & 0xffff); s 748 third_party/talloc/libreplace/crypt.c l ^= SBA(_ufc_sb0, (s >> 48) & 0xffff); s 750 third_party/talloc/libreplace/crypt.c s = *k++ ^ l; s 751 third_party/talloc/libreplace/crypt.c r ^= SBA(_ufc_sb3, (s >> 0) & 0xffff); s 752 third_party/talloc/libreplace/crypt.c r ^= SBA(_ufc_sb2, (s >> 16) & 0xffff); s 753 third_party/talloc/libreplace/crypt.c r ^= SBA(_ufc_sb1, (s >> 32) & 0xffff); s 754 third_party/talloc/libreplace/crypt.c r ^= SBA(_ufc_sb0, (s >> 48) & 0xffff); s 756 third_party/talloc/libreplace/crypt.c s=l; l=r; r=s; s 50 third_party/talloc/libreplace/getaddrinfo.c #define SMB_MALLOC(s) malloc(s) s 54 third_party/talloc/libreplace/getaddrinfo.c #define SMB_STRDUP(s) strdup(s) s 67 third_party/talloc/libreplace/replace.c size_t rep_strlcpy(char *d, const char *s, size_t bufsize) s 69 third_party/talloc/libreplace/replace.c size_t len = strlen(s); s 73 third_party/talloc/libreplace/replace.c memcpy(d, s, len); s 83 third_party/talloc/libreplace/replace.c size_t rep_strlcat(char *d, const char *s, size_t bufsize) s 86 third_party/talloc/libreplace/replace.c size_t len2 = strlen(s); s 96 third_party/talloc/libreplace/replace.c memcpy(d+len1, s, len2); s 234 third_party/talloc/libreplace/replace.c unsigned long d,s; s 239 third_party/talloc/libreplace/replace.c s = (unsigned long)src; s 241 third_party/talloc/libreplace/replace.c if ((d >= (s+size)) || (s >= (d+size))) { s 247 third_party/talloc/libreplace/replace.c if (d < s) { s 249 third_party/talloc/libreplace/replace.c if (s-d >= sizeof(int) && s 250 third_party/talloc/libreplace/replace.c !(s%sizeof(int)) && s 266 third_party/talloc/libreplace/replace.c if (d-s >= sizeof(int) && s 267 third_party/talloc/libreplace/replace.c !(s%sizeof(int)) && s 290 third_party/talloc/libreplace/replace.c char *rep_strdup(const char *s) s 295 third_party/talloc/libreplace/replace.c if (!s) return(NULL); s 297 third_party/talloc/libreplace/replace.c len = strlen(s)+1; s 300 third_party/talloc/libreplace/replace.c memcpy(ret,s,len); s 330 third_party/talloc/libreplace/replace.c size_t rep_strnlen(const char *s, size_t max) s 335 third_party/talloc/libreplace/replace.c if (s[len] == '\0') { s 347 third_party/talloc/libreplace/replace.c char *rep_strndup(const char *s, size_t n) s 351 third_party/talloc/libreplace/replace.c n = strnlen(s, n); s 355 third_party/talloc/libreplace/replace.c memcpy(ret, s, n); s 466 third_party/talloc/libreplace/replace.c const char *s; s 468 third_party/talloc/libreplace/replace.c for (s=haystack;*s;s++) { s 469 third_party/talloc/libreplace/replace.c if (toupper(*needle) == toupper(*s) && s 470 third_party/talloc/libreplace/replace.c strncasecmp(s, needle, nlen) == 0) { s 471 third_party/talloc/libreplace/replace.c return (char *)((uintptr_t)s); s 480 third_party/talloc/libreplace/replace.c char *rep_strtok_r(char *s, const char *delim, char **save_ptr) s 484 third_party/talloc/libreplace/replace.c if (s == NULL) s = *save_ptr; s 486 third_party/talloc/libreplace/replace.c s += strspn(s, delim); s 487 third_party/talloc/libreplace/replace.c if (*s == '\0') { s 488 third_party/talloc/libreplace/replace.c *save_ptr = s; s 492 third_party/talloc/libreplace/replace.c token = s; s 493 third_party/talloc/libreplace/replace.c s = strpbrk(token, delim); s 494 third_party/talloc/libreplace/replace.c if (s == NULL) { s 497 third_party/talloc/libreplace/replace.c *s = '\0'; s 498 third_party/talloc/libreplace/replace.c *save_ptr = s + 1; s 135 third_party/talloc/libreplace/replace.h char *rep_strdup(const char *s); s 165 third_party/talloc/libreplace/replace.h size_t rep_strlcpy(char *d, const char *s, size_t bufsize); s 170 third_party/talloc/libreplace/replace.h size_t rep_strlcat(char *d, const char *s, size_t bufsize); s 176 third_party/talloc/libreplace/replace.h char *rep_strndup(const char *s, size_t n); s 182 third_party/talloc/libreplace/replace.h size_t rep_strnlen(const char *s, size_t n); s 277 third_party/talloc/libreplace/replace.h char *rep_strtok_r(char *s, const char *delim, char **save_ptr); s 1219 third_party/talloc/libreplace/snprintf.c char *s; s 1221 third_party/talloc/libreplace/snprintf.c s = NULL; s 1223 third_party/talloc/libreplace/snprintf.c ret = vasprintf(&s, fmt, ap); s 1226 third_party/talloc/libreplace/snprintf.c if (s) { s 1227 third_party/talloc/libreplace/snprintf.c fwrite(s, 1, strlen(s), stdout); s 1229 third_party/talloc/libreplace/snprintf.c free(s); s 1240 third_party/talloc/libreplace/snprintf.c char *s; s 1242 third_party/talloc/libreplace/snprintf.c s = NULL; s 1244 third_party/talloc/libreplace/snprintf.c ret = vasprintf(&s, fmt, ap); s 1247 third_party/talloc/libreplace/snprintf.c if (s) { s 1248 third_party/talloc/libreplace/snprintf.c fwrite(s, 1, strlen(s), stream); s 1250 third_party/talloc/libreplace/snprintf.c free(s); s 27 third_party/talloc/libreplace/test/strptime.c const char *s = "20070414101546Z"; s 36 third_party/talloc/libreplace/test/strptime.c ret = strptime(s, "%Y%m%d%H%M%S", &t); s 51 third_party/talloc/libreplace/test/strptime.c ret = strptime(s, "%Y%m%d%H%M%SZ", &t2); s 1598 third_party/talloc/talloc.c static size_t rep_strnlen(const char* s, size_t n) s 1600 third_party/talloc/talloc.c if (unlikely(!s)) return 0; s 1602 third_party/talloc/talloc.c while (i < n && *s++ != '\0') s 1617 third_party/talloc/talloc.c static INLINE char *__talloc_strlendup_append(char *s, size_t slen, s 1622 third_party/talloc/talloc.c ret = talloc_realloc(NULL, s, char, slen + alen + 1); s 1636 third_party/talloc/talloc.c char *talloc_strdup_append(char *s, const char *a) s 1638 third_party/talloc/talloc.c if (unlikely(!s)) { s 1643 third_party/talloc/talloc.c return s; s 1646 third_party/talloc/talloc.c return __talloc_strlendup_append(s, strlen(s), a, strlen(a)); s 1653 third_party/talloc/talloc.c char *talloc_strdup_append_buffer(char *s, const char *a) s 1657 third_party/talloc/talloc.c if (unlikely(!s)) { s 1662 third_party/talloc/talloc.c return s; s 1665 third_party/talloc/talloc.c slen = talloc_get_size(s); s 1670 third_party/talloc/talloc.c return __talloc_strlendup_append(s, slen, a, strlen(a)); s 1676 third_party/talloc/talloc.c char *talloc_strndup_append(char *s, const char *a, size_t n) s 1678 third_party/talloc/talloc.c if (unlikely(!s)) { s 1683 third_party/talloc/talloc.c return s; s 1686 third_party/talloc/talloc.c return __talloc_strlendup_append(s, strlen(s), a, strnlen(a, n)); s 1693 third_party/talloc/talloc.c char *talloc_strndup_append_buffer(char *s, const char *a, size_t n) s 1697 third_party/talloc/talloc.c if (unlikely(!s)) { s 1702 third_party/talloc/talloc.c return s; s 1705 third_party/talloc/talloc.c slen = talloc_get_size(s); s 1710 third_party/talloc/talloc.c return __talloc_strlendup_append(s, slen, a, strnlen(a, n)); s 1761 third_party/talloc/talloc.c static INLINE char *__talloc_vaslenprintf_append(char *s, size_t slen, s 1765 third_party/talloc/talloc.c static INLINE char *__talloc_vaslenprintf_append(char *s, size_t slen, s 1787 third_party/talloc/talloc.c return s; s 1790 third_party/talloc/talloc.c s = talloc_realloc(NULL, s, char, slen + alen + 1); s 1791 third_party/talloc/talloc.c if (!s) return NULL; s 1794 third_party/talloc/talloc.c vsnprintf(s + slen, alen + 1, fmt, ap2); s 1797 third_party/talloc/talloc.c _talloc_set_name_const(s, s); s 1798 third_party/talloc/talloc.c return s; s 1807 third_party/talloc/talloc.c char *talloc_vasprintf_append(char *s, const char *fmt, va_list ap) s 1809 third_party/talloc/talloc.c if (unlikely(!s)) { s 1813 third_party/talloc/talloc.c return __talloc_vaslenprintf_append(s, strlen(s), fmt, ap); s 1821 third_party/talloc/talloc.c char *talloc_vasprintf_append_buffer(char *s, const char *fmt, va_list ap) s 1825 third_party/talloc/talloc.c if (unlikely(!s)) { s 1829 third_party/talloc/talloc.c slen = talloc_get_size(s); s 1834 third_party/talloc/talloc.c return __talloc_vaslenprintf_append(s, slen, fmt, ap); s 1842 third_party/talloc/talloc.c char *talloc_asprintf_append(char *s, const char *fmt, ...) s 1847 third_party/talloc/talloc.c s = talloc_vasprintf_append(s, fmt, ap); s 1849 third_party/talloc/talloc.c return s; s 1857 third_party/talloc/talloc.c char *talloc_asprintf_append_buffer(char *s, const char *fmt, ...) s 1862 third_party/talloc/talloc.c s = talloc_vasprintf_append_buffer(s, fmt, ap); s 1864 third_party/talloc/talloc.c return s; s 49 third_party/talloc/talloc.h #define __TALLOC_STRING_LINE1__(s) #s s 50 third_party/talloc/talloc.h #define __TALLOC_STRING_LINE2__(s) __TALLOC_STRING_LINE1__(s) s 128 third_party/talloc/talloc.h #define talloc_append_string(c, s, a) (s?talloc_strdup_append(s,a):talloc_strdup(c, a)) s 187 third_party/talloc/talloc.h char *talloc_strdup_append(char *s, const char *a); s 188 third_party/talloc/talloc.h char *talloc_strdup_append_buffer(char *s, const char *a); s 191 third_party/talloc/talloc.h char *talloc_strndup_append(char *s, const char *a, size_t n); s 192 third_party/talloc/talloc.h char *talloc_strndup_append_buffer(char *s, const char *a, size_t n); s 195 third_party/talloc/talloc.h char *talloc_vasprintf_append(char *s, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(2,0); s 196 third_party/talloc/talloc.h char *talloc_vasprintf_append_buffer(char *s, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(2,0); s 199 third_party/talloc/talloc.h char *talloc_asprintf_append(char *s, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3); s 200 third_party/talloc/talloc.h char *talloc_asprintf_append_buffer(char *s, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3); s 1883 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h int, s) s 1894 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h LSS_INLINE _syscall2(int, munmap, void*, s, s 1907 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h LSS_INLINE _syscall4(int, rt_sigaction, int, s, s 1911 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h const struct kernel_sigset_t*, s, s 1914 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h LSS_INLINE _syscall2(int, sigaltstack, const stack_t*, s, s 1931 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h LSS_INLINE void* LSS_NAME(mmap)(void *s, size_t l, int p, int f, int d, s 1933 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h LSS_BODY(6, void*, mmap, LSS_SYSCALL_ARG(s), LSS_SYSCALL_ARG(l), s 1968 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h int*, s, int, o, s 2022 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h LSS_INLINE _syscall6(void*, mmap, void*, s, s 2031 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h LSS_INLINE _syscall6(void*, mmap2, void*, s, s 2036 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h LSS_INLINE _syscall3(int, _sigaction, int, s, s 2040 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h const unsigned long*, s, s 2208 third_party/tcmalloc/chromium/src/base/linux_syscall_support.h int*, s, int, o) s 121 third_party/tcmalloc/chromium/src/base/linuxthreads.cc static int local_atoi(const char *s) { s 123 third_party/tcmalloc/chromium/src/base/linuxthreads.cc int neg = *s == '-'; s 125 third_party/tcmalloc/chromium/src/base/linuxthreads.cc s++; s 126 third_party/tcmalloc/chromium/src/base/linuxthreads.cc while (*s >= '0' && *s <= '9') s 127 third_party/tcmalloc/chromium/src/base/linuxthreads.cc n = 10*n + (*s++ - '0'); s 437 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc AllocList *s; // will point to region that satisfies request s 441 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc size_t req_rnd = RoundUp(request + sizeof (s->header), arena->roundup); s 447 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc while ((s = Next(i, before, arena)) != 0 && s->header.size < req_rnd) { s 448 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc before = s; s 450 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc if (s != 0) { // we found a region s 470 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc s = reinterpret_cast<AllocList *>(new_pages); s 471 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc s->header.size = new_pages_size; s 473 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc s->header.magic = Magic(kMagicAllocated, &s->header); s 474 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc s->header.arena = arena; s 475 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc AddToFreelist(&s->levels, arena); // insert new region into free list s 478 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc LLA_SkiplistDelete(&arena->freelist, s, prev); // remove from free list s 480 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc if (req_rnd + arena->min_size <= s->header.size) { // big enough to split s 482 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc (req_rnd + reinterpret_cast<char *>(s)); s 483 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc n->header.size = s->header.size - req_rnd; s 486 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc s->header.size = req_rnd; s 489 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc s->header.magic = Magic(kMagicAllocated, &s->header); s 490 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc RAW_CHECK(s->header.arena == arena, ""); s 493 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc result = &s->levels; s 63 third_party/tcmalloc/chromium/src/base/low_level_alloc.h static void Free(void *s) ATTRIBUTE_SECTION(malloc_hook); s 103 third_party/tcmalloc/chromium/src/base/vdso_support.h const void *SetBase(const void *s); s 164 third_party/tcmalloc/chromium/src/common.cc for (int s = next_size; s <= max_size_in_class; s += kAlignment) { s 165 third_party/tcmalloc/chromium/src/common.cc class_array_[ClassIndex(s)] = c; s 181 third_party/tcmalloc/chromium/src/common.cc const size_t s = class_to_size_[sc]; s 182 third_party/tcmalloc/chromium/src/common.cc if (size > s || s == 0) { s 184 third_party/tcmalloc/chromium/src/common.cc "Bad (class, size, requested)", sc, s, size); s 189 third_party/tcmalloc/chromium/src/common.h static inline int ClassIndex(int s) { s 190 third_party/tcmalloc/chromium/src/common.h ASSERT(0 <= s); s 191 third_party/tcmalloc/chromium/src/common.h ASSERT(s <= kMaxSize); s 192 third_party/tcmalloc/chromium/src/common.h const bool big = (s > kMaxSmallSize); s 195 third_party/tcmalloc/chromium/src/common.h return (s + add_amount) >> shift_amount; s 201 third_party/tcmalloc/chromium/src/debugallocation.cc MallocBlockQueueEntry(MallocBlock* b, size_t s) : block(b), size(s) { s 868 third_party/tcmalloc/chromium/src/debugallocation.cc char *s = &numbuf[sizeof(numbuf)-1]; s 873 third_party/tcmalloc/chromium/src/debugallocation.cc s = va_arg(ap, char *); s 906 third_party/tcmalloc/chromium/src/debugallocation.cc *--s = "0123456789abcdef"[ul % base]; s 910 third_party/tcmalloc/chromium/src/debugallocation.cc *--s = 'x'; s 911 third_party/tcmalloc/chromium/src/debugallocation.cc *--s = '0'; s 913 third_party/tcmalloc/chromium/src/debugallocation.cc *--s = '-'; s 917 third_party/tcmalloc/chromium/src/debugallocation.cc *--s = *p++; s 919 third_party/tcmalloc/chromium/src/debugallocation.cc while (*s != 0) { s 924 third_party/tcmalloc/chromium/src/debugallocation.cc buf[i++] = *s++; s 108 third_party/tcmalloc/chromium/src/gperftools/malloc_hook.h inline static void InvokeNewHook(const void* p, size_t s); s 317 third_party/tcmalloc/chromium/src/gperftools/malloc_hook.h static void InvokeNewHookSlow(const void* p, size_t s); s 364 third_party/tcmalloc/chromium/src/heap-checker.cc AllocObject(const void* p, size_t s, ObjectPlacement l) s 365 third_party/tcmalloc/chromium/src/heap-checker.cc : ptr(p), size(s), place(l) { } s 609 third_party/tcmalloc/chromium/src/heap-profile-table.cc Snapshot* s = new (alloc_(sizeof(Snapshot))) Snapshot(alloc_, dealloc_); s 610 third_party/tcmalloc/chromium/src/heap-profile-table.cc address_map_->Iterate(AddToSnapshot, s); s 611 third_party/tcmalloc/chromium/src/heap-profile-table.cc return s; s 614 third_party/tcmalloc/chromium/src/heap-profile-table.cc void HeapProfileTable::ReleaseSnapshot(Snapshot* s) { s 615 third_party/tcmalloc/chromium/src/heap-profile-table.cc s->~Snapshot(); s 616 third_party/tcmalloc/chromium/src/heap-profile-table.cc dealloc_(s); s 631 third_party/tcmalloc/chromium/src/heap-profile-table.cc Snapshot* s = new (alloc_(sizeof(Snapshot))) Snapshot(alloc_, dealloc_); s 633 third_party/tcmalloc/chromium/src/heap-profile-table.cc args.dest = s; s 637 third_party/tcmalloc/chromium/src/heap-profile-table.cc int(s->total_.allocs - s->total_.frees), s 638 third_party/tcmalloc/chromium/src/heap-profile-table.cc int(s->total_.alloc_size - s->total_.free_size)); s 639 third_party/tcmalloc/chromium/src/heap-profile-table.cc return s; s 428 third_party/tcmalloc/chromium/src/heap-profile-table.h static void AddToSnapshot(const void* ptr, AllocValue* v, Snapshot* s); s 86 third_party/tcmalloc/chromium/src/libc_override_gcc_and_weak.h void* memalign(size_t align, size_t s) __THROW ALIAS(tc_memalign); s 89 third_party/tcmalloc/chromium/src/libc_override_gcc_and_weak.h int posix_memalign(void** r, size_t a, size_t s) __THROW s 93 third_party/tcmalloc/chromium/src/libc_override_glibc.h void* __libc_memalign(size_t align, size_t s) ALIAS(tc_memalign); s 96 third_party/tcmalloc/chromium/src/libc_override_glibc.h int __posix_memalign(void** r, size_t a, size_t s) ALIAS(tc_posix_memalign); s 200 third_party/tcmalloc/chromium/src/libc_override_osx.h void* pvalloc(size_t s) { return tc_pvalloc(s); } s 69 third_party/tcmalloc/chromium/src/libc_override_redefine.h void* malloc(size_t s) __THROW { return tc_malloc(s); } s 71 third_party/tcmalloc/chromium/src/libc_override_redefine.h void* realloc(void* p, size_t s) __THROW { return tc_realloc(p, s); } s 72 third_party/tcmalloc/chromium/src/libc_override_redefine.h void* calloc(size_t n, size_t s) __THROW { return tc_calloc(n, s); } s 74 third_party/tcmalloc/chromium/src/libc_override_redefine.h void* memalign(size_t a, size_t s) __THROW { return tc_memalign(a, s); } s 75 third_party/tcmalloc/chromium/src/libc_override_redefine.h void* valloc(size_t s) __THROW { return tc_valloc(s); } s 76 third_party/tcmalloc/chromium/src/libc_override_redefine.h void* pvalloc(size_t s) __THROW { return tc_pvalloc(s); } s 77 third_party/tcmalloc/chromium/src/libc_override_redefine.h int posix_memalign(void** r, size_t a, size_t s) __THROW { s 78 third_party/tcmalloc/chromium/src/libc_override_redefine.h return tc_posix_memalign(r, a, s); s 159 third_party/tcmalloc/chromium/src/malloc_hook-inl.h inline void MallocHook::InvokeNewHook(const void* p, size_t s) { s 161 third_party/tcmalloc/chromium/src/malloc_hook-inl.h InvokeNewHookSlow(p, s); s 165 third_party/tcmalloc/chromium/src/malloc_hook-inl.h if (hook != NULL) (*hook)(p, s); s 524 third_party/tcmalloc/chromium/src/malloc_hook.cc void MallocHook::InvokeNewHookSlow(const void* p, size_t s) { s 525 third_party/tcmalloc/chromium/src/malloc_hook.cc INVOKE_HOOKS(NewHook, new_hooks_, (p, s)); s 564 third_party/tcmalloc/chromium/src/malloc_hook.cc void MallocHook::InvokeMunmapHookSlow(const void* p, size_t s) { s 565 third_party/tcmalloc/chromium/src/malloc_hook.cc INVOKE_HOOKS(MunmapHook, munmap_hooks_, (p, s)); s 569 third_party/tcmalloc/chromium/src/malloc_hook.cc size_t s, s 571 third_party/tcmalloc/chromium/src/malloc_hook.cc INVOKE_REPLACEMENT(MunmapReplacement, munmap_replacement_, (p, s, result)); s 75 third_party/tcmalloc/chromium/src/page_heap.cc for (Length s = n; s < kMaxPages; s++) { s 76 third_party/tcmalloc/chromium/src/page_heap.cc Span* ll = &free_[s].normal; s 83 third_party/tcmalloc/chromium/src/page_heap.cc ll = &free_[s].returned; s 356 third_party/tcmalloc/chromium/src/page_heap.cc Span* s = slist->normal.prev; s 357 third_party/tcmalloc/chromium/src/page_heap.cc ASSERT(s->location == Span::ON_NORMAL_FREELIST); s 358 third_party/tcmalloc/chromium/src/page_heap.cc RemoveFromFreeList(s); s 359 third_party/tcmalloc/chromium/src/page_heap.cc const Length n = s->length; s 360 third_party/tcmalloc/chromium/src/page_heap.cc TCMalloc_SystemRelease(reinterpret_cast<void*>(s->start << kPageShift), s 361 third_party/tcmalloc/chromium/src/page_heap.cc static_cast<size_t>(s->length << kPageShift)); s 362 third_party/tcmalloc/chromium/src/page_heap.cc s->location = Span::ON_RETURNED_FREELIST; s 363 third_party/tcmalloc/chromium/src/page_heap.cc MergeIntoFreeList(s); // Coalesces if possible. s 407 third_party/tcmalloc/chromium/src/page_heap.cc for (int s = 0; s < kMaxPages; s++) { s 408 third_party/tcmalloc/chromium/src/page_heap.cc result->normal_length[s] = DLL_Length(&free_[s].normal); s 409 third_party/tcmalloc/chromium/src/page_heap.cc result->returned_length[s] = DLL_Length(&free_[s].returned); s 417 third_party/tcmalloc/chromium/src/page_heap.cc for (Span* s = large_.normal.next; s != &large_.normal; s = s->next) { s 418 third_party/tcmalloc/chromium/src/page_heap.cc result->normal_pages += s->length;; s 421 third_party/tcmalloc/chromium/src/page_heap.cc for (Span* s = large_.returned.next; s != &large_.returned; s = s->next) { s 422 third_party/tcmalloc/chromium/src/page_heap.cc result->returned_pages += s->length; s 527 third_party/tcmalloc/chromium/src/page_heap.cc for (Length s = 1; s < kMaxPages; s++) { s 528 third_party/tcmalloc/chromium/src/page_heap.cc CheckList(&free_[s].normal, s, s, Span::ON_NORMAL_FREELIST); s 529 third_party/tcmalloc/chromium/src/page_heap.cc CheckList(&free_[s].returned, s, s, Span::ON_RETURNED_FREELIST); s 536 third_party/tcmalloc/chromium/src/page_heap.cc for (Span* s = list->next; s != list; s = s->next) { s 537 third_party/tcmalloc/chromium/src/page_heap.cc CHECK_CONDITION(s->location == freelist); // NORMAL or RETURNED s 538 third_party/tcmalloc/chromium/src/page_heap.cc CHECK_CONDITION(s->length >= min_pages); s 539 third_party/tcmalloc/chromium/src/page_heap.cc CHECK_CONDITION(s->length <= max_pages); s 540 third_party/tcmalloc/chromium/src/page_heap.cc CHECK_CONDITION(GetDescriptor(s->start) == s); s 541 third_party/tcmalloc/chromium/src/page_heap.cc CHECK_CONDITION(GetDescriptor(s->start+s->length-1) == s); s 86 third_party/tcmalloc/chromium/src/span.cc for (Span* s = list->next; s != list; s = s->next) { s 70 third_party/tcmalloc/chromium/src/span.h #define Event(s,o,v) ((void) 0) s 77 third_party/tcmalloc/chromium/src/static_vars.h static void set_growth_stacks(StackTrace* s) { growth_stacks_ = s; } s 246 third_party/tcmalloc/chromium/src/system-alloc.cc size_t s; s 464 third_party/tcmalloc/chromium/src/tcmalloc.cc for (int s = 0; s < kMaxPages; s++) { s 465 third_party/tcmalloc/chromium/src/tcmalloc.cc if (small.normal_length[s] + small.returned_length[s] > 0) { s 476 third_party/tcmalloc/chromium/src/tcmalloc.cc for (int s = 0; s < kMaxPages; s++) { s 477 third_party/tcmalloc/chromium/src/tcmalloc.cc const int n_length = small.normal_length[s]; s 478 third_party/tcmalloc/chromium/src/tcmalloc.cc const int r_length = small.returned_length[s]; s 480 third_party/tcmalloc/chromium/src/tcmalloc.cc uint64_t n_pages = s * n_length; s 481 third_party/tcmalloc/chromium/src/tcmalloc.cc uint64_t r_pages = s * r_length; s 486 third_party/tcmalloc/chromium/src/tcmalloc.cc s, s 640 third_party/tcmalloc/chromium/src/tcmalloc.cc for (Span* s = sampled->next; s != sampled; s = s->next) { s 641 third_party/tcmalloc/chromium/src/tcmalloc.cc table.AddTrace(*reinterpret_cast<StackTrace*>(s->objects)); s 884 third_party/tcmalloc/chromium/src/tcmalloc.cc for (int s = 1; s < kMaxPages; s++) { s 886 third_party/tcmalloc/chromium/src/tcmalloc.cc i.max_object_size = (s << kPageShift); s 887 third_party/tcmalloc/chromium/src/tcmalloc.cc i.min_object_size = ((s - 1) << kPageShift); s 890 third_party/tcmalloc/chromium/src/tcmalloc.cc i.total_bytes_free = (s << kPageShift) * small.normal_length[s]; s 894 third_party/tcmalloc/chromium/src/tcmalloc.cc i.total_bytes_free = (s << kPageShift) * small.returned_length[s]; s 67 third_party/tcmalloc/chromium/src/tests/addressmap_unittest.cc PtrAndSize(char* p, size_t s) : ptr(p), size(s) {} s 85 third_party/tcmalloc/chromium/src/tests/addressmap_unittest.cc size_t s = rnd.Uniform(kMaxRealSize); s 86 third_party/tcmalloc/chromium/src/tests/addressmap_unittest.cc ptrs_and_sizes.push_back(PtrAndSize(new char[s], s)); s 53 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc } s; s 59 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc s.prev_word = prev_word_value; s 60 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc s.count = 0; s 61 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc s.next_word = next_word_value; s 63 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(1, base::subtle::NoBarrier_AtomicIncrement(&s.count, 1)); s 64 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(1, s.count); s 65 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 66 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 68 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(3, base::subtle::NoBarrier_AtomicIncrement(&s.count, 2)); s 69 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(3, s.count); s 70 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 71 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 73 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(6, base::subtle::NoBarrier_AtomicIncrement(&s.count, 3)); s 74 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(6, s.count); s 75 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 76 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 78 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(3, base::subtle::NoBarrier_AtomicIncrement(&s.count, -3)); s 79 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(3, s.count); s 80 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 81 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 83 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(1, base::subtle::NoBarrier_AtomicIncrement(&s.count, -2)); s 84 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(1, s.count); s 85 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 86 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 88 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(0, base::subtle::NoBarrier_AtomicIncrement(&s.count, -1)); s 89 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(0, s.count); s 90 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 91 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 93 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(-1, base::subtle::NoBarrier_AtomicIncrement(&s.count, -1)); s 94 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(-1, s.count); s 95 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 96 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 98 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(-5, base::subtle::NoBarrier_AtomicIncrement(&s.count, -4)); s 99 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(-5, s.count); s 100 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 101 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 103 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(0, base::subtle::NoBarrier_AtomicIncrement(&s.count, 5)); s 104 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(0, s.count); s 105 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 106 third_party/tcmalloc/chromium/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 196 third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc char* s = new char[FLAGS_max_free_queue_size]; s 200 third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc IF_DEBUG_EXPECT_DEATH(delete [] s, "Memory was written to after being freed."); s 205 third_party/tcmalloc/chromium/src/tests/debugallocation_test.cc delete [] s; s 108 third_party/tcmalloc/chromium/src/tests/frag_unittest.cc size_t s; s 110 third_party/tcmalloc/chromium/src/tests/frag_unittest.cc &s); s 135 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc for (int s = 0; s != -1; s = NextSize(s)) { s 136 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc void* ptr = memalign(a, s); s 138 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc Fill(ptr, s, 'x'); s 139 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc CHECK(Valid(ptr, s, 'x')); s 143 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc CHECK(posix_memalign(&ptr, a, s) == 0); s 145 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc Fill(ptr, s, 'y'); s 146 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc CHECK(Valid(ptr, s, 'y')); s 197 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc for (int s = 0; s != -1; s = NextSize(s)) { s 198 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc void* p = valloc(s); s 200 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc Fill(p, s, 'v'); s 201 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc CHECK(Valid(p, s, 'v')); s 208 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc for (int s = 0; s != -1; s = NextSize(s)) { s 209 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc void* p = pvalloc(s); s 211 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc int alloc_needed = ((s + pagesize - 1) / pagesize) * pagesize; s 58 third_party/tcmalloc/chromium/src/tests/sampling_test.cc static void WriteStringToFile(const string& s, const string& filename) { s 60 third_party/tcmalloc/chromium/src/tests/sampling_test.cc fwrite(s.data(), 1, s.length(), fp); s 73 third_party/tcmalloc/chromium/src/tests/sampling_test.cc string s; s 74 third_party/tcmalloc/chromium/src/tests/sampling_test.cc MallocExtension::instance()->GetHeapSample(&s); s 75 third_party/tcmalloc/chromium/src/tests/sampling_test.cc WriteStringToFile(s, string(argv[1]) + ".heap"); s 77 third_party/tcmalloc/chromium/src/tests/sampling_test.cc s.clear(); s 78 third_party/tcmalloc/chromium/src/tests/sampling_test.cc MallocExtension::instance()->GetHeapGrowthStacks(&s); s 79 third_party/tcmalloc/chromium/src/tests/sampling_test.cc WriteStringToFile(s, string(argv[1]) + ".growth"); s 549 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc static void TryHugeAllocation(size_t s, AllocatorState* rnd) { s 550 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc void* p = rnd->alloc(s); s 579 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc static void TestCalloc(size_t n, size_t s, bool ok) { s 580 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc char* p = reinterpret_cast<char*>(calloc(n, s)); s 582 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc fprintf(LOGSTREAM, "calloc(%"PRIxS", %"PRIxS"): %p\n", n, s, p); s 587 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc for (int i = 0; i < n*s; i++) { s 608 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc for (int s = 0; s < sizeof(start_sizes)/sizeof(*start_sizes); ++s) { s 609 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc void* p = malloc(start_sizes[s]); s 612 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc for (int d = 0; d < (s+1) * 2; ++d) { s 613 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc void* new_p = realloc(p, start_sizes[s] + deltas[d]); s 617 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc for (int d = 0; d < s*2; ++d) { s 618 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc void* new_p = realloc(p, start_sizes[s] - deltas[d]); s 1289 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc for (int s = 0; ; s += (10<<20)) { s 1290 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc void* large_object = rnd.alloc(s); s 1799 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h int, s) s 1802 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h LSS_INLINE _syscall2(int, munmap, void*, s, s 1815 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h LSS_INLINE _syscall4(int, rt_sigaction, int, s, s 1819 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h const struct kernel_sigset_t*, s, s 1822 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h LSS_INLINE _syscall2(int, sigaltstack, const stack_t*, s, s 1838 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h LSS_INLINE _syscall6(void*, mmap, void*, s, s 1873 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h int*, s, int, o, s 1926 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h LSS_INLINE _syscall6(void*, mmap, void*, s, s 1935 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h LSS_INLINE _syscall6(void*, mmap2, void*, s, s 1940 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h LSS_INLINE _syscall3(int, _sigaction, int, s, s 1944 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h const unsigned long*, s, s 2112 third_party/tcmalloc/vendor/src/base/linux_syscall_support.h int*, s, int, o) s 121 third_party/tcmalloc/vendor/src/base/linuxthreads.cc static int local_atoi(const char *s) { s 123 third_party/tcmalloc/vendor/src/base/linuxthreads.cc int neg = *s == '-'; s 125 third_party/tcmalloc/vendor/src/base/linuxthreads.cc s++; s 126 third_party/tcmalloc/vendor/src/base/linuxthreads.cc while (*s >= '0' && *s <= '9') s 127 third_party/tcmalloc/vendor/src/base/linuxthreads.cc n = 10*n + (*s++ - '0'); s 437 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc AllocList *s; // will point to region that satisfies request s 441 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc size_t req_rnd = RoundUp(request + sizeof (s->header), arena->roundup); s 447 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc while ((s = Next(i, before, arena)) != 0 && s->header.size < req_rnd) { s 448 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc before = s; s 450 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc if (s != 0) { // we found a region s 470 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc s = reinterpret_cast<AllocList *>(new_pages); s 471 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc s->header.size = new_pages_size; s 473 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc s->header.magic = Magic(kMagicAllocated, &s->header); s 474 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc s->header.arena = arena; s 475 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc AddToFreelist(&s->levels, arena); // insert new region into free list s 478 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc LLA_SkiplistDelete(&arena->freelist, s, prev); // remove from free list s 480 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc if (req_rnd + arena->min_size <= s->header.size) { // big enough to split s 482 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc (req_rnd + reinterpret_cast<char *>(s)); s 483 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc n->header.size = s->header.size - req_rnd; s 486 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc s->header.size = req_rnd; s 489 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc s->header.magic = Magic(kMagicAllocated, &s->header); s 490 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc RAW_CHECK(s->header.arena == arena, ""); s 493 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc result = &s->levels; s 63 third_party/tcmalloc/vendor/src/base/low_level_alloc.h static void Free(void *s) ATTRIBUTE_SECTION(malloc_hook); s 103 third_party/tcmalloc/vendor/src/base/vdso_support.h const void *SetBase(const void *s); s 160 third_party/tcmalloc/vendor/src/common.cc for (int s = next_size; s <= max_size_in_class; s += kAlignment) { s 161 third_party/tcmalloc/vendor/src/common.cc class_array_[ClassIndex(s)] = c; s 177 third_party/tcmalloc/vendor/src/common.cc const size_t s = class_to_size_[sc]; s 178 third_party/tcmalloc/vendor/src/common.cc if (size > s || s == 0) { s 180 third_party/tcmalloc/vendor/src/common.cc "Bad (class, size, requested)", sc, s, size); s 172 third_party/tcmalloc/vendor/src/common.h static inline int ClassIndex(int s) { s 173 third_party/tcmalloc/vendor/src/common.h ASSERT(0 <= s); s 174 third_party/tcmalloc/vendor/src/common.h ASSERT(s <= kMaxSize); s 175 third_party/tcmalloc/vendor/src/common.h const bool big = (s > kMaxSmallSize); s 178 third_party/tcmalloc/vendor/src/common.h return (s + add_amount) >> shift_amount; s 203 third_party/tcmalloc/vendor/src/debugallocation.cc MallocBlockQueueEntry(MallocBlock* b, size_t s) : block(b), size(s) { s 861 third_party/tcmalloc/vendor/src/debugallocation.cc char *s = &numbuf[sizeof(numbuf)-1]; s 866 third_party/tcmalloc/vendor/src/debugallocation.cc s = va_arg(ap, char *); s 899 third_party/tcmalloc/vendor/src/debugallocation.cc *--s = "0123456789abcdef"[ul % base]; s 903 third_party/tcmalloc/vendor/src/debugallocation.cc *--s = 'x'; s 904 third_party/tcmalloc/vendor/src/debugallocation.cc *--s = '0'; s 906 third_party/tcmalloc/vendor/src/debugallocation.cc *--s = '-'; s 910 third_party/tcmalloc/vendor/src/debugallocation.cc *--s = *p++; s 912 third_party/tcmalloc/vendor/src/debugallocation.cc while (*s != 0) { s 917 third_party/tcmalloc/vendor/src/debugallocation.cc buf[i++] = *s++; s 108 third_party/tcmalloc/vendor/src/gperftools/malloc_hook.h inline static void InvokeNewHook(const void* p, size_t s); s 317 third_party/tcmalloc/vendor/src/gperftools/malloc_hook.h static void InvokeNewHookSlow(const void* p, size_t s); s 364 third_party/tcmalloc/vendor/src/heap-checker.cc AllocObject(const void* p, size_t s, ObjectPlacement l) s 365 third_party/tcmalloc/vendor/src/heap-checker.cc : ptr(p), size(s), place(l) { } s 551 third_party/tcmalloc/vendor/src/heap-profile-table.cc Snapshot* s = new (alloc_(sizeof(Snapshot))) Snapshot(alloc_, dealloc_); s 552 third_party/tcmalloc/vendor/src/heap-profile-table.cc alloc_address_map_->Iterate(AddToSnapshot, s); s 553 third_party/tcmalloc/vendor/src/heap-profile-table.cc return s; s 556 third_party/tcmalloc/vendor/src/heap-profile-table.cc void HeapProfileTable::ReleaseSnapshot(Snapshot* s) { s 557 third_party/tcmalloc/vendor/src/heap-profile-table.cc s->~Snapshot(); s 558 third_party/tcmalloc/vendor/src/heap-profile-table.cc dealloc_(s); s 573 third_party/tcmalloc/vendor/src/heap-profile-table.cc Snapshot* s = new (alloc_(sizeof(Snapshot))) Snapshot(alloc_, dealloc_); s 575 third_party/tcmalloc/vendor/src/heap-profile-table.cc args.dest = s; s 579 third_party/tcmalloc/vendor/src/heap-profile-table.cc int(s->total_.allocs - s->total_.frees), s 580 third_party/tcmalloc/vendor/src/heap-profile-table.cc int(s->total_.alloc_size - s->total_.free_size)); s 581 third_party/tcmalloc/vendor/src/heap-profile-table.cc return s; s 319 third_party/tcmalloc/vendor/src/heap-profile-table.h static void AddToSnapshot(const void* ptr, AllocValue* v, Snapshot* s); s 79 third_party/tcmalloc/vendor/src/libc_override_gcc_and_weak.h void* memalign(size_t align, size_t s) __THROW ALIAS(tc_memalign); s 82 third_party/tcmalloc/vendor/src/libc_override_gcc_and_weak.h int posix_memalign(void** r, size_t a, size_t s) __THROW s 82 third_party/tcmalloc/vendor/src/libc_override_glibc.h void* __libc_memalign(size_t align, size_t s) ALIAS(tc_memalign); s 85 third_party/tcmalloc/vendor/src/libc_override_glibc.h int __posix_memalign(void** r, size_t a, size_t s) ALIAS(tc_posix_memalign); s 200 third_party/tcmalloc/vendor/src/libc_override_osx.h void* pvalloc(size_t s) { return tc_pvalloc(s); } s 69 third_party/tcmalloc/vendor/src/libc_override_redefine.h void* malloc(size_t s) __THROW { return tc_malloc(s); } s 71 third_party/tcmalloc/vendor/src/libc_override_redefine.h void* realloc(void* p, size_t s) __THROW { return tc_realloc(p, s); } s 72 third_party/tcmalloc/vendor/src/libc_override_redefine.h void* calloc(size_t n, size_t s) __THROW { return tc_calloc(n, s); } s 74 third_party/tcmalloc/vendor/src/libc_override_redefine.h void* memalign(size_t a, size_t s) __THROW { return tc_memalign(a, s); } s 75 third_party/tcmalloc/vendor/src/libc_override_redefine.h void* valloc(size_t s) __THROW { return tc_valloc(s); } s 76 third_party/tcmalloc/vendor/src/libc_override_redefine.h void* pvalloc(size_t s) __THROW { return tc_pvalloc(s); } s 77 third_party/tcmalloc/vendor/src/libc_override_redefine.h int posix_memalign(void** r, size_t a, size_t s) __THROW { s 78 third_party/tcmalloc/vendor/src/libc_override_redefine.h return tc_posix_memalign(r, a, s); s 159 third_party/tcmalloc/vendor/src/malloc_hook-inl.h inline void MallocHook::InvokeNewHook(const void* p, size_t s) { s 161 third_party/tcmalloc/vendor/src/malloc_hook-inl.h InvokeNewHookSlow(p, s); s 165 third_party/tcmalloc/vendor/src/malloc_hook-inl.h if (hook != NULL) (*hook)(p, s); s 524 third_party/tcmalloc/vendor/src/malloc_hook.cc void MallocHook::InvokeNewHookSlow(const void* p, size_t s) { s 525 third_party/tcmalloc/vendor/src/malloc_hook.cc INVOKE_HOOKS(NewHook, new_hooks_, (p, s)); s 564 third_party/tcmalloc/vendor/src/malloc_hook.cc void MallocHook::InvokeMunmapHookSlow(const void* p, size_t s) { s 565 third_party/tcmalloc/vendor/src/malloc_hook.cc INVOKE_HOOKS(MunmapHook, munmap_hooks_, (p, s)); s 569 third_party/tcmalloc/vendor/src/malloc_hook.cc size_t s, s 571 third_party/tcmalloc/vendor/src/malloc_hook.cc INVOKE_REPLACEMENT(MunmapReplacement, munmap_replacement_, (p, s, result)); s 75 third_party/tcmalloc/vendor/src/page_heap.cc for (Length s = n; s < kMaxPages; s++) { s 76 third_party/tcmalloc/vendor/src/page_heap.cc Span* ll = &free_[s].normal; s 83 third_party/tcmalloc/vendor/src/page_heap.cc ll = &free_[s].returned; s 295 third_party/tcmalloc/vendor/src/page_heap.cc Span* s = slist->normal.prev; s 296 third_party/tcmalloc/vendor/src/page_heap.cc ASSERT(s->location == Span::ON_NORMAL_FREELIST); s 297 third_party/tcmalloc/vendor/src/page_heap.cc RemoveFromFreeList(s); s 298 third_party/tcmalloc/vendor/src/page_heap.cc const Length n = s->length; s 299 third_party/tcmalloc/vendor/src/page_heap.cc TCMalloc_SystemRelease(reinterpret_cast<void*>(s->start << kPageShift), s 300 third_party/tcmalloc/vendor/src/page_heap.cc static_cast<size_t>(s->length << kPageShift)); s 301 third_party/tcmalloc/vendor/src/page_heap.cc s->location = Span::ON_RETURNED_FREELIST; s 302 third_party/tcmalloc/vendor/src/page_heap.cc MergeIntoFreeList(s); // Coalesces if possible. s 346 third_party/tcmalloc/vendor/src/page_heap.cc for (int s = 0; s < kMaxPages; s++) { s 347 third_party/tcmalloc/vendor/src/page_heap.cc result->normal_length[s] = DLL_Length(&free_[s].normal); s 348 third_party/tcmalloc/vendor/src/page_heap.cc result->returned_length[s] = DLL_Length(&free_[s].returned); s 356 third_party/tcmalloc/vendor/src/page_heap.cc for (Span* s = large_.normal.next; s != &large_.normal; s = s->next) { s 357 third_party/tcmalloc/vendor/src/page_heap.cc result->normal_pages += s->length;; s 360 third_party/tcmalloc/vendor/src/page_heap.cc for (Span* s = large_.returned.next; s != &large_.returned; s = s->next) { s 361 third_party/tcmalloc/vendor/src/page_heap.cc result->returned_pages += s->length; s 464 third_party/tcmalloc/vendor/src/page_heap.cc for (Length s = 1; s < kMaxPages; s++) { s 465 third_party/tcmalloc/vendor/src/page_heap.cc CheckList(&free_[s].normal, s, s, Span::ON_NORMAL_FREELIST); s 466 third_party/tcmalloc/vendor/src/page_heap.cc CheckList(&free_[s].returned, s, s, Span::ON_RETURNED_FREELIST); s 473 third_party/tcmalloc/vendor/src/page_heap.cc for (Span* s = list->next; s != list; s = s->next) { s 474 third_party/tcmalloc/vendor/src/page_heap.cc CHECK_CONDITION(s->location == freelist); // NORMAL or RETURNED s 475 third_party/tcmalloc/vendor/src/page_heap.cc CHECK_CONDITION(s->length >= min_pages); s 476 third_party/tcmalloc/vendor/src/page_heap.cc CHECK_CONDITION(s->length <= max_pages); s 477 third_party/tcmalloc/vendor/src/page_heap.cc CHECK_CONDITION(GetDescriptor(s->start) == s); s 478 third_party/tcmalloc/vendor/src/page_heap.cc CHECK_CONDITION(GetDescriptor(s->start+s->length-1) == s); s 86 third_party/tcmalloc/vendor/src/span.cc for (Span* s = list->next; s != list; s = s->next) { s 70 third_party/tcmalloc/vendor/src/span.h #define Event(s,o,v) ((void) 0) s 77 third_party/tcmalloc/vendor/src/static_vars.h static void set_growth_stacks(StackTrace* s) { growth_stacks_ = s; } s 112 third_party/tcmalloc/vendor/src/system-alloc.cc size_t s; s 436 third_party/tcmalloc/vendor/src/tcmalloc.cc for (int s = 0; s < kMaxPages; s++) { s 437 third_party/tcmalloc/vendor/src/tcmalloc.cc if (small.normal_length[s] + small.returned_length[s] > 0) { s 448 third_party/tcmalloc/vendor/src/tcmalloc.cc for (int s = 0; s < kMaxPages; s++) { s 449 third_party/tcmalloc/vendor/src/tcmalloc.cc const int n_length = small.normal_length[s]; s 450 third_party/tcmalloc/vendor/src/tcmalloc.cc const int r_length = small.returned_length[s]; s 452 third_party/tcmalloc/vendor/src/tcmalloc.cc uint64_t n_pages = s * n_length; s 453 third_party/tcmalloc/vendor/src/tcmalloc.cc uint64_t r_pages = s * r_length; s 458 third_party/tcmalloc/vendor/src/tcmalloc.cc s, s 612 third_party/tcmalloc/vendor/src/tcmalloc.cc for (Span* s = sampled->next; s != sampled; s = s->next) { s 613 third_party/tcmalloc/vendor/src/tcmalloc.cc table.AddTrace(*reinterpret_cast<StackTrace*>(s->objects)); s 877 third_party/tcmalloc/vendor/src/tcmalloc.cc for (int s = 1; s < kMaxPages; s++) { s 879 third_party/tcmalloc/vendor/src/tcmalloc.cc i.max_object_size = (s << kPageShift); s 880 third_party/tcmalloc/vendor/src/tcmalloc.cc i.min_object_size = ((s - 1) << kPageShift); s 883 third_party/tcmalloc/vendor/src/tcmalloc.cc i.total_bytes_free = (s << kPageShift) * small.normal_length[s]; s 887 third_party/tcmalloc/vendor/src/tcmalloc.cc i.total_bytes_free = (s << kPageShift) * small.returned_length[s]; s 67 third_party/tcmalloc/vendor/src/tests/addressmap_unittest.cc PtrAndSize(char* p, size_t s) : ptr(p), size(s) {} s 85 third_party/tcmalloc/vendor/src/tests/addressmap_unittest.cc size_t s = rnd.Uniform(kMaxRealSize); s 86 third_party/tcmalloc/vendor/src/tests/addressmap_unittest.cc ptrs_and_sizes.push_back(PtrAndSize(new char[s], s)); s 53 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc } s; s 59 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc s.prev_word = prev_word_value; s 60 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc s.count = 0; s 61 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc s.next_word = next_word_value; s 63 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(1, base::subtle::NoBarrier_AtomicIncrement(&s.count, 1)); s 64 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(1, s.count); s 65 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 66 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 68 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(3, base::subtle::NoBarrier_AtomicIncrement(&s.count, 2)); s 69 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(3, s.count); s 70 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 71 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 73 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(6, base::subtle::NoBarrier_AtomicIncrement(&s.count, 3)); s 74 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(6, s.count); s 75 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 76 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 78 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(3, base::subtle::NoBarrier_AtomicIncrement(&s.count, -3)); s 79 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(3, s.count); s 80 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 81 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 83 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(1, base::subtle::NoBarrier_AtomicIncrement(&s.count, -2)); s 84 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(1, s.count); s 85 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 86 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 88 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(0, base::subtle::NoBarrier_AtomicIncrement(&s.count, -1)); s 89 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(0, s.count); s 90 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 91 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 93 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(-1, base::subtle::NoBarrier_AtomicIncrement(&s.count, -1)); s 94 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(-1, s.count); s 95 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 96 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 98 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(-5, base::subtle::NoBarrier_AtomicIncrement(&s.count, -4)); s 99 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(-5, s.count); s 100 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 101 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 103 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(0, base::subtle::NoBarrier_AtomicIncrement(&s.count, 5)); s 104 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(0, s.count); s 105 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(prev_word_value, s.prev_word); s 106 third_party/tcmalloc/vendor/src/tests/atomicops_unittest.cc ASSERT_EQ(next_word_value, s.next_word); s 196 third_party/tcmalloc/vendor/src/tests/debugallocation_test.cc char* s = new char[FLAGS_max_free_queue_size]; s 200 third_party/tcmalloc/vendor/src/tests/debugallocation_test.cc IF_DEBUG_EXPECT_DEATH(delete [] s, "Memory was written to after being freed."); s 205 third_party/tcmalloc/vendor/src/tests/debugallocation_test.cc delete [] s; s 108 third_party/tcmalloc/vendor/src/tests/frag_unittest.cc size_t s; s 110 third_party/tcmalloc/vendor/src/tests/frag_unittest.cc &s); s 135 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc for (int s = 0; s != -1; s = NextSize(s)) { s 136 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc void* ptr = memalign(a, s); s 138 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc Fill(ptr, s, 'x'); s 139 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc CHECK(Valid(ptr, s, 'x')); s 143 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc CHECK(posix_memalign(&ptr, a, s) == 0); s 145 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc Fill(ptr, s, 'y'); s 146 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc CHECK(Valid(ptr, s, 'y')); s 197 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc for (int s = 0; s != -1; s = NextSize(s)) { s 198 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc void* p = valloc(s); s 200 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc Fill(p, s, 'v'); s 201 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc CHECK(Valid(p, s, 'v')); s 208 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc for (int s = 0; s != -1; s = NextSize(s)) { s 209 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc void* p = pvalloc(s); s 211 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc int alloc_needed = ((s + pagesize - 1) / pagesize) * pagesize; s 58 third_party/tcmalloc/vendor/src/tests/sampling_test.cc static void WriteStringToFile(const string& s, const string& filename) { s 60 third_party/tcmalloc/vendor/src/tests/sampling_test.cc fwrite(s.data(), 1, s.length(), fp); s 73 third_party/tcmalloc/vendor/src/tests/sampling_test.cc string s; s 74 third_party/tcmalloc/vendor/src/tests/sampling_test.cc MallocExtension::instance()->GetHeapSample(&s); s 75 third_party/tcmalloc/vendor/src/tests/sampling_test.cc WriteStringToFile(s, string(argv[1]) + ".heap"); s 77 third_party/tcmalloc/vendor/src/tests/sampling_test.cc s.clear(); s 78 third_party/tcmalloc/vendor/src/tests/sampling_test.cc MallocExtension::instance()->GetHeapGrowthStacks(&s); s 79 third_party/tcmalloc/vendor/src/tests/sampling_test.cc WriteStringToFile(s, string(argv[1]) + ".growth"); s 549 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc static void TryHugeAllocation(size_t s, AllocatorState* rnd) { s 550 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc void* p = rnd->alloc(s); s 579 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc static void TestCalloc(size_t n, size_t s, bool ok) { s 580 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc char* p = reinterpret_cast<char*>(calloc(n, s)); s 582 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc fprintf(LOGSTREAM, "calloc(%"PRIxS", %"PRIxS"): %p\n", n, s, p); s 587 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc for (int i = 0; i < n*s; i++) { s 608 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc for (int s = 0; s < sizeof(start_sizes)/sizeof(*start_sizes); ++s) { s 609 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc void* p = malloc(start_sizes[s]); s 612 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc for (int d = 0; d < (s+1) * 2; ++d) { s 613 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc void* new_p = realloc(p, start_sizes[s] + deltas[d]); s 617 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc for (int d = 0; d < s*2; ++d) { s 618 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc void* new_p = realloc(p, start_sizes[s] - deltas[d]); s 1289 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc for (int s = 0; ; s += (10<<20)) { s 1290 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc void* large_object = rnd.alloc(s); s 191 third_party/v4l2capture/v4l2capture.c PyObject *s = PyString_FromString(capability->name); s 193 third_party/v4l2capture/v4l2capture.c if(!s) s 199 third_party/v4l2capture/v4l2capture.c PySet_Add(set, s); s 725 third_party/wtl/include/atlmisc.h inline CSize operator *(SIZE s, Num n) s 727 third_party/wtl/include/atlmisc.h return CSize((int)(s.cx * n), (int)(s.cy * n)); s 731 third_party/wtl/include/atlmisc.h inline void operator *=(SIZE & s, Num n) s 733 third_party/wtl/include/atlmisc.h s = s * n; s 737 third_party/wtl/include/atlmisc.h inline CSize operator /(SIZE s, Num n) s 739 third_party/wtl/include/atlmisc.h return CSize((int)(s.cx / n), (int)(s.cy / n)); s 743 third_party/wtl/include/atlmisc.h inline void operator /=(SIZE & s, Num n) s 745 third_party/wtl/include/atlmisc.h s = s / n; s 2818 third_party/wtl/include/atlmisc.h CString s; s 2819 third_party/wtl/include/atlmisc.h s.ConcatCopy(string1.GetData()->nDataLength, string1.m_pchData, string2.GetData()->nDataLength, string2.m_pchData); s 2820 third_party/wtl/include/atlmisc.h return s; s 2825 third_party/wtl/include/atlmisc.h CString s; s 2826 third_party/wtl/include/atlmisc.h s.ConcatCopy(string.GetData()->nDataLength, string.m_pchData, 1, &ch); s 2827 third_party/wtl/include/atlmisc.h return s; s 2832 third_party/wtl/include/atlmisc.h CString s; s 2833 third_party/wtl/include/atlmisc.h s.ConcatCopy(1, &ch, string.GetData()->nDataLength, string.m_pchData); s 2834 third_party/wtl/include/atlmisc.h return s; s 2852 third_party/wtl/include/atlmisc.h CString s; s 2853 third_party/wtl/include/atlmisc.h s.ConcatCopy(string.GetData()->nDataLength, string.m_pchData, CString::SafeStrlen(lpsz), lpsz); s 2854 third_party/wtl/include/atlmisc.h return s; s 2860 third_party/wtl/include/atlmisc.h CString s; s 2861 third_party/wtl/include/atlmisc.h s.ConcatCopy(CString::SafeStrlen(lpsz), lpsz, string.GetData()->nDataLength, string.m_pchData); s 2862 third_party/wtl/include/atlmisc.h return s; s 3812 third_party/wtl/include/atlmisc.h LPCTSTR s = (LPCTSTR)::LoadString(ModuleHelper::GetResourceInstance(), uID, NULL, 0); s 3814 third_party/wtl/include/atlmisc.h if(s != NULL) s 3816 third_party/wtl/include/atlmisc.h ATLASSERT(s[*((WORD*)s -1) - 1] == L'\0'); s 3818 third_party/wtl/include/atlmisc.h return s; s 91 third_party/zlib/contrib/minizip/minizip.c struct stat s; /* results of stat() */ s 109 third_party/zlib/contrib/minizip/minizip.c if (stat(name,&s)==0) s 111 third_party/zlib/contrib/minizip/minizip.c tm_t = s.st_mtime; s 589 third_party/zlib/contrib/minizip/unzip.c unz64_s *s; s 755 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)ALLOC(sizeof(unz64_s)); s 756 third_party/zlib/contrib/minizip/unzip.c if( s != NULL) s 758 third_party/zlib/contrib/minizip/unzip.c *s=us; s 759 third_party/zlib/contrib/minizip/unzip.c unzGoToFirstFile((unzFile)s); s 761 third_party/zlib/contrib/minizip/unzip.c return (unzFile)s; s 810 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 813 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 815 third_party/zlib/contrib/minizip/unzip.c if (s->pfile_in_zip_read!=NULL) s 818 third_party/zlib/contrib/minizip/unzip.c ZCLOSE64(s->z_filefunc, s->filestream); s 819 third_party/zlib/contrib/minizip/unzip.c TRYFREE(s); s 830 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 833 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 834 third_party/zlib/contrib/minizip/unzip.c *pglobal_info=s->gi; s 840 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 843 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 845 third_party/zlib/contrib/minizip/unzip.c pglobal_info32->number_entry = (uLong)s->gi.number_entry; s 846 third_party/zlib/contrib/minizip/unzip.c pglobal_info32->size_comment = s->gi.size_comment; s 890 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 900 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 901 third_party/zlib/contrib/minizip/unzip.c if (ZSEEK64(s->z_filefunc, s->filestream, s 902 third_party/zlib/contrib/minizip/unzip.c s->pos_in_central_dir+s->byte_before_the_zipfile, s 910 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK) s 916 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version) != UNZ_OK) s 919 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version_needed) != UNZ_OK) s 922 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.flag) != UNZ_OK) s 925 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.compression_method) != UNZ_OK) s 928 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.dosDate) != UNZ_OK) s 933 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK) s 936 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) s 940 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) s 944 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_filename) != UNZ_OK) s 947 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_extra) != UNZ_OK) s 950 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_comment) != UNZ_OK) s 953 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.disk_num_start) != UNZ_OK) s 956 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.internal_fa) != UNZ_OK) s 959 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.external_fa) != UNZ_OK) s 963 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) s 980 third_party/zlib/contrib/minizip/unzip.c if (ZREAD64(s->z_filefunc, s->filestream,szFileName,uSizeRead)!=uSizeRead) s 996 third_party/zlib/contrib/minizip/unzip.c if (ZSEEK64(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0) s 1003 third_party/zlib/contrib/minizip/unzip.c if (ZREAD64(s->z_filefunc, s->filestream,extraField,(uLong)uSizeRead)!=uSizeRead) s 1021 third_party/zlib/contrib/minizip/unzip.c if (ZSEEK64(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0) s 1032 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&headerId) != UNZ_OK) s 1035 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&dataSize) != UNZ_OK) s 1045 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.uncompressed_size) != UNZ_OK) s 1051 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.compressed_size) != UNZ_OK) s 1058 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info_internal.offset_curfile) != UNZ_OK) s 1065 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&uL) != UNZ_OK) s 1072 third_party/zlib/contrib/minizip/unzip.c if (ZSEEK64(s->z_filefunc, s->filestream,dataSize,ZLIB_FILEFUNC_SEEK_CUR)!=0) s 1093 third_party/zlib/contrib/minizip/unzip.c if (ZSEEK64(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0) s 1100 third_party/zlib/contrib/minizip/unzip.c if (ZREAD64(s->z_filefunc, s->filestream,szComment,uSizeRead)!=uSizeRead) s 1181 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 1184 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 1185 third_party/zlib/contrib/minizip/unzip.c s->pos_in_central_dir=s->offset_central_dir; s 1186 third_party/zlib/contrib/minizip/unzip.c s->num_file=0; s 1187 third_party/zlib/contrib/minizip/unzip.c err=unz64local_GetCurrentFileInfoInternal(file,&s->cur_file_info, s 1188 third_party/zlib/contrib/minizip/unzip.c &s->cur_file_info_internal, s 1190 third_party/zlib/contrib/minizip/unzip.c s->current_file_ok = (err == UNZ_OK); s 1201 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 1206 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 1207 third_party/zlib/contrib/minizip/unzip.c if (!s->current_file_ok) s 1209 third_party/zlib/contrib/minizip/unzip.c if (s->gi.number_entry != 0xffff) /* 2^16 files overflow hack */ s 1210 third_party/zlib/contrib/minizip/unzip.c if (s->num_file+1==s->gi.number_entry) s 1213 third_party/zlib/contrib/minizip/unzip.c s->pos_in_central_dir += SIZECENTRALDIRITEM + s->cur_file_info.size_filename + s 1214 third_party/zlib/contrib/minizip/unzip.c s->cur_file_info.size_file_extra + s->cur_file_info.size_file_comment ; s 1215 third_party/zlib/contrib/minizip/unzip.c s->num_file++; s 1216 third_party/zlib/contrib/minizip/unzip.c err = unz64local_GetCurrentFileInfoInternal(file,&s->cur_file_info, s 1217 third_party/zlib/contrib/minizip/unzip.c &s->cur_file_info_internal, s 1219 third_party/zlib/contrib/minizip/unzip.c s->current_file_ok = (err == UNZ_OK); s 1234 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 1252 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 1253 third_party/zlib/contrib/minizip/unzip.c if (!s->current_file_ok) s 1257 third_party/zlib/contrib/minizip/unzip.c num_fileSaved = s->num_file; s 1258 third_party/zlib/contrib/minizip/unzip.c pos_in_central_dirSaved = s->pos_in_central_dir; s 1259 third_party/zlib/contrib/minizip/unzip.c cur_file_infoSaved = s->cur_file_info; s 1260 third_party/zlib/contrib/minizip/unzip.c cur_file_info_internalSaved = s->cur_file_info_internal; s 1282 third_party/zlib/contrib/minizip/unzip.c s->num_file = num_fileSaved ; s 1283 third_party/zlib/contrib/minizip/unzip.c s->pos_in_central_dir = pos_in_central_dirSaved ; s 1284 third_party/zlib/contrib/minizip/unzip.c s->cur_file_info = cur_file_infoSaved; s 1285 third_party/zlib/contrib/minizip/unzip.c s->cur_file_info_internal = cur_file_info_internalSaved; s 1310 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 1314 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 1315 third_party/zlib/contrib/minizip/unzip.c if (!s->current_file_ok) s 1318 third_party/zlib/contrib/minizip/unzip.c file_pos->pos_in_zip_directory = s->pos_in_central_dir; s 1319 third_party/zlib/contrib/minizip/unzip.c file_pos->num_of_file = s->num_file; s 1340 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 1345 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 1348 third_party/zlib/contrib/minizip/unzip.c s->pos_in_central_dir = file_pos->pos_in_zip_directory; s 1349 third_party/zlib/contrib/minizip/unzip.c s->num_file = file_pos->num_of_file; s 1352 third_party/zlib/contrib/minizip/unzip.c err = unz64local_GetCurrentFileInfoInternal(file,&s->cur_file_info, s 1353 third_party/zlib/contrib/minizip/unzip.c &s->cur_file_info_internal, s 1356 third_party/zlib/contrib/minizip/unzip.c s->current_file_ok = (err == UNZ_OK); s 1385 third_party/zlib/contrib/minizip/unzip.c local int unz64local_CheckCurrentFileCoherencyHeader (unz64_s* s, uInt* piSizeVar, s 1398 third_party/zlib/contrib/minizip/unzip.c if (ZSEEK64(s->z_filefunc, s->filestream,s->cur_file_info_internal.offset_curfile + s 1399 third_party/zlib/contrib/minizip/unzip.c s->byte_before_the_zipfile,ZLIB_FILEFUNC_SEEK_SET)!=0) s 1405 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&uMagic) != UNZ_OK) s 1411 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) s 1417 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&uFlags) != UNZ_OK) s 1420 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) s 1422 third_party/zlib/contrib/minizip/unzip.c else if ((err==UNZ_OK) && (uData!=s->cur_file_info.compression_method)) s 1425 third_party/zlib/contrib/minizip/unzip.c if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && s 1427 third_party/zlib/contrib/minizip/unzip.c (s->cur_file_info.compression_method!=Z_BZIP2ED) && s 1429 third_party/zlib/contrib/minizip/unzip.c (s->cur_file_info.compression_method!=Z_DEFLATED)) s 1432 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* date/time */ s 1435 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* crc */ s 1437 third_party/zlib/contrib/minizip/unzip.c else if ((err==UNZ_OK) && (uData!=s->cur_file_info.crc) && ((uFlags & 8)==0)) s 1440 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size compr */ s 1442 third_party/zlib/contrib/minizip/unzip.c else if (uData != 0xFFFFFFFF && (err==UNZ_OK) && (uData!=s->cur_file_info.compressed_size) && ((uFlags & 8)==0)) s 1445 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* size uncompr */ s 1447 third_party/zlib/contrib/minizip/unzip.c else if (uData != 0xFFFFFFFF && (err==UNZ_OK) && (uData!=s->cur_file_info.uncompressed_size) && ((uFlags & 8)==0)) s 1450 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&size_filename) != UNZ_OK) s 1452 third_party/zlib/contrib/minizip/unzip.c else if ((err==UNZ_OK) && (size_filename!=s->cur_file_info.size_filename)) s 1457 third_party/zlib/contrib/minizip/unzip.c if (unz64local_getShort(&s->z_filefunc, s->filestream,&size_extra_field) != UNZ_OK) s 1459 third_party/zlib/contrib/minizip/unzip.c *poffset_local_extrafield= s->cur_file_info_internal.offset_curfile + s 1477 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 1490 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 1491 third_party/zlib/contrib/minizip/unzip.c if (!s->current_file_ok) s 1494 third_party/zlib/contrib/minizip/unzip.c if (s->pfile_in_zip_read != NULL) s 1497 third_party/zlib/contrib/minizip/unzip.c if (unz64local_CheckCurrentFileCoherencyHeader(s,&iSizeVar, &offset_local_extrafield,&size_local_extrafield)!=UNZ_OK) s 1519 third_party/zlib/contrib/minizip/unzip.c *method = (int)s->cur_file_info.compression_method; s 1524 third_party/zlib/contrib/minizip/unzip.c switch (s->cur_file_info.flag & 0x06) s 1532 third_party/zlib/contrib/minizip/unzip.c if ((s->cur_file_info.compression_method!=0) && s 1534 third_party/zlib/contrib/minizip/unzip.c (s->cur_file_info.compression_method!=Z_BZIP2ED) && s 1536 third_party/zlib/contrib/minizip/unzip.c (s->cur_file_info.compression_method!=Z_DEFLATED)) s 1540 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info->crc32_wait=s->cur_file_info.crc; s 1543 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info->compression_method = s->cur_file_info.compression_method; s 1544 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info->filestream=s->filestream; s 1545 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info->z_filefunc=s->z_filefunc; s 1546 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info->byte_before_the_zipfile=s->byte_before_the_zipfile; s 1550 third_party/zlib/contrib/minizip/unzip.c if ((s->cur_file_info.compression_method==Z_BZIP2ED) && (!raw)) s 1576 third_party/zlib/contrib/minizip/unzip.c else if ((s->cur_file_info.compression_method==Z_DEFLATED) && (!raw)) s 1601 third_party/zlib/contrib/minizip/unzip.c s->cur_file_info.compressed_size ; s 1603 third_party/zlib/contrib/minizip/unzip.c s->cur_file_info.uncompressed_size ; s 1607 third_party/zlib/contrib/minizip/unzip.c s->cur_file_info_internal.offset_curfile + SIZEZIPLOCALHEADER + s 1612 third_party/zlib/contrib/minizip/unzip.c s->pfile_in_zip_read = pfile_in_zip_read_info; s 1613 third_party/zlib/contrib/minizip/unzip.c s->encrypted = 0; s 1619 third_party/zlib/contrib/minizip/unzip.c s->pcrc_32_tab = get_crc_table(); s 1620 third_party/zlib/contrib/minizip/unzip.c init_keys(password,s->keys,s->pcrc_32_tab); s 1621 third_party/zlib/contrib/minizip/unzip.c if (ZSEEK64(s->z_filefunc, s->filestream, s 1622 third_party/zlib/contrib/minizip/unzip.c s->pfile_in_zip_read->pos_in_zipfile + s 1623 third_party/zlib/contrib/minizip/unzip.c s->pfile_in_zip_read->byte_before_the_zipfile, s 1626 third_party/zlib/contrib/minizip/unzip.c if(ZREAD64(s->z_filefunc, s->filestream,source, 12)<12) s 1630 third_party/zlib/contrib/minizip/unzip.c zdecode(s->keys,s->pcrc_32_tab,source[i]); s 1632 third_party/zlib/contrib/minizip/unzip.c s->pfile_in_zip_read->pos_in_zipfile+=12; s 1633 third_party/zlib/contrib/minizip/unzip.c s->encrypted=1; s 1660 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 1662 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 1665 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info=s->pfile_in_zip_read; s 1688 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 1692 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 1693 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info=s->pfile_in_zip_read; s 1744 third_party/zlib/contrib/minizip/unzip.c if(s->encrypted) s 1749 third_party/zlib/contrib/minizip/unzip.c zdecode(s->keys,s->pcrc_32_tab, s 1891 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 1895 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 1896 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info=s->pfile_in_zip_read; s 1907 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 1911 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 1912 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info=s->pfile_in_zip_read; s 1926 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 1930 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 1931 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info=s->pfile_in_zip_read; s 1958 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 1965 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 1966 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info=s->pfile_in_zip_read; s 2008 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 2012 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 2013 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info=s->pfile_in_zip_read; s 2040 third_party/zlib/contrib/minizip/unzip.c s->pfile_in_zip_read=NULL; s 2053 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 2057 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 2060 third_party/zlib/contrib/minizip/unzip.c if (uReadThis>s->gi.size_comment) s 2061 third_party/zlib/contrib/minizip/unzip.c uReadThis = s->gi.size_comment; s 2063 third_party/zlib/contrib/minizip/unzip.c if (ZSEEK64(s->z_filefunc,s->filestream,s->central_pos+22,ZLIB_FILEFUNC_SEEK_SET)!=0) s 2069 third_party/zlib/contrib/minizip/unzip.c if (ZREAD64(s->z_filefunc,s->filestream,szComment,uReadThis)!=uReadThis) s 2073 third_party/zlib/contrib/minizip/unzip.c if ((szComment != NULL) && (uSizeBuf > s->gi.size_comment)) s 2074 third_party/zlib/contrib/minizip/unzip.c *(szComment+s->gi.size_comment)='\0'; s 2081 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 2085 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 2086 third_party/zlib/contrib/minizip/unzip.c if (!s->current_file_ok) s 2088 third_party/zlib/contrib/minizip/unzip.c if (s->gi.number_entry != 0 && s->gi.number_entry != 0xffff) s 2089 third_party/zlib/contrib/minizip/unzip.c if (s->num_file==s->gi.number_entry) s 2091 third_party/zlib/contrib/minizip/unzip.c return s->pos_in_central_dir; s 2106 third_party/zlib/contrib/minizip/unzip.c unz64_s* s; s 2111 third_party/zlib/contrib/minizip/unzip.c s=(unz64_s*)file; s 2113 third_party/zlib/contrib/minizip/unzip.c s->pos_in_central_dir = pos; s 2114 third_party/zlib/contrib/minizip/unzip.c s->num_file = s->gi.number_entry; /* hack */ s 2115 third_party/zlib/contrib/minizip/unzip.c err = unz64local_GetCurrentFileInfoInternal(file,&s->cur_file_info, s 2116 third_party/zlib/contrib/minizip/unzip.c &s->cur_file_info_internal, s 2118 third_party/zlib/contrib/minizip/unzip.c s->current_file_ok = (err == UNZ_OK); s 73 third_party/zlib/deflate.c typedef block_state (*compress_func) OF((deflate_state *s, int flush, s 77 third_party/zlib/deflate.c local void fill_window OF((deflate_state *s)); s 78 third_party/zlib/deflate.c local block_state deflate_stored OF((deflate_state *s, int flush, int clas)); s 79 third_party/zlib/deflate.c local block_state deflate_fast OF((deflate_state *s, int flush, int clas)); s 81 third_party/zlib/deflate.c local block_state deflate_slow OF((deflate_state *s, int flush, int clas)); s 83 third_party/zlib/deflate.c local block_state deflate_rle OF((deflate_state *s, int flush)); s 84 third_party/zlib/deflate.c local block_state deflate_huff OF((deflate_state *s, int flush)); s 85 third_party/zlib/deflate.c local void lm_init OF((deflate_state *s)); s 86 third_party/zlib/deflate.c local void putShortMSB OF((deflate_state *s, uInt b)); s 91 third_party/zlib/deflate.c uInt longest_match OF((deflate_state *s, IPos cur_match, int clas)); s 93 third_party/zlib/deflate.c local uInt longest_match OF((deflate_state *s, IPos cur_match, int clas)); s 97 third_party/zlib/deflate.c local void check_match OF((deflate_state *s, IPos start, IPos match, s 165 third_party/zlib/deflate.c #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) s 179 third_party/zlib/deflate.c #define INSERT_STRING(s, str, match_head) \ s 180 third_party/zlib/deflate.c (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \ s 181 third_party/zlib/deflate.c match_head = s->head[s->ins_h], \ s 182 third_party/zlib/deflate.c s->head[s->ins_h] = (Pos)(str)) s 184 third_party/zlib/deflate.c #define INSERT_STRING(s, str, match_head) \ s 185 third_party/zlib/deflate.c (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \ s 186 third_party/zlib/deflate.c match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \ s 187 third_party/zlib/deflate.c s->head[s->ins_h] = (Pos)(str)) s 194 third_party/zlib/deflate.c #define CLEAR_HASH(s) \ s 195 third_party/zlib/deflate.c s->head[s->hash_size-1] = NIL; \ s 196 third_party/zlib/deflate.c zmemzero((Bytef *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head)); s 222 third_party/zlib/deflate.c deflate_state *s; s 266 third_party/zlib/deflate.c s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state)); s 267 third_party/zlib/deflate.c if (s == Z_NULL) return Z_MEM_ERROR; s 268 third_party/zlib/deflate.c strm->state = (struct internal_state FAR *)s; s 269 third_party/zlib/deflate.c s->strm = strm; s 271 third_party/zlib/deflate.c s->wrap = wrap; s 272 third_party/zlib/deflate.c s->gzhead = Z_NULL; s 273 third_party/zlib/deflate.c s->w_bits = windowBits; s 274 third_party/zlib/deflate.c s->w_size = 1 << s->w_bits; s 275 third_party/zlib/deflate.c s->w_mask = s->w_size - 1; s 277 third_party/zlib/deflate.c s->hash_bits = memLevel + 7; s 278 third_party/zlib/deflate.c s->hash_size = 1 << s->hash_bits; s 279 third_party/zlib/deflate.c s->hash_mask = s->hash_size - 1; s 280 third_party/zlib/deflate.c s->hash_shift = ((s->hash_bits+MIN_MATCH-1)/MIN_MATCH); s 282 third_party/zlib/deflate.c s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); s 283 third_party/zlib/deflate.c s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); s 284 third_party/zlib/deflate.c s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); s 285 third_party/zlib/deflate.c s->class_bitmap = NULL; s 286 third_party/zlib/deflate.c zmemzero(&s->cookie_locations, sizeof(s->cookie_locations)); s 289 third_party/zlib/deflate.c s->high_water = 0; /* nothing written to s->window yet */ s 291 third_party/zlib/deflate.c s->lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */ s 293 third_party/zlib/deflate.c overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2); s 294 third_party/zlib/deflate.c s->pending_buf = (uchf *) overlay; s 295 third_party/zlib/deflate.c s->pending_buf_size = (ulg)s->lit_bufsize * (sizeof(ush)+2L); s 297 third_party/zlib/deflate.c if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL || s 298 third_party/zlib/deflate.c s->pending_buf == Z_NULL) { s 299 third_party/zlib/deflate.c s->status = FINISH_STATE; s 304 third_party/zlib/deflate.c s->d_buf = overlay + s->lit_bufsize/sizeof(ush); s 305 third_party/zlib/deflate.c s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize; s 307 third_party/zlib/deflate.c s->level = level; s 308 third_party/zlib/deflate.c s->strategy = strategy; s 309 third_party/zlib/deflate.c s->method = (Byte)method; s 320 third_party/zlib/deflate.c deflate_state *s; s 330 third_party/zlib/deflate.c s = strm->state; s 331 third_party/zlib/deflate.c if (s->wrap) s 335 third_party/zlib/deflate.c if (length > s->w_size) { s 336 third_party/zlib/deflate.c length = s->w_size; s 339 third_party/zlib/deflate.c zmemcpy(s->window, dictionary, length); s 340 third_party/zlib/deflate.c s->strstart = length; s 341 third_party/zlib/deflate.c s->block_start = (long)length; s 347 third_party/zlib/deflate.c s->ins_h = s->window[0]; s 348 third_party/zlib/deflate.c UPDATE_HASH(s, s->ins_h, s->window[1]); s 350 third_party/zlib/deflate.c INSERT_STRING(s, n, hash_head); s 360 third_party/zlib/deflate.c deflate_state *s; s 371 third_party/zlib/deflate.c s = (deflate_state *)strm->state; s 372 third_party/zlib/deflate.c s->pending = 0; s 373 third_party/zlib/deflate.c s->pending_out = s->pending_buf; s 374 third_party/zlib/deflate.c TRY_FREE(strm, s->class_bitmap); s 375 third_party/zlib/deflate.c s->class_bitmap = NULL; s 377 third_party/zlib/deflate.c if (s->wrap < 0) { s 378 third_party/zlib/deflate.c s->wrap = -s->wrap; /* was made negative by deflate(..., Z_FINISH); */ s 380 third_party/zlib/deflate.c s->status = s->wrap ? INIT_STATE : BUSY_STATE; s 383 third_party/zlib/deflate.c s->wrap == 2 ? crc32(0L, Z_NULL, 0) : s 386 third_party/zlib/deflate.c s->last_flush = Z_NO_FLUSH; s 388 third_party/zlib/deflate.c _tr_init(s); s 389 third_party/zlib/deflate.c lm_init(s); s 423 third_party/zlib/deflate.c deflate_state *s; s 428 third_party/zlib/deflate.c s = strm->state; s 438 third_party/zlib/deflate.c func = configuration_table[s->level].func; s 440 third_party/zlib/deflate.c if ((strategy != s->strategy || func != configuration_table[level].func) && s 445 third_party/zlib/deflate.c if (s->level != level) { s 446 third_party/zlib/deflate.c s->level = level; s 447 third_party/zlib/deflate.c s->max_lazy_match = configuration_table[level].max_lazy; s 448 third_party/zlib/deflate.c s->good_match = configuration_table[level].good_length; s 449 third_party/zlib/deflate.c s->nice_match = configuration_table[level].nice_length; s 450 third_party/zlib/deflate.c s->max_chain_length = configuration_table[level].max_chain; s 452 third_party/zlib/deflate.c s->strategy = strategy; s 464 third_party/zlib/deflate.c deflate_state *s; s 467 third_party/zlib/deflate.c s = strm->state; s 468 third_party/zlib/deflate.c s->good_match = good_length; s 469 third_party/zlib/deflate.c s->max_lazy_match = max_lazy; s 470 third_party/zlib/deflate.c s->nice_match = nice_length; s 471 third_party/zlib/deflate.c s->max_chain_length = max_chain; s 496 third_party/zlib/deflate.c deflate_state *s; s 509 third_party/zlib/deflate.c s = strm->state; s 510 third_party/zlib/deflate.c switch (s->wrap) { s 515 third_party/zlib/deflate.c wraplen = 6 + (s->strstart ? 4 : 0); s 519 third_party/zlib/deflate.c if (s->gzhead != Z_NULL) { /* user-supplied gzip header */ s 520 third_party/zlib/deflate.c if (s->gzhead->extra != Z_NULL) s 521 third_party/zlib/deflate.c wraplen += 2 + s->gzhead->extra_len; s 522 third_party/zlib/deflate.c str = s->gzhead->name; s 527 third_party/zlib/deflate.c str = s->gzhead->comment; s 532 third_party/zlib/deflate.c if (s->gzhead->hcrc) s 541 third_party/zlib/deflate.c if (s->w_bits != 15 || s->hash_bits != 8 + 7) s 554 third_party/zlib/deflate.c local void putShortMSB (s, b) s 555 third_party/zlib/deflate.c deflate_state *s; s 558 third_party/zlib/deflate.c put_byte(s, (Byte)(b >> 8)); s 559 third_party/zlib/deflate.c put_byte(s, (Byte)(b & 0xff)); s 593 third_party/zlib/deflate.c deflate_state *s; s 599 third_party/zlib/deflate.c s = strm->state; s 603 third_party/zlib/deflate.c (s->status == FINISH_STATE && flush != Z_FINISH)) { s 608 third_party/zlib/deflate.c s->strm = strm; /* just in case */ s 609 third_party/zlib/deflate.c old_flush = s->last_flush; s 610 third_party/zlib/deflate.c s->last_flush = flush; s 613 third_party/zlib/deflate.c if (s->status == INIT_STATE) { s 615 third_party/zlib/deflate.c if (s->wrap == 2) { s 617 third_party/zlib/deflate.c put_byte(s, 31); s 618 third_party/zlib/deflate.c put_byte(s, 139); s 619 third_party/zlib/deflate.c put_byte(s, 8); s 620 third_party/zlib/deflate.c if (s->gzhead == Z_NULL) { s 621 third_party/zlib/deflate.c put_byte(s, 0); s 622 third_party/zlib/deflate.c put_byte(s, 0); s 623 third_party/zlib/deflate.c put_byte(s, 0); s 624 third_party/zlib/deflate.c put_byte(s, 0); s 625 third_party/zlib/deflate.c put_byte(s, 0); s 626 third_party/zlib/deflate.c put_byte(s, s->level == 9 ? 2 : s 627 third_party/zlib/deflate.c (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ? s 629 third_party/zlib/deflate.c put_byte(s, OS_CODE); s 630 third_party/zlib/deflate.c s->status = BUSY_STATE; s 633 third_party/zlib/deflate.c put_byte(s, (s->gzhead->text ? 1 : 0) + s 634 third_party/zlib/deflate.c (s->gzhead->hcrc ? 2 : 0) + s 635 third_party/zlib/deflate.c (s->gzhead->extra == Z_NULL ? 0 : 4) + s 636 third_party/zlib/deflate.c (s->gzhead->name == Z_NULL ? 0 : 8) + s 637 third_party/zlib/deflate.c (s->gzhead->comment == Z_NULL ? 0 : 16) s 639 third_party/zlib/deflate.c put_byte(s, (Byte)(s->gzhead->time & 0xff)); s 640 third_party/zlib/deflate.c put_byte(s, (Byte)((s->gzhead->time >> 8) & 0xff)); s 641 third_party/zlib/deflate.c put_byte(s, (Byte)((s->gzhead->time >> 16) & 0xff)); s 642 third_party/zlib/deflate.c put_byte(s, (Byte)((s->gzhead->time >> 24) & 0xff)); s 643 third_party/zlib/deflate.c put_byte(s, s->level == 9 ? 2 : s 644 third_party/zlib/deflate.c (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ? s 646 third_party/zlib/deflate.c put_byte(s, s->gzhead->os & 0xff); s 647 third_party/zlib/deflate.c if (s->gzhead->extra != Z_NULL) { s 648 third_party/zlib/deflate.c put_byte(s, s->gzhead->extra_len & 0xff); s 649 third_party/zlib/deflate.c put_byte(s, (s->gzhead->extra_len >> 8) & 0xff); s 651 third_party/zlib/deflate.c if (s->gzhead->hcrc) s 652 third_party/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf, s 653 third_party/zlib/deflate.c s->pending); s 654 third_party/zlib/deflate.c s->gzindex = 0; s 655 third_party/zlib/deflate.c s->status = EXTRA_STATE; s 661 third_party/zlib/deflate.c uInt header = (Z_DEFLATED + ((s->w_bits-8)<<4)) << 8; s 664 third_party/zlib/deflate.c if (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2) s 666 third_party/zlib/deflate.c else if (s->level < 6) s 668 third_party/zlib/deflate.c else if (s->level == 6) s 673 third_party/zlib/deflate.c if (s->strstart != 0) header |= PRESET_DICT; s 676 third_party/zlib/deflate.c s->status = BUSY_STATE; s 677 third_party/zlib/deflate.c putShortMSB(s, header); s 680 third_party/zlib/deflate.c if (s->strstart != 0) { s 681 third_party/zlib/deflate.c putShortMSB(s, (uInt)(strm->adler >> 16)); s 682 third_party/zlib/deflate.c putShortMSB(s, (uInt)(strm->adler & 0xffff)); s 688 third_party/zlib/deflate.c if (s->status == EXTRA_STATE) { s 689 third_party/zlib/deflate.c if (s->gzhead->extra != Z_NULL) { s 690 third_party/zlib/deflate.c uInt beg = s->pending; /* start of bytes to update crc */ s 692 third_party/zlib/deflate.c while (s->gzindex < (s->gzhead->extra_len & 0xffff)) { s 693 third_party/zlib/deflate.c if (s->pending == s->pending_buf_size) { s 694 third_party/zlib/deflate.c if (s->gzhead->hcrc && s->pending > beg) s 695 third_party/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf + beg, s 696 third_party/zlib/deflate.c s->pending - beg); s 698 third_party/zlib/deflate.c beg = s->pending; s 699 third_party/zlib/deflate.c if (s->pending == s->pending_buf_size) s 702 third_party/zlib/deflate.c put_byte(s, s->gzhead->extra[s->gzindex]); s 703 third_party/zlib/deflate.c s->gzindex++; s 705 third_party/zlib/deflate.c if (s->gzhead->hcrc && s->pending > beg) s 706 third_party/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf + beg, s 707 third_party/zlib/deflate.c s->pending - beg); s 708 third_party/zlib/deflate.c if (s->gzindex == s->gzhead->extra_len) { s 709 third_party/zlib/deflate.c s->gzindex = 0; s 710 third_party/zlib/deflate.c s->status = NAME_STATE; s 714 third_party/zlib/deflate.c s->status = NAME_STATE; s 716 third_party/zlib/deflate.c if (s->status == NAME_STATE) { s 717 third_party/zlib/deflate.c if (s->gzhead->name != Z_NULL) { s 718 third_party/zlib/deflate.c uInt beg = s->pending; /* start of bytes to update crc */ s 722 third_party/zlib/deflate.c if (s->pending == s->pending_buf_size) { s 723 third_party/zlib/deflate.c if (s->gzhead->hcrc && s->pending > beg) s 724 third_party/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf + beg, s 725 third_party/zlib/deflate.c s->pending - beg); s 727 third_party/zlib/deflate.c beg = s->pending; s 728 third_party/zlib/deflate.c if (s->pending == s->pending_buf_size) { s 733 third_party/zlib/deflate.c val = s->gzhead->name[s->gzindex++]; s 734 third_party/zlib/deflate.c put_byte(s, val); s 736 third_party/zlib/deflate.c if (s->gzhead->hcrc && s->pending > beg) s 737 third_party/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf + beg, s 738 third_party/zlib/deflate.c s->pending - beg); s 740 third_party/zlib/deflate.c s->gzindex = 0; s 741 third_party/zlib/deflate.c s->status = COMMENT_STATE; s 745 third_party/zlib/deflate.c s->status = COMMENT_STATE; s 747 third_party/zlib/deflate.c if (s->status == COMMENT_STATE) { s 748 third_party/zlib/deflate.c if (s->gzhead->comment != Z_NULL) { s 749 third_party/zlib/deflate.c uInt beg = s->pending; /* start of bytes to update crc */ s 753 third_party/zlib/deflate.c if (s->pending == s->pending_buf_size) { s 754 third_party/zlib/deflate.c if (s->gzhead->hcrc && s->pending > beg) s 755 third_party/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf + beg, s 756 third_party/zlib/deflate.c s->pending - beg); s 758 third_party/zlib/deflate.c beg = s->pending; s 759 third_party/zlib/deflate.c if (s->pending == s->pending_buf_size) { s 764 third_party/zlib/deflate.c val = s->gzhead->comment[s->gzindex++]; s 765 third_party/zlib/deflate.c put_byte(s, val); s 767 third_party/zlib/deflate.c if (s->gzhead->hcrc && s->pending > beg) s 768 third_party/zlib/deflate.c strm->adler = crc32(strm->adler, s->pending_buf + beg, s 769 third_party/zlib/deflate.c s->pending - beg); s 771 third_party/zlib/deflate.c s->status = HCRC_STATE; s 774 third_party/zlib/deflate.c s->status = HCRC_STATE; s 776 third_party/zlib/deflate.c if (s->status == HCRC_STATE) { s 777 third_party/zlib/deflate.c if (s->gzhead->hcrc) { s 778 third_party/zlib/deflate.c if (s->pending + 2 > s->pending_buf_size) s 780 third_party/zlib/deflate.c if (s->pending + 2 <= s->pending_buf_size) { s 781 third_party/zlib/deflate.c put_byte(s, (Byte)(strm->adler & 0xff)); s 782 third_party/zlib/deflate.c put_byte(s, (Byte)((strm->adler >> 8) & 0xff)); s 784 third_party/zlib/deflate.c s->status = BUSY_STATE; s 788 third_party/zlib/deflate.c s->status = BUSY_STATE; s 793 third_party/zlib/deflate.c if (s->pending != 0) { s 802 third_party/zlib/deflate.c s->last_flush = -1; s 816 third_party/zlib/deflate.c if (s->status == FINISH_STATE && strm->avail_in != 0) { s 822 third_party/zlib/deflate.c if (strm->avail_in != 0 || s->lookahead != 0 || s 823 third_party/zlib/deflate.c (flush != Z_NO_FLUSH && s->status != FINISH_STATE)) { s 826 third_party/zlib/deflate.c if (strm->clas && s->class_bitmap == NULL) { s 829 third_party/zlib/deflate.c s->class_bitmap = (Bytef*) ZALLOC(strm, s->w_size/4, sizeof(Byte)); s 830 third_party/zlib/deflate.c zmemzero(s->class_bitmap, s->w_size/4); s 833 third_party/zlib/deflate.c if (strm->clas && s->strategy == Z_RLE) { s 838 third_party/zlib/deflate.c if (s->strategy == Z_HUFFMAN_ONLY) { s 839 third_party/zlib/deflate.c bstate = deflate_huff(s, flush); s 840 third_party/zlib/deflate.c } else if (s->strategy == Z_RLE) { s 841 third_party/zlib/deflate.c bstate = deflate_rle(s, flush); s 843 third_party/zlib/deflate.c bstate = (*(configuration_table[s->level].func)) s 844 third_party/zlib/deflate.c (s, flush, strm->clas); s 848 third_party/zlib/deflate.c s->status = FINISH_STATE; s 852 third_party/zlib/deflate.c s->last_flush = -1; /* avoid BUF_ERROR next call, see above */ s 865 third_party/zlib/deflate.c _tr_align(s); s 867 third_party/zlib/deflate.c _tr_stored_block(s, (char*)0, 0L, 0); s 872 third_party/zlib/deflate.c CLEAR_HASH(s); /* forget history */ s 873 third_party/zlib/deflate.c if (s->lookahead == 0) { s 874 third_party/zlib/deflate.c s->strstart = 0; s 875 third_party/zlib/deflate.c s->block_start = 0L; s 881 third_party/zlib/deflate.c s->last_flush = -1; /* avoid BUF_ERROR at next call, see above */ s 889 third_party/zlib/deflate.c if (s->wrap <= 0) return Z_STREAM_END; s 893 third_party/zlib/deflate.c if (s->wrap == 2) { s 894 third_party/zlib/deflate.c put_byte(s, (Byte)(strm->adler & 0xff)); s 895 third_party/zlib/deflate.c put_byte(s, (Byte)((strm->adler >> 8) & 0xff)); s 896 third_party/zlib/deflate.c put_byte(s, (Byte)((strm->adler >> 16) & 0xff)); s 897 third_party/zlib/deflate.c put_byte(s, (Byte)((strm->adler >> 24) & 0xff)); s 898 third_party/zlib/deflate.c put_byte(s, (Byte)(strm->total_in & 0xff)); s 899 third_party/zlib/deflate.c put_byte(s, (Byte)((strm->total_in >> 8) & 0xff)); s 900 third_party/zlib/deflate.c put_byte(s, (Byte)((strm->total_in >> 16) & 0xff)); s 901 third_party/zlib/deflate.c put_byte(s, (Byte)((strm->total_in >> 24) & 0xff)); s 906 third_party/zlib/deflate.c putShortMSB(s, (uInt)(strm->adler >> 16)); s 907 third_party/zlib/deflate.c putShortMSB(s, (uInt)(strm->adler & 0xffff)); s 913 third_party/zlib/deflate.c if (s->wrap > 0) s->wrap = -s->wrap; /* write the trailer only once! */ s 914 third_party/zlib/deflate.c return s->pending != 0 ? Z_OK : Z_STREAM_END; s 1046 third_party/zlib/deflate.c local void lm_init (s) s 1047 third_party/zlib/deflate.c deflate_state *s; s 1049 third_party/zlib/deflate.c s->window_size = (ulg)2L*s->w_size; s 1051 third_party/zlib/deflate.c CLEAR_HASH(s); s 1055 third_party/zlib/deflate.c s->max_lazy_match = configuration_table[s->level].max_lazy; s 1056 third_party/zlib/deflate.c s->good_match = configuration_table[s->level].good_length; s 1057 third_party/zlib/deflate.c s->nice_match = configuration_table[s->level].nice_length; s 1058 third_party/zlib/deflate.c s->max_chain_length = configuration_table[s->level].max_chain; s 1060 third_party/zlib/deflate.c s->strstart = 0; s 1061 third_party/zlib/deflate.c s->block_start = 0L; s 1062 third_party/zlib/deflate.c s->lookahead = 0; s 1063 third_party/zlib/deflate.c s->match_length = s->prev_length = MIN_MATCH-1; s 1064 third_party/zlib/deflate.c s->match_available = 0; s 1065 third_party/zlib/deflate.c s->ins_h = 0; s 1075 third_party/zlib/deflate.c local void class_set(s, offset, len, clas) s 1076 third_party/zlib/deflate.c deflate_state *s; s 1090 third_party/zlib/deflate.c s->class_bitmap[byte] &= mask[bit]; s 1091 third_party/zlib/deflate.c s->class_bitmap[byte] |= class_bit_value << bit; s 1103 third_party/zlib/deflate.c s->class_bitmap[byte++] = class_byte_value; s 1108 third_party/zlib/deflate.c s->class_bitmap[byte] &= mask[bit]; s 1109 third_party/zlib/deflate.c s->class_bitmap[byte] |= class_bit_value << bit; s 1115 third_party/zlib/deflate.c local int class_at(s, window_offset) s 1116 third_party/zlib/deflate.c deflate_state *s; s 1121 third_party/zlib/deflate.c return (s->class_bitmap[byte] >> bit) & 1; s 1138 third_party/zlib/deflate.c local uInt longest_match(s, cur_match, clas) s 1139 third_party/zlib/deflate.c deflate_state *s; s 1143 third_party/zlib/deflate.c unsigned chain_length = s->max_chain_length;/* max hash chain length */ s 1144 third_party/zlib/deflate.c register Bytef *scan = s->window + s->strstart; /* current string */ s 1147 third_party/zlib/deflate.c int best_len = s->prev_length; /* best match length so far */ s 1148 third_party/zlib/deflate.c int nice_match = s->nice_match; /* stop if match long enough */ s 1149 third_party/zlib/deflate.c IPos limit = s->strstart > (IPos)MAX_DIST(s) ? s 1150 third_party/zlib/deflate.c s->strstart - (IPos)MAX_DIST(s) : NIL; s 1154 third_party/zlib/deflate.c Posf *prev = s->prev; s 1155 third_party/zlib/deflate.c uInt wmask = s->w_mask; s 1161 third_party/zlib/deflate.c register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1; s 1165 third_party/zlib/deflate.c register Bytef *strend = s->window + s->strstart + MAX_MATCH; s 1173 third_party/zlib/deflate.c Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever"); s 1176 third_party/zlib/deflate.c if (s->prev_length >= s->good_match) { s 1182 third_party/zlib/deflate.c if ((uInt)nice_match > s->lookahead) nice_match = s->lookahead; s 1184 third_party/zlib/deflate.c Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead"); s 1187 third_party/zlib/deflate.c Assert(cur_match < s->strstart, "no future"); s 1188 third_party/zlib/deflate.c match = s->window + cur_match; s 1190 third_party/zlib/deflate.c if (s->class_bitmap && class_at(s, cur_match) != clas) s 1228 third_party/zlib/deflate.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); s 1252 third_party/zlib/deflate.c if (!s->class_bitmap) { s 1266 third_party/zlib/deflate.c class_at(s, match - s->window) == clas && s 1270 third_party/zlib/deflate.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); s 1278 third_party/zlib/deflate.c s->match_start = cur_match; s 1291 third_party/zlib/deflate.c if ((uInt)best_len <= s->lookahead) return (uInt)best_len; s 1292 third_party/zlib/deflate.c return s->lookahead; s 1302 third_party/zlib/deflate.c local uInt cookie_match(s, start, len) s 1303 third_party/zlib/deflate.c deflate_state *s; s 1308 third_party/zlib/deflate.c Bytef *str = s->window + start; s 1319 third_party/zlib/deflate.c cookie_location = s->cookie_locations[hash]; s 1320 third_party/zlib/deflate.c s->cookie_locations[hash] = start; s 1321 third_party/zlib/deflate.c s->match_start = 0; s 1324 third_party/zlib/deflate.c (start - cookie_location) < MAX_DIST(s) && s 1325 third_party/zlib/deflate.c len <= s->lookahead) { s 1327 third_party/zlib/deflate.c if (s->window[start+i] != s->window[cookie_location+i] || s 1328 third_party/zlib/deflate.c class_at(s, cookie_location+i) != 1) { s 1335 third_party/zlib/deflate.c if (s->window[cookie_location+len-1] != ';' && s 1336 third_party/zlib/deflate.c class_at(s, cookie_location+len) != 0) { s 1339 third_party/zlib/deflate.c s->match_start = cookie_location; s 1352 third_party/zlib/deflate.c local uInt longest_match(s, cur_match, clas) s 1353 third_party/zlib/deflate.c deflate_state *s; s 1357 third_party/zlib/deflate.c register Bytef *scan = s->window + s->strstart; /* current string */ s 1360 third_party/zlib/deflate.c register Bytef *strend = s->window + s->strstart + MAX_MATCH; s 1367 third_party/zlib/deflate.c Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever"); s 1369 third_party/zlib/deflate.c Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead"); s 1371 third_party/zlib/deflate.c Assert(cur_match < s->strstart, "no future"); s 1373 third_party/zlib/deflate.c match = s->window + cur_match; s 1398 third_party/zlib/deflate.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); s 1404 third_party/zlib/deflate.c s->match_start = cur_match; s 1405 third_party/zlib/deflate.c return (uInt)len <= s->lookahead ? (uInt)len : s->lookahead; s 1414 third_party/zlib/deflate.c local void check_match(s, start, match, length) s 1415 third_party/zlib/deflate.c deflate_state *s; s 1420 third_party/zlib/deflate.c if (zmemcmp(s->window + match, s 1421 third_party/zlib/deflate.c s->window + start, length) != EQUAL) { s 1425 third_party/zlib/deflate.c fprintf(stderr, "%c%c", s->window[match++], s->window[start++]); s 1431 third_party/zlib/deflate.c do { putc(s->window[start++], stderr); } while (--length != 0); s 1435 third_party/zlib/deflate.c # define check_match(s, start, match, length) s 1448 third_party/zlib/deflate.c local void fill_window(s) s 1449 third_party/zlib/deflate.c deflate_state *s; s 1454 third_party/zlib/deflate.c uInt wsize = s->w_size; s 1457 third_party/zlib/deflate.c more = (unsigned)(s->window_size -(ulg)s->lookahead -(ulg)s->strstart); s 1461 third_party/zlib/deflate.c if (more == 0 && s->strstart == 0 && s->lookahead == 0) { s 1475 third_party/zlib/deflate.c if (s->strstart >= wsize+MAX_DIST(s)) { s 1477 third_party/zlib/deflate.c zmemcpy(s->window, s->window+wsize, (unsigned)wsize); s 1478 third_party/zlib/deflate.c s->match_start -= wsize; s 1479 third_party/zlib/deflate.c s->strstart -= wsize; /* we now have strstart >= MAX_DIST */ s 1480 third_party/zlib/deflate.c s->block_start -= (long) wsize; s 1488 third_party/zlib/deflate.c n = s->hash_size; s 1489 third_party/zlib/deflate.c p = &s->head[n]; s 1497 third_party/zlib/deflate.c p = &s->prev[n]; s 1508 third_party/zlib/deflate.c if (s->cookie_locations[n] > wsize) { s 1509 third_party/zlib/deflate.c s->cookie_locations[n] -= wsize; s 1511 third_party/zlib/deflate.c s->cookie_locations[n] = 0; s 1515 third_party/zlib/deflate.c if (s->class_bitmap) { s 1516 third_party/zlib/deflate.c zmemcpy(s->class_bitmap, s->class_bitmap + s->w_size/8, s 1517 third_party/zlib/deflate.c s->w_size/8); s 1518 third_party/zlib/deflate.c zmemzero(s->class_bitmap + s->w_size/8, s->w_size/8); s 1523 third_party/zlib/deflate.c if (s->strm->avail_in == 0) return; s 1538 third_party/zlib/deflate.c n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more); s 1539 third_party/zlib/deflate.c if (s->class_bitmap != NULL) { s 1540 third_party/zlib/deflate.c class_set(s, s->strstart + s->lookahead, n, s->strm->clas); s 1542 third_party/zlib/deflate.c s->lookahead += n; s 1545 third_party/zlib/deflate.c if (s->lookahead >= MIN_MATCH) { s 1546 third_party/zlib/deflate.c s->ins_h = s->window[s->strstart]; s 1547 third_party/zlib/deflate.c UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]); s 1556 third_party/zlib/deflate.c } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0); s 1565 third_party/zlib/deflate.c if (s->high_water < s->window_size) { s 1566 third_party/zlib/deflate.c ulg curr = s->strstart + (ulg)(s->lookahead); s 1569 third_party/zlib/deflate.c if (s->high_water < curr) { s 1573 third_party/zlib/deflate.c init = s->window_size - curr; s 1576 third_party/zlib/deflate.c zmemzero(s->window + curr, (unsigned)init); s 1577 third_party/zlib/deflate.c s->high_water = curr + init; s 1579 third_party/zlib/deflate.c else if (s->high_water < (ulg)curr + WIN_INIT) { s 1584 third_party/zlib/deflate.c init = (ulg)curr + WIN_INIT - s->high_water; s 1585 third_party/zlib/deflate.c if (init > s->window_size - s->high_water) s 1586 third_party/zlib/deflate.c init = s->window_size - s->high_water; s 1587 third_party/zlib/deflate.c zmemzero(s->window + s->high_water, (unsigned)init); s 1588 third_party/zlib/deflate.c s->high_water += init; s 1597 third_party/zlib/deflate.c #define FLUSH_BLOCK_ONLY(s, last) { \ s 1598 third_party/zlib/deflate.c _tr_flush_block(s, (s->block_start >= 0L ? \ s 1599 third_party/zlib/deflate.c (charf *)&s->window[(unsigned)s->block_start] : \ s 1601 third_party/zlib/deflate.c (ulg)((long)s->strstart - s->block_start), \ s 1603 third_party/zlib/deflate.c s->block_start = s->strstart; \ s 1604 third_party/zlib/deflate.c flush_pending(s->strm); \ s 1609 third_party/zlib/deflate.c #define FLUSH_BLOCK(s, last) { \ s 1610 third_party/zlib/deflate.c FLUSH_BLOCK_ONLY(s, last); \ s 1611 third_party/zlib/deflate.c if (s->strm->avail_out == 0) return (last) ? finish_started : need_more; \ s 1623 third_party/zlib/deflate.c local block_state deflate_stored(s, flush, clas) s 1624 third_party/zlib/deflate.c deflate_state *s; s 1634 third_party/zlib/deflate.c if (max_block_size > s->pending_buf_size - 5) { s 1635 third_party/zlib/deflate.c max_block_size = s->pending_buf_size - 5; s 1641 third_party/zlib/deflate.c if (s->lookahead <= 1) { s 1643 third_party/zlib/deflate.c Assert(s->strstart < s->w_size+MAX_DIST(s) || s 1644 third_party/zlib/deflate.c s->block_start >= (long)s->w_size, "slide too late"); s 1646 third_party/zlib/deflate.c fill_window(s); s 1647 third_party/zlib/deflate.c if (s->lookahead == 0 && flush == Z_NO_FLUSH) return need_more; s 1649 third_party/zlib/deflate.c if (s->lookahead == 0) break; /* flush the current block */ s 1651 third_party/zlib/deflate.c Assert(s->block_start >= 0L, "block gone"); s 1653 third_party/zlib/deflate.c s->strstart += s->lookahead; s 1654 third_party/zlib/deflate.c s->lookahead = 0; s 1657 third_party/zlib/deflate.c max_start = s->block_start + max_block_size; s 1658 third_party/zlib/deflate.c if (s->strstart == 0 || (ulg)s->strstart >= max_start) { s 1660 third_party/zlib/deflate.c s->lookahead = (uInt)(s->strstart - max_start); s 1661 third_party/zlib/deflate.c s->strstart = (uInt)max_start; s 1662 third_party/zlib/deflate.c FLUSH_BLOCK(s, 0); s 1667 third_party/zlib/deflate.c if (s->strstart - (uInt)s->block_start >= MAX_DIST(s)) { s 1668 third_party/zlib/deflate.c FLUSH_BLOCK(s, 0); s 1671 third_party/zlib/deflate.c FLUSH_BLOCK(s, flush == Z_FINISH); s 1682 third_party/zlib/deflate.c local block_state deflate_fast(s, flush, clas) s 1683 third_party/zlib/deflate.c deflate_state *s; s 1701 third_party/zlib/deflate.c if (s->lookahead < MIN_LOOKAHEAD) { s 1702 third_party/zlib/deflate.c fill_window(s); s 1703 third_party/zlib/deflate.c if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) { s 1706 third_party/zlib/deflate.c if (s->lookahead == 0) break; /* flush the current block */ s 1713 third_party/zlib/deflate.c if (s->lookahead >= MIN_MATCH) { s 1714 third_party/zlib/deflate.c INSERT_STRING(s, s->strstart, hash_head); s 1720 third_party/zlib/deflate.c if (hash_head != NIL && s->strstart - hash_head <= MAX_DIST(s)) { s 1725 third_party/zlib/deflate.c s->match_length = longest_match (s, hash_head, clas); s 1728 third_party/zlib/deflate.c if (s->match_length >= MIN_MATCH) { s 1729 third_party/zlib/deflate.c check_match(s, s->strstart, s->match_start, s->match_length); s 1731 third_party/zlib/deflate.c _tr_tally_dist(s, s->strstart - s->match_start, s 1732 third_party/zlib/deflate.c s->match_length - MIN_MATCH, bflush); s 1734 third_party/zlib/deflate.c s->lookahead -= s->match_length; s 1740 third_party/zlib/deflate.c if (s->match_length <= s->max_insert_length && s 1741 third_party/zlib/deflate.c s->lookahead >= MIN_MATCH) { s 1742 third_party/zlib/deflate.c s->match_length--; /* string at strstart already in table */ s 1744 third_party/zlib/deflate.c s->strstart++; s 1745 third_party/zlib/deflate.c INSERT_STRING(s, s->strstart, hash_head); s 1749 third_party/zlib/deflate.c } while (--s->match_length != 0); s 1750 third_party/zlib/deflate.c s->strstart++; s 1754 third_party/zlib/deflate.c s->strstart += s->match_length; s 1755 third_party/zlib/deflate.c s->match_length = 0; s 1756 third_party/zlib/deflate.c s->ins_h = s->window[s->strstart]; s 1757 third_party/zlib/deflate.c UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]); s 1767 third_party/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart])); s 1768 third_party/zlib/deflate.c _tr_tally_lit (s, s->window[s->strstart], bflush); s 1769 third_party/zlib/deflate.c s->lookahead--; s 1770 third_party/zlib/deflate.c s->strstart++; s 1772 third_party/zlib/deflate.c if (bflush) FLUSH_BLOCK(s, 0); s 1774 third_party/zlib/deflate.c FLUSH_BLOCK(s, flush == Z_FINISH); s 1784 third_party/zlib/deflate.c local block_state deflate_slow(s, flush, clas) s 1785 third_party/zlib/deflate.c deflate_state *s; s 1796 third_party/zlib/deflate.c if (s->lookahead) { s 1801 third_party/zlib/deflate.c input_length = s->strm->avail_in; s 1811 third_party/zlib/deflate.c if (s->lookahead < MIN_LOOKAHEAD) { s 1812 third_party/zlib/deflate.c fill_window(s); s 1813 third_party/zlib/deflate.c if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) { s 1816 third_party/zlib/deflate.c if (s->lookahead == 0) break; /* flush the current block */ s 1823 third_party/zlib/deflate.c if (s->lookahead >= MIN_MATCH) { s 1824 third_party/zlib/deflate.c INSERT_STRING(s, s->strstart, hash_head); s 1829 third_party/zlib/deflate.c s->prev_length = s->match_length, s->prev_match = s->match_start; s 1830 third_party/zlib/deflate.c s->match_length = MIN_MATCH-1; s 1833 third_party/zlib/deflate.c s->match_length = cookie_match(s, s->strstart, input_length); s 1836 third_party/zlib/deflate.c s->prev_length < s->max_lazy_match && s 1837 third_party/zlib/deflate.c s->strstart - hash_head <= MAX_DIST(s)) { s 1842 third_party/zlib/deflate.c s->match_length = longest_match (s, hash_head, clas); s 1846 third_party/zlib/deflate.c if (s->match_length <= 5 && (s->strategy == Z_FILTERED s 1848 third_party/zlib/deflate.c || (s->match_length == MIN_MATCH && s 1849 third_party/zlib/deflate.c s->strstart - s->match_start > TOO_FAR) s 1856 third_party/zlib/deflate.c s->match_length = MIN_MATCH-1; s 1863 third_party/zlib/deflate.c if (s->prev_length >= MIN_MATCH && s->match_length <= s->prev_length && s 1867 third_party/zlib/deflate.c s->prev_length == input_length && s 1868 third_party/zlib/deflate.c s->prev_match > 0 && s 1874 third_party/zlib/deflate.c (class_at(s, s->prev_match-1) == Z_CLASS_STANDARD || s 1875 third_party/zlib/deflate.c *(s->window + s->prev_match-1) == ';')))) { s 1876 third_party/zlib/deflate.c uInt max_insert = s->strstart + s->lookahead - MIN_MATCH; s 1879 third_party/zlib/deflate.c check_match(s, s->strstart-1, s->prev_match, s->prev_length); s 1881 third_party/zlib/deflate.c _tr_tally_dist(s, s->strstart -1 - s->prev_match, s 1882 third_party/zlib/deflate.c s->prev_length - MIN_MATCH, bflush); s 1889 third_party/zlib/deflate.c s->lookahead -= s->prev_length-1; s 1890 third_party/zlib/deflate.c s->prev_length -= 2; s 1892 third_party/zlib/deflate.c if (++s->strstart <= max_insert) { s 1893 third_party/zlib/deflate.c INSERT_STRING(s, s->strstart, hash_head); s 1895 third_party/zlib/deflate.c } while (--s->prev_length != 0); s 1896 third_party/zlib/deflate.c s->match_available = 0; s 1897 third_party/zlib/deflate.c s->match_length = MIN_MATCH-1; s 1898 third_party/zlib/deflate.c s->strstart++; s 1900 third_party/zlib/deflate.c if (bflush) FLUSH_BLOCK(s, 0); s 1902 third_party/zlib/deflate.c } else if (s->match_available) { s 1907 third_party/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart-1])); s 1908 third_party/zlib/deflate.c _tr_tally_lit(s, s->window[s->strstart-1], bflush); s 1910 third_party/zlib/deflate.c FLUSH_BLOCK_ONLY(s, 0); s 1912 third_party/zlib/deflate.c s->strstart++; s 1913 third_party/zlib/deflate.c s->lookahead--; s 1914 third_party/zlib/deflate.c if (s->strm->avail_out == 0) return need_more; s 1919 third_party/zlib/deflate.c s->match_available = 1; s 1920 third_party/zlib/deflate.c s->strstart++; s 1921 third_party/zlib/deflate.c s->lookahead--; s 1925 third_party/zlib/deflate.c if (s->match_available) { s 1926 third_party/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart-1])); s 1927 third_party/zlib/deflate.c _tr_tally_lit(s, s->window[s->strstart-1], bflush); s 1928 third_party/zlib/deflate.c s->match_available = 0; s 1930 third_party/zlib/deflate.c FLUSH_BLOCK(s, flush == Z_FINISH); s 1940 third_party/zlib/deflate.c local block_state deflate_rle(s, flush) s 1941 third_party/zlib/deflate.c deflate_state *s; s 1953 third_party/zlib/deflate.c if (s->lookahead < MAX_MATCH) { s 1954 third_party/zlib/deflate.c fill_window(s); s 1955 third_party/zlib/deflate.c if (s->lookahead < MAX_MATCH && flush == Z_NO_FLUSH) { s 1958 third_party/zlib/deflate.c if (s->lookahead == 0) break; /* flush the current block */ s 1962 third_party/zlib/deflate.c s->match_length = 0; s 1963 third_party/zlib/deflate.c if (s->lookahead >= MIN_MATCH && s->strstart > 0) { s 1964 third_party/zlib/deflate.c scan = s->window + s->strstart - 1; s 1967 third_party/zlib/deflate.c strend = s->window + s->strstart + MAX_MATCH; s 1974 third_party/zlib/deflate.c s->match_length = MAX_MATCH - (int)(strend - scan); s 1975 third_party/zlib/deflate.c if (s->match_length > s->lookahead) s 1976 third_party/zlib/deflate.c s->match_length = s->lookahead; s 1981 third_party/zlib/deflate.c if (s->match_length >= MIN_MATCH) { s 1982 third_party/zlib/deflate.c check_match(s, s->strstart, s->strstart - 1, s->match_length); s 1984 third_party/zlib/deflate.c _tr_tally_dist(s, 1, s->match_length - MIN_MATCH, bflush); s 1986 third_party/zlib/deflate.c s->lookahead -= s->match_length; s 1987 third_party/zlib/deflate.c s->strstart += s->match_length; s 1988 third_party/zlib/deflate.c s->match_length = 0; s 1991 third_party/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart])); s 1992 third_party/zlib/deflate.c _tr_tally_lit (s, s->window[s->strstart], bflush); s 1993 third_party/zlib/deflate.c s->lookahead--; s 1994 third_party/zlib/deflate.c s->strstart++; s 1996 third_party/zlib/deflate.c if (bflush) FLUSH_BLOCK(s, 0); s 1998 third_party/zlib/deflate.c FLUSH_BLOCK(s, flush == Z_FINISH); s 2006 third_party/zlib/deflate.c local block_state deflate_huff(s, flush) s 2007 third_party/zlib/deflate.c deflate_state *s; s 2014 third_party/zlib/deflate.c if (s->lookahead == 0) { s 2015 third_party/zlib/deflate.c fill_window(s); s 2016 third_party/zlib/deflate.c if (s->lookahead == 0) { s 2024 third_party/zlib/deflate.c s->match_length = 0; s 2025 third_party/zlib/deflate.c Tracevv((stderr,"%c", s->window[s->strstart])); s 2026 third_party/zlib/deflate.c _tr_tally_lit (s, s->window[s->strstart], bflush); s 2027 third_party/zlib/deflate.c s->lookahead--; s 2028 third_party/zlib/deflate.c s->strstart++; s 2029 third_party/zlib/deflate.c if (bflush) FLUSH_BLOCK(s, 0); s 2031 third_party/zlib/deflate.c FLUSH_BLOCK(s, flush == Z_FINISH); s 280 third_party/zlib/deflate.h #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);} s 288 third_party/zlib/deflate.h #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) s 298 third_party/zlib/deflate.h void ZLIB_INTERNAL _tr_init OF((deflate_state *s)); s 299 third_party/zlib/deflate.h int ZLIB_INTERNAL _tr_tally OF((deflate_state *s, unsigned dist, unsigned lc)); s 300 third_party/zlib/deflate.h void ZLIB_INTERNAL _tr_flush_block OF((deflate_state *s, charf *buf, s 302 third_party/zlib/deflate.h void ZLIB_INTERNAL _tr_align OF((deflate_state *s)); s 303 third_party/zlib/deflate.h void ZLIB_INTERNAL _tr_stored_block OF((deflate_state *s, charf *buf, s 324 third_party/zlib/deflate.h # define _tr_tally_lit(s, c, flush) \ s 326 third_party/zlib/deflate.h s->d_buf[s->last_lit] = 0; \ s 327 third_party/zlib/deflate.h s->l_buf[s->last_lit++] = cc; \ s 328 third_party/zlib/deflate.h s->dyn_ltree[cc].Freq++; \ s 329 third_party/zlib/deflate.h flush = (s->last_lit == s->lit_bufsize-1); \ s 331 third_party/zlib/deflate.h # define _tr_tally_dist(s, distance, length, flush) \ s 334 third_party/zlib/deflate.h s->d_buf[s->last_lit] = dist; \ s 335 third_party/zlib/deflate.h s->l_buf[s->last_lit++] = len; \ s 337 third_party/zlib/deflate.h s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ s 338 third_party/zlib/deflate.h s->dyn_dtree[d_code(dist)].Freq++; \ s 339 third_party/zlib/deflate.h flush = (s->last_lit == s->lit_bufsize-1); \ s 342 third_party/zlib/deflate.h # define _tr_tally_lit(s, c, flush) flush = _tr_tally(s, 0, c) s 343 third_party/zlib/deflate.h # define _tr_tally_dist(s, distance, length, flush) \ s 344 third_party/zlib/deflate.h flush = _tr_tally(s, distance, length) s 144 third_party/zlib/trees.c local void init_block OF((deflate_state *s)); s 145 third_party/zlib/trees.c local void pqdownheap OF((deflate_state *s, ct_data *tree, int k)); s 146 third_party/zlib/trees.c local void gen_bitlen OF((deflate_state *s, tree_desc *desc)); s 148 third_party/zlib/trees.c local void build_tree OF((deflate_state *s, tree_desc *desc)); s 149 third_party/zlib/trees.c local void scan_tree OF((deflate_state *s, ct_data *tree, int max_code)); s 150 third_party/zlib/trees.c local void send_tree OF((deflate_state *s, ct_data *tree, int max_code)); s 151 third_party/zlib/trees.c local int build_bl_tree OF((deflate_state *s)); s 152 third_party/zlib/trees.c local void send_all_trees OF((deflate_state *s, int lcodes, int dcodes, s 154 third_party/zlib/trees.c local void compress_block OF((deflate_state *s, ct_data *ltree, s 156 third_party/zlib/trees.c local int detect_data_type OF((deflate_state *s)); s 158 third_party/zlib/trees.c local void bi_windup OF((deflate_state *s)); s 159 third_party/zlib/trees.c local void bi_flush OF((deflate_state *s)); s 160 third_party/zlib/trees.c local void copy_block OF((deflate_state *s, charf *buf, unsigned len, s 168 third_party/zlib/trees.c # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) s 172 third_party/zlib/trees.c # define send_code(s, c, tree) \ s 174 third_party/zlib/trees.c send_bits(s, tree[c].Code, tree[c].Len); } s 181 third_party/zlib/trees.c #define put_short(s, w) { \ s 182 third_party/zlib/trees.c put_byte(s, (uch)((w) & 0xff)); \ s 183 third_party/zlib/trees.c put_byte(s, (uch)((ush)(w) >> 8)); \ s 191 third_party/zlib/trees.c local void send_bits OF((deflate_state *s, int value, int length)); s 193 third_party/zlib/trees.c local void send_bits(s, value, length) s 194 third_party/zlib/trees.c deflate_state *s; s 200 third_party/zlib/trees.c s->bits_sent += (ulg)length; s 206 third_party/zlib/trees.c if (s->bi_valid > (int)Buf_size - length) { s 207 third_party/zlib/trees.c s->bi_buf |= (ush)value << s->bi_valid; s 208 third_party/zlib/trees.c put_short(s, s->bi_buf); s 209 third_party/zlib/trees.c s->bi_buf = (ush)value >> (Buf_size - s->bi_valid); s 210 third_party/zlib/trees.c s->bi_valid += length - Buf_size; s 212 third_party/zlib/trees.c s->bi_buf |= (ush)value << s->bi_valid; s 213 third_party/zlib/trees.c s->bi_valid += length; s 218 third_party/zlib/trees.c #define send_bits(s, value, length) \ s 220 third_party/zlib/trees.c if (s->bi_valid > (int)Buf_size - len) {\ s 222 third_party/zlib/trees.c s->bi_buf |= (ush)val << s->bi_valid;\ s 223 third_party/zlib/trees.c put_short(s, s->bi_buf);\ s 224 third_party/zlib/trees.c s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\ s 225 third_party/zlib/trees.c s->bi_valid += len - Buf_size;\ s 227 third_party/zlib/trees.c s->bi_buf |= (ush)(value) << s->bi_valid;\ s 228 third_party/zlib/trees.c s->bi_valid += len;\ s 386 third_party/zlib/trees.c void ZLIB_INTERNAL _tr_init(s) s 387 third_party/zlib/trees.c deflate_state *s; s 391 third_party/zlib/trees.c s->l_desc.dyn_tree = s->dyn_ltree; s 392 third_party/zlib/trees.c s->l_desc.stat_desc = &static_l_desc; s 394 third_party/zlib/trees.c s->d_desc.dyn_tree = s->dyn_dtree; s 395 third_party/zlib/trees.c s->d_desc.stat_desc = &static_d_desc; s 397 third_party/zlib/trees.c s->bl_desc.dyn_tree = s->bl_tree; s 398 third_party/zlib/trees.c s->bl_desc.stat_desc = &static_bl_desc; s 400 third_party/zlib/trees.c s->bi_buf = 0; s 401 third_party/zlib/trees.c s->bi_valid = 0; s 402 third_party/zlib/trees.c s->last_eob_len = 8; /* enough lookahead for inflate */ s 404 third_party/zlib/trees.c s->compressed_len = 0L; s 405 third_party/zlib/trees.c s->bits_sent = 0L; s 409 third_party/zlib/trees.c init_block(s); s 415 third_party/zlib/trees.c local void init_block(s) s 416 third_party/zlib/trees.c deflate_state *s; s 421 third_party/zlib/trees.c for (n = 0; n < L_CODES; n++) s->dyn_ltree[n].Freq = 0; s 422 third_party/zlib/trees.c for (n = 0; n < D_CODES; n++) s->dyn_dtree[n].Freq = 0; s 423 third_party/zlib/trees.c for (n = 0; n < BL_CODES; n++) s->bl_tree[n].Freq = 0; s 425 third_party/zlib/trees.c s->dyn_ltree[END_BLOCK].Freq = 1; s 426 third_party/zlib/trees.c s->opt_len = s->static_len = 0L; s 427 third_party/zlib/trees.c s->last_lit = s->matches = 0; s 438 third_party/zlib/trees.c #define pqremove(s, tree, top) \ s 440 third_party/zlib/trees.c top = s->heap[SMALLEST]; \ s 441 third_party/zlib/trees.c s->heap[SMALLEST] = s->heap[s->heap_len--]; \ s 442 third_party/zlib/trees.c pqdownheap(s, tree, SMALLEST); \ s 459 third_party/zlib/trees.c local void pqdownheap(s, tree, k) s 460 third_party/zlib/trees.c deflate_state *s; s 464 third_party/zlib/trees.c int v = s->heap[k]; s 466 third_party/zlib/trees.c while (j <= s->heap_len) { s 468 third_party/zlib/trees.c if (j < s->heap_len && s 469 third_party/zlib/trees.c smaller(tree, s->heap[j+1], s->heap[j], s->depth)) { s 473 third_party/zlib/trees.c if (smaller(tree, v, s->heap[j], s->depth)) break; s 476 third_party/zlib/trees.c s->heap[k] = s->heap[j]; k = j; s 481 third_party/zlib/trees.c s->heap[k] = v; s 494 third_party/zlib/trees.c local void gen_bitlen(s, desc) s 495 third_party/zlib/trees.c deflate_state *s; s 511 third_party/zlib/trees.c for (bits = 0; bits <= MAX_BITS; bits++) s->bl_count[bits] = 0; s 516 third_party/zlib/trees.c tree[s->heap[s->heap_max]].Len = 0; /* root of the heap */ s 518 third_party/zlib/trees.c for (h = s->heap_max+1; h < HEAP_SIZE; h++) { s 519 third_party/zlib/trees.c n = s->heap[h]; s 527 third_party/zlib/trees.c s->bl_count[bits]++; s 531 third_party/zlib/trees.c s->opt_len += (ulg)f * (bits + xbits); s 532 third_party/zlib/trees.c if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits); s 542 third_party/zlib/trees.c while (s->bl_count[bits] == 0) bits--; s 543 third_party/zlib/trees.c s->bl_count[bits]--; /* move one leaf down the tree */ s 544 third_party/zlib/trees.c s->bl_count[bits+1] += 2; /* move one overflow item as its brother */ s 545 third_party/zlib/trees.c s->bl_count[max_length]--; s 558 third_party/zlib/trees.c n = s->bl_count[bits]; s 560 third_party/zlib/trees.c m = s->heap[--h]; s 564 third_party/zlib/trees.c s->opt_len += ((long)bits - (long)tree[m].Len) s 623 third_party/zlib/trees.c local void build_tree(s, desc) s 624 third_party/zlib/trees.c deflate_state *s; s 638 third_party/zlib/trees.c s->heap_len = 0, s->heap_max = HEAP_SIZE; s 642 third_party/zlib/trees.c s->heap[++(s->heap_len)] = max_code = n; s 643 third_party/zlib/trees.c s->depth[n] = 0; s 654 third_party/zlib/trees.c while (s->heap_len < 2) { s 655 third_party/zlib/trees.c node = s->heap[++(s->heap_len)] = (max_code < 2 ? ++max_code : 0); s 657 third_party/zlib/trees.c s->depth[node] = 0; s 658 third_party/zlib/trees.c s->opt_len--; if (stree) s->static_len -= stree[node].Len; s 666 third_party/zlib/trees.c for (n = s->heap_len/2; n >= 1; n--) pqdownheap(s, tree, n); s 673 third_party/zlib/trees.c pqremove(s, tree, n); /* n = node of least frequency */ s 674 third_party/zlib/trees.c m = s->heap[SMALLEST]; /* m = node of next least frequency */ s 676 third_party/zlib/trees.c s->heap[--(s->heap_max)] = n; /* keep the nodes sorted by frequency */ s 677 third_party/zlib/trees.c s->heap[--(s->heap_max)] = m; s 681 third_party/zlib/trees.c s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ? s 682 third_party/zlib/trees.c s->depth[n] : s->depth[m]) + 1); s 685 third_party/zlib/trees.c if (tree == s->bl_tree) { s 691 third_party/zlib/trees.c s->heap[SMALLEST] = node++; s 692 third_party/zlib/trees.c pqdownheap(s, tree, SMALLEST); s 694 third_party/zlib/trees.c } while (s->heap_len >= 2); s 696 third_party/zlib/trees.c s->heap[--(s->heap_max)] = s->heap[SMALLEST]; s 701 third_party/zlib/trees.c gen_bitlen(s, (tree_desc *)desc); s 704 third_party/zlib/trees.c gen_codes ((ct_data *)tree, max_code, s->bl_count); s 711 third_party/zlib/trees.c local void scan_tree (s, tree, max_code) s 712 third_party/zlib/trees.c deflate_state *s; s 732 third_party/zlib/trees.c s->bl_tree[curlen].Freq += count; s 734 third_party/zlib/trees.c if (curlen != prevlen) s->bl_tree[curlen].Freq++; s 735 third_party/zlib/trees.c s->bl_tree[REP_3_6].Freq++; s 737 third_party/zlib/trees.c s->bl_tree[REPZ_3_10].Freq++; s 739 third_party/zlib/trees.c s->bl_tree[REPZ_11_138].Freq++; s 756 third_party/zlib/trees.c local void send_tree (s, tree, max_code) s 757 third_party/zlib/trees.c deflate_state *s; s 777 third_party/zlib/trees.c do { send_code(s, curlen, s->bl_tree); } while (--count != 0); s 781 third_party/zlib/trees.c send_code(s, curlen, s->bl_tree); count--; s 784 third_party/zlib/trees.c send_code(s, REP_3_6, s->bl_tree); send_bits(s, count-3, 2); s 787 third_party/zlib/trees.c send_code(s, REPZ_3_10, s->bl_tree); send_bits(s, count-3, 3); s 790 third_party/zlib/trees.c send_code(s, REPZ_11_138, s->bl_tree); send_bits(s, count-11, 7); s 807 third_party/zlib/trees.c local int build_bl_tree(s) s 808 third_party/zlib/trees.c deflate_state *s; s 813 third_party/zlib/trees.c scan_tree(s, (ct_data *)s->dyn_ltree, s->l_desc.max_code); s 814 third_party/zlib/trees.c scan_tree(s, (ct_data *)s->dyn_dtree, s->d_desc.max_code); s 817 third_party/zlib/trees.c build_tree(s, (tree_desc *)(&(s->bl_desc))); s 827 third_party/zlib/trees.c if (s->bl_tree[bl_order[max_blindex]].Len != 0) break; s 830 third_party/zlib/trees.c s->opt_len += 3*(max_blindex+1) + 5+5+4; s 832 third_party/zlib/trees.c s->opt_len, s->static_len)); s 842 third_party/zlib/trees.c local void send_all_trees(s, lcodes, dcodes, blcodes) s 843 third_party/zlib/trees.c deflate_state *s; s 852 third_party/zlib/trees.c send_bits(s, lcodes-257, 5); /* not +255 as stated in appnote.txt */ s 853 third_party/zlib/trees.c send_bits(s, dcodes-1, 5); s 854 third_party/zlib/trees.c send_bits(s, blcodes-4, 4); /* not -3 as stated in appnote.txt */ s 857 third_party/zlib/trees.c send_bits(s, s->bl_tree[bl_order[rank]].Len, 3); s 859 third_party/zlib/trees.c Tracev((stderr, "\nbl tree: sent %ld", s->bits_sent)); s 861 third_party/zlib/trees.c send_tree(s, (ct_data *)s->dyn_ltree, lcodes-1); /* literal tree */ s 862 third_party/zlib/trees.c Tracev((stderr, "\nlit tree: sent %ld", s->bits_sent)); s 864 third_party/zlib/trees.c send_tree(s, (ct_data *)s->dyn_dtree, dcodes-1); /* distance tree */ s 865 third_party/zlib/trees.c Tracev((stderr, "\ndist tree: sent %ld", s->bits_sent)); s 871 third_party/zlib/trees.c void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last) s 872 third_party/zlib/trees.c deflate_state *s; s 877 third_party/zlib/trees.c send_bits(s, (STORED_BLOCK<<1)+last, 3); /* send block type */ s 879 third_party/zlib/trees.c s->compressed_len = (s->compressed_len + 3 + 7) & (ulg)~7L; s 880 third_party/zlib/trees.c s->compressed_len += (stored_len + 4) << 3; s 882 third_party/zlib/trees.c copy_block(s, buf, (unsigned)stored_len, 1); /* with header */ s 896 third_party/zlib/trees.c void ZLIB_INTERNAL _tr_align(s) s 897 third_party/zlib/trees.c deflate_state *s; s 899 third_party/zlib/trees.c send_bits(s, STATIC_TREES<<1, 3); s 900 third_party/zlib/trees.c send_code(s, END_BLOCK, static_ltree); s 902 third_party/zlib/trees.c s->compressed_len += 10L; /* 3 for block type, 7 for EOB */ s 904 third_party/zlib/trees.c bi_flush(s); s 910 third_party/zlib/trees.c if (1 + s->last_eob_len + 10 - s->bi_valid < 9) { s 911 third_party/zlib/trees.c send_bits(s, STATIC_TREES<<1, 3); s 912 third_party/zlib/trees.c send_code(s, END_BLOCK, static_ltree); s 914 third_party/zlib/trees.c s->compressed_len += 10L; s 916 third_party/zlib/trees.c bi_flush(s); s 918 third_party/zlib/trees.c s->last_eob_len = 7; s 925 third_party/zlib/trees.c void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last) s 926 third_party/zlib/trees.c deflate_state *s; s 935 third_party/zlib/trees.c if (s->level > 0) { s 938 third_party/zlib/trees.c if (s->strm->data_type == Z_UNKNOWN) s 939 third_party/zlib/trees.c s->strm->data_type = detect_data_type(s); s 942 third_party/zlib/trees.c build_tree(s, (tree_desc *)(&(s->l_desc))); s 943 third_party/zlib/trees.c Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len, s 944 third_party/zlib/trees.c s->static_len)); s 946 third_party/zlib/trees.c build_tree(s, (tree_desc *)(&(s->d_desc))); s 947 third_party/zlib/trees.c Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len, s 948 third_party/zlib/trees.c s->static_len)); s 956 third_party/zlib/trees.c max_blindex = build_bl_tree(s); s 959 third_party/zlib/trees.c opt_lenb = (s->opt_len+3+7)>>3; s 960 third_party/zlib/trees.c static_lenb = (s->static_len+3+7)>>3; s 963 third_party/zlib/trees.c opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len, s 964 third_party/zlib/trees.c s->last_lit)); s 985 third_party/zlib/trees.c _tr_stored_block(s, buf, stored_len, last); s 990 third_party/zlib/trees.c } else if (s->strategy == Z_FIXED || static_lenb == opt_lenb) { s 992 third_party/zlib/trees.c send_bits(s, (STATIC_TREES<<1)+last, 3); s 993 third_party/zlib/trees.c compress_block(s, (ct_data *)static_ltree, (ct_data *)static_dtree); s 995 third_party/zlib/trees.c s->compressed_len += 3 + s->static_len; s 998 third_party/zlib/trees.c send_bits(s, (DYN_TREES<<1)+last, 3); s 999 third_party/zlib/trees.c send_all_trees(s, s->l_desc.max_code+1, s->d_desc.max_code+1, s 1001 third_party/zlib/trees.c compress_block(s, (ct_data *)s->dyn_ltree, (ct_data *)s->dyn_dtree); s 1003 third_party/zlib/trees.c s->compressed_len += 3 + s->opt_len; s 1006 third_party/zlib/trees.c Assert (s->compressed_len == s->bits_sent, "bad compressed size"); s 1010 third_party/zlib/trees.c init_block(s); s 1013 third_party/zlib/trees.c bi_windup(s); s 1015 third_party/zlib/trees.c s->compressed_len += 7; /* align on byte boundary */ s 1018 third_party/zlib/trees.c Tracev((stderr,"\ncomprlen %lu(%lu) ", s->compressed_len>>3, s 1019 third_party/zlib/trees.c s->compressed_len-7*last)); s 1026 third_party/zlib/trees.c int ZLIB_INTERNAL _tr_tally (s, dist, lc) s 1027 third_party/zlib/trees.c deflate_state *s; s 1031 third_party/zlib/trees.c s->d_buf[s->last_lit] = (ush)dist; s 1032 third_party/zlib/trees.c s->l_buf[s->last_lit++] = (uch)lc; s 1035 third_party/zlib/trees.c s->dyn_ltree[lc].Freq++; s 1037 third_party/zlib/trees.c s->matches++; s 1040 third_party/zlib/trees.c Assert((ush)dist < (ush)MAX_DIST(s) && s 1044 third_party/zlib/trees.c s->dyn_ltree[_length_code[lc]+LITERALS+1].Freq++; s 1045 third_party/zlib/trees.c s->dyn_dtree[d_code(dist)].Freq++; s 1050 third_party/zlib/trees.c if ((s->last_lit & 0x1fff) == 0 && s->level > 2) { s 1052 third_party/zlib/trees.c ulg out_length = (ulg)s->last_lit*8L; s 1053 third_party/zlib/trees.c ulg in_length = (ulg)((long)s->strstart - s->block_start); s 1056 third_party/zlib/trees.c out_length += (ulg)s->dyn_dtree[dcode].Freq * s 1061 third_party/zlib/trees.c s->last_lit, in_length, out_length, s 1063 third_party/zlib/trees.c if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1; s 1066 third_party/zlib/trees.c return (s->last_lit == s->lit_bufsize-1); s 1076 third_party/zlib/trees.c local void compress_block(s, ltree, dtree) s 1077 third_party/zlib/trees.c deflate_state *s; s 1087 third_party/zlib/trees.c if (s->last_lit != 0) do { s 1088 third_party/zlib/trees.c dist = s->d_buf[lx]; s 1089 third_party/zlib/trees.c lc = s->l_buf[lx++]; s 1091 third_party/zlib/trees.c send_code(s, lc, ltree); /* send a literal byte */ s 1096 third_party/zlib/trees.c send_code(s, code+LITERALS+1, ltree); /* send the length code */ s 1100 third_party/zlib/trees.c send_bits(s, lc, extra); /* send the extra length bits */ s 1106 third_party/zlib/trees.c send_code(s, code, dtree); /* send the distance code */ s 1110 third_party/zlib/trees.c send_bits(s, dist, extra); /* send the extra distance bits */ s 1115 third_party/zlib/trees.c Assert((uInt)(s->pending) < s->lit_bufsize + 2*lx, s 1118 third_party/zlib/trees.c } while (lx < s->last_lit); s 1120 third_party/zlib/trees.c send_code(s, END_BLOCK, ltree); s 1121 third_party/zlib/trees.c s->last_eob_len = ltree[END_BLOCK].Len; s 1137 third_party/zlib/trees.c local int detect_data_type(s) s 1138 third_party/zlib/trees.c deflate_state *s; s 1149 third_party/zlib/trees.c if ((black_mask & 1) && (s->dyn_ltree[n].Freq != 0)) s 1153 third_party/zlib/trees.c if (s->dyn_ltree[9].Freq != 0 || s->dyn_ltree[10].Freq != 0 s 1154 third_party/zlib/trees.c || s->dyn_ltree[13].Freq != 0) s 1157 third_party/zlib/trees.c if (s->dyn_ltree[n].Freq != 0) s 1186 third_party/zlib/trees.c local void bi_flush(s) s 1187 third_party/zlib/trees.c deflate_state *s; s 1189 third_party/zlib/trees.c if (s->bi_valid == 16) { s 1190 third_party/zlib/trees.c put_short(s, s->bi_buf); s 1191 third_party/zlib/trees.c s->bi_buf = 0; s 1192 third_party/zlib/trees.c s->bi_valid = 0; s 1193 third_party/zlib/trees.c } else if (s->bi_valid >= 8) { s 1194 third_party/zlib/trees.c put_byte(s, (Byte)s->bi_buf); s 1195 third_party/zlib/trees.c s->bi_buf >>= 8; s 1196 third_party/zlib/trees.c s->bi_valid -= 8; s 1203 third_party/zlib/trees.c local void bi_windup(s) s 1204 third_party/zlib/trees.c deflate_state *s; s 1206 third_party/zlib/trees.c if (s->bi_valid > 8) { s 1207 third_party/zlib/trees.c put_short(s, s->bi_buf); s 1208 third_party/zlib/trees.c } else if (s->bi_valid > 0) { s 1209 third_party/zlib/trees.c put_byte(s, (Byte)s->bi_buf); s 1211 third_party/zlib/trees.c s->bi_buf = 0; s 1212 third_party/zlib/trees.c s->bi_valid = 0; s 1214 third_party/zlib/trees.c s->bits_sent = (s->bits_sent+7) & ~7; s 1222 third_party/zlib/trees.c local void copy_block(s, buf, len, header) s 1223 third_party/zlib/trees.c deflate_state *s; s 1228 third_party/zlib/trees.c bi_windup(s); /* align on byte boundary */ s 1229 third_party/zlib/trees.c s->last_eob_len = 8; /* enough lookahead for inflate */ s 1232 third_party/zlib/trees.c put_short(s, (ush)len); s 1233 third_party/zlib/trees.c put_short(s, (ush)~len); s 1235 third_party/zlib/trees.c s->bits_sent += 2*16; s 1239 third_party/zlib/trees.c s->bits_sent += (ulg)len<<3; s 1242 third_party/zlib/trees.c put_byte(s, *buf++); s 1279 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzputs OF((gzFile file, const char *s)); s 287 third_party/zlib/zutil.h #define TRY_FREE(s, p) {if (p) ZFREE(s, p);} s 400 tools/android/forwarder2/host_forwarder_main.cc int PortToInt(const std::string& s) { s 403 tools/android/forwarder2/host_forwarder_main.cc if (!base::StringToInt(s, &value) || value < 0 || s 405 tools/android/forwarder2/host_forwarder_main.cc LOG(ERROR) << "Could not convert string " << s << " to port"; s 11 tools/clang/plugins/tests/inline_copy_ctor.h int a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p , q, r, s, t, u, v, w, x; s 23 tools/gn/action_values.h void set_script(const SourceFile& s) { script_ = s; } s 17 tools/gn/config_values_extractors.cc void operator()(const std::string& s, std::ostream& out) const { s 19 tools/gn/config_values_extractors.cc EscapeStringToStream(out, s, escape_options_); s 321 tools/gn/filesystem_utils.cc bool EndsWithSlash(const std::string& s) { s 322 tools/gn/filesystem_utils.cc return !s.empty() && IsSlash(s[s.size() - 1]); s 87 tools/gn/filesystem_utils.h bool EndsWithSlash(const std::string& s); s 43 tools/gn/filesystem_utils_unittest.cc std::string s; s 45 tools/gn/filesystem_utils_unittest.cc RemoveFilename(&s); s 46 tools/gn/filesystem_utils_unittest.cc EXPECT_STREQ("", s.c_str()); s 48 tools/gn/filesystem_utils_unittest.cc s = "foo"; s 49 tools/gn/filesystem_utils_unittest.cc RemoveFilename(&s); s 50 tools/gn/filesystem_utils_unittest.cc EXPECT_STREQ("", s.c_str()); s 52 tools/gn/filesystem_utils_unittest.cc s = "/"; s 53 tools/gn/filesystem_utils_unittest.cc RemoveFilename(&s); s 54 tools/gn/filesystem_utils_unittest.cc EXPECT_STREQ("/", s.c_str()); s 56 tools/gn/filesystem_utils_unittest.cc s = "foo/bar"; s 57 tools/gn/filesystem_utils_unittest.cc RemoveFilename(&s); s 58 tools/gn/filesystem_utils_unittest.cc EXPECT_STREQ("foo/", s.c_str()); s 60 tools/gn/filesystem_utils_unittest.cc s = "foo/bar/baz.cc"; s 61 tools/gn/filesystem_utils_unittest.cc RemoveFilename(&s); s 62 tools/gn/filesystem_utils_unittest.cc EXPECT_STREQ("foo/bar/", s.c_str()); s 19 tools/gn/generate_test_gn_data.cc base::FilePath UTF8ToFilePath(const std::string& s) { s 21 tools/gn/generate_test_gn_data.cc return base::FilePath(base::UTF8ToWide(s)); s 23 tools/gn/generate_test_gn_data.cc return base::FilePath(s); s 35 tools/gn/ninja_binary_target_writer.cc void operator()(const std::string& s, std::ostream& out) const { s 37 tools/gn/ninja_binary_target_writer.cc EscapeStringToStream(out, s, options); s 19 tools/gn/operators_unittest.cc bool IsValueStringEqualing(const Value& v, const char* s) { s 22 tools/gn/operators_unittest.cc return v.string_value() == s; s 30 tools/gn/output_stream.h OutputStream& WritePath(const std::string& s); s 186 tools/gn/parse_tree.h void append_statement(scoped_ptr<ParseNode> s) { s 187 tools/gn/parse_tree.h statements_.push_back(s.release()); s 326 tools/gn/parse_tree.h void append_item(scoped_ptr<ParseNode> s) { s 327 tools/gn/parse_tree.h contents_.push_back(s.release()); s 45 tools/gn/pattern.cc void ParsePattern(const std::string& s, std::vector<Pattern::Subrange>* out) { s 50 tools/gn/pattern.cc for (size_t i = 0; i < s.size(); i++) { s 51 tools/gn/pattern.cc if (s[i] == '*') { s 57 tools/gn/pattern.cc } else if (s[i] == '\\') { s 58 tools/gn/pattern.cc if (i < s.size() - 1 && s[i + 1] == 'b') { s 69 tools/gn/pattern.cc if (i < s.size() - 1) { s 71 tools/gn/pattern.cc last_literal->literal.push_back(s[i]); s 82 tools/gn/pattern.cc last_literal->literal.push_back(s[i]); s 89 tools/gn/pattern.cc Pattern::Pattern(const std::string& s) { s 90 tools/gn/pattern.cc ParsePattern(s, &subranges_); s 100 tools/gn/pattern.cc bool Pattern::MatchesString(const std::string& s) const { s 103 tools/gn/pattern.cc return s.empty(); s 107 tools/gn/pattern.cc if (suffix.size() > s.size()) s 109 tools/gn/pattern.cc return s.compare(s.size() - suffix.size(), suffix.size(), suffix) == 0; s 112 tools/gn/pattern.cc return RecursiveMatch(s, 0, 0, true); s 117 tools/gn/pattern.cc bool Pattern::RecursiveMatch(const std::string& s, s 124 tools/gn/pattern.cc return begin_char == s.size(); s 130 tools/gn/pattern.cc if (s.size() - begin_char < sr.literal.size()) s 132 tools/gn/pattern.cc if (s.compare(begin_char, sr.literal.size(), sr.literal) != 0) s 136 tools/gn/pattern.cc return RecursiveMatch(s, begin_char + sr.literal.size(), s 144 tools/gn/pattern.cc (begin_char == 0 || begin_char == s.size())) { s 146 tools/gn/pattern.cc if (RecursiveMatch(s, begin_char, subrange_index + 1, false)) s 151 tools/gn/pattern.cc if (begin_char < s.size() && s[begin_char] == '/') { s 153 tools/gn/pattern.cc if (RecursiveMatch(s, begin_char + 1, subrange_index + 1, true)) s 168 tools/gn/pattern.cc for (size_t i = begin_char; i < s.size() - min_next_size; i++) { s 172 tools/gn/pattern.cc if (RecursiveMatch(s, i, subrange_index + 1, true)) s 211 tools/gn/pattern.cc bool PatternList::MatchesString(const std::string& s) const { s 213 tools/gn/pattern.cc if (patterns_[i].MatchesString(s)) s 49 tools/gn/pattern.h Pattern(const std::string& s); s 53 tools/gn/pattern.h bool MatchesString(const std::string& s) const; s 58 tools/gn/pattern.h bool RecursiveMatch(const std::string& s, s 83 tools/gn/pattern.h bool MatchesString(const std::string& s) const; s 43 tools/gn/setup.h void set_check_for_bad_items(bool s) { check_for_bad_items_ = s; } s 47 tools/gn/setup.h void set_check_for_unused_overrides(bool s) { s 48 tools/gn/setup.h check_for_unused_overrides_ = s; s 13 tools/gn/source_dir.cc void AssertValueSourceDirString(const std::string& s) { s 14 tools/gn/source_dir.cc if (!s.empty()) { s 15 tools/gn/source_dir.cc DCHECK(s[0] == '/'); s 16 tools/gn/source_dir.cc DCHECK(EndsWithSlash(s)); s 32 tools/gn/source_dir.cc SourceDir::SourceDir(SwapIn, std::string* s) { s 33 tools/gn/source_dir.cc value_.swap(*s); s 32 tools/gn/source_dir.h SourceDir(SwapIn, std::string* s); s 154 tools/memory_watcher/call_stack.h void* operator new(size_t s); s 95 ui/app_list/app_list_model_unittest.cc std::string s; s 98 ui/app_list/app_list_model_unittest.cc s += ","; s 99 ui/app_list/app_list_model_unittest.cc s += item_list->item_at(i)->id(); s 101 ui/app_list/app_list_model_unittest.cc return s; s 965 ui/base/dragdrop/os_exchange_data_provider_win.cc size_t s = 0; s 967 ui/base/dragdrop/os_exchange_data_provider_win.cc s += pidl->mkid.cb; s 971 ui/base/dragdrop/os_exchange_data_provider_win.cc return 2 + s; s 23 ui/base/ime/composition_underline.h CompositionUnderline(unsigned s, unsigned e, SkColor c, bool t) s 24 ui/base/ime/composition_underline.h : start_offset(s), s 60 ui/base/l10n/l10n_util_unittest.cc std::string s = l10n_util::GetStringUTF8(IDS_SIMPLE); s 61 ui/base/l10n/l10n_util_unittest.cc EXPECT_EQ(std::string("Hello World!"), s); s 63 ui/base/l10n/l10n_util_unittest.cc s = l10n_util::GetStringFUTF8(IDS_PLACEHOLDERS, s 66 ui/base/l10n/l10n_util_unittest.cc EXPECT_EQ(std::string("Hello, chrome. Your number is 10."), s); s 180 ui/events/event_rewriter_unittest.cc TestEventRewriteSource s(&p); s 181 ui/events/event_rewriter_unittest.cc s.AddEventRewriter(&r0); s 182 ui/events/event_rewriter_unittest.cc s.AddEventRewriter(&r1); s 183 ui/events/event_rewriter_unittest.cc s.AddEventRewriter(&r2); s 187 ui/events/event_rewriter_unittest.cc s.Send(ET_MOUSE_DRAGGED); s 189 ui/events/event_rewriter_unittest.cc s.Send(ET_MOUSE_PRESSED); s 193 ui/events/event_rewriter_unittest.cc s.AddEventRewriter(&r3); s 194 ui/events/event_rewriter_unittest.cc s.RemoveEventRewriter(&r0); s 198 ui/events/event_rewriter_unittest.cc s.Send(ET_SCROLL_FLING_START); s 200 ui/events/event_rewriter_unittest.cc s.RemoveEventRewriter(&r3); s 215 ui/events/event_rewriter_unittest.cc s.Send(ET_KEY_PRESSED); s 216 ui/events/event_rewriter_unittest.cc s.Send(ET_KEY_RELEASED); s 218 ui/events/event_rewriter_unittest.cc s.Send(ET_MOUSE_PRESSED); s 221 ui/events/event_rewriter_unittest.cc s.RemoveEventRewriter(&r1); s 222 ui/events/event_rewriter_unittest.cc s.RemoveEventRewriter(&r3); s 227 ui/events/event_rewriter_unittest.cc s.Send(ET_MOUSE_RELEASED); s 101 ui/gfx/color_utils.cc hsl->h = hsl->s = 0; s 120 ui/gfx/color_utils.cc hsl->s = delta / ((hsl->l < 0.5) ? (vmax + vmin) : (2 - vmax - vmin)); s 126 ui/gfx/color_utils.cc double saturation = hsl.s; s 164 ui/gfx/color_utils.cc if (shift.s >= 0) { s 165 ui/gfx/color_utils.cc if (shift.s <= 0.5) s 166 ui/gfx/color_utils.cc hsl.s *= shift.s * 2.0; s 168 ui/gfx/color_utils.cc hsl.s += (1.0 - hsl.s) * ((shift.s - 0.5) * 2.0); s 19 ui/gfx/color_utils.h double s; s 16 ui/gfx/color_utils_unittest.cc EXPECT_DOUBLE_EQ(hsl.s, 1); s 24 ui/gfx/color_utils_unittest.cc EXPECT_DOUBLE_EQ(hsl.s, 0); s 18 ui/gfx/geometry/size.cc Size::Size(const CGSize& s) s 19 ui/gfx/geometry/size.cc : SizeBase<Size, int>(s.width, s.height) { s 22 ui/gfx/geometry/size.cc Size& Size::operator=(const CGSize& s) { s 23 ui/gfx/geometry/size.cc set_width(s.width); s 24 ui/gfx/geometry/size.cc set_height(s.height); s 31 ui/gfx/geometry/size.cc SIZE s; s 32 ui/gfx/geometry/size.cc s.cx = width(); s 33 ui/gfx/geometry/size.cc s.cy = height(); s 34 ui/gfx/geometry/size.cc return s; s 31 ui/gfx/geometry/size.h explicit Size(const CGSize& s); s 37 ui/gfx/geometry/size.h Size& operator=(const CGSize& s); s 17 ui/gfx/geometry/size_f.cc SizeF ScaleSize(const SizeF& s, float x_scale, float y_scale) { s 18 ui/gfx/geometry/size_f.cc SizeF scaled_s(s); s 15 ui/gfx/geometry/size_unittest.cc int TestSizeF(const SizeF& s) { s 16 ui/gfx/geometry/size_unittest.cc return s.width(); s 230 ui/gfx/icon_util.cc SkBitmap* IconUtil::CreateSkBitmapFromHICON(HICON icon, const gfx::Size& s) { s 232 ui/gfx/icon_util.cc if (!icon || s.IsEmpty()) s 239 ui/gfx/icon_util.cc return new SkBitmap(CreateSkBitmapFromHICONHelper(icon, s)); s 367 ui/gfx/icon_util.cc const gfx::Size& s) { s 369 ui/gfx/icon_util.cc DCHECK(!s.IsEmpty()); s 374 ui/gfx/icon_util.cc bitmap.allocN32Pixels(s.width(), s.height()); s 381 ui/gfx/icon_util.cc InitializeBitmapHeader(&h, s.width(), s.height()); s 408 ui/gfx/icon_util.cc size_t num_pixels = s.GetArea(); s 410 ui/gfx/icon_util.cc ::DrawIconEx(dib_dc, 0, 0, icon, s.width(), s.height(), 0, NULL, DI_MASK); s 420 ui/gfx/icon_util.cc ::DrawIconEx(dib_dc, 0, 0, icon, s.width(), s.height(), 0, NULL, DI_NORMAL); s 96 ui/gfx/icon_util.h static SkBitmap* CreateSkBitmapFromHICON(HICON icon, const gfx::Size& s); s 266 ui/gfx/icon_util.h const gfx::Size& s); s 48 ui/gfx/platform_font_pango.cc fcvalue.u.s = reinterpret_cast<const FcChar8*>(it->c_str()); s 127 ui/gfx/render_text.h bool style(TextStyle s) const { return style_[s]->second; } s 1029 ui/gfx/render_text_win.cc levels[i] = runs_[i]->script_analysis.s.uBidiLevel; s 287 ui/gfx/skbitmap_operations.cc DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon); s 300 ui/gfx/skbitmap_operations.cc DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon); s 324 ui/gfx/skbitmap_operations.cc DCHECK(hsl_shift.s < 0 || fabs(hsl_shift.s - 0.5) < HSLShift::epsilon); s 369 ui/gfx/skbitmap_operations.cc DCHECK(hsl_shift.s >= 0 && hsl_shift.s <= 0.5 - HSLShift::epsilon); s 373 ui/gfx/skbitmap_operations.cc int32_t s_numer = static_cast<int32_t>(hsl_shift.s * 2 * denom); s 406 ui/gfx/skbitmap_operations.cc DCHECK(hsl_shift.s >= 0 && hsl_shift.s <= 0.5 - HSLShift::epsilon); s 412 ui/gfx/skbitmap_operations.cc int32_t s_numer = static_cast<int32_t>(hsl_shift.s * 2 * denom); s 445 ui/gfx/skbitmap_operations.cc DCHECK(hsl_shift.s >= 0 && hsl_shift.s <= 0.5 - HSLShift::epsilon); s 451 ui/gfx/skbitmap_operations.cc int32_t s_numer = static_cast<int32_t>(hsl_shift.s * 2 * denom); s 535 ui/gfx/skbitmap_operations.cc if (hsl_shift.s >= 0 && hsl_shift.s <= (0.5 - HSLShift::epsilon)) s 537 ui/gfx/skbitmap_operations.cc else if (hsl_shift.s >= (0.5 + HSLShift::epsilon)) s 309 ui/gfx/skbitmap_operations_unittest.cc for (double s = -0.1; s <= 1.0001; s += 0.1) { s 311 ui/gfx/skbitmap_operations_unittest.cc color_utils::HSL hsl = { h, s, l }; s 315 ui/gfx/skbitmap_operations_unittest.cc << "h = " << h << ", s = " << s << ", l = " << l; s 11 ui/gfx/text_utils.cc base::string16 RemoveAcceleratorChar(const base::string16& s, s 18 ui/gfx/text_utils.cc base::i18n::UTF16CharIterator chars(&s); s 21 ui/gfx/text_utils.cc accelerator_removed.reserve(s.size()); s 34 ui/gfx/text_utils.cc accelerator_removed.push_back(s[array_pos + i]); s 20 ui/gfx/text_utils.h GFX_EXPORT base::string16 RemoveAcceleratorChar(const base::string16& s, s 357 ui/gfx/transform_unittest.cc float s; s 376 ui/gfx/transform_unittest.cc xform.Scale(value.s, 1.0); s 381 ui/gfx/transform_unittest.cc xform.Scale(1.0, value.s); s 386 ui/gfx/transform_unittest.cc xform.Scale(value.s, value.s); s 391 ui/gfx/transform_unittest.cc if (value.s == value.s) { s 393 ui/gfx/transform_unittest.cc if (value.s != 0.0f) { s 593 ui/gfx/transform_unittest.cc float s; s 614 ui/gfx/transform_unittest.cc xform.Scale(value.s + j * epsilon, 1.0); s 619 ui/gfx/transform_unittest.cc xform.Scale(1.0, value.s + j * epsilon); s 626 ui/gfx/transform_unittest.cc xform.Scale(value.s + j * epsilon, s 627 ui/gfx/transform_unittest.cc value.s + j * epsilon); s 632 ui/gfx/transform_unittest.cc if (value.s == value.s) { s 635 ui/gfx/transform_unittest.cc if (value.s != 0.0f) { s 12 ui/gfx/utf16_indexing.cc bool IsValidCodePointIndex(const base::string16& s, size_t index) { s 13 ui/gfx/utf16_indexing.cc return index == 0 || index == s.length() || s 14 ui/gfx/utf16_indexing.cc !(CBU16_IS_TRAIL(s[index]) && CBU16_IS_LEAD(s[index - 1])); s 17 ui/gfx/utf16_indexing.cc ptrdiff_t UTF16IndexToOffset(const base::string16& s, size_t base, size_t pos) { s 23 ui/gfx/utf16_indexing.cc DCHECK_LE(base, s.length()); s 24 ui/gfx/utf16_indexing.cc DCHECK_LE(pos, s.length()); s 27 ui/gfx/utf16_indexing.cc delta += IsValidCodePointIndex(s, base++) ? 1 : 0; s 29 ui/gfx/utf16_indexing.cc delta -= IsValidCodePointIndex(s, pos++) ? 1 : 0; s 33 ui/gfx/utf16_indexing.cc size_t UTF16OffsetToIndex(const base::string16& s, s 36 ui/gfx/utf16_indexing.cc DCHECK_LE(base, s.length()); s 42 ui/gfx/utf16_indexing.cc while (offset > 0 && pos < s.length()) s 43 ui/gfx/utf16_indexing.cc offset -= IsValidCodePointIndex(s, pos++) ? 1 : 0; s 45 ui/gfx/utf16_indexing.cc offset += IsValidCodePointIndex(s, --pos) ? 1 : 0; s 52 ui/gfx/utf16_indexing.cc if (!IsValidCodePointIndex(s, pos)) s 15 ui/gfx/utf16_indexing.h GFX_EXPORT bool IsValidCodePointIndex(const base::string16& s, size_t index); s 40 ui/gfx/utf16_indexing.h GFX_EXPORT ptrdiff_t UTF16IndexToOffset(const base::string16& s, s 43 ui/gfx/utf16_indexing.h GFX_EXPORT size_t UTF16OffsetToIndex(const base::string16& s, s 14 ui/gfx/utf16_indexing_unittest.cc const base::string16 s(foo); s 16 ui/gfx/utf16_indexing_unittest.cc for (size_t i = 0; i <= s.length(); ++i) s 17 ui/gfx/utf16_indexing_unittest.cc EXPECT_EQ(i != the_invalid_index, IsValidCodePointIndex(s, i)); s 18 ui/gfx/utf16_indexing_unittest.cc for (size_t i = 0; i <= s.length(); ++i) { s 19 ui/gfx/utf16_indexing_unittest.cc for (size_t j = i; j <= s.length(); ++j) { s 23 ui/gfx/utf16_indexing_unittest.cc EXPECT_EQ(offset, UTF16IndexToOffset(s, i, j)); s 24 ui/gfx/utf16_indexing_unittest.cc EXPECT_EQ(-offset, UTF16IndexToOffset(s, j, i)); s 26 ui/gfx/utf16_indexing_unittest.cc EXPECT_EQ(adjusted_j, UTF16OffsetToIndex(s, i, offset)); s 28 ui/gfx/utf16_indexing_unittest.cc EXPECT_EQ(adjusted_i, UTF16OffsetToIndex(s, j, -offset)); s 106 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLClearStencil(GLint s) { s 107 ui/gl/gl_bindings_skia_in_process.cc glClearStencil(s); s 257 ui/views/controls/label.cc const gfx::Size& s = cached_heights_[i]; s 258 ui/views/controls/label.cc if (s.width() == w) s 259 ui/views/controls/label.cc return s.height() + GetInsets().height(); s 83 ui/views/controls/progress_bar.cc skia::RefPtr<SkShader> s = skia::AdoptRef(SkGradientShader::CreateLinear( s 85 ui/views/controls/progress_bar.cc paint.setShader(s.get()); s 300 ui/views/controls/progress_bar.cc skia::RefPtr<SkShader> s = s 304 ui/views/controls/progress_bar.cc paint.setShader(s.get()); s 153 ui/views/painter.cc skia::RefPtr<SkShader> s = skia::AdoptRef(SkGradientShader::CreateLinear( s 156 ui/views/painter.cc paint.setShader(s.get()); s 1070 ui/views/win/hwnd_message_handler.cc gfx::Size s = GetClientAreaBounds().size(); s 1071 ui/views/win/hwnd_message_handler.cc delegate_->HandleClientSizeChanged(s); s 1073 ui/views/win/hwnd_message_handler.cc layered_window_contents_.reset(new gfx::Canvas(s, 1.0f, false)); s 646 url/url_canon.h void SetScheme(const CHAR* s, const url_parse::Component& comp) { s 647 url/url_canon.h sources_.scheme = s; s 654 url/url_canon.h void SetUsername(const CHAR* s, const url_parse::Component& comp) { s 655 url/url_canon.h sources_.username = s; s 665 url/url_canon.h void SetPassword(const CHAR* s, const url_parse::Component& comp) { s 666 url/url_canon.h sources_.password = s; s 676 url/url_canon.h void SetHost(const CHAR* s, const url_parse::Component& comp) { s 677 url/url_canon.h sources_.host = s; s 687 url/url_canon.h void SetPort(const CHAR* s, const url_parse::Component& comp) { s 688 url/url_canon.h sources_.port = s; s 698 url/url_canon.h void SetPath(const CHAR* s, const url_parse::Component& comp) { s 699 url/url_canon.h sources_.path = s; s 709 url/url_canon.h void SetQuery(const CHAR* s, const url_parse::Component& comp) { s 710 url/url_canon.h sources_.query = s; s 720 url/url_canon.h void SetRef(const CHAR* s, const url_parse::Component& comp) { s 721 url/url_canon.h sources_.ref = s; s 59 url/url_canon_stdstring.h void SetSchemeStr(const STR& s) { s 60 url/url_canon_stdstring.h this->SetScheme(s.data(), s 61 url/url_canon_stdstring.h url_parse::Component(0, static_cast<int>(s.length()))); s 63 url/url_canon_stdstring.h void SetUsernameStr(const STR& s) { s 64 url/url_canon_stdstring.h this->SetUsername(s.data(), s 65 url/url_canon_stdstring.h url_parse::Component(0, static_cast<int>(s.length()))); s 67 url/url_canon_stdstring.h void SetPasswordStr(const STR& s) { s 68 url/url_canon_stdstring.h this->SetPassword(s.data(), s 69 url/url_canon_stdstring.h url_parse::Component(0, static_cast<int>(s.length()))); s 71 url/url_canon_stdstring.h void SetHostStr(const STR& s) { s 72 url/url_canon_stdstring.h this->SetHost(s.data(), s 73 url/url_canon_stdstring.h url_parse::Component(0, static_cast<int>(s.length()))); s 75 url/url_canon_stdstring.h void SetPortStr(const STR& s) { s 76 url/url_canon_stdstring.h this->SetPort(s.data(), s 77 url/url_canon_stdstring.h url_parse::Component(0, static_cast<int>(s.length()))); s 79 url/url_canon_stdstring.h void SetPathStr(const STR& s) { s 80 url/url_canon_stdstring.h this->SetPath(s.data(), s 81 url/url_canon_stdstring.h url_parse::Component(0, static_cast<int>(s.length()))); s 83 url/url_canon_stdstring.h void SetQueryStr(const STR& s) { s 84 url/url_canon_stdstring.h this->SetQuery(s.data(), s 85 url/url_canon_stdstring.h url_parse::Component(0, static_cast<int>(s.length()))); s 87 url/url_canon_stdstring.h void SetRefStr(const STR& s) { s 88 url/url_canon_stdstring.h this->SetRef(s.data(), s 89 url/url_canon_stdstring.h url_parse::Component(0, static_cast<int>(s.length()))); s 116 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h virtual void clearStencil(WGC3Dint s);