n 35 android_webview/browser/input_stream.h virtual bool Skip(int64_t n, int64_t* bytes_skipped) = 0; n 56 android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc virtual bool Skip(int64_t n, int64_t* bytes_skipped) OVERRIDE { n 36 android_webview/browser/net/input_stream_reader_unittest.cc MOCK_METHOD2(Skip, bool(int64_t n, int64_t* bytes_skipped)); n 231 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java public long skip(long n) throws IOException { n 232 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java if (n < 0) n 65 android_webview/native/input_stream_impl.cc bool InputStreamImpl::Skip(int64_t n, int64_t* bytes_skipped) { n 67 android_webview/native/input_stream_impl.cc int bytes = Java_InputStream_skip(env, jobject_.obj(), n); n 70 android_webview/native/input_stream_impl.cc if (bytes > n) n 36 android_webview/native/input_stream_impl.h virtual bool Skip(int64_t n, int64_t* bytes_skipped) OVERRIDE; n 156 ash/accelerators/accelerator_controller.cc bool HandleLaunchAppN(int n) { n 158 ash/accelerators/accelerator_controller.cc Shelf::ForPrimaryDisplay()->LaunchAppIndexAt(n); n 27 base/allocator/allocator_unittest.cc static void Fill(unsigned char* buffer, int n) { n 28 base/allocator/allocator_unittest.cc for (int i = 0; i < n; i++) { n 35 base/allocator/allocator_unittest.cc static bool Valid(unsigned char* buffer, int n) { n 36 base/allocator/allocator_unittest.cc for (int i = 0; i < n; i++) { n 45 base/allocator/allocator_unittest.cc static bool IsZeroed(unsigned char* buffer, int n) { n 46 base/allocator/allocator_unittest.cc for (int i = 0; i < n; i++) { n 277 base/allocator/allocator_unittest.cc static void TestCalloc(size_t n, size_t s, bool ok) { n 278 base/allocator/allocator_unittest.cc char* p = reinterpret_cast<char*>(calloc(n, s)); n 284 base/allocator/allocator_unittest.cc for (int i = 0; i < n*s; i++) { n 66 base/allocator/generic_allocators.cc void* calloc(size_t n, size_t elem_size) __THROW { n 68 base/allocator/generic_allocators.cc const size_t size = n * elem_size; n 69 base/allocator/generic_allocators.cc if (elem_size != 0 && size / elem_size != n) return NULL; n 84 base/allocator/generic_allocators.cc void* _recalloc(void* p, size_t n, size_t elem_size) { n 86 base/allocator/generic_allocators.cc return calloc(n, elem_size); n 95 base/allocator/generic_allocators.cc const size_t size = n * elem_size; n 96 base/allocator/generic_allocators.cc if (elem_size != 0 && size / elem_size != n) return NULL; n 100 base/allocator/generic_allocators.cc void* _calloc_impl(size_t n, size_t size) { n 101 base/allocator/generic_allocators.cc return calloc(n, size); n 160 base/allocator/generic_allocators.cc void* _calloc_dbg(size_t n, size_t size, int, const char*, int) { n 161 base/allocator/generic_allocators.cc return calloc(n, size); n 660 base/android/java/src/org/chromium/base/library_loader/Linker.java for (int n = 0; n < 4; n++) { n 447 base/bind_helpers.h template <typename T, size_t n> n 448 base/bind_helpers.h struct MaybeRefcount<false, T[n]> { n 166 base/bind_unittest.cc int Identity(int n) { n 167 base/bind_unittest.cc return n; n 170 base/bind_unittest.cc int ArrayGet(const int array[], int n) { n 171 base/bind_unittest.cc return array[n]; n 198 base/bind_unittest.cc void RefArgSet(int &n) { n 199 base/bind_unittest.cc n = 2; n 202 base/bind_unittest.cc void PtrArgSet(int *n) { n 203 base/bind_unittest.cc *n = 2; n 206 base/bind_unittest.cc int FunctionWithWeakFirstParam(WeakPtr<NoRef> o, int n) { n 207 base/bind_unittest.cc return n; n 210 base/bind_unittest.cc int FunctionWithScopedRefptrFirstParam(const scoped_refptr<HasRef>& o, int n) { n 211 base/bind_unittest.cc return n; n 303 base/bind_unittest.cc int n = 0; n 304 base/bind_unittest.cc Closure cb = base::Bind(&TakesACallback, base::Bind(&PtrArgSet, &n)); n 311 base/bind_unittest.cc EXPECT_EQ(2, n); n 313 base/bind_unittest.cc n = 0; n 315 base/bind_unittest.cc EXPECT_EQ(2, n); n 444 base/bind_unittest.cc int n = 2; n 446 base/bind_unittest.cc Callback<int(void)> bind_primitive_cb = Bind(&Identity, n); n 447 base/bind_unittest.cc EXPECT_EQ(n, bind_primitive_cb.Run()); n 450 base/bind_unittest.cc Bind(&PolymorphicIdentity<int*>, &n); n 451 base/bind_unittest.cc EXPECT_EQ(&n, bind_primitive_pointer_cb.Run()); n 515 base/bind_unittest.cc int n = 0; n 517 base/bind_unittest.cc unbound_ref_cb.Run(n); n 518 base/bind_unittest.cc EXPECT_EQ(2, n); n 525 base/bind_unittest.cc int n = 1; n 526 base/bind_unittest.cc int& ref_n = n; n 527 base/bind_unittest.cc const int& const_ref_n = n; n 530 base/bind_unittest.cc EXPECT_EQ(n, ref_copies_cb.Run()); n 531 base/bind_unittest.cc n++; n 532 base/bind_unittest.cc EXPECT_EQ(n - 1, ref_copies_cb.Run()); n 535 base/bind_unittest.cc EXPECT_EQ(n, const_ref_copies_cb.Run()); n 536 base/bind_unittest.cc n++; n 537 base/bind_unittest.cc EXPECT_EQ(n - 1, const_ref_copies_cb.Run()); n 646 base/bind_unittest.cc int n = 1; n 648 base/bind_unittest.cc Callback<int(void)> copy_cb = Bind(&Identity, n); n 649 base/bind_unittest.cc Callback<int(void)> const_ref_cb = Bind(&Identity, ConstRef(n)); n 650 base/bind_unittest.cc EXPECT_EQ(n, copy_cb.Run()); n 651 base/bind_unittest.cc EXPECT_EQ(n, const_ref_cb.Run()); n 652 base/bind_unittest.cc n++; n 653 base/bind_unittest.cc EXPECT_EQ(n - 1, copy_cb.Run()); n 654 base/bind_unittest.cc EXPECT_EQ(n, const_ref_cb.Run()); n 796 base/bind_unittest.cc int __fastcall FastCallFunc(int n) { n 797 base/bind_unittest.cc return n; n 800 base/bind_unittest.cc int __stdcall StdCallFunc(int n) { n 801 base/bind_unittest.cc return n; n 17 base/bits.h inline int Log2Floor(uint32 n) { n 18 base/bits.h if (n == 0) n 21 base/bits.h uint32 value = n; n 35 base/bits.h inline int Log2Ceiling(uint32 n) { n 36 base/bits.h if (n == 0) { n 40 base/bits.h return 1 + Log2Floor(n - 1); n 117 base/callback_internal.h template <typename T, size_t n> n 118 base/callback_internal.h struct CallbackParamTraits<T[n], false> { n 24 base/cancelable_callback_unittest.cc void IncrementBy(int* count, int n) { (*count) += n; } n 25 base/compiler_specific.h #define MSVC_SUPPRESS_WARNING(n) __pragma(warning(suppress:n)) n 29 base/compiler_specific.h #define MSVC_PUSH_DISABLE_WARNING(n) __pragma(warning(push)) \ n 30 base/compiler_specific.h __pragma(warning(disable:n)) n 35 base/compiler_specific.h #define MSVC_PUSH_WARNING_LEVEL(n) __pragma(warning(push, n)) n 60 base/compiler_specific.h #define MSVC_SUPPRESS_WARNING(n) n 61 base/compiler_specific.h #define MSVC_PUSH_DISABLE_WARNING(n) n 62 base/compiler_specific.h #define MSVC_PUSH_WARNING_LEVEL(n) n 99 base/containers/stack_container.h pointer allocate(size_type n, void* hint = 0) { n 101 base/containers/stack_container.h && n <= stack_capacity) { n 105 base/containers/stack_container.h return std::allocator<T>::allocate(n, hint); n 111 base/containers/stack_container.h void deallocate(pointer p, size_type n) { n 115 base/containers/stack_container.h std::allocator<T>::deallocate(p, n); n 764 base/debug/stack_trace_posix.cc size_t n = 1; n 765 base/debug/stack_trace_posix.cc if (n > sz) n 782 base/debug/stack_trace_posix.cc if (++n > sz) { n 794 base/debug/stack_trace_posix.cc if (++n > sz) { n 75 base/i18n/streaming_utf8_validator_unittest.cc void TestNumber(uint32 n) const { n 76 base/i18n/streaming_utf8_validator_unittest.cc char test[sizeof n]; n 77 base/i18n/streaming_utf8_validator_unittest.cc memcpy(test, &n, sizeof n); n 79 base/i18n/streaming_utf8_validator_unittest.cc EXPECT_EQ(IsStringUtf8(test, sizeof n), n 80 base/i18n/streaming_utf8_validator_unittest.cc validator.AddBytes(test, sizeof n) == VALID_ENDPOINT) n 350 base/json/json_parser.cc void JSONParser::NextNChars(int n) { n 351 base/json/json_parser.cc DCHECK(CanConsume(n)); n 352 base/json/json_parser.cc index_ += n; n 353 base/json/json_parser.cc pos_ += n; n 154 base/json/json_parser.h void NextNChars(int n); n 87 base/linux_util.cc const ssize_t n = readlink(path, buf, sizeof(buf) - 1); n 88 base/linux_util.cc if (n == -1) { n 95 base/linux_util.cc buf[n] = 0; n 160 base/memory/scoped_ptr.h template <class T, int n> n 161 base/memory/scoped_ptr.h struct DefaultDeleter<T[n]> { n 446 base/message_loop/message_loop_test.cc TaskItem Get(int n) { n 447 base/message_loop/message_loop_test.cc return task_list_[n]; n 220 base/message_loop/message_loop_unittest.cc TaskItem Get(int n) { n 221 base/message_loop/message_loop_unittest.cc return task_list_[n]; n 593 base/process/process_util_unittest.cc const ssize_t n = HANDLE_EINTR(read(fds[0], buf, sizeof(buf))); n 594 base/process/process_util_unittest.cc PCHECK(n > 0); n 598 base/process/process_util_unittest.cc return std::string(buf, n); n 78 base/sha1_portable.cc static inline uint32 S(uint32 n, uint32 X) { n 79 base/sha1_portable.cc return (X << n) | (X >> (32-n)); n 22 base/strings/string16.cc int c16memcmp(const char16* s1, const char16* s2, size_t n) { n 24 base/strings/string16.cc while (n-- > 0) { n 43 base/strings/string16.cc const char16* c16memchr(const char16* s, char16 c, size_t n) { n 44 base/strings/string16.cc while (n-- > 0) { n 53 base/strings/string16.cc char16* c16memmove(char16* s1, const char16* s2, size_t n) { n 54 base/strings/string16.cc return static_cast<char16*>(memmove(s1, s2, n * sizeof(char16))); n 57 base/strings/string16.cc char16* c16memcpy(char16* s1, const char16* s2, size_t n) { n 58 base/strings/string16.cc return static_cast<char16*>(memcpy(s1, s2, n * sizeof(char16))); n 61 base/strings/string16.cc char16* c16memset(char16* s, char16 c, size_t n) { n 63 base/strings/string16.cc while (n-- > 0) { n 54 base/strings/string16.h BASE_EXPORT int c16memcmp(const char16* s1, const char16* s2, size_t n); n 56 base/strings/string16.h BASE_EXPORT const char16* c16memchr(const char16* s, char16 c, size_t n); n 57 base/strings/string16.h BASE_EXPORT char16* c16memmove(char16* s1, const char16* s2, size_t n); n 58 base/strings/string16.h BASE_EXPORT char16* c16memcpy(char16* s1, const char16* s2, size_t n); n 59 base/strings/string16.h BASE_EXPORT char16* c16memset(char16* s, char16 c, size_t n); n 84 base/strings/string16.h static int compare(const char_type* s1, const char_type* s2, size_t n) { n 85 base/strings/string16.h return c16memcmp(s1, s2, n); n 92 base/strings/string16.h static const char_type* find(const char_type* s, size_t n, n 94 base/strings/string16.h return c16memchr(s, a, n); n 97 base/strings/string16.h static char_type* move(char_type* s1, const char_type* s2, int_type n) { n 98 base/strings/string16.h return c16memmove(s1, s2, n); n 101 base/strings/string16.h static char_type* copy(char_type* s1, const char_type* s2, size_t n) { n 102 base/strings/string16.h return c16memcpy(s1, s2, n); n 105 base/strings/string16.h static char_type* assign(char_type* s, size_t n, char_type a) { n 106 base/strings/string16.h return c16memset(s, a, n); n 86 base/strings/string_piece.cc size_t n, n 88 base/strings/string_piece.cc size_t ret = std::min(self.size() - pos, n); n 93 base/strings/string_piece.cc size_t copy(const StringPiece& self, char* buf, size_t n, size_t pos) { n 94 base/strings/string_piece.cc return copyT(self, buf, n, pos); n 97 base/strings/string_piece.cc size_t copy(const StringPiece16& self, char16* buf, size_t n, size_t pos) { n 98 base/strings/string_piece.cc return copyT(self, buf, n, pos); n 418 base/strings/string_piece.cc size_t n) { n 420 base/strings/string_piece.cc if (n > self.size() - pos) n = self.size() - pos; n 421 base/strings/string_piece.cc return BasicStringPiece<STR>(self.data() + pos, n); n 426 base/strings/string_piece.cc size_t n) { n 427 base/strings/string_piece.cc return substrT(self, pos, n); n 432 base/strings/string_piece.cc size_t n) { n 433 base/strings/string_piece.cc return substrT(self, pos, n); n 61 base/strings/string_piece.h size_t n, n 65 base/strings/string_piece.h size_t n, n 142 base/strings/string_piece.h size_t n); n 145 base/strings/string_piece.h size_t n); n 212 base/strings/string_piece.h void remove_prefix(size_type n) { n 213 base/strings/string_piece.h ptr_ += n; n 214 base/strings/string_piece.h length_ -= n; n 217 base/strings/string_piece.h void remove_suffix(size_type n) { n 218 base/strings/string_piece.h length_ -= n; n 264 base/strings/string_piece.h size_type copy(value_type* buf, size_type n, size_type pos = 0) const { n 265 base/strings/string_piece.h return internal::copy(*this, buf, n, pos); n 339 base/strings/string_piece.h size_type n = BasicStringPiece::npos) const { n 340 base/strings/string_piece.h return internal::substr(*this, pos, n); n 68 base/template_util.h template<class T, size_t n> struct is_array<T[n]> : public true_type {}; n 519 base/third_party/dmg_fp/dtoa.cc #define ACQUIRE_DTOA_LOCK(n) /*nothing*/ n 520 base/third_party/dmg_fp/dtoa.cc #define FREE_DTOA_LOCK(n) /*nothing*/ n 978 base/third_party/dmg_fp/dtoa.cc int i, k1, n, n1; n 983 base/third_party/dmg_fp/dtoa.cc n = k >> 5; n 985 base/third_party/dmg_fp/dtoa.cc n = k >> 4; n 988 base/third_party/dmg_fp/dtoa.cc n1 = n + b->wds + 1; n 993 base/third_party/dmg_fp/dtoa.cc for(i = 0; i < n; i++) n 1644 base/third_party/dmg_fp/dtoa.cc int n; n 1647 base/third_party/dmg_fp/dtoa.cc n = k >> kshift; n 1648 base/third_party/dmg_fp/dtoa.cc if (n < b->wds) { n 1650 base/third_party/dmg_fp/dtoa.cc x += n; n 1652 base/third_party/dmg_fp/dtoa.cc n = 32 - k; n 1655 base/third_party/dmg_fp/dtoa.cc *x1++ = (y | (*x << n)) & 0xffffffff; n 1676 base/third_party/dmg_fp/dtoa.cc int n, nwds; n 1681 base/third_party/dmg_fp/dtoa.cc n = k >> kshift; n 1682 base/third_party/dmg_fp/dtoa.cc if (n > nwds) n 1683 base/third_party/dmg_fp/dtoa.cc n = nwds; n 1684 base/third_party/dmg_fp/dtoa.cc else if (n < nwds && (k &= kmask)) { n 1685 base/third_party/dmg_fp/dtoa.cc x1 = x2 = x[n]; n 1692 base/third_party/dmg_fp/dtoa.cc x += n; n 1749 base/third_party/dmg_fp/dtoa.cc int big, denorm, esign, havedig, k, n, nbits, up, zret; n 1853 base/third_party/dmg_fp/dtoa.cc if ((n = hexdig[*s]) == 0 || n > 0x19) { n 1857 base/third_party/dmg_fp/dtoa.cc e1 = n - 0x10; n 1858 base/third_party/dmg_fp/dtoa.cc while((n = hexdig[*++s]) !=0 && n <= 0x19) { n 1861 base/third_party/dmg_fp/dtoa.cc e1 = 10*e1 + n - 0x10; n 1914 base/third_party/dmg_fp/dtoa.cc n = s1 - s0 - 1; n 1915 base/third_party/dmg_fp/dtoa.cc for(k = 0; n > (1 << (kshift-2)) - 1; n >>= 1) n 1919 base/third_party/dmg_fp/dtoa.cc n = 0; n 1934 base/third_party/dmg_fp/dtoa.cc if (n == ULbits) { n 1937 base/third_party/dmg_fp/dtoa.cc n = 0; n 1939 base/third_party/dmg_fp/dtoa.cc L |= (hexdig[*s1] & 0x0f) << n; n 1940 base/third_party/dmg_fp/dtoa.cc n += 4; n 1943 base/third_party/dmg_fp/dtoa.cc b->wds = n = x - b->x; n 1944 base/third_party/dmg_fp/dtoa.cc n = ULbits*n - hi0bits(L); n 1948 base/third_party/dmg_fp/dtoa.cc if (n > nbits) { n 1949 base/third_party/dmg_fp/dtoa.cc n -= nbits; n 1950 base/third_party/dmg_fp/dtoa.cc if (any_on(b,n)) { n 1952 base/third_party/dmg_fp/dtoa.cc k = n - 1; n 1959 base/third_party/dmg_fp/dtoa.cc rshift(b, n); n 1960 base/third_party/dmg_fp/dtoa.cc e += n; n 1962 base/third_party/dmg_fp/dtoa.cc else if (n < nbits) { n 1963 base/third_party/dmg_fp/dtoa.cc n = nbits - n; n 1964 base/third_party/dmg_fp/dtoa.cc b = lshift(b, n); n 1965 base/third_party/dmg_fp/dtoa.cc e -= n; n 1982 base/third_party/dmg_fp/dtoa.cc n = emin - e; n 1983 base/third_party/dmg_fp/dtoa.cc if (n >= nbits) { n 1987 base/third_party/dmg_fp/dtoa.cc if (n == nbits && (n < 2 || any_on(b,n-1))) n 2008 base/third_party/dmg_fp/dtoa.cc k = n - 1; n 2015 base/third_party/dmg_fp/dtoa.cc nbits -= n; n 2016 base/third_party/dmg_fp/dtoa.cc rshift(b,n); n 2047 base/third_party/dmg_fp/dtoa.cc || ((n = nbits & kmask) !=0 n 2048 base/third_party/dmg_fp/dtoa.cc && hi0bits(x[k-1]) < 32-n)) { n 2119 base/third_party/dmg_fp/dtoa.cc int n; n 2130 base/third_party/dmg_fp/dtoa.cc n = S->wds; n 2132 base/third_party/dmg_fp/dtoa.cc /*debug*/ if (b->wds > n) n 2135 base/third_party/dmg_fp/dtoa.cc if (b->wds < n) n 2138 base/third_party/dmg_fp/dtoa.cc sxe = sx + --n; n 2140 base/third_party/dmg_fp/dtoa.cc bxe = bx + n; n 2180 base/third_party/dmg_fp/dtoa.cc --n; n 2181 base/third_party/dmg_fp/dtoa.cc b->wds = n; n 2219 base/third_party/dmg_fp/dtoa.cc bxe = bx + n; n 2222 base/third_party/dmg_fp/dtoa.cc --n; n 2223 base/third_party/dmg_fp/dtoa.cc b->wds = n; n 3457 base/third_party/dmg_fp/dtoa.cc nrv_alloc(s, rve, n) char *s, **rve; int n; n 3459 base/third_party/dmg_fp/dtoa.cc nrv_alloc(CONST char *s, char **rve, int n) n 3464 base/third_party/dmg_fp/dtoa.cc t = rv = rv_alloc(n); n 34 base/third_party/dmg_fp/dtoa_wrapper.cc inline static void ACQUIRE_DTOA_LOCK(size_t n) { n 35 base/third_party/dmg_fp/dtoa_wrapper.cc DCHECK(n < 2); n 36 base/third_party/dmg_fp/dtoa_wrapper.cc base::Lock* lock = n == 0 ? dtoa_lock_0.Pointer() : dtoa_lock_1.Pointer(); n 40 base/third_party/dmg_fp/dtoa_wrapper.cc inline static void FREE_DTOA_LOCK(size_t n) { n 41 base/third_party/dmg_fp/dtoa_wrapper.cc DCHECK(n < 2); n 42 base/third_party/dmg_fp/dtoa_wrapper.cc base::Lock* lock = n == 0 ? dtoa_lock_0.Pointer() : dtoa_lock_1.Pointer(); n 987 base/third_party/nspr/prtime.cc int n = ((rest[0]-'0')*10 + n 999 base/third_party/nspr/prtime.cc if (date < 0 && n < 32) n 1000 base/third_party/nspr/prtime.cc date = n; n 1003 base/third_party/nspr/prtime.cc if (n < 70) n 1004 base/third_party/nspr/prtime.cc year = 2000 + n; n 1005 base/third_party/nspr/prtime.cc else if (n < 100) n 1006 base/third_party/nspr/prtime.cc year = 1900 + n; n 1008 base/third_party/nspr/prtime.cc year = n; n 168 base/third_party/symbolize/demangle.cc static bool AtLeastNumCharsRemaining(const char *str, int n) { n 169 base/third_party/symbolize/demangle.cc for (int i = 0; i < n; ++i) { n 639 base/third_party/symbolize/symbolize.cc size_t n = 1; n 640 base/third_party/symbolize/symbolize.cc if (n > sz) n 657 base/third_party/symbolize/symbolize.cc if (++n > sz) { n 669 base/third_party/symbolize/symbolize.cc if (++n > sz) { n 506 base/third_party/xdg_mime/xdgmime.c int n; n 519 base/third_party/xdg_mime/xdgmime.c n = _xdg_glob_hash_lookup_file_name (global_hash, base_name, mime_types, 5); n 521 base/third_party/xdg_mime/xdgmime.c if (n == 1) n 559 base/third_party/xdg_mime/xdgmime.c mime_types, n); n 814 base/third_party/xdg_mime/xdgmime.c int i, n; n 826 base/third_party/xdg_mime/xdgmime.c n = (i + 1) * sizeof (char *); n 827 base/third_party/xdg_mime/xdgmime.c result = (char **) malloc (n); n 828 base/third_party/xdg_mime/xdgmime.c memcpy (result, parents, n); n 276 base/third_party/xdg_mime/xdgmimecache.c int j, n; n 300 base/third_party/xdg_mime/xdgmimecache.c for (n = 0; n < n_mime_types; n++) n 302 base/third_party/xdg_mime/xdgmimecache.c if (mime_types[n] && n 303 base/third_party/xdg_mime/xdgmimecache.c _xdg_mime_mime_type_equal (mime_types[n], non_match)) n 304 base/third_party/xdg_mime/xdgmimecache.c mime_types[n] = NULL; n 415 base/third_party/xdg_mime/xdgmimecache.c int i, j, n; n 417 base/third_party/xdg_mime/xdgmimecache.c n = 0; n 425 base/third_party/xdg_mime/xdgmimecache.c for (j = 0; j < n_entries && n < n_mime_types; j++) n 439 base/third_party/xdg_mime/xdgmimecache.c mime_types[n].mime = mime_type; n 440 base/third_party/xdg_mime/xdgmimecache.c mime_types[n].weight = weight; n 441 base/third_party/xdg_mime/xdgmimecache.c n++; n 446 base/third_party/xdg_mime/xdgmimecache.c if (n > 0) n 447 base/third_party/xdg_mime/xdgmimecache.c return n; n 471 base/third_party/xdg_mime/xdgmimecache.c int min, max, mid, n, i; n 490 base/third_party/xdg_mime/xdgmimecache.c n = 0; n 496 base/third_party/xdg_mime/xdgmimecache.c n = cache_glob_node_lookup_suffix (cache, n 503 base/third_party/xdg_mime/xdgmimecache.c if (n == 0) n 506 base/third_party/xdg_mime/xdgmimecache.c while (n < n_mime_types && i < n_children) n 519 base/third_party/xdg_mime/xdgmimecache.c mime_types[n].mime = cache->buffer + mimetype_offset; n 520 base/third_party/xdg_mime/xdgmimecache.c mime_types[n].weight = weight; n 521 base/third_party/xdg_mime/xdgmimecache.c n++; n 526 base/third_party/xdg_mime/xdgmimecache.c return n; n 539 base/third_party/xdg_mime/xdgmimecache.c int i, n; n 549 base/third_party/xdg_mime/xdgmimecache.c n = cache_glob_node_lookup_suffix (cache, n 555 base/third_party/xdg_mime/xdgmimecache.c if (n > 0) n 556 base/third_party/xdg_mime/xdgmimecache.c return n; n 591 base/third_party/xdg_mime/xdgmimecache.c int n; n 604 base/third_party/xdg_mime/xdgmimecache.c n = cache_glob_lookup_literal (lower_case, mime_types, n_mime_types, FALSE); n 605 base/third_party/xdg_mime/xdgmimecache.c if (n > 0) n 608 base/third_party/xdg_mime/xdgmimecache.c return n; n 611 base/third_party/xdg_mime/xdgmimecache.c n = cache_glob_lookup_literal (file_name, mime_types, n_mime_types, TRUE); n 612 base/third_party/xdg_mime/xdgmimecache.c if (n > 0) n 615 base/third_party/xdg_mime/xdgmimecache.c return n; n 619 base/third_party/xdg_mime/xdgmimecache.c n = cache_glob_lookup_suffix (lower_case, len, FALSE, mimes, n_mimes); n 620 base/third_party/xdg_mime/xdgmimecache.c if (n == 0) n 621 base/third_party/xdg_mime/xdgmimecache.c n = cache_glob_lookup_suffix (file_name, len, TRUE, mimes, n_mimes); n 624 base/third_party/xdg_mime/xdgmimecache.c if (n == 0) n 625 base/third_party/xdg_mime/xdgmimecache.c n = cache_glob_lookup_fnmatch (lower_case, mimes, n_mimes, FALSE); n 626 base/third_party/xdg_mime/xdgmimecache.c if (n == 0) n 627 base/third_party/xdg_mime/xdgmimecache.c n = cache_glob_lookup_fnmatch (file_name, mimes, n_mimes, TRUE); n 631 base/third_party/xdg_mime/xdgmimecache.c qsort (mimes, n, sizeof (MimeWeight), compare_mime_weight); n 633 base/third_party/xdg_mime/xdgmimecache.c if (n_mime_types < n) n 634 base/third_party/xdg_mime/xdgmimecache.c n = n_mime_types; n 636 base/third_party/xdg_mime/xdgmimecache.c for (i = 0; i < n; i++) n 639 base/third_party/xdg_mime/xdgmimecache.c return n; n 669 base/third_party/xdg_mime/xdgmimecache.c int i, n, priority; n 695 base/third_party/xdg_mime/xdgmimecache.c for (n = 0; n < n_mime_types; n++) n 697 base/third_party/xdg_mime/xdgmimecache.c if (mime_types[n] && _xdg_mime_cache_mime_type_subclass(mime_types[n], mime_type)) n 698 base/third_party/xdg_mime/xdgmimecache.c return mime_types[n]; n 706 base/third_party/xdg_mime/xdgmimecache.c for (n = 0; n < n_mime_types; n++) n 708 base/third_party/xdg_mime/xdgmimecache.c if (mime_types[n]) n 709 base/third_party/xdg_mime/xdgmimecache.c return mime_types[n]; n 735 base/third_party/xdg_mime/xdgmimecache.c int n; n 744 base/third_party/xdg_mime/xdgmimecache.c n = cache_glob_lookup_file_name (base_name, mime_types, 10); n 746 base/third_party/xdg_mime/xdgmimecache.c if (n == 1) n 787 base/third_party/xdg_mime/xdgmimecache.c mime_types, n); n 324 base/third_party/xdg_mime/xdgmimeglob.c int n; n 338 base/third_party/xdg_mime/xdgmimeglob.c n = 0; n 341 base/third_party/xdg_mime/xdgmimeglob.c n = _xdg_glob_hash_node_lookup_file_name (node->child, n 348 base/third_party/xdg_mime/xdgmimeglob.c if (n == 0) n 354 base/third_party/xdg_mime/xdgmimeglob.c mime_types[n].mime = node->mime_type; n 355 base/third_party/xdg_mime/xdgmimeglob.c mime_types[n].weight = node->weight; n 356 base/third_party/xdg_mime/xdgmimeglob.c n++; n 359 base/third_party/xdg_mime/xdgmimeglob.c while (n < n_mime_types && node && node->character == 0) n 365 base/third_party/xdg_mime/xdgmimeglob.c mime_types[n].mime = node->mime_type; n 366 base/third_party/xdg_mime/xdgmimeglob.c mime_types[n].weight = node->weight; n 367 base/third_party/xdg_mime/xdgmimeglob.c n++; n 372 base/third_party/xdg_mime/xdgmimeglob.c return n; n 410 base/third_party/xdg_mime/xdgmimeglob.c int i, n; n 420 base/third_party/xdg_mime/xdgmimeglob.c n = 0; n 447 base/third_party/xdg_mime/xdgmimeglob.c n = _xdg_glob_hash_node_lookup_file_name (glob_hash->simple_node, lower_case, len, FALSE, n 449 base/third_party/xdg_mime/xdgmimeglob.c if (n == 0) n 450 base/third_party/xdg_mime/xdgmimeglob.c n = _xdg_glob_hash_node_lookup_file_name (glob_hash->simple_node, file_name, len, TRUE, n 453 base/third_party/xdg_mime/xdgmimeglob.c if (n == 0) n 455 base/third_party/xdg_mime/xdgmimeglob.c for (list = glob_hash->full_list; list && n < n_mime_types; list = list->next) n 459 base/third_party/xdg_mime/xdgmimeglob.c mimes[n].mime = list->mime_type; n 460 base/third_party/xdg_mime/xdgmimeglob.c mimes[n].weight = list->weight; n 461 base/third_party/xdg_mime/xdgmimeglob.c n++; n 467 base/third_party/xdg_mime/xdgmimeglob.c qsort (mimes, n, sizeof (MimeWeight), compare_mime_weight); n 469 base/third_party/xdg_mime/xdgmimeglob.c if (n_mime_types < n) n 470 base/third_party/xdg_mime/xdgmimeglob.c n = n_mime_types; n 472 base/third_party/xdg_mime/xdgmimeglob.c for (i = 0; i < n; i++) n 475 base/third_party/xdg_mime/xdgmimeglob.c return n; n 665 base/third_party/xdg_mime/xdgmimemagic.c int n; n 680 base/third_party/xdg_mime/xdgmimemagic.c for (n = 0; n < n_mime_types; n++) n 682 base/third_party/xdg_mime/xdgmimemagic.c if (mime_types[n] && n 683 base/third_party/xdg_mime/xdgmimemagic.c _xdg_mime_mime_type_equal (mime_types[n], match->mime_type)) n 684 base/third_party/xdg_mime/xdgmimemagic.c mime_types[n] = NULL; n 691 base/third_party/xdg_mime/xdgmimemagic.c for (n = 0; n < n_mime_types; n++) n 693 base/third_party/xdg_mime/xdgmimemagic.c if (mime_types[n]) n 694 base/third_party/xdg_mime/xdgmimemagic.c mime_type = mime_types[n]; n 44 base/threading/platform_thread_unittest.cc for (size_t n = 0; n < arraysize(thread); n++) n 45 base/threading/platform_thread_unittest.cc ASSERT_FALSE(thread[n].did_run()); n 46 base/threading/platform_thread_unittest.cc for (size_t n = 0; n < arraysize(thread); n++) n 47 base/threading/platform_thread_unittest.cc ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n])); n 48 base/threading/platform_thread_unittest.cc for (size_t n = 0; n < arraysize(thread); n++) n 49 base/threading/platform_thread_unittest.cc PlatformThread::Join(handle[n]); n 50 base/threading/platform_thread_unittest.cc for (size_t n = 0; n < arraysize(thread); n++) n 51 base/threading/platform_thread_unittest.cc ASSERT_TRUE(thread[n].did_run()); n 101 base/threading/platform_thread_unittest.cc for (size_t n = 0; n < arraysize(thread); n++) n 102 base/threading/platform_thread_unittest.cc ASSERT_FALSE(thread[n].did_run()); n 103 base/threading/platform_thread_unittest.cc for (size_t n = 0; n < arraysize(thread); n++) n 104 base/threading/platform_thread_unittest.cc ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n])); n 105 base/threading/platform_thread_unittest.cc for (size_t n = 0; n < arraysize(thread); n++) n 106 base/threading/platform_thread_unittest.cc PlatformThread::Join(handle[n]); n 107 base/threading/platform_thread_unittest.cc for (size_t n = 0; n < arraysize(thread); n++) { n 108 base/threading/platform_thread_unittest.cc ASSERT_TRUE(thread[n].did_run()); n 109 base/threading/platform_thread_unittest.cc EXPECT_NE(thread[n].thread_id(), main_thread_id); n 112 base/threading/platform_thread_unittest.cc for (size_t i = 0; i < n; ++i) { n 113 base/threading/platform_thread_unittest.cc EXPECT_NE(thread[i].thread_id(), thread[n].thread_id()); n 69 cc/animation/animation.h void set_iterations(int n) { iterations_ = n; } n 14 cc/base/util.h template <typename T> T RoundUp(T n, T mul) { n 16 cc/base/util.h return (n > 0) ? ((n + mul - 1) / mul) * mul n 17 cc/base/util.h : (n / mul) * mul; n 20 cc/base/util.h template <typename T> T RoundDown(T n, T mul) { n 22 cc/base/util.h return (n > 0) ? (n / mul) * mul n 23 cc/base/util.h : (n == 0) ? 0 n 24 cc/base/util.h : ((n - mul + 1) / mul) * mul; n 38 cc/debug/frame_rate_counter.cc base::TimeDelta FrameRateCounter::RecentFrameInterval(size_t n) const { n 39 cc/debug/frame_rate_counter.cc DCHECK_GT(n, 0u); n 40 cc/debug/frame_rate_counter.cc DCHECK_LT(n, ring_buffer_.BufferSize()); n 41 cc/debug/frame_rate_counter.cc return ring_buffer_.ReadBuffer(n) - ring_buffer_.ReadBuffer(n - 1); n 29 cc/debug/frame_rate_counter.h base::TimeDelta RecentFrameInterval(size_t n) const; n 24 cc/debug/paint_time_counter.h base::TimeDelta GetPaintTimeOfRecentFrame(const size_t& n) const; n 28 cc/debug/ring_buffer.h bool IsFilledIndex(size_t n) const { n 29 cc/debug/ring_buffer.h return BufferIndex(n) < current_index_; n 34 cc/debug/ring_buffer.h const T& ReadBuffer(size_t n) const { n 35 cc/debug/ring_buffer.h DCHECK(IsFilledIndex(n)); n 36 cc/debug/ring_buffer.h return buffer_[BufferIndex(n)]; n 39 cc/debug/ring_buffer.h T* MutableReadBuffer(size_t n) { n 40 cc/debug/ring_buffer.h DCHECK(IsFilledIndex(n)); n 41 cc/debug/ring_buffer.h return &buffer_[BufferIndex(n)]; n 110 cc/debug/ring_buffer.h inline size_t BufferIndex(size_t n) const { n 111 cc/debug/ring_buffer.h return (current_index_ + n) % kSize; n 34 cc/resources/raster_worker_pool_perftest.cc virtual void GenBuffers(GLsizei n, GLuint* buffers) OVERRIDE { n 35 cc/resources/raster_worker_pool_perftest.cc for (GLsizei i = 0; i < n; ++i) n 38 cc/resources/raster_worker_pool_perftest.cc virtual void GenTextures(GLsizei n, GLuint* textures) OVERRIDE { n 39 cc/resources/raster_worker_pool_perftest.cc for (GLsizei i = 0; i < n; ++i) n 19 cc/test/test_gles2_interface.cc void TestGLES2Interface::GenTextures(GLsizei n, GLuint* textures) { n 20 cc/test/test_gles2_interface.cc for (GLsizei i = 0; i < n; ++i) { n 25 cc/test/test_gles2_interface.cc void TestGLES2Interface::GenBuffers(GLsizei n, GLuint* buffers) { n 26 cc/test/test_gles2_interface.cc for (GLsizei i = 0; i < n; ++i) { n 31 cc/test/test_gles2_interface.cc void TestGLES2Interface::GenFramebuffers(GLsizei n, GLuint* framebuffers) { n 32 cc/test/test_gles2_interface.cc for (GLsizei i = 0; i < n; ++i) { n 37 cc/test/test_gles2_interface.cc void TestGLES2Interface::GenQueriesEXT(GLsizei n, GLuint* queries) { n 38 cc/test/test_gles2_interface.cc for (GLsizei i = 0; i < n; ++i) { n 43 cc/test/test_gles2_interface.cc void TestGLES2Interface::DeleteTextures(GLsizei n, const GLuint* textures) { n 44 cc/test/test_gles2_interface.cc for (GLsizei i = 0; i < n; ++i) { n 49 cc/test/test_gles2_interface.cc void TestGLES2Interface::DeleteBuffers(GLsizei n, const GLuint* buffers) { n 50 cc/test/test_gles2_interface.cc for (GLsizei i = 0; i < n; ++i) { n 55 cc/test/test_gles2_interface.cc void TestGLES2Interface::DeleteFramebuffers(GLsizei n, n 57 cc/test/test_gles2_interface.cc for (GLsizei i = 0; i < n; ++i) { n 62 cc/test/test_gles2_interface.cc void TestGLES2Interface::DeleteQueriesEXT(GLsizei n, const GLuint* queries) { n 63 cc/test/test_gles2_interface.cc for (GLsizei i = 0; i < n; ++i) { n 18 cc/test/test_gles2_interface.h virtual void GenTextures(GLsizei n, GLuint* textures) OVERRIDE; n 19 cc/test/test_gles2_interface.h virtual void GenBuffers(GLsizei n, GLuint* buffers) OVERRIDE; n 20 cc/test/test_gles2_interface.h virtual void GenFramebuffers(GLsizei n, GLuint* framebuffers) OVERRIDE; n 21 cc/test/test_gles2_interface.h virtual void GenQueriesEXT(GLsizei n, GLuint* queries) OVERRIDE; n 23 cc/test/test_gles2_interface.h virtual void DeleteTextures(GLsizei n, const GLuint* textures) OVERRIDE; n 24 cc/test/test_gles2_interface.h virtual void DeleteBuffers(GLsizei n, const GLuint* buffers) OVERRIDE; n 25 cc/test/test_gles2_interface.h virtual void DeleteFramebuffers(GLsizei n, n 27 cc/test/test_gles2_interface.h virtual void DeleteQueriesEXT(GLsizei n, const GLuint* queries) OVERRIDE; n 251 cc/trees/layer_sorter.cc float n = -gfx::DotProduct(layer_normal, w); n 261 cc/trees/layer_sorter.cc return n / d; n 243 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java for (int n = 0; n < encodedPrincipals.length; n++) { n 244 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java principals[n] = new X500Principal(encodedPrincipals[n]); n 108 chrome/browser/autofill/form_structure_browsertest.cc #define MAYBE_DataDrivenHeuristics(n) DISABLED_DataDrivenHeuristics##n n 110 chrome/browser/autofill/form_structure_browsertest.cc #define MAYBE_DataDrivenHeuristics(n) DataDrivenHeuristics##n n 166 chrome/browser/chromeos/external_metrics.cc int n = sscanf(histogram_data, "%127s %d %d %d %d", n 168 chrome/browser/chromeos/external_metrics.cc if (n != 5) { n 190 chrome/browser/chromeos/external_metrics.cc int n = sscanf(histogram_data, "%127s %d %d", name, &sample, &max); n 191 chrome/browser/chromeos/external_metrics.cc if (n != 3) { n 211 chrome/browser/chromeos/external_metrics.cc int n = sscanf(histogram_data, "%127s %d", name, &sample); n 212 chrome/browser/chromeos/external_metrics.cc if (n != 2) { n 319 chrome/browser/chromeos/options/vpn_config_view.cc base::string16::size_type n = server.find_first_of(L'.'); n 320 chrome/browser/chromeos/options/vpn_config_view.cc service_name_from_server_ = server.substr(0, n); n 32 chrome/browser/devtools/adb/android_rsa.cc uint32 n[kRSANumWords]; // modulus as little endian array n 220 chrome/browser/devtools/adb/android_rsa.cc uint32* n = BnNew(); n 229 chrome/browser/devtools/adb/android_rsa.cc n[kRSANumWords - i - 1] = t; n 231 chrome/browser/devtools/adb/android_rsa.cc uint64 n0 = n[0]; n 244 chrome/browser/devtools/adb/android_rsa.cc BnDiv(r, n, NULL, &rr); n 247 chrome/browser/devtools/adb/android_rsa.cc pkey.n[i] = n[i]; n 251 chrome/browser/devtools/adb/android_rsa.cc BnFree(n); n 18 chrome/browser/extensions/api/declarative_webrequest/request_stage.cc template <long unsigned int n> n 20 chrome/browser/extensions/api/declarative_webrequest/request_stage.cc COMPILE_ASSERT(n > 0, argument_is_not_a_positive_compile_time_constant); n 21 chrome/browser/extensions/api/declarative_webrequest/request_stage.cc enum { VALUE = HighestBit<(n >> 1)>::VALUE << 1 }; n 35 chrome/browser/extensions/api/system_storage/system_storage_apitest.cc size_t n); n 48 chrome/browser/extensions/api/system_storage/system_storage_apitest.cc const struct TestStorageUnitInfo* testing_data, size_t n) n 49 chrome/browser/extensions/api/system_storage/system_storage_apitest.cc : testing_data_(testing_data, testing_data + n) { n 251 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc for (size_t i = 0, n = s.size(); i < n; ++i) { n 299 chrome/browser/extensions/updater/local_extension_cache.cc size_t n = basename.find('-'); n 300 chrome/browser/extensions/updater/local_extension_cache.cc if (n != std::string::npos && n + 1 < basename.size() - 4) { n 301 chrome/browser/extensions/updater/local_extension_cache.cc id = basename.substr(0, n); n 303 chrome/browser/extensions/updater/local_extension_cache.cc version = basename.substr(n + 1, basename.size() - 5 - id.size()); n 53 chrome/browser/history/history_querying_unittest.cc int n, // Result index to check. n 55 chrome/browser/history/history_querying_unittest.cc if (static_cast<int>(results.size()) <= n) n 58 chrome/browser/history/history_querying_unittest.cc const URLResult& result = results[n]; n 170 chrome/browser/io_thread.cc int n; n 171 chrome/browser/io_thread.cc if (base::StringToInt(s, &n) && n > 0) { n 172 chrome/browser/io_thread.cc options.max_concurrent_resolves = static_cast<size_t>(n); n 183 chrome/browser/io_thread.cc int n; n 184 chrome/browser/io_thread.cc if (base::StringToInt(s, &n) && n >= 0) { n 185 chrome/browser/io_thread.cc options.max_retry_attempts = static_cast<size_t>(n); n 97 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc size_t n) { n 98 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc for (size_t i = 0; i < n; ++i) { n 19 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc void Increment(int *n) { n 20 chrome/browser/metrics/variations/variations_request_scheduler_mobile_unittest.cc (*n)++; n 124 chrome/browser/net/proxy_service_factory.cc int n; n 125 chrome/browser/net/proxy_service_factory.cc if (base::StringToInt(s, &n) && n > 0) { n 126 chrome/browser/net/proxy_service_factory.cc num_pac_threads = static_cast<size_t>(n); n 101 chrome/browser/safe_browsing/download_feedback_service_unittest.cc void DownloadFeedbackDeleted(size_t n) { n 102 chrome/browser/safe_browsing/download_feedback_service_unittest.cc feedbacks_[n] = NULL; n 105 chrome/browser/safe_browsing/download_feedback_service_unittest.cc FakeDownloadFeedback* feedback(size_t n) const { n 106 chrome/browser/safe_browsing/download_feedback_service_unittest.cc return feedbacks_[n]; n 149 chrome/browser/safe_browsing/download_feedback_service_unittest.cc base::FilePath CreateTestFile(int n) const { n 151 chrome/browser/safe_browsing/download_feedback_service_unittest.cc temp_dir_.path().AppendASCII("test file " + base::IntToString(n))); n 159 chrome/browser/safe_browsing/download_feedback_service_unittest.cc FakeDownloadFeedback* feedback(size_t n) const { n 160 chrome/browser/safe_browsing/download_feedback_service_unittest.cc return download_feedback_factory_.feedback(n); n 17 chrome/browser/safe_browsing/safe_browsing_store.cc CTI n = beg++; n 18 chrome/browser/safe_browsing/safe_browsing_store.cc if (less(*beg, *n)) n 318 chrome/browser/safe_browsing/safe_browsing_store_file.cc CTI n = beg++; n 319 chrome/browser/safe_browsing/safe_browsing_store_file.cc DCHECK(!less(*beg, *n)); n 320 chrome/browser/safe_browsing/safe_browsing_store_file.cc if (less(*beg, *n)) n 62 chrome/browser/safe_browsing/safe_browsing_util.cc SBListChunkRanges::SBListChunkRanges(const std::string& n) : name(n) {} n 93 chrome/browser/safe_browsing/safe_browsing_util.h SBChunk& operator[](size_t n) { return chunks_[n]; } n 94 chrome/browser/safe_browsing/safe_browsing_util.h const SBChunk& operator[](size_t n) const { return chunks_[n]; } n 114 chrome/browser/safe_browsing/safe_browsing_util.h explicit SBListChunkRanges(const std::string& n); n 61 chrome/browser/sync/glue/generic_change_processor_unittest.cc void BuildChildNodes(int n) { n 66 chrome/browser/sync/glue/generic_change_processor_unittest.cc for (int i = 0; i < n; ++i) { n 2009 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* n = nodes.front(); n 2012 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc int64 version = n->sync_transaction_version(); n 2015 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc (*node_versions)[n->id()] = version; n 2016 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc for (int i = 0; i < n->child_count(); ++i) n 2017 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc nodes.push(n->GetChild(i)); n 1172 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc SessionID::id_type n[] = {5}; n 1174 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc std::vector<SessionID::id_type> tab_list(n, n + arraysize(n)); n 1676 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc SessionID::id_type n[] = {5}; n 1678 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc std::vector<SessionID::id_type> tab_list(n, n + arraysize(n)); n 1705 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc SessionID::id_type n[] = {5}; n 1707 chrome/browser/sync/sessions2/sessions_sync_manager_unittest.cc std::vector<SessionID::id_type> tab_list(n, n + arraysize(n)); n 64 chrome/browser/sync/test/integration/multiple_client_dictionary_sync_test.cc const int n = num_clients(); n 71 chrome/browser/sync/test/integration/multiple_client_dictionary_sync_test.cc (MAX_SYNCABLE_DICTIONARY_WORDS + n) / n; n 74 chrome/browser/sync/test/integration/multiple_client_dictionary_sync_test.cc for (int i = 0; i < n; ++i) { n 95 chrome/browser/sync/test/integration/multiple_client_dictionary_sync_test.cc for (int i = 0; i < n-1; ++i) { n 105 chrome/browser/sync/test/integration/multiple_client_dictionary_sync_test.cc for (int i = 0; i < n-1; ++i) { n 107 chrome/browser/sync/test/integration/multiple_client_dictionary_sync_test.cc ASSERT_TRUE(AwaitNumDictionaryEntries(i, initial_words*(n-1))); n 111 chrome/browser/sync/test/integration/multiple_client_dictionary_sync_test.cc ASSERT_EQ(initial_words, dictionary_helper::GetDictionarySize(n-1)); n 112 chrome/browser/sync/test/integration/multiple_client_dictionary_sync_test.cc ASSERT_TRUE(GetClient(n-1)->EnableSyncForAllDatatypes()); n 117 chrome/browser/sync/test/integration/multiple_client_dictionary_sync_test.cc ASSERT_TRUE(AwaitNumDictionaryEntries(n-1, initial_words*n)); n 120 chrome/browser/sync/test/integration/multiple_client_dictionary_sync_test.cc for (int i = 0; i < n-1; ++i) { n 67 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc const std::string IntToGUID(int n); n 73 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc const std::string IntToName(int n); n 79 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc const std::string IntToValue(int n); n 141 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc const std::string AutofillSyncPerfTest::IntToGUID(int n) { n 142 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc return base::StringPrintf("00000000-0000-0000-0000-%012X", n); n 149 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc const std::string AutofillSyncPerfTest::IntToName(int n) { n 150 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc return base::StringPrintf("Name%d", n); n 157 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc const std::string AutofillSyncPerfTest::IntToValue(int n) { n 158 chrome/browser/sync/test/integration/performance/autofill_sync_perf_test.cc return base::StringPrintf("Value%d", n); n 46 chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc GURL IntToURL(int n); n 114 chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc GURL SessionsSyncPerfTest::IntToURL(int n) { n 115 chrome/browser/sync/test/integration/performance/sessions_sync_perf_test.cc return GURL(base::StringPrintf("http://localhost/%d", n)); n 55 chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc GURL IntToURL(int n); n 93 chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc GURL TypedUrlsSyncPerfTest::IntToURL(int n) { n 94 chrome/browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc return GURL(base::StringPrintf("http://history%d.google.com/", n)); n 338 chrome/browser/sync/test/integration/sessions_helper.cc for (size_t n = 0; n < client0_tab->navigations.size(); ++n) { n 339 chrome/browser/sync/test/integration/sessions_helper.cc if (!NavigationEquals(client0_tab->navigations[n], n 340 chrome/browser/sync/test/integration/sessions_helper.cc client1_tab->navigations[n])) { n 63 chrome/browser/ui/android/ssl_client_certificate_request.cc for (size_t n = 0; n < cert_request_info->cert_key_types.size(); ++n) { n 64 chrome/browser/ui/android/ssl_client_certificate_request.cc switch (cert_request_info->cert_key_types[n]) { n 175 chrome/browser/ui/android/ssl_client_certificate_request.cc for (size_t n = 0; n < encoded_chain_strings.size(); ++n) n 176 chrome/browser/ui/android/ssl_client_certificate_request.cc encoded_chain.push_back(encoded_chain_strings[n]); n 44 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h CharRange(int n, int x) : cp_min(n), cp_max(x) { } n 218 chrome/browser/ui/hung_plugin_tab_helper.cc PluginState(const base::FilePath& p, const base::string16& n); n 247 chrome/browser/ui/hung_plugin_tab_helper.cc const base::string16& n) n 249 chrome/browser/ui/hung_plugin_tab_helper.cc name(n), n 72 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc const size_t n = processes->GetSize(); n 73 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc for (size_t i = 0; i < n; ++i) { n 181 chrome/common/crash_keys.cc int n = base::snprintf( n 183 chrome/common/crash_keys.cc DCHECK_GT(n, 0); n 195 chrome/common/crash_keys.cc int n = base::snprintf( n 197 chrome/common/crash_keys.cc DCHECK_GT(n, 0); n 210 chrome/common/crash_keys.cc int n = base::snprintf( n 212 chrome/common/crash_keys.cc DCHECK_GT(n, 0); n 119 chrome/utility/media_galleries/pmp_column_reader_unittest.cc uint32 n = 100; n 120 chrome/utility/media_galleries/pmp_column_reader_unittest.cc std::vector<T> data(n, 0); n 121 chrome/utility/media_galleries/pmp_column_reader_unittest.cc for (uint32 i = 0; i < n; i++) { n 44 chromeos/network/network_event_log_unittest.cc size_t n = lines[i].find(']'); n 45 chromeos/network/network_event_log_unittest.cc if (n != std::string::npos) n 46 chromeos/network/network_event_log_unittest.cc output += "[time] " + lines[i].substr(n+2) + '\n'; n 202 components/rappor/byte_vector_utils.cc size_t n = std::min(bytes_to_go, n 204 components/rappor/byte_vector_utils.cc memcpy(data, &value_[requested_byte_in_digest], n); n 205 components/rappor/byte_vector_utils.cc data += n; n 206 components/rappor/byte_vector_utils.cc bytes_to_go -= n; n 207 components/rappor/byte_vector_utils.cc generated_bytes_ += n; n 172 content/browser/gpu/browser_gpu_channel_host_factory.cc for (size_t n = 0; n < established_callbacks_.size(); n++) n 173 content/browser/gpu/browser_gpu_channel_host_factory.cc established_callbacks_[n].Run(); n 368 content/browser/gpu/browser_gpu_channel_host_factory.cc for (size_t n = 0; n < established_callbacks_.size(); n++) n 369 content/browser/gpu/browser_gpu_channel_host_factory.cc established_callbacks_[n].Run(); n 1527 content/browser/indexed_db/indexed_db_backing_store.cc int64 n = static_cast<int64>(user_key->number()); n 1528 content/browser/indexed_db/indexed_db_backing_store.cc if (n > max_numeric_key) n 1529 content/browser/indexed_db/indexed_db_backing_store.cc max_numeric_key = n; n 850 content/browser/indexed_db/indexed_db_dispatcher_host.cc int n) { n 859 content/browser/indexed_db/indexed_db_dispatcher_host.cc n, n 229 content/browser/indexed_db/indexed_db_dispatcher_host.h int n); n 252 content/browser/indexed_db/indexed_db_leveldb_coding.cc uint64 n = static_cast<uint64>(value); n 255 content/browser/indexed_db/indexed_db_leveldb_coding.cc unsigned char c = n; n 257 content/browser/indexed_db/indexed_db_leveldb_coding.cc n >>= 8; n 258 content/browser/indexed_db/indexed_db_leveldb_coding.cc } while (n); n 266 content/browser/indexed_db/indexed_db_leveldb_coding.cc uint64 n = static_cast<uint64>(value); n 269 content/browser/indexed_db/indexed_db_leveldb_coding.cc unsigned char c = n & 0x7f; n 270 content/browser/indexed_db/indexed_db_leveldb_coding.cc n >>= 7; n 271 content/browser/indexed_db/indexed_db_leveldb_coding.cc if (n) n 274 content/browser/indexed_db/indexed_db_leveldb_coding.cc } while (n); n 76 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc unsigned char n = test_cases[i]; n 78 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EncodeByte(n, &v); n 84 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EXPECT_EQ(n, res); n 230 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc int64 n = test_cases[i]; n 231 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string v = WrappedEncodeInt(n); n 236 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EXPECT_EQ(n, value); n 243 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EXPECT_EQ(n, value); n 287 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc int64 n = test_cases[i]; n 288 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string v = WrappedEncodeVarInt(n); n 293 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EXPECT_EQ(n, res); n 306 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc EXPECT_EQ(n, res); n 905 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc unsigned char n = test_cases[i]; n 907 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string vA = WrappedEncodeByte(n); n 908 content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc std::string vB = WrappedEncodeVarInt(static_cast<int64>(n)); n 175 content/browser/renderer_host/media/midi_host.cc void MidiHost::AccumulateMidiBytesSent(size_t n) { n 178 content/browser/renderer_host/media/midi_host.cc if (n <= sent_bytes_in_flight_) n 179 content/browser/renderer_host/media/midi_host.cc sent_bytes_in_flight_ -= n; n 182 content/browser/renderer_host/media/midi_host.cc if (bytes_sent_since_last_acknowledgement_ + n >= n 184 content/browser/renderer_host/media/midi_host.cc bytes_sent_since_last_acknowledgement_ += n; n 43 content/browser/renderer_host/media/midi_host.h virtual void AccumulateMidiBytesSent(size_t n) OVERRIDE; n 548 content/browser/renderer_host/render_widget_host_view_android.cc size_t n = range.length(); n 550 content/browser/renderer_host/render_widget_host_view_android.cc DCHECK(pos + n <= text.length()) << "The text can not fully cover range."; n 556 content/browser/renderer_host/render_widget_host_view_android.cc std::string utf8_selection = base::UTF16ToUTF8(text.substr(pos, n)); n 1070 content/browser/renderer_host/render_widget_host_view_aura.cc size_t n = range.length(); n 1072 content/browser/renderer_host/render_widget_host_view_aura.cc DCHECK(pos + n <= text.length()) << "The text can not fully cover range."; n 1082 content/browser/renderer_host/render_widget_host_view_aura.cc clipboard_writer.WriteText(text.substr(pos, n)); n 960 content/browser/renderer_host/render_widget_host_view_gtk.cc size_t n = range.length(); n 962 content/browser/renderer_host/render_widget_host_view_gtk.cc DCHECK(pos + n <= text.length()) << "The text can not fully cover range."; n 972 content/browser/renderer_host/render_widget_host_view_gtk.cc clipboard_writer.WriteText(text.substr(pos, n)); n 204 content/child/indexed_db/indexed_db_dispatcher.cc int n, n 211 content/child/indexed_db/indexed_db_dispatcher.cc ipc_cursor_id, CurrentWorkerId(), ipc_callbacks_id, n)); n 100 content/child/indexed_db/indexed_db_dispatcher.h virtual void RequestIDBCursorPrefetch(int n, n 39 content/child/indexed_db/webidbcursor_impl_unittest.cc virtual void RequestIDBCursorPrefetch(int n, n 43 content/child/indexed_db/webidbcursor_impl_unittest.cc last_prefetch_count_ = n; n 33 content/common/child_process_sandbox_support_impl_linux.cc const ssize_t n = UnixDomainSocket::SendRecvMsg(GetSandboxFD(), buf, n 39 content/common/child_process_sandbox_support_impl_linux.cc if (n != -1) { n 40 content/common/child_process_sandbox_support_impl_linux.cc Pickle reply(reinterpret_cast<char*>(buf), n); n 62 content/common/child_process_sandbox_support_impl_linux.cc const ssize_t n = UnixDomainSocket::SendRecvMsg(GetSandboxFD(), buf, n 66 content/common/child_process_sandbox_support_impl_linux.cc if (n == -1) { n 70 content/common/child_process_sandbox_support_impl_linux.cc Pickle reply(reinterpret_cast<char*>(buf), n); n 128 content/common/child_process_sandbox_support_impl_linux.cc ssize_t n = HANDLE_EINTR(pread(fd, &num_tables, sizeof(num_tables), n 130 content/common/child_process_sandbox_support_impl_linux.cc if (n != sizeof(num_tables)) n 139 content/common/child_process_sandbox_support_impl_linux.cc n = HANDLE_EINTR(pread(fd, table_entries.get(), directory_size, n 141 content/common/child_process_sandbox_support_impl_linux.cc if (n != base::checked_cast<ssize_t>(directory_size)) n 175 content/common/child_process_sandbox_support_impl_linux.cc ssize_t n = HANDLE_EINTR(pread(fd, output, data_length, data_offset)); n 176 content/common/child_process_sandbox_support_impl_linux.cc if (n != base::checked_cast<ssize_t>(data_length)) n 16 content/common/edit_command.h EditCommand(const std::string& n, const std::string& v) n 17 content/common/edit_command.h : name(n), value(v) { n 39 content/common/gpu/client/gl_helper.h typedef void (gpu::gles2::GLES2Interface::*GenFunc)(GLsizei n, GLuint* ids); n 40 content/common/gpu/client/gl_helper.h typedef void (gpu::gles2::GLES2Interface::*DeleteFunc)(GLsizei n, n 644 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h WGC3Dsizei n, n 39 content/common/gpu/gpu_memory_manager.cc T RoundUp(T n, T mul) { n 40 content/common/gpu/gpu_memory_manager.cc return ((n + mul - 1) / mul) * mul; n 44 content/common/gpu/gpu_memory_manager.cc T RoundDown(T n, T mul) { n 45 content/common/gpu/gpu_memory_manager.cc return (n / mul) * mul; n 1283 content/common/gpu/media/video_decode_accelerator_unittest.cc for (int n = 0; n < num_play_throughs; ++n) { n 1286 content/common/gpu/media/video_decode_accelerator_unittest.cc if (n > 0) { n 89 content/public/common/webplugininfo.cc size_t n = numbers[i].size(); n 91 content/public/common/webplugininfo.cc while (j < n && numbers[i][j] == '0') { n 94 content/public/common/webplugininfo.cc no_leading_zeros_version += (j < n) ? numbers[i].substr(j) : "0"; n 202 content/renderer/media/midi_message_filter.cc size_t n = data.size(); n 203 content/renderer/media/midi_message_filter.cc if (n > kMaxUnacknowledgedBytesSent || n 205 content/renderer/media/midi_message_filter.cc n + unacknowledged_bytes_sent_ > kMaxUnacknowledgedBytesSent) { n 211 content/renderer/media/midi_message_filter.cc unacknowledged_bytes_sent_ += n; n 78 content/shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc for (size_t n = 0; n < regions.size(); ++n) { n 79 content/shell/android/linker_test_apk/chromium_linker_test_linker_tests.cc MappedMemoryRegion& region = regions[n]; n 69 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java for (int n = 0; n < cmdline.length; ++n) { n 70 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java Log.i(TAG, " '" + cmdline[n] + "'"); n 71 content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestActivity.java if (cmdline[n].equals(LOW_MEMORY_DEVICE)) n 159 courgette/adjustment_method.cc for (Node* n = node; n->prev_; n = n->prev_) n 160 courgette/adjustment_method.cc prefix.push_back(ToString(n->in_edge_)); n 987 courgette/adjustment_method_2.cc size_t n = single_use_pattern_queue_.erase(pattern); n 988 courgette/adjustment_method_2.cc LOG_ASSERT(n == 1); n 55 courgette/memory_monitor.cc size_t n = p->second; n 56 courgette/memory_monitor.cc if (n) { n 57 courgette/memory_monitor.cc if (s*n >= 64*1024) n 58 courgette/memory_monitor.cc if (n == 1) n 61 courgette/memory_monitor.cc base::StringAppendF(&o, " %s*%u", fmt(s).c_str(), n); n 62 courgette/memory_monitor.cc sum += s*n; n 314 crypto/curve25519-donna.c #define F(n,start,shift,mask) \ n 315 crypto/curve25519-donna.c output[n] = ((((limb) input[start + 0]) | \ n 451 crypto/curve25519-donna.c cmult(limb *resultx, limb *resultz, const u8 *n, const limb *q) { n 462 crypto/curve25519-donna.c u8 byte = n[31 - i]; n 234 crypto/ghash.cc const size_t n = std::min(length, sizeof(buf_) - buf_used_); n 235 crypto/ghash.cc memcpy(&buf_[buf_used_], data, n); n 236 crypto/ghash.cc buf_used_ += n; n 237 crypto/ghash.cc length -= n; n 238 crypto/ghash.cc data += n; n 247 crypto/ghash.cc const size_t n = length / 16; n 248 crypto/ghash.cc UpdateBlocks(data, n); n 249 crypto/ghash.cc length -= n*16; n 250 crypto/ghash.cc data += n*16; n 131 crypto/ghash_unittest.cc size_t n = std::min(test.additional_length - i, chunk_size); n 132 crypto/ghash_unittest.cc hash.UpdateAdditional(test.additional + i, n); n 133 crypto/ghash_unittest.cc i += n; n 136 crypto/ghash_unittest.cc size_t n = std::min(test.ciphertext_length - i, chunk_size); n 137 crypto/ghash_unittest.cc hash.UpdateCiphertext(test.ciphertext + i, n); n 138 crypto/ghash_unittest.cc i += n; n 45 crypto/hkdf.cc const size_t n = (material_length + kSHA256HashLength-1) / n 47 crypto/hkdf.cc DCHECK_LT(n, 256u); n 49 crypto/hkdf.cc output_.resize(n * kSHA256HashLength); n 59 crypto/hkdf.cc for (size_t i = 0; i < n; i++) { n 52 crypto/openpgp_symmetric_encryption.cc bool Prefix(size_t n, base::StringPiece *out) { n 53 crypto/openpgp_symmetric_encryption.cc if (data_.size() < n) n 55 crypto/openpgp_symmetric_encryption.cc *out = base::StringPiece(data_.data(), n); n 56 crypto/openpgp_symmetric_encryption.cc data_.remove_prefix(n); n 78 crypto/openpgp_symmetric_encryption.cc bool Skip(size_t n) { n 79 crypto/openpgp_symmetric_encryption.cc if (data_.size() < n) n 81 crypto/openpgp_symmetric_encryption.cc data_.remove_prefix(n); n 72 crypto/openssl_util.cc static void LockingCallback(int mode, int n, const char* file, int line) { n 73 crypto/openssl_util.cc OpenSSLInitSingleton::GetInstance()->OnLockingCallback(mode, n, file, line); n 76 crypto/openssl_util.cc void OnLockingCallback(int mode, int n, const char* file, int line) { n 77 crypto/openssl_util.cc CHECK_LT(static_cast<size_t>(n), locks_.size()); n 79 crypto/openssl_util.cc locks_[n]->Acquire(); n 81 crypto/openssl_util.cc locks_[n]->Release(); n 388 crypto/p224.cc uint32 n = out[3] - 0xffff000; n 389 crypto/p224.cc uint32 out_3_equal = n; n 399 crypto/p224.cc uint32 out_3_gt = ~static_cast<uint32>(static_cast<int32>(n << 31) >> 31); n 9 crypto/secure_util.cc bool SecureMemEqual(const void* s1, const void* s2, size_t n) { n 13 crypto/secure_util.cc for (size_t i = 0; i < n; ++i, ++s1_ptr, ++s2_ptr) n 24 crypto/secure_util.h CRYPTO_EXPORT bool SecureMemEqual(const void* s1, const void* s2, size_t n); n 66 crypto/third_party/nss/sha512.cc #define SHR(x,n) (x >> n) n 67 crypto/third_party/nss/sha512.cc #define SHL(x,n) (x << n) n 146 crypto/third_party/nss/sha512.cc #define ROTR32(x,n) _lrotr(x,n) n 147 crypto/third_party/nss/sha512.cc #define ROTL32(x,n) _lrotl(x,n) n 149 crypto/third_party/nss/sha512.cc #define ROTR32(x,n) ((x >> n) | (x << ((8 * sizeof x) - n))) n 150 crypto/third_party/nss/sha512.cc #define ROTL32(x,n) ((x << n) | (x >> ((8 * sizeof x) - n))) n 286 crypto/third_party/nss/sha512.cc #define ROUND(n,a,b,c,d,e,f,g,h) \ n 287 crypto/third_party/nss/sha512.cc h += S1(e) + Ch(e,f,g) + K256[n] + W[n]; \ n 532 crypto/third_party/nss/sha512.cc #define ROTR64(x,n) ((x >> n) | (x << (64 - n))) n 533 crypto/third_party/nss/sha512.cc #define ROTL64(x,n) ((x << n) | (x >> (64 - n))) n 709 crypto/third_party/nss/sha512.cc #define DUMP(n,a,d,e,h) printf(" t = %2d, %s = %016lx, %s = %016lx\n", \ n 710 crypto/third_party/nss/sha512.cc n, #e, d, #a, h); n 712 crypto/third_party/nss/sha512.cc #define DUMP(n,a,d,e,h) printf(" t = %2d, %s = %08x%08x, %s = %08x%08x\n", \ n 713 crypto/third_party/nss/sha512.cc n, #e, d.hi, d.lo, #a, h.hi, h.lo); n 716 crypto/third_party/nss/sha512.cc #define DUMP(n,a,d,e,h) n 725 crypto/third_party/nss/sha512.cc #define ROUND(n,a,b,c,d,e,f,g,h) \ n 726 crypto/third_party/nss/sha512.cc h += S1(e) + Ch(e,f,g) + K512[n] + W[n]; \ n 729 crypto/third_party/nss/sha512.cc DUMP(n,a,d,e,h) n 738 crypto/third_party/nss/sha512.cc #define ROTR64a(x,n,lo,hi) (x.lo >> n | x.hi << (32-n)) n 739 crypto/third_party/nss/sha512.cc #define ROTR64A(x,n,lo,hi) (x.lo << (64-n) | x.hi >> (n-32)) n 740 crypto/third_party/nss/sha512.cc #define SHR64a(x,n,lo,hi) (x.lo >> n | x.hi << (32-n)) n 771 crypto/third_party/nss/sha512.cc #define ROUND(n,a,b,c,d,e,f,g,h) \ n 776 crypto/third_party/nss/sha512.cc lo += (tm = K512[n].lo); if (lo < tm) cy++; \ n 777 crypto/third_party/nss/sha512.cc lo += (tm = W[n].lo); if (lo < tm) cy++; \ n 779 crypto/third_party/nss/sha512.cc h.hi += cy + S1hi(e) + Chxx(e,f,g,hi) + K512[n].hi + W[n].hi; \ n 786 crypto/third_party/nss/sha512.cc DUMP(n,a,d,e,h) \ n 475 gpu/GLES2/gl2extchromium.h GLsizei n, const GLenum* bufs); n 478 gpu/GLES2/gl2extchromium.h GLsizei n, const GLenum* bufs); n 142 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2DeleteBuffers(GLsizei n, const GLuint* buffers) { n 143 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->DeleteBuffers(n, buffers); n 145 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2DeleteFramebuffers(GLsizei n, const GLuint* framebuffers) { n 146 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->DeleteFramebuffers(n, framebuffers); n 151 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2DeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) { n 152 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->DeleteRenderbuffers(n, renderbuffers); n 157 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2DeleteTextures(GLsizei n, const GLuint* textures) { n 158 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->DeleteTextures(n, textures); n 203 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2GenBuffers(GLsizei n, GLuint* buffers) { n 204 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->GenBuffers(n, buffers); n 209 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2GenFramebuffers(GLsizei n, GLuint* framebuffers) { n 210 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->GenFramebuffers(n, framebuffers); n 212 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2GenRenderbuffers(GLsizei n, GLuint* renderbuffers) { n 213 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->GenRenderbuffers(n, renderbuffers); n 215 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2GenTextures(GLsizei n, GLuint* textures) { n 216 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->GenTextures(n, textures); n 389 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2ShaderBinary(GLsizei n, n 394 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->ShaderBinary(n, shaders, binaryformat, binary, length); n 635 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2GenQueriesEXT(GLsizei n, GLuint* queries) { n 636 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->GenQueriesEXT(n, queries); n 638 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2DeleteQueriesEXT(GLsizei n, const GLuint* queries) { n 639 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->DeleteQueriesEXT(n, queries); n 663 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2GenVertexArraysOES(GLsizei n, GLuint* arrays) { n 664 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->GenVertexArraysOES(n, arrays); n 666 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) { n 667 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->DeleteVertexArraysOES(n, arrays); n 685 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei n, n 687 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->GenSharedIdsCHROMIUM(namespace_id, id_offset, n, ids); n 690 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei n, n 692 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->DeleteSharedIdsCHROMIUM(namespace_id, n, ids); n 695 gpu/command_buffer/client/gles2_c_lib_autogen.h GLsizei n, n 697 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->RegisterSharedIdsCHROMIUM(namespace_id, n, ids); n 325 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void DeleteBuffers(GLsizei n, n 330 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, buffers_shm_id, buffers_shm_offset); n 334 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void DeleteBuffersImmediate(GLsizei n, const GLuint* buffers) { n 335 gpu/command_buffer/client/gles2_cmd_helper_autogen.h const uint32 size = gles2::cmds::DeleteBuffersImmediate::ComputeSize(n); n 339 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, buffers); n 343 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void DeleteFramebuffers(GLsizei n, n 349 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, framebuffers_shm_id, framebuffers_shm_offset); n 353 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void DeleteFramebuffersImmediate(GLsizei n, const GLuint* framebuffers) { n 354 gpu/command_buffer/client/gles2_cmd_helper_autogen.h const uint32 size = gles2::cmds::DeleteFramebuffersImmediate::ComputeSize(n); n 359 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, framebuffers); n 370 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void DeleteRenderbuffers(GLsizei n, n 376 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, renderbuffers_shm_id, renderbuffers_shm_offset); n 380 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void DeleteRenderbuffersImmediate(GLsizei n, const GLuint* renderbuffers) { n 381 gpu/command_buffer/client/gles2_cmd_helper_autogen.h const uint32 size = gles2::cmds::DeleteRenderbuffersImmediate::ComputeSize(n); n 386 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, renderbuffers); n 397 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void DeleteTextures(GLsizei n, n 402 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, textures_shm_id, textures_shm_offset); n 406 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void DeleteTexturesImmediate(GLsizei n, const GLuint* textures) { n 407 gpu/command_buffer/client/gles2_cmd_helper_autogen.h const uint32 size = gles2::cmds::DeleteTexturesImmediate::ComputeSize(n); n 411 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, textures); n 534 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void GenBuffers(GLsizei n, uint32 buffers_shm_id, uint32 buffers_shm_offset) { n 537 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, buffers_shm_id, buffers_shm_offset); n 541 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void GenBuffersImmediate(GLsizei n, GLuint* buffers) { n 542 gpu/command_buffer/client/gles2_cmd_helper_autogen.h const uint32 size = gles2::cmds::GenBuffersImmediate::ComputeSize(n); n 546 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, buffers); n 557 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void GenFramebuffers(GLsizei n, n 562 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, framebuffers_shm_id, framebuffers_shm_offset); n 566 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void GenFramebuffersImmediate(GLsizei n, GLuint* framebuffers) { n 567 gpu/command_buffer/client/gles2_cmd_helper_autogen.h const uint32 size = gles2::cmds::GenFramebuffersImmediate::ComputeSize(n); n 572 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, framebuffers); n 576 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void GenRenderbuffers(GLsizei n, n 582 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, renderbuffers_shm_id, renderbuffers_shm_offset); n 586 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void GenRenderbuffersImmediate(GLsizei n, GLuint* renderbuffers) { n 587 gpu/command_buffer/client/gles2_cmd_helper_autogen.h const uint32 size = gles2::cmds::GenRenderbuffersImmediate::ComputeSize(n); n 592 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, renderbuffers); n 596 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void GenTextures(GLsizei n, n 601 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, textures_shm_id, textures_shm_offset); n 605 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void GenTexturesImmediate(GLsizei n, GLuint* textures) { n 606 gpu/command_buffer/client/gles2_cmd_helper_autogen.h const uint32 size = gles2::cmds::GenTexturesImmediate::ComputeSize(n); n 610 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, textures); n 994 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void ShaderBinary(GLsizei n, n 1003 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, n 1672 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void GenQueriesEXT(GLsizei n, n 1677 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, queries_shm_id, queries_shm_offset); n 1681 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void GenQueriesEXTImmediate(GLsizei n, GLuint* queries) { n 1682 gpu/command_buffer/client/gles2_cmd_helper_autogen.h const uint32 size = gles2::cmds::GenQueriesEXTImmediate::ComputeSize(n); n 1686 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, queries); n 1690 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void DeleteQueriesEXT(GLsizei n, n 1696 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, queries_shm_id, queries_shm_offset); n 1700 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void DeleteQueriesEXTImmediate(GLsizei n, const GLuint* queries) { n 1701 gpu/command_buffer/client/gles2_cmd_helper_autogen.h const uint32 size = gles2::cmds::DeleteQueriesEXTImmediate::ComputeSize(n); n 1706 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, queries); n 1751 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void GenVertexArraysOES(GLsizei n, n 1757 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, arrays_shm_id, arrays_shm_offset); n 1761 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void GenVertexArraysOESImmediate(GLsizei n, GLuint* arrays) { n 1762 gpu/command_buffer/client/gles2_cmd_helper_autogen.h const uint32 size = gles2::cmds::GenVertexArraysOESImmediate::ComputeSize(n); n 1767 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, arrays); n 1771 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void DeleteVertexArraysOES(GLsizei n, n 1777 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, arrays_shm_id, arrays_shm_offset); n 1781 gpu/command_buffer/client/gles2_cmd_helper_autogen.h void DeleteVertexArraysOESImmediate(GLsizei n, const GLuint* arrays) { n 1783 gpu/command_buffer/client/gles2_cmd_helper_autogen.h gles2::cmds::DeleteVertexArraysOESImmediate::ComputeSize(n); n 1788 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(n, arrays); n 1832 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei n, n 1838 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(namespace_id, id_offset, n, ids_shm_id, ids_shm_offset); n 1843 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei n, n 1849 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(namespace_id, n, ids_shm_id, ids_shm_offset); n 1854 gpu/command_buffer/client/gles2_cmd_helper_autogen.h GLsizei n, n 1860 gpu/command_buffer/client/gles2_cmd_helper_autogen.h c->Init(namespace_id, n, ids_shm_id, ids_shm_offset); n 403 gpu/command_buffer/client/gles2_implementation.cc int n = strcspn(extensions, " "); n 404 gpu/command_buffer/client/gles2_implementation.cc if (n == length && 0 == strncmp(ext, extensions, length)) { n 407 gpu/command_buffer/client/gles2_implementation.cc if ('\0' == extensions[n]) { n 410 gpu/command_buffer/client/gles2_implementation.cc extensions += n + 1; n 945 gpu/command_buffer/client/gles2_implementation.cc GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) { n 947 gpu/command_buffer/client/gles2_implementation.cc << namespace_id << ", " << id_offset << ", " << n << ", " << n 950 gpu/command_buffer/client/gles2_implementation.cc GLsizei num = n; n 966 gpu/command_buffer/client/gles2_implementation.cc for (GLsizei i = 0; i < n; ++i) { n 973 gpu/command_buffer/client/gles2_implementation.cc GLuint namespace_id, GLsizei n, const GLuint* ids) { n 975 gpu/command_buffer/client/gles2_implementation.cc << namespace_id << ", " << n << ", " n 978 gpu/command_buffer/client/gles2_implementation.cc for (GLsizei i = 0; i < n; ++i) { n 983 gpu/command_buffer/client/gles2_implementation.cc while (n) { n 984 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferArray<GLint> id_buffer(n, helper_, transfer_buffer_); n 993 gpu/command_buffer/client/gles2_implementation.cc n -= id_buffer.num_elements(); n 999 gpu/command_buffer/client/gles2_implementation.cc GLuint namespace_id, GLsizei n, const GLuint* ids) { n 1001 gpu/command_buffer/client/gles2_implementation.cc << namespace_id << ", " << n << ", " n 1004 gpu/command_buffer/client/gles2_implementation.cc for (GLsizei i = 0; i < n; ++i) { n 1009 gpu/command_buffer/client/gles2_implementation.cc while (n) { n 1010 gpu/command_buffer/client/gles2_implementation.cc ScopedTransferBufferArray<GLint> id_buffer(n, helper_, transfer_buffer_); n 1019 gpu/command_buffer/client/gles2_implementation.cc n -= id_buffer.num_elements(); n 1091 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* programs) { n 1092 gpu/command_buffer/client/gles2_implementation.cc DCHECK_EQ(1, n); n 1109 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* shaders) { n 1110 gpu/command_buffer/client/gles2_implementation.cc DCHECK_EQ(1, n); n 1195 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* shaders, GLenum binaryformat, const void* binary, n 1198 gpu/command_buffer/client/gles2_implementation.cc GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glShaderBinary(" << n << ", " n 1203 gpu/command_buffer/client/gles2_implementation.cc if (n < 0) { n 1212 gpu/command_buffer/client/gles2_implementation.cc unsigned int shader_id_size = n * sizeof(*shaders); n 1224 gpu/command_buffer/client/gles2_implementation.cc n, n 2425 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* arrays) { n 2426 gpu/command_buffer/client/gles2_implementation.cc vertex_array_object_manager_->GenVertexArrays(n, arrays); n 2596 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* buffers) { n 2598 gpu/command_buffer/client/gles2_implementation.cc this, n, buffers, &GLES2Implementation::DeleteBuffersStub)) { n 2604 gpu/command_buffer/client/gles2_implementation.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2621 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* buffers) { n 2622 gpu/command_buffer/client/gles2_implementation.cc helper_->DeleteBuffersImmediate(n, buffers); n 2627 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* framebuffers) { n 2629 gpu/command_buffer/client/gles2_implementation.cc this, n, framebuffers, &GLES2Implementation::DeleteFramebuffersStub)) { n 2635 gpu/command_buffer/client/gles2_implementation.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2646 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* framebuffers) { n 2647 gpu/command_buffer/client/gles2_implementation.cc helper_->DeleteFramebuffersImmediate(n, framebuffers); n 2651 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* renderbuffers) { n 2653 gpu/command_buffer/client/gles2_implementation.cc this, n, renderbuffers, &GLES2Implementation::DeleteRenderbuffersStub)) { n 2659 gpu/command_buffer/client/gles2_implementation.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2667 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* renderbuffers) { n 2668 gpu/command_buffer/client/gles2_implementation.cc helper_->DeleteRenderbuffersImmediate(n, renderbuffers); n 2672 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* textures) { n 2674 gpu/command_buffer/client/gles2_implementation.cc this, n, textures, &GLES2Implementation::DeleteTexturesStub)) { n 2680 gpu/command_buffer/client/gles2_implementation.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2699 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* arrays) { n 2700 gpu/command_buffer/client/gles2_implementation.cc vertex_array_object_manager_->DeleteVertexArrays(n, arrays); n 2702 gpu/command_buffer/client/gles2_implementation.cc this, n, arrays, &GLES2Implementation::DeleteVertexArraysOESStub)) { n 2711 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* arrays) { n 2712 gpu/command_buffer/client/gles2_implementation.cc helper_->DeleteVertexArraysOESImmediate(n, arrays); n 2716 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* textures) { n 2717 gpu/command_buffer/client/gles2_implementation.cc helper_->DeleteTexturesImmediate(n, textures); n 3284 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* queries) { n 3287 gpu/command_buffer/client/gles2_implementation.cc this, n, queries, &GLES2Implementation::DeleteQueriesStub)) { n 3294 gpu/command_buffer/client/gles2_implementation.cc for (GLsizei ii = 0; ii < n; ++ii) n 3297 gpu/command_buffer/client/gles2_implementation.cc helper_->DeleteQueriesEXTImmediate(n, queries); n 512 gpu/command_buffer/client/gles2_implementation.h void GenBuffersHelper(GLsizei n, const GLuint* buffers); n 513 gpu/command_buffer/client/gles2_implementation.h void GenFramebuffersHelper(GLsizei n, const GLuint* framebuffers); n 514 gpu/command_buffer/client/gles2_implementation.h void GenRenderbuffersHelper(GLsizei n, const GLuint* renderbuffers); n 515 gpu/command_buffer/client/gles2_implementation.h void GenTexturesHelper(GLsizei n, const GLuint* textures); n 516 gpu/command_buffer/client/gles2_implementation.h void GenVertexArraysOESHelper(GLsizei n, const GLuint* arrays); n 517 gpu/command_buffer/client/gles2_implementation.h void GenQueriesEXTHelper(GLsizei n, const GLuint* queries); n 519 gpu/command_buffer/client/gles2_implementation.h void DeleteBuffersHelper(GLsizei n, const GLuint* buffers); n 520 gpu/command_buffer/client/gles2_implementation.h void DeleteFramebuffersHelper(GLsizei n, const GLuint* framebuffers); n 521 gpu/command_buffer/client/gles2_implementation.h void DeleteRenderbuffersHelper(GLsizei n, const GLuint* renderbuffers); n 522 gpu/command_buffer/client/gles2_implementation.h void DeleteTexturesHelper(GLsizei n, const GLuint* textures); n 525 gpu/command_buffer/client/gles2_implementation.h void DeleteQueriesEXTHelper(GLsizei n, const GLuint* queries); n 526 gpu/command_buffer/client/gles2_implementation.h void DeleteVertexArraysOESHelper(GLsizei n, const GLuint* arrays); n 528 gpu/command_buffer/client/gles2_implementation.h void DeleteBuffersStub(GLsizei n, const GLuint* buffers); n 529 gpu/command_buffer/client/gles2_implementation.h void DeleteFramebuffersStub(GLsizei n, const GLuint* framebuffers); n 530 gpu/command_buffer/client/gles2_implementation.h void DeleteRenderbuffersStub(GLsizei n, const GLuint* renderbuffers); n 531 gpu/command_buffer/client/gles2_implementation.h void DeleteTexturesStub(GLsizei n, const GLuint* textures); n 532 gpu/command_buffer/client/gles2_implementation.h void DeleteProgramStub(GLsizei n, const GLuint* programs); n 533 gpu/command_buffer/client/gles2_implementation.h void DeleteShaderStub(GLsizei n, const GLuint* shaders); n 535 gpu/command_buffer/client/gles2_implementation.h void DeleteQueriesStub(GLsizei n, const GLuint* queries); n 536 gpu/command_buffer/client/gles2_implementation.h void DeleteVertexArraysOESStub(GLsizei n, const GLuint* arrays); n 121 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void DeleteBuffers(GLsizei n, const GLuint* buffers) OVERRIDE; n 123 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void DeleteFramebuffers(GLsizei n, const GLuint* framebuffers) OVERRIDE; n 127 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void DeleteRenderbuffers(GLsizei n, n 132 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void DeleteTextures(GLsizei n, const GLuint* textures) OVERRIDE; n 170 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void GenBuffers(GLsizei n, GLuint* buffers) OVERRIDE; n 174 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void GenFramebuffers(GLsizei n, GLuint* framebuffers) OVERRIDE; n 176 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void GenRenderbuffers(GLsizei n, GLuint* renderbuffers) OVERRIDE; n 178 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void GenTextures(GLsizei n, GLuint* textures) OVERRIDE; n 315 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void ShaderBinary(GLsizei n, n 511 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void GenQueriesEXT(GLsizei n, GLuint* queries) OVERRIDE; n 513 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void DeleteQueriesEXT(GLsizei n, const GLuint* queries) OVERRIDE; n 534 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void GenVertexArraysOES(GLsizei n, GLuint* arrays) OVERRIDE; n 536 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) OVERRIDE; n 551 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei n, n 555 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei n, n 559 gpu/command_buffer/client/gles2_implementation_autogen.h GLsizei n, n 300 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::DeleteBuffers(GLsizei n, const GLuint* buffers) { n 302 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDeleteBuffers(" << n << ", " n 305 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 310 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 314 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (n < 0) { n 318 gpu/command_buffer/client/gles2_implementation_impl_autogen.h DeleteBuffersHelper(n, buffers); n 322 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::DeleteFramebuffers(GLsizei n, n 325 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDeleteFramebuffers(" << n << ", " n 328 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 333 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 337 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (n < 0) { n 341 gpu/command_buffer/client/gles2_implementation_impl_autogen.h DeleteFramebuffersHelper(n, framebuffers); n 354 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::DeleteRenderbuffers(GLsizei n, n 357 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDeleteRenderbuffers(" << n n 360 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 365 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 369 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (n < 0) { n 373 gpu/command_buffer/client/gles2_implementation_impl_autogen.h DeleteRenderbuffersHelper(n, renderbuffers); n 385 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::DeleteTextures(GLsizei n, const GLuint* textures) { n 387 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDeleteTextures(" << n << ", " n 390 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 395 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 399 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (n < 0) { n 403 gpu/command_buffer/client/gles2_implementation_impl_autogen.h DeleteTexturesHelper(n, textures); n 477 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::GenBuffers(GLsizei n, GLuint* buffers) { n 478 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glGenBuffers(" << n << ", " n 480 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (n < 0) { n 485 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GetIdHandler(id_namespaces::kBuffers)->MakeIds(this, 0, n, buffers); n 486 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GenBuffersHelper(n, buffers); n 487 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->GenBuffersImmediate(n, buffers); n 491 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 506 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::GenFramebuffers(GLsizei n, GLuint* framebuffers) { n 507 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glGenFramebuffers(" << n << ", " n 509 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (n < 0) { n 514 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GetIdHandler(id_namespaces::kFramebuffers)->MakeIds(this, 0, n, framebuffers); n 515 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GenFramebuffersHelper(n, framebuffers); n 516 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->GenFramebuffersImmediate(n, framebuffers); n 520 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 527 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::GenRenderbuffers(GLsizei n, GLuint* renderbuffers) { n 528 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glGenRenderbuffers(" << n << ", " n 530 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (n < 0) { n 536 gpu/command_buffer/client/gles2_implementation_impl_autogen.h ->MakeIds(this, 0, n, renderbuffers); n 537 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GenRenderbuffersHelper(n, renderbuffers); n 538 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->GenRenderbuffersImmediate(n, renderbuffers); n 542 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 549 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::GenTextures(GLsizei n, GLuint* textures) { n 550 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glGenTextures(" << n << ", " n 552 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (n < 0) { n 557 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GetIdHandler(id_namespaces::kTextures)->MakeIds(this, 0, n, textures); n 558 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GenTexturesHelper(n, textures); n 559 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->GenTexturesImmediate(n, textures); n 563 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 1808 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::GenQueriesEXT(GLsizei n, GLuint* queries) { n 1809 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glGenQueriesEXT(" << n << ", " n 1811 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (n < 0) { n 1816 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GetIdHandler(id_namespaces::kQueries)->MakeIds(this, 0, n, queries); n 1817 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GenQueriesEXTHelper(n, queries); n 1818 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->GenQueriesEXTImmediate(n, queries); n 1822 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 1829 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::DeleteQueriesEXT(GLsizei n, const GLuint* queries) { n 1831 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDeleteQueriesEXT(" << n << ", " n 1834 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 1839 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 1843 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (n < 0) { n 1847 gpu/command_buffer/client/gles2_implementation_impl_autogen.h DeleteQueriesEXTHelper(n, queries); n 1851 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::GenVertexArraysOES(GLsizei n, GLuint* arrays) { n 1852 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glGenVertexArraysOES(" << n << ", " n 1854 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (n < 0) { n 1859 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GetIdHandler(id_namespaces::kVertexArrays)->MakeIds(this, 0, n, arrays); n 1860 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GenVertexArraysOESHelper(n, arrays); n 1861 gpu/command_buffer/client/gles2_implementation_impl_autogen.h helper_->GenVertexArraysOESImmediate(n, arrays); n 1865 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 1872 gpu/command_buffer/client/gles2_implementation_impl_autogen.h void GLES2Implementation::DeleteVertexArraysOES(GLsizei n, n 1875 gpu/command_buffer/client/gles2_implementation_impl_autogen.h GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glDeleteVertexArraysOES(" << n n 1878 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 1883 gpu/command_buffer/client/gles2_implementation_impl_autogen.h for (GLsizei i = 0; i < n; ++i) { n 1887 gpu/command_buffer/client/gles2_implementation_impl_autogen.h if (n < 0) { n 1891 gpu/command_buffer/client/gles2_implementation_impl_autogen.h DeleteVertexArraysOESHelper(n, arrays); n 305 gpu/command_buffer/client/gles2_implementation_unittest.cc static void Gen(GLES2Implementation* gl_impl, GLsizei n, GLuint* ids) { n 306 gpu/command_buffer/client/gles2_implementation_unittest.cc gl_impl->GenBuffers(n, ids); n 310 gpu/command_buffer/client/gles2_implementation_unittest.cc GLsizei n, n 312 gpu/command_buffer/client/gles2_implementation_unittest.cc gl_impl->DeleteBuffers(n, ids); n 319 gpu/command_buffer/client/gles2_implementation_unittest.cc static void Gen(GLES2Implementation* gl_impl, GLsizei n, GLuint* ids) { n 320 gpu/command_buffer/client/gles2_implementation_unittest.cc gl_impl->GenFramebuffers(n, ids); n 324 gpu/command_buffer/client/gles2_implementation_unittest.cc GLsizei n, n 326 gpu/command_buffer/client/gles2_implementation_unittest.cc gl_impl->DeleteFramebuffers(n, ids); n 333 gpu/command_buffer/client/gles2_implementation_unittest.cc static void Gen(GLES2Implementation* gl_impl, GLsizei n, GLuint* ids) { n 334 gpu/command_buffer/client/gles2_implementation_unittest.cc gl_impl->GenRenderbuffers(n, ids); n 338 gpu/command_buffer/client/gles2_implementation_unittest.cc GLsizei n, n 340 gpu/command_buffer/client/gles2_implementation_unittest.cc gl_impl->DeleteRenderbuffers(n, ids); n 347 gpu/command_buffer/client/gles2_implementation_unittest.cc static void Gen(GLES2Implementation* gl_impl, GLsizei n, GLuint* ids) { n 348 gpu/command_buffer/client/gles2_implementation_unittest.cc gl_impl->GenTextures(n, ids); n 352 gpu/command_buffer/client/gles2_implementation_unittest.cc GLsizei n, n 354 gpu/command_buffer/client/gles2_implementation_unittest.cc gl_impl->DeleteTextures(n, ids); n 93 gpu/command_buffer/client/gles2_interface_autogen.h virtual void DeleteBuffers(GLsizei n, const GLuint* buffers) = 0; n 94 gpu/command_buffer/client/gles2_interface_autogen.h virtual void DeleteFramebuffers(GLsizei n, const GLuint* framebuffers) = 0; n 96 gpu/command_buffer/client/gles2_interface_autogen.h virtual void DeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) = 0; n 98 gpu/command_buffer/client/gles2_interface_autogen.h virtual void DeleteTextures(GLsizei n, const GLuint* textures) = 0; n 124 gpu/command_buffer/client/gles2_interface_autogen.h virtual void GenBuffers(GLsizei n, GLuint* buffers) = 0; n 126 gpu/command_buffer/client/gles2_interface_autogen.h virtual void GenFramebuffers(GLsizei n, GLuint* framebuffers) = 0; n 127 gpu/command_buffer/client/gles2_interface_autogen.h virtual void GenRenderbuffers(GLsizei n, GLuint* renderbuffers) = 0; n 128 gpu/command_buffer/client/gles2_interface_autogen.h virtual void GenTextures(GLsizei n, GLuint* textures) = 0; n 219 gpu/command_buffer/client/gles2_interface_autogen.h virtual void ShaderBinary(GLsizei n, n 352 gpu/command_buffer/client/gles2_interface_autogen.h virtual void GenQueriesEXT(GLsizei n, GLuint* queries) = 0; n 353 gpu/command_buffer/client/gles2_interface_autogen.h virtual void DeleteQueriesEXT(GLsizei n, const GLuint* queries) = 0; n 362 gpu/command_buffer/client/gles2_interface_autogen.h virtual void GenVertexArraysOES(GLsizei n, GLuint* arrays) = 0; n 363 gpu/command_buffer/client/gles2_interface_autogen.h virtual void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) = 0; n 373 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei n, n 376 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei n, n 379 gpu/command_buffer/client/gles2_interface_autogen.h GLsizei n, n 92 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void DeleteBuffers(GLsizei n, const GLuint* buffers) OVERRIDE; n 93 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void DeleteFramebuffers(GLsizei n, const GLuint* framebuffers) OVERRIDE; n 95 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void DeleteRenderbuffers(GLsizei n, n 98 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void DeleteTextures(GLsizei n, const GLuint* textures) OVERRIDE; n 124 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void GenBuffers(GLsizei n, GLuint* buffers) OVERRIDE; n 126 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void GenFramebuffers(GLsizei n, GLuint* framebuffers) OVERRIDE; n 127 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void GenRenderbuffers(GLsizei n, GLuint* renderbuffers) OVERRIDE; n 128 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void GenTextures(GLsizei n, GLuint* textures) OVERRIDE; n 229 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void ShaderBinary(GLsizei n, n 373 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void GenQueriesEXT(GLsizei n, GLuint* queries) OVERRIDE; n 374 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void DeleteQueriesEXT(GLsizei n, const GLuint* queries) OVERRIDE; n 386 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void GenVertexArraysOES(GLsizei n, GLuint* arrays) OVERRIDE; n 387 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) OVERRIDE; n 397 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei n, n 400 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei n, n 403 gpu/command_buffer/client/gles2_interface_stub_autogen.h GLsizei n, n 92 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void DeleteBuffers(GLsizei n, const GLuint* buffers) OVERRIDE; n 93 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void DeleteFramebuffers(GLsizei n, const GLuint* framebuffers) OVERRIDE; n 95 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void DeleteRenderbuffers(GLsizei n, n 98 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void DeleteTextures(GLsizei n, const GLuint* textures) OVERRIDE; n 124 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void GenBuffers(GLsizei n, GLuint* buffers) OVERRIDE; n 126 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void GenFramebuffers(GLsizei n, GLuint* framebuffers) OVERRIDE; n 127 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void GenRenderbuffers(GLsizei n, GLuint* renderbuffers) OVERRIDE; n 128 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void GenTextures(GLsizei n, GLuint* textures) OVERRIDE; n 229 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void ShaderBinary(GLsizei n, n 373 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void GenQueriesEXT(GLsizei n, GLuint* queries) OVERRIDE; n 374 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void DeleteQueriesEXT(GLsizei n, const GLuint* queries) OVERRIDE; n 386 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void GenVertexArraysOES(GLsizei n, GLuint* arrays) OVERRIDE; n 387 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) OVERRIDE; n 397 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei n, n 400 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei n, n 403 gpu/command_buffer/client/gles2_trace_implementation_autogen.h GLsizei n, n 210 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::DeleteBuffers(GLsizei n, const GLuint* buffers) { n 212 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->DeleteBuffers(n, buffers); n 215 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::DeleteFramebuffers(GLsizei n, n 218 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->DeleteFramebuffers(n, framebuffers); n 227 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei n, n 230 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->DeleteRenderbuffers(n, renderbuffers); n 238 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::DeleteTextures(GLsizei n, n 241 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->DeleteTextures(n, textures); n 333 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::GenBuffers(GLsizei n, GLuint* buffers) { n 335 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->GenBuffers(n, buffers); n 343 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::GenFramebuffers(GLsizei n, n 346 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->GenFramebuffers(n, framebuffers); n 349 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::GenRenderbuffers(GLsizei n, n 352 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->GenRenderbuffers(n, renderbuffers); n 355 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::GenTextures(GLsizei n, GLuint* textures) { n 357 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->GenTextures(n, textures); n 645 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::ShaderBinary(GLsizei n, n 651 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->ShaderBinary(n, shaders, binaryformat, binary, length); n 1051 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::GenQueriesEXT(GLsizei n, GLuint* queries) { n 1053 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->GenQueriesEXT(n, queries); n 1056 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::DeleteQueriesEXT(GLsizei n, n 1059 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->DeleteQueriesEXT(n, queries); n 1108 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::GenVertexArraysOES(GLsizei n, GLuint* arrays) { n 1110 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->GenVertexArraysOES(n, arrays); n 1113 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::DeleteVertexArraysOES(GLsizei n, n 1116 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->DeleteVertexArraysOES(n, arrays); n 1145 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei n, n 1148 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->GenSharedIdsCHROMIUM(namespace_id, id_offset, n, ids); n 1152 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei n, n 1155 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->DeleteSharedIdsCHROMIUM(namespace_id, n, ids); n 1159 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h GLsizei n, n 1162 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->RegisterSharedIdsCHROMIUM(namespace_id, n, ids); n 34 gpu/command_buffer/client/share_group.cc GLuint id_offset, GLsizei n, GLuint* ids) OVERRIDE { n 37 gpu/command_buffer/client/share_group.cc for (GLsizei ii = 0; ii < n; ++ii) { n 41 gpu/command_buffer/client/share_group.cc for (GLsizei ii = 0; ii < n; ++ii) { n 51 gpu/command_buffer/client/share_group.cc GLsizei n, const GLuint* ids, DeleteFn delete_fn) OVERRIDE { n 54 gpu/command_buffer/client/share_group.cc for (GLsizei ii = 0; ii < n; ++ii) { n 58 gpu/command_buffer/client/share_group.cc (gl_impl->*delete_fn)(n, ids); n 91 gpu/command_buffer/client/share_group.cc GLsizei n, n 98 gpu/command_buffer/client/share_group.cc for (GLsizei ii = 0; ii < n; ++ii) { n 117 gpu/command_buffer/client/share_group.cc GLsizei n, n 122 gpu/command_buffer/client/share_group.cc (gl_impl->*delete_fn)(n, ids); n 134 gpu/command_buffer/client/share_group.cc for (GLsizei ii = 0; ii < n; ++ii) { n 201 gpu/command_buffer/client/share_group.cc GLuint id_offset, GLsizei n, GLuint* ids) OVERRIDE { n 203 gpu/command_buffer/client/share_group.cc for (GLsizei ii = 0; ii < n; ++ii) { n 211 gpu/command_buffer/client/share_group.cc GLsizei n, const GLuint* ids, DeleteFn delete_fn) OVERRIDE { n 213 gpu/command_buffer/client/share_group.cc (gl_impl->*delete_fn)(n, ids); n 21 gpu/command_buffer/client/share_group.h typedef void (GLES2Implementation::*DeleteFn)(GLsizei n, const GLuint* ids); n 50 gpu/command_buffer/client/share_group.h GLuint id_offset, GLsizei n, GLuint* ids) = 0; n 54 gpu/command_buffer/client/share_group.h GLES2Implementation* gl_impl, GLsizei n, const GLuint* ids, n 113 gpu/command_buffer/client/transfer_buffer.cc static int Log2Floor(uint32 n) { n 114 gpu/command_buffer/client/transfer_buffer.cc if (n == 0) n 117 gpu/command_buffer/client/transfer_buffer.cc uint32 value = n; n 131 gpu/command_buffer/client/transfer_buffer.cc static int Log2Ceiling(uint32 n) { n 132 gpu/command_buffer/client/transfer_buffer.cc if (n == 0) { n 136 gpu/command_buffer/client/transfer_buffer.cc return 1 + Log2Floor(n - 1); n 370 gpu/command_buffer/client/vertex_array_object_manager.cc GLsizei n, const GLuint* arrays) { n 371 gpu/command_buffer/client/vertex_array_object_manager.cc DCHECK_GE(n, 0); n 372 gpu/command_buffer/client/vertex_array_object_manager.cc for (GLsizei i = 0; i < n; ++i) { n 381 gpu/command_buffer/client/vertex_array_object_manager.cc GLsizei n, const GLuint* arrays) { n 382 gpu/command_buffer/client/vertex_array_object_manager.cc DCHECK_GE(n, 0); n 383 gpu/command_buffer/client/vertex_array_object_manager.cc for (GLsizei i = 0; i < n; ++i) { n 41 gpu/command_buffer/client/vertex_array_object_manager.h void GenVertexArrays(GLsizei n, const GLuint* arrays); n 44 gpu/command_buffer/client/vertex_array_object_manager.h void DeleteVertexArrays(GLsizei n, const GLuint* arrays); n 1519 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 1534 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 1542 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteBuffers, n) == 4, OffsetOf_DeleteBuffers_n_not_4); n 1554 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeDataSize(GLsizei n) { n 1555 gpu/command_buffer/common/gles2_cmd_format_autogen.h return static_cast<uint32>(sizeof(GLuint) * n); // NOLINT n 1558 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeSize(GLsizei n) { n 1560 gpu/command_buffer/common/gles2_cmd_format_autogen.h ComputeDataSize(n)); // NOLINT n 1563 gpu/command_buffer/common/gles2_cmd_format_autogen.h void SetHeader(GLsizei n) { n 1564 gpu/command_buffer/common/gles2_cmd_format_autogen.h header.SetCmdByTotalSize<ValueType>(ComputeSize(n)); n 1569 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 1580 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 1587 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteBuffersImmediate, n) == 4, n 1606 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 1621 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 1630 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteFramebuffers, n) == 4, n 1643 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeDataSize(GLsizei n) { n 1644 gpu/command_buffer/common/gles2_cmd_format_autogen.h return static_cast<uint32>(sizeof(GLuint) * n); // NOLINT n 1647 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeSize(GLsizei n) { n 1649 gpu/command_buffer/common/gles2_cmd_format_autogen.h ComputeDataSize(n)); // NOLINT n 1652 gpu/command_buffer/common/gles2_cmd_format_autogen.h void SetHeader(GLsizei n) { n 1653 gpu/command_buffer/common/gles2_cmd_format_autogen.h header.SetCmdByTotalSize<ValueType>(ComputeSize(n)); n 1658 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 1669 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 1676 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteFramebuffersImmediate, n) == 4, n 1727 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 1742 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 1751 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteRenderbuffers, n) == 4, n 1764 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeDataSize(GLsizei n) { n 1765 gpu/command_buffer/common/gles2_cmd_format_autogen.h return static_cast<uint32>(sizeof(GLuint) * n); // NOLINT n 1768 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeSize(GLsizei n) { n 1770 gpu/command_buffer/common/gles2_cmd_format_autogen.h ComputeDataSize(n)); // NOLINT n 1773 gpu/command_buffer/common/gles2_cmd_format_autogen.h void SetHeader(GLsizei n) { n 1774 gpu/command_buffer/common/gles2_cmd_format_autogen.h header.SetCmdByTotalSize<ValueType>(ComputeSize(n)); n 1779 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 1790 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 1797 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteRenderbuffersImmediate, n) == 4, n 1846 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 1861 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 1869 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteTextures, n) == 4, n 1882 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeDataSize(GLsizei n) { n 1883 gpu/command_buffer/common/gles2_cmd_format_autogen.h return static_cast<uint32>(sizeof(GLuint) * n); // NOLINT n 1886 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeSize(GLsizei n) { n 1888 gpu/command_buffer/common/gles2_cmd_format_autogen.h ComputeDataSize(n)); // NOLINT n 1891 gpu/command_buffer/common/gles2_cmd_format_autogen.h void SetHeader(GLsizei n) { n 1892 gpu/command_buffer/common/gles2_cmd_format_autogen.h header.SetCmdByTotalSize<ValueType>(ComputeSize(n)); n 1897 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 1908 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 1915 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteTexturesImmediate, n) == 4, n 2472 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 2487 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 2495 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenBuffers, n) == 4, OffsetOf_GenBuffers_n_not_4); n 2507 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeDataSize(GLsizei n) { n 2508 gpu/command_buffer/common/gles2_cmd_format_autogen.h return static_cast<uint32>(sizeof(GLuint) * n); // NOLINT n 2511 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeSize(GLsizei n) { n 2513 gpu/command_buffer/common/gles2_cmd_format_autogen.h ComputeDataSize(n)); // NOLINT n 2516 gpu/command_buffer/common/gles2_cmd_format_autogen.h void SetHeader(GLsizei n) { n 2517 gpu/command_buffer/common/gles2_cmd_format_autogen.h header.SetCmdByTotalSize<ValueType>(ComputeSize(n)); n 2522 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 2533 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 2540 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenBuffersImmediate, n) == 4, n 2591 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 2606 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 2614 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenFramebuffers, n) == 4, n 2627 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeDataSize(GLsizei n) { n 2628 gpu/command_buffer/common/gles2_cmd_format_autogen.h return static_cast<uint32>(sizeof(GLuint) * n); // NOLINT n 2631 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeSize(GLsizei n) { n 2633 gpu/command_buffer/common/gles2_cmd_format_autogen.h ComputeDataSize(n)); // NOLINT n 2636 gpu/command_buffer/common/gles2_cmd_format_autogen.h void SetHeader(GLsizei n) { n 2637 gpu/command_buffer/common/gles2_cmd_format_autogen.h header.SetCmdByTotalSize<ValueType>(ComputeSize(n)); n 2642 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 2653 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 2660 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenFramebuffersImmediate, n) == 4, n 2679 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 2694 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 2703 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenRenderbuffers, n) == 4, n 2716 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeDataSize(GLsizei n) { n 2717 gpu/command_buffer/common/gles2_cmd_format_autogen.h return static_cast<uint32>(sizeof(GLuint) * n); // NOLINT n 2720 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeSize(GLsizei n) { n 2722 gpu/command_buffer/common/gles2_cmd_format_autogen.h ComputeDataSize(n)); // NOLINT n 2725 gpu/command_buffer/common/gles2_cmd_format_autogen.h void SetHeader(GLsizei n) { n 2726 gpu/command_buffer/common/gles2_cmd_format_autogen.h header.SetCmdByTotalSize<ValueType>(ComputeSize(n)); n 2731 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 2742 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 2749 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenRenderbuffersImmediate, n) == 4, n 2766 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 2781 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 2789 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenTextures, n) == 4, OffsetOf_GenTextures_n_not_4); n 2801 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeDataSize(GLsizei n) { n 2802 gpu/command_buffer/common/gles2_cmd_format_autogen.h return static_cast<uint32>(sizeof(GLuint) * n); // NOLINT n 2805 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeSize(GLsizei n) { n 2807 gpu/command_buffer/common/gles2_cmd_format_autogen.h ComputeDataSize(n)); // NOLINT n 2810 gpu/command_buffer/common/gles2_cmd_format_autogen.h void SetHeader(GLsizei n) { n 2811 gpu/command_buffer/common/gles2_cmd_format_autogen.h header.SetCmdByTotalSize<ValueType>(ComputeSize(n)); n 2816 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 2827 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 2834 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenTexturesImmediate, n) == 4, n 4854 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 4882 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 4894 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(ShaderBinary, n) == 4, OffsetOf_ShaderBinary_n_not_4); n 8200 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 8215 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 8223 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenQueriesEXT, n) == 4, OffsetOf_GenQueriesEXT_n_not_4); n 8235 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeDataSize(GLsizei n) { n 8236 gpu/command_buffer/common/gles2_cmd_format_autogen.h return static_cast<uint32>(sizeof(GLuint) * n); // NOLINT n 8239 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeSize(GLsizei n) { n 8241 gpu/command_buffer/common/gles2_cmd_format_autogen.h ComputeDataSize(n)); // NOLINT n 8244 gpu/command_buffer/common/gles2_cmd_format_autogen.h void SetHeader(GLsizei n) { n 8245 gpu/command_buffer/common/gles2_cmd_format_autogen.h header.SetCmdByTotalSize<ValueType>(ComputeSize(n)); n 8250 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 8261 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 8268 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenQueriesEXTImmediate, n) == 4, n 8285 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 8300 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 8309 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteQueriesEXT, n) == 4, n 8322 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeDataSize(GLsizei n) { n 8323 gpu/command_buffer/common/gles2_cmd_format_autogen.h return static_cast<uint32>(sizeof(GLuint) * n); // NOLINT n 8326 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeSize(GLsizei n) { n 8328 gpu/command_buffer/common/gles2_cmd_format_autogen.h ComputeDataSize(n)); // NOLINT n 8331 gpu/command_buffer/common/gles2_cmd_format_autogen.h void SetHeader(GLsizei n) { n 8332 gpu/command_buffer/common/gles2_cmd_format_autogen.h header.SetCmdByTotalSize<ValueType>(ComputeSize(n)); n 8337 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 8348 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 8355 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteQueriesEXTImmediate, n) == 4, n 8553 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 8567 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 8576 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenVertexArraysOES, n) == 4, n 8589 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeDataSize(GLsizei n) { n 8590 gpu/command_buffer/common/gles2_cmd_format_autogen.h return static_cast<uint32>(sizeof(GLuint) * n); // NOLINT n 8593 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeSize(GLsizei n) { n 8595 gpu/command_buffer/common/gles2_cmd_format_autogen.h ComputeDataSize(n)); // NOLINT n 8598 gpu/command_buffer/common/gles2_cmd_format_autogen.h void SetHeader(GLsizei n) { n 8599 gpu/command_buffer/common/gles2_cmd_format_autogen.h header.SetCmdByTotalSize<ValueType>(ComputeSize(n)); n 8604 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 8615 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 8622 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenVertexArraysOESImmediate, n) == 4, n 8639 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 8653 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 8662 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteVertexArraysOES, n) == 4, n 8675 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeDataSize(GLsizei n) { n 8676 gpu/command_buffer/common/gles2_cmd_format_autogen.h return static_cast<uint32>(sizeof(GLuint) * n); // NOLINT n 8679 gpu/command_buffer/common/gles2_cmd_format_autogen.h static uint32 ComputeSize(GLsizei n) { n 8681 gpu/command_buffer/common/gles2_cmd_format_autogen.h ComputeDataSize(n)); // NOLINT n 8684 gpu/command_buffer/common/gles2_cmd_format_autogen.h void SetHeader(GLsizei n) { n 8685 gpu/command_buffer/common/gles2_cmd_format_autogen.h header.SetCmdByTotalSize<ValueType>(ComputeSize(n)); n 8690 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 8701 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 8708 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteVertexArraysOESImmediate, n) == 4, n 8904 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 8923 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 8936 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(GenSharedIdsCHROMIUM, n) == 12, n 8961 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 8978 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 8989 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(DeleteSharedIdsCHROMIUM, n) == 8, n 9014 gpu/command_buffer/common/gles2_cmd_format_autogen.h n = _n; n 9031 gpu/command_buffer/common/gles2_cmd_format_autogen.h int32 n; n 9042 gpu/command_buffer/common/gles2_cmd_format_autogen.h COMPILE_ASSERT(offsetof(RegisterSharedIdsCHROMIUM, n) == 8, n 507 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 520 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(cmd.n * 4u), n 522 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(arraysize(ids)), cmd.n); n 538 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 551 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(cmd.n * 4u), n 553 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(arraysize(ids)), cmd.n); n 579 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 592 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(cmd.n * 4u), n 594 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(arraysize(ids)), cmd.n); n 620 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 633 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(cmd.n * 4u), n 635 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(arraysize(ids)), cmd.n); n 824 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 836 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(cmd.n * 4u), n 838 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(arraysize(ids)), cmd.n); n 864 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 877 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(cmd.n * 4u), n 879 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(arraysize(ids)), cmd.n); n 895 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 908 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(cmd.n * 4u), n 910 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(arraysize(ids)), cmd.n); n 925 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 937 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(cmd.n * 4u), n 939 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(arraysize(ids)), cmd.n); n 1582 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 2861 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 2874 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(cmd.n * 4u), n 2876 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(arraysize(ids)), cmd.n); n 2892 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 2905 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(cmd.n * 4u), n 2907 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(arraysize(ids)), cmd.n); n 2980 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 2993 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(cmd.n * 4u), n 2995 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(arraysize(ids)), cmd.n); n 3012 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(11), cmd.n); n 3025 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(sizeof(cmd) + RoundSizeToMultipleOfEntries(cmd.n * 4u), n 3027 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(arraysize(ids)), cmd.n); n 3102 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(13), cmd.n); n 3120 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(12), cmd.n); n 3138 gpu/command_buffer/common/gles2_cmd_format_test_autogen.h EXPECT_EQ(static_cast<GLsizei>(12), cmd.n); n 30 gpu/command_buffer/common/mailbox.cc void Mailbox::SetName(const int8* n) { n 31 gpu/command_buffer/common/mailbox.cc DCHECK(IsZero() || !memcmp(name, n, sizeof(name))); n 32 gpu/command_buffer/common/mailbox.cc memcpy(name, n, sizeof(name)); n 513 gpu/command_buffer/service/framebuffer_manager.cc void Framebuffer::SetDrawBuffers(GLsizei n, const GLenum* bufs) { n 514 gpu/command_buffer/service/framebuffer_manager.cc DCHECK(n <= static_cast<GLsizei>(manager_->max_draw_buffers_)); n 515 gpu/command_buffer/service/framebuffer_manager.cc for (GLsizei i = 0; i < n; ++i) n 130 gpu/command_buffer/service/framebuffer_manager.h void SetDrawBuffers(GLsizei n, const GLenum* bufs); n 732 gpu/command_buffer/service/gles2_cmd_decoder.cc bool GenTexturesHelper(GLsizei n, const GLuint* client_ids); n 733 gpu/command_buffer/service/gles2_cmd_decoder.cc void DeleteTexturesHelper(GLsizei n, const GLuint* client_ids); n 734 gpu/command_buffer/service/gles2_cmd_decoder.cc bool GenBuffersHelper(GLsizei n, const GLuint* client_ids); n 735 gpu/command_buffer/service/gles2_cmd_decoder.cc void DeleteBuffersHelper(GLsizei n, const GLuint* client_ids); n 736 gpu/command_buffer/service/gles2_cmd_decoder.cc bool GenFramebuffersHelper(GLsizei n, const GLuint* client_ids); n 737 gpu/command_buffer/service/gles2_cmd_decoder.cc void DeleteFramebuffersHelper(GLsizei n, const GLuint* client_ids); n 738 gpu/command_buffer/service/gles2_cmd_decoder.cc bool GenRenderbuffersHelper(GLsizei n, const GLuint* client_ids); n 739 gpu/command_buffer/service/gles2_cmd_decoder.cc void DeleteRenderbuffersHelper(GLsizei n, const GLuint* client_ids); n 740 gpu/command_buffer/service/gles2_cmd_decoder.cc bool GenQueriesEXTHelper(GLsizei n, const GLuint* client_ids); n 741 gpu/command_buffer/service/gles2_cmd_decoder.cc void DeleteQueriesEXTHelper(GLsizei n, const GLuint* client_ids); n 742 gpu/command_buffer/service/gles2_cmd_decoder.cc bool GenVertexArraysOESHelper(GLsizei n, const GLuint* client_ids); n 743 gpu/command_buffer/service/gles2_cmd_decoder.cc void DeleteVertexArraysOESHelper(GLsizei n, const GLuint* client_ids); n 1254 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint namespace_id, GLsizei n, const GLuint* ids); n 1308 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids); n 1371 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint namespace_id, GLsizei n, const GLuint* ids); n 2795 gpu/command_buffer/service/gles2_cmd_decoder.cc bool GLES2DecoderImpl::GenBuffersHelper(GLsizei n, const GLuint* client_ids) { n 2796 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2801 gpu/command_buffer/service/gles2_cmd_decoder.cc scoped_ptr<GLuint[]> service_ids(new GLuint[n]); n 2802 gpu/command_buffer/service/gles2_cmd_decoder.cc glGenBuffersARB(n, service_ids.get()); n 2803 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2810 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n, const GLuint* client_ids) { n 2811 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2816 gpu/command_buffer/service/gles2_cmd_decoder.cc scoped_ptr<GLuint[]> service_ids(new GLuint[n]); n 2817 gpu/command_buffer/service/gles2_cmd_decoder.cc glGenFramebuffersEXT(n, service_ids.get()); n 2818 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2825 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n, const GLuint* client_ids) { n 2826 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2831 gpu/command_buffer/service/gles2_cmd_decoder.cc scoped_ptr<GLuint[]> service_ids(new GLuint[n]); n 2832 gpu/command_buffer/service/gles2_cmd_decoder.cc glGenRenderbuffersEXT(n, service_ids.get()); n 2833 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2839 gpu/command_buffer/service/gles2_cmd_decoder.cc bool GLES2DecoderImpl::GenTexturesHelper(GLsizei n, const GLuint* client_ids) { n 2840 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2845 gpu/command_buffer/service/gles2_cmd_decoder.cc scoped_ptr<GLuint[]> service_ids(new GLuint[n]); n 2846 gpu/command_buffer/service/gles2_cmd_decoder.cc glGenTextures(n, service_ids.get()); n 2847 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2854 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n, const GLuint* client_ids) { n 2855 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2868 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n, const GLuint* client_ids) { n 2872 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2896 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n, const GLuint* client_ids) { n 2899 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 2929 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n, const GLuint* client_ids) { n 2932 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 4821 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint namespace_id, GLsizei n, const GLuint* ids) { n 4823 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 4831 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n = static_cast<GLsizei>(c.n); n 4833 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 4838 gpu/command_buffer/service/gles2_cmd_decoder.cc if (n < 0) { n 4845 gpu/command_buffer/service/gles2_cmd_decoder.cc DoDeleteSharedIdsCHROMIUM(namespace_id, n, ids); n 4850 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) { n 4853 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 4857 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 4868 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n = static_cast<GLsizei>(c.n); n 4870 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 4875 gpu/command_buffer/service/gles2_cmd_decoder.cc if (n < 0) { n 4882 gpu/command_buffer/service/gles2_cmd_decoder.cc DoGenSharedIdsCHROMIUM(namespace_id, id_offset, n, ids); n 4887 gpu/command_buffer/service/gles2_cmd_decoder.cc GLuint namespace_id, GLsizei n, const GLuint* ids) { n 4889 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 4905 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n = static_cast<GLsizei>(c.n); n 4907 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 4912 gpu/command_buffer/service/gles2_cmd_decoder.cc if (n < 0) { n 4919 gpu/command_buffer/service/gles2_cmd_decoder.cc DoRegisterSharedIdsCHROMIUM(namespace_id, n, ids); n 8976 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n = static_cast<GLsizei>(c.n); n 8977 gpu/command_buffer/service/gles2_cmd_decoder.cc if (n < 0) { n 8987 gpu/command_buffer/service/gles2_cmd_decoder.cc if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 8998 gpu/command_buffer/service/gles2_cmd_decoder.cc scoped_array<GLuint> service_ids(new GLuint[n]); n 8999 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 9417 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n, const GLuint* client_ids) { n 9418 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 9428 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n, const GLuint* client_ids) { n 9429 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 9589 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n, const GLuint* client_ids) { n 9590 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 9598 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 9602 gpu/command_buffer/service/gles2_cmd_decoder.cc scoped_ptr<GLuint[]> service_ids(new GLuint[n]); n 9604 gpu/command_buffer/service/gles2_cmd_decoder.cc glGenVertexArraysOES(n, service_ids.get()); n 9605 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 9614 gpu/command_buffer/service/gles2_cmd_decoder.cc GLsizei n, const GLuint* client_ids) { n 9615 gpu/command_buffer/service/gles2_cmd_decoder.cc for (GLsizei ii = 0; ii < n; ++ii) { n 486 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 488 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 496 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DeleteBuffersHelper(n, buffers); n 503 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 505 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 513 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DeleteBuffersHelper(n, buffers); n 520 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 522 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 530 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DeleteFramebuffersHelper(n, framebuffers); n 537 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 539 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 547 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DeleteFramebuffersHelper(n, framebuffers); n 554 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 556 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 564 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DeleteRenderbuffersHelper(n, renderbuffers); n 571 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 573 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 581 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DeleteRenderbuffersHelper(n, renderbuffers); n 588 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 590 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 598 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DeleteTexturesHelper(n, textures); n 605 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 607 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 615 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DeleteTexturesHelper(n, textures); n 793 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 795 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 803 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!GenBuffersHelper(n, buffers)) { n 812 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 814 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 822 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!GenBuffersHelper(n, buffers)) { n 843 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 845 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 853 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!GenFramebuffersHelper(n, framebuffers)) { n 862 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 864 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 872 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!GenFramebuffersHelper(n, framebuffers)) { n 881 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 883 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 891 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!GenRenderbuffersHelper(n, renderbuffers)) { n 900 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 902 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 910 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!GenRenderbuffersHelper(n, renderbuffers)) { n 919 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 921 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 929 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!GenTexturesHelper(n, textures)) { n 938 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 940 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 948 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!GenTexturesHelper(n, textures)) { n 2925 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 2927 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 2935 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!GenQueriesEXTHelper(n, queries)) { n 2944 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 2946 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 2954 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!GenQueriesEXTHelper(n, queries)) { n 2963 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 2965 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 2973 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DeleteQueriesEXTHelper(n, queries); n 2980 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 2982 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 2990 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DeleteQueriesEXTHelper(n, queries); n 3036 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 3038 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 3046 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!GenVertexArraysOESHelper(n, arrays)) { n 3055 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 3057 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 3065 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!GenVertexArraysOESHelper(n, arrays)) { n 3074 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 3076 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 3084 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DeleteVertexArraysOESHelper(n, arrays); n 3091 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h GLsizei n = static_cast<GLsizei>(c.n); n 3093 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h if (!SafeMultiplyUint32(n, sizeof(GLuint), &data_size)) { n 3101 gpu/command_buffer/service/gles2_cmd_decoder_autogen.h DeleteVertexArraysOESHelper(n, arrays); n 54 gpu/command_buffer/service/gpu_tracer_unittest.cc void GenQueries(GLsizei n, GLuint* ids) { n 55 gpu/command_buffer/service/gpu_tracer_unittest.cc for (GLsizei i = 0; i < n; i++) { n 61 gpu/command_buffer/service/gpu_tracer_unittest.cc void DeleteQueries(GLsizei n, const GLuint* ids) { n 62 gpu/command_buffer/service/gpu_tracer_unittest.cc for (GLsizei i = 0; i < n; i++) { n 396 gpu/command_buffer/service/texture_definition.cc for (size_t n = 0; n < level_infos_.size(); n++) { n 397 gpu/command_buffer/service/texture_definition.cc const LevelInfo& info = level_infos_[i][n]; n 35 gpu/tools/compositor_model_bench/forward_render_model.cc for (size_t n = 0; n < l->num_tiles(); ++n) { n 36 gpu/tools/compositor_model_bench/forward_render_model.cc const Tile* i = l->tile(n); n 34 gpu/tools/compositor_model_bench/render_model_utils.cc for (size_t n = 0; n < node->num_tiles(); ++n) { n 35 gpu/tools/compositor_model_bench/render_model_utils.cc Tile* i = node->tile(n); n 44 gpu/tools/compositor_model_bench/render_model_utils.cc for (size_t n = 0; n < node->num_textures(); ++n) { n 45 gpu/tools/compositor_model_bench/render_model_utils.cc Texture* i = node->texture(n); n 340 gpu/tools/compositor_model_bench/render_tree.cc ContentLayerNode* n = new ContentLayerNode; n 341 gpu/tools/compositor_model_bench/render_tree.cc if (!InterpretCommonContents(node, n)) n 355 gpu/tools/compositor_model_bench/render_tree.cc n->set_skipsDraw(skipsDraw); n 364 gpu/tools/compositor_model_bench/render_tree.cc n->add_child(child); n 367 gpu/tools/compositor_model_bench/render_tree.cc return n; n 371 gpu/tools/compositor_model_bench/render_tree.cc CCNode* n = new CCNode; n 372 gpu/tools/compositor_model_bench/render_tree.cc if (!InterpretCommonContents(node, n)) n 383 gpu/tools/compositor_model_bench/render_tree.cc if (!InterpretCCData(node, n)) n 386 gpu/tools/compositor_model_bench/render_tree.cc return n; n 390 gpu/tools/compositor_model_bench/render_tree.cc CCNode* n = new CCNode; n 391 gpu/tools/compositor_model_bench/render_tree.cc if (!InterpretCommonContents(node, n)) n 402 gpu/tools/compositor_model_bench/render_tree.cc if (!InterpretCCData(node, n)) n 405 gpu/tools/compositor_model_bench/render_tree.cc return n; n 409 gpu/tools/compositor_model_bench/render_tree.cc CCNode* n = new CCNode; n 410 gpu/tools/compositor_model_bench/render_tree.cc if (!InterpretCommonContents(node, n)) n 421 gpu/tools/compositor_model_bench/render_tree.cc if (!InterpretCCData(node, n)) n 424 gpu/tools/compositor_model_bench/render_tree.cc return n; n 276 gpu/tools/compositor_model_bench/shaders.cc void ConfigAndActivateShaderForNode(CCNode* n) { n 277 gpu/tools/compositor_model_bench/shaders.cc ShaderID vs = n->vertex_shader(); n 278 gpu/tools/compositor_model_bench/shaders.cc ShaderID fs = n->fragment_shader(); n 279 gpu/tools/compositor_model_bench/shaders.cc float* transform = n->transform(); n 292 gpu/tools/compositor_model_bench/shaders.cc DCHECK_EQ(n->num_textures(), 1u); n 293 gpu/tools/compositor_model_bench/shaders.cc DCHECK_NE(n->texture(0)->texID, -1); n 295 gpu/tools/compositor_model_bench/shaders.cc glBindTexture(GL_TEXTURE_2D, n->texture(0)->texID); n 300 gpu/tools/compositor_model_bench/shaders.cc DCHECK_EQ(n->num_textures(), 3u); n 301 gpu/tools/compositor_model_bench/shaders.cc DCHECK_NE(n->texture(0)->texID, -1); n 302 gpu/tools/compositor_model_bench/shaders.cc DCHECK_NE(n->texture(1)->texID, -1); n 303 gpu/tools/compositor_model_bench/shaders.cc DCHECK_NE(n->texture(2)->texID, -1); n 306 gpu/tools/compositor_model_bench/shaders.cc glBindTexture(GL_TEXTURE_2D, n->texture(0)->texID); n 311 gpu/tools/compositor_model_bench/shaders.cc glBindTexture(GL_TEXTURE_2D, n->texture(1)->texID); n 316 gpu/tools/compositor_model_bench/shaders.cc glBindTexture(GL_TEXTURE_2D, n->texture(2)->texID); n 330 gpu/tools/compositor_model_bench/shaders.cc void ConfigAndActivateShaderForTiling(ContentLayerNode* n) { n 333 gpu/tools/compositor_model_bench/shaders.cc n->transform()); n 339 gpu/tools/compositor_model_bench/shaders.cc g_current_tile_layer_width = n->width(); n 340 gpu/tools/compositor_model_bench/shaders.cc g_current_tile_layer_height = n->height(); n 341 gpu/tools/compositor_model_bench/shaders.cc g_current_tile_width = n->tile_width(); n 342 gpu/tools/compositor_model_bench/shaders.cc g_current_tile_height = n->tile_height(); n 32 gpu/tools/compositor_model_bench/shaders.h void ConfigAndActivateShaderForNode(CCNode* n); n 36 gpu/tools/compositor_model_bench/shaders.h void ConfigAndActivateShaderForTiling(ContentLayerNode* n); n 61 ipc/file_descriptor_set_posix.h int GetDescriptorAt(unsigned n) const; n 42 ipc/ipc_channel_handle.h ChannelHandle(const std::string& n) : name(n) {} n 43 ipc/ipc_channel_handle.h ChannelHandle(const char* n) : name(n) {} n 47 ipc/ipc_channel_handle.h ChannelHandle(const std::string& n, const base::FileDescriptor& s) n 48 ipc/ipc_channel_handle.h : name(n), socket(s) {} n 453 media/audio/win/audio_low_latency_output_win.cc for (size_t n = 0; n < num_packets; ++n) { n 473 media/audio/win/audio_output_win_unittest.cc int n = 1; n 474 media/audio/win/audio_output_win_unittest.cc (base::win::GetVersion() <= base::win::VERSION_XP) ? n = 5 : n = 1; n 478 media/audio/win/audio_output_win_unittest.cc 16, n * samples_10_ms), n 73 media/audio/win/waveout_output_win.cc inline WAVEHDR* PCMWaveOutAudioOutputStream::GetBuffer(int n) const { n 74 media/audio/win/waveout_output_win.cc DCHECK_GE(n, 0); n 75 media/audio/win/waveout_output_win.cc DCHECK_LT(n, num_buffers_); n 76 media/audio/win/waveout_output_win.cc return reinterpret_cast<WAVEHDR*>(&buffers_[n * BufferSize()]); n 64 media/audio/win/waveout_output_win.h inline WAVEHDR* GetBuffer(int n) const; n 95 media/base/audio_fifo_unittest.cc int n = 0; n 98 media/base/audio_fifo_unittest.cc EXPECT_EQ(fifo.frames(), ++n); n 106 media/base/audio_fifo_unittest.cc EXPECT_EQ(fifo.frames(), --n); n 119 media/base/audio_fifo_unittest.cc for (int n = 0; n < kMaxFrameCount; ++n) { n 159 media/base/audio_fifo_unittest.cc int n = 1; n 165 media/base/audio_fifo_unittest.cc if (n++ % 2 == 0) n 357 media/base/sinc_resampler.cc int n = kKernelSize; n 358 media/base/sinc_resampler.cc while (n--) { n 28 media/cast/audio_receiver/audio_decoder_unittest.cc TestScenario(transport::AudioCodec c, int n, int s) n 29 media/cast/audio_receiver/audio_decoder_unittest.cc : codec(c), num_channels(n), sampling_rate(s) {} n 69 media/cast/audio_sender/audio_encoder_unittest.cc TestScenario(const int64* d, size_t n) n 70 media/cast/audio_sender/audio_encoder_unittest.cc : durations_in_ms(d), num_durations(n) {} n 396 media/cast/rtcp/rtcp_receiver.cc for (uint8 n = 0; n < (bytes - 1); ++n) { n 397 media/cast/rtcp/rtcp_receiver.cc rpsi_picture_id += (rtcp_field.rpsi.native_bit_string[n] & 0x7f); n 224 media/filters/audio_renderer_algorithm.cc for (int n = 0; n < ola_hop_size_; ++n) { n 225 media/filters/audio_renderer_algorithm.cc ch_output[n] = ch_output[n] * ola_window_[ola_hop_size_ + n] + n 226 media/filters/audio_renderer_algorithm.cc ch_opt_frame[n] * ola_window_[n]; n 332 media/filters/audio_renderer_algorithm.cc for (int n = 0; n < ola_window_size_; ++n) { n 333 media/filters/audio_renderer_algorithm.cc ch_opt[n] = ch_opt[n] * transition_window_[n] + ch_target[n] * n 334 media/filters/audio_renderer_algorithm.cc transition_window_[ola_window_size_ + n]; n 41 media/filters/audio_renderer_algorithm_unittest.cc for (int n = offset - 1, k = 0; n >= 0; --n, ++k) { n 46 media/filters/audio_renderer_algorithm_unittest.cc data[n] = pulse; n 52 media/filters/audio_renderer_algorithm_unittest.cc for (int n = offset, k = 0; n < num_samples; ++n, ++k) { n 57 media/filters/audio_renderer_algorithm_unittest.cc data[n] = pulse; n 282 media/filters/audio_renderer_algorithm_unittest.cc for (int n = 0; n < kNumRequestedPulses; ++n) { n 298 media/filters/audio_renderer_algorithm_unittest.cc if (n > 3) { n 305 media/filters/audio_renderer_algorithm_unittest.cc pulse_ch[k], kTolerance) << " loop " << n n 484 media/filters/audio_renderer_algorithm_unittest.cc for (int n = 0; n < kFrames; ++n) { n 485 media/filters/audio_renderer_algorithm_unittest.cc ch_left[n] = n; n 486 media/filters/audio_renderer_algorithm_unittest.cc ch_right[n] = kFrames - 1 - n; n 493 media/filters/audio_renderer_algorithm_unittest.cc for (int n = 0; n < kNumBlocks; ++n) { n 496 media/filters/audio_renderer_algorithm_unittest.cc expected_energy += ch_left[n + k] * ch_left[n + k]; n 499 media/filters/audio_renderer_algorithm_unittest.cc EXPECT_FLOAT_EQ(expected_energy, energies[2 * n]); n 503 media/filters/audio_renderer_algorithm_unittest.cc expected_energy += ch_right[n + k] * ch_right[n + k]; n 506 media/filters/audio_renderer_algorithm_unittest.cc EXPECT_FLOAT_EQ(expected_energy, energies[2 * n + 1]); n 22 media/filters/wsola_internals.cc bool InInterval(int n, Interval q) { n 23 media/filters/wsola_internals.cc return n >= q.first && n <= q.second; n 32 media/filters/wsola_internals.cc for (int n = 0; n < channels; ++n) { n 33 media/filters/wsola_internals.cc similarity_measure += dot_prod_a_b[n] / sqrt(energy_a[n] * energy_b[n] + n 55 media/filters/wsola_internals.cc for (int n = 0; n < num_frames; ++n) { n 79 media/filters/wsola_internals.cc for (int n = 1; n < num_blocks; ++n, ++slide_in, ++slide_out) { n 80 media/filters/wsola_internals.cc energy[k + n * channels] = energy[k + (n - 1) * channels] - *slide_out * n 120 media/filters/wsola_internals.cc int n = 0; n 121 media/filters/wsola_internals.cc MultiChannelDotProduct(target_block, 0, search_segment, n, block_size, n 125 media/filters/wsola_internals.cc &energy_candidate_blocks[n * channels], channels); n 131 media/filters/wsola_internals.cc n += decimation; n 132 media/filters/wsola_internals.cc if (n >= num_candidate_blocks) { n 136 media/filters/wsola_internals.cc MultiChannelDotProduct(target_block, 0, search_segment, n, block_size, n 140 media/filters/wsola_internals.cc &energy_candidate_blocks[n * channels], channels); n 142 media/filters/wsola_internals.cc n += decimation; n 143 media/filters/wsola_internals.cc if (n >= num_candidate_blocks) { n 149 media/filters/wsola_internals.cc for (; n < num_candidate_blocks; n += decimation) { n 150 media/filters/wsola_internals.cc MultiChannelDotProduct(target_block, 0, search_segment, n, block_size, n 155 media/filters/wsola_internals.cc &energy_candidate_blocks[n * channels], channels); n 166 media/filters/wsola_internals.cc int candidate_index = n - decimation + static_cast<int>( n 173 media/filters/wsola_internals.cc } else if (n + decimation >= num_candidate_blocks && n 175 media/filters/wsola_internals.cc !InInterval(n, exclude_interval)) { n 178 media/filters/wsola_internals.cc optimal_index = n; n 200 media/filters/wsola_internals.cc for (int n = low_limit; n <= high_limit; ++n) { n 201 media/filters/wsola_internals.cc if (InInterval(n, exclude_interval)) { n 204 media/filters/wsola_internals.cc MultiChannelDotProduct(target_block, 0, search_block, n, block_size, n 209 media/filters/wsola_internals.cc &energy_candidate_blocks[n * channels], channels); n 213 media/filters/wsola_internals.cc optimal_index = n; n 263 media/filters/wsola_internals.cc for (int n = 0; n < window_length; ++n) n 264 media/filters/wsola_internals.cc window[n] = 0.5f * (1.0f - cosf(n * scale)); n 40 media/midi/midi_manager.h virtual void AccumulateMidiBytesSent(size_t n) = 0; n 40 media/video/capture/fake_video_capture_device.cc for (int32 n = 0; n < number_of_devices; n++) { n 41 media/video/capture/fake_video_capture_device.cc Name name(base::StringPrintf("fake_device_%d", n), n 42 media/video/capture/fake_video_capture_device.cc base::StringPrintf("/dev/video%d", n)); n 72 media/video/capture/fake_video_capture_device.cc for (int32 n = 0; n < number_of_devices; ++n) { n 73 media/video/capture/fake_video_capture_device.cc std::string possible_id = base::StringPrintf("/dev/video%d", n); n 302 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc void DeleteBuffers(PP_Resource context_id, GLsizei n, const GLuint* buffers) { n 305 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glDeleteBuffers(n, buffers); n 310 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei n, n 314 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glDeleteFramebuffers(n, framebuffers); n 326 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei n, n 330 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glDeleteRenderbuffers(n, renderbuffers); n 341 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc void DeleteTextures(PP_Resource context_id, GLsizei n, const GLuint* textures) { n 344 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glDeleteTextures(n, textures); n 470 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc void GenBuffers(PP_Resource context_id, GLsizei n, GLuint* buffers) { n 473 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glGenBuffers(n, buffers); n 484 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc void GenFramebuffers(PP_Resource context_id, GLsizei n, GLuint* framebuffers) { n 487 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glGenFramebuffers(n, framebuffers); n 492 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei n, n 496 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glGenRenderbuffers(n, renderbuffers); n 500 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc void GenTextures(PP_Resource context_id, GLsizei n, GLuint* textures) { n 503 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glGenTextures(n, textures); n 921 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc GLsizei n, n 928 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glShaderBinary(n, shaders, binaryformat, binary, length); n 127 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLsizei n, const GLuint* buffers), n 128 mojo/public/c/gles2/gles2_call_visitor_autogen.h (n, buffers)) n 131 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLsizei n, const GLuint* framebuffers), n 132 mojo/public/c/gles2/gles2_call_visitor_autogen.h (n, framebuffers)) n 136 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLsizei n, const GLuint* renderbuffers), n 137 mojo/public/c/gles2/gles2_call_visitor_autogen.h (n, renderbuffers)) n 141 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLsizei n, const GLuint* textures), n 142 mojo/public/c/gles2/gles2_call_visitor_autogen.h (n, textures)) n 180 mojo/public/c/gles2/gles2_call_visitor_autogen.h VISIT_GL_CALL(GenBuffers, void, (GLsizei n, GLuint* buffers), (n, buffers)) n 184 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLsizei n, GLuint* framebuffers), n 185 mojo/public/c/gles2/gles2_call_visitor_autogen.h (n, framebuffers)) n 188 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLsizei n, GLuint* renderbuffers), n 189 mojo/public/c/gles2/gles2_call_visitor_autogen.h (n, renderbuffers)) n 190 mojo/public/c/gles2/gles2_call_visitor_autogen.h VISIT_GL_CALL(GenTextures, void, (GLsizei n, GLuint* textures), (n, textures)) n 338 mojo/public/c/gles2/gles2_call_visitor_autogen.h (GLsizei n, n 343 mojo/public/c/gles2/gles2_call_visitor_autogen.h (n, shaders, binaryformat, binary, length)) n 231 mojo/system/message_in_transit.h static inline size_t RoundUpMessageAlignment(size_t n) { n 232 mojo/system/message_in_transit.h return (n + kMessageAlignment - 1) & ~(kMessageAlignment - 1); n 378 native_client_sdk/src/libraries/third_party/newlib-extras/sys/socket.h #define CMSG_ALIGN(n) _ALIGN(n) n 684 native_client_sdk/src/libraries/third_party/pthreads-win32/implement.h #define calloc(n, s) ptw32_calloc(n, s) n 685 native_client_sdk/src/libraries/third_party/pthreads-win32/implement.h void *ptw32_calloc (size_t n, size_t s); n 43 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_calloc.c ptw32_calloc (size_t n, size_t s) n 45 native_client_sdk/src/libraries/third_party/pthreads-win32/ptw32_calloc.c unsigned int m = n * s; n 52 native_client_sdk/src/libraries/xray/stringpool.c int n = strnlen(src, XRAY_STRING_POOL_NODE_SIZE + 1) + 1; n 56 native_client_sdk/src/libraries/xray/stringpool.c if (n >= (XRAY_STRING_POOL_NODE_SIZE - 1)) n 59 native_client_sdk/src/libraries/xray/stringpool.c if (n > a) { n 67 native_client_sdk/src/libraries/xray/stringpool.c pool->index += n; n 84 native_client_sdk/src/libraries/xray/stringpool.c struct XRayStringPoolNode* n = pool->head; n 85 native_client_sdk/src/libraries/xray/stringpool.c while (NULL != n) { n 86 native_client_sdk/src/libraries/xray/stringpool.c struct XRayStringPoolNode* c = n; n 87 native_client_sdk/src/libraries/xray/stringpool.c n = n->next; n 100 native_client_sdk/src/libraries/xray/symtable.c struct XRaySymbolPoolNode* n = pool->head; n 101 native_client_sdk/src/libraries/xray/symtable.c while (NULL != n) { n 102 native_client_sdk/src/libraries/xray/symtable.c struct XRaySymbolPoolNode* c = n; n 103 native_client_sdk/src/libraries/xray/symtable.c n = n->next; n 297 net/android/keystore_openssl.cc if (!SwapBigNumPtrFromBytes(modulus, &rsa.get()->n)) { n 429 net/android/keystore_unittest.cc for (size_t n = 0; n < signature.size(); ++n) { n 430 net/android/keystore_unittest.cc if (openssl_signature[n] != signature[n]) { n 431 net/android/keystore_unittest.cc LOG(ERROR) << "Signature byte mismatch at index " << n n 432 net/android/keystore_unittest.cc << "actual " << signature[n] << ", expected " n 433 net/android/keystore_unittest.cc << openssl_signature[n]; n 525 net/android/keystore_unittest.cc ASSERT_EQ(0, BN_cmp(bn.get(), rsa.get()->n)); n 14 net/base/dns_util.cc unsigned n = dotted.size(); n 22 net/base/dns_util.cc if (!n) n 25 net/base/dns_util.cc --n; n 127 net/base/file_stream_metrics_win.cc for (size_t n = 0; n < kNumErrorRanges; ++n) { n 128 net/base/file_stream_metrics_win.cc if (error < kErrorRangeList[n].low) n 129 net/base/file_stream_metrics_win.cc return (2 * (n + 1)) - 1; // In gap before the range. n 130 net/base/file_stream_metrics_win.cc if (error <= kErrorRangeList[n].high) n 131 net/base/file_stream_metrics_win.cc return 2 * (n + 1); // In the range. n 84 net/base/nss_memio.c static int memio_buffer_put(struct memio_buffer *mb, const char *buf, int n); n 87 net/base/nss_memio.c static int memio_buffer_get(struct memio_buffer *mb, char *buf, int n); n 128 net/base/nss_memio.c static int memio_buffer_put(struct memio_buffer *mb, const char *buf, int n) n 134 net/base/nss_memio.c len = PR_MIN(n, memio_buffer_unused_contiguous(mb)); n 141 net/base/nss_memio.c n -= len; n 146 net/base/nss_memio.c len = PR_MIN(n, memio_buffer_unused_contiguous(mb)); n 162 net/base/nss_memio.c static int memio_buffer_get(struct memio_buffer *mb, char *buf, int n) n 168 net/base/nss_memio.c len = PR_MIN(n, memio_buffer_used_contiguous(mb)); n 174 net/base/nss_memio.c n -= len; n 179 net/base/nss_memio.c len = PR_MIN(n, memio_buffer_used_contiguous(mb)); n 241 net/cert/cert_verify_proc_mac.cc const CFIndex n = CFArrayGetCount(chain); n 242 net/cert/cert_verify_proc_mac.cc for (CFIndex i = 0; i < n; i++) { n 333 net/cert/cert_verify_proc_mac.cc int n = CFArrayGetCount(chain); n 334 net/cert/cert_verify_proc_mac.cc if (n < 1) n 337 net/cert/cert_verify_proc_mac.cc const_cast<void*>(CFArrayGetValueAtIndex(chain, n - 1))); n 127 net/cert/x509_certificate_nss.cc for (size_t n = 0; n < intermediate_ca_certs_.size(); ++n) { n 128 net/cert/x509_certificate_nss.cc cert_chain.push_back(intermediate_ca_certs_[n]); n 508 net/cert/x509_certificate_openssl.cc for (size_t n = 0; n < cert_names.size(); ++n) { n 511 net/cert/x509_certificate_openssl.cc if (X509_NAME_cmp(issuer, cert_names[n]) == 0) { n 577 net/cert/x509_util_nss.cc for (size_t n = 0; n < encoded_issuers.size(); ++n) { n 578 net/cert/x509_util_nss.cc CERTName* name = CreateCertNameFromEncoded(arena, encoded_issuers[n]); n 588 net/cert/x509_util_nss.cc for (size_t n = 0; n < result.size(); ++n) n 589 net/cert/x509_util_nss.cc CERT_DestroyName(result[n]); n 596 net/cert/x509_util_nss.cc for (size_t n = 0; n < cert_chain.size(); ++n) { n 597 net/cert/x509_util_nss.cc CERTName* cert_issuer = &cert_chain[n]->issuer; n 240 net/disk_cache/blockfile/stats.cc int n = 64 * 1024; n 247 net/disk_cache/blockfile/stats.cc n <<= i; n 248 net/disk_cache/blockfile/stats.cc return n; n 113 net/http/des.cc unsigned int n; n 139 net/http/des.cc rv = PK11_CipherOp(ctxt, hash, reinterpret_cast<int*>(&n), 8, n 145 net/http/des.cc rv = PK11_DigestFinal(ctxt, hash+8, &n, 0); n 72 net/http/http_auth_handler_ntlm.h typedef void (*GenerateRandomProc)(uint8* output, size_t n); n 434 net/http/http_auth_handler_ntlm_portable.cc static void GenerateRandom(uint8* output, size_t n) { n 435 net/http/http_auth_handler_ntlm_portable.cc for (size_t i = 0; i < n; ++i) n 29 net/http/http_chunked_decoder_unittest.cc int n = decoder.FilterBuf(&input[0], static_cast<int>(input.size())); n 30 net/http/http_chunked_decoder_unittest.cc EXPECT_GE(n, 0); n 31 net/http/http_chunked_decoder_unittest.cc if (n > 0) n 32 net/http/http_chunked_decoder_unittest.cc result.append(input.data(), n); n 49 net/http/http_chunked_decoder_unittest.cc int n = decoder.FilterBuf(&input[0], static_cast<int>(input.size())); n 50 net/http/http_chunked_decoder_unittest.cc if (n < 0) { n 51 net/http/http_chunked_decoder_unittest.cc EXPECT_EQ(ERR_INVALID_CHUNKED_ENCODING, n); n 456 net/http/http_network_transaction_unittest.cc void MockGenerateRandom1(uint8* output, size_t n) { n 461 net/http/http_network_transaction_unittest.cc for (size_t i = 0; i < n; ++i) { n 467 net/http/http_network_transaction_unittest.cc void MockGenerateRandom2(uint8* output, size_t n) { n 473 net/http/http_network_transaction_unittest.cc for (size_t i = 0; i < n; ++i) { n 9553 net/http/http_network_transaction_unittest.cc for (int n = 0; n < 2; n++) { n 65 net/http/md4.cc #define ROTL(x,n) (((x) << (n)) | ((x) >> (0x20 - n))) n 151 net/http/md4.cc Uint32 i, n, m, state[4]; n 167 net/http/md4.cc n = inputLen % 64; n 168 net/http/md4.cc memcpy(final, input + (m << 6), n); n 169 net/http/md4.cc final[n] = 0x80; n 170 net/http/md4.cc memset(final + n + 1, 0, 120 - (n + 1)); n 173 net/http/md4.cc w2b(final + (n >= 56 ? 120 : 56), &inputLen, 4); n 176 net/http/md4.cc if (n >= 56) n 47 net/quic/congestion_control/cubic_test.cc for (uint32 n = 1; n < current_cwnd / kNConnectionAlpha; ++n) { n 59 net/quic/congestion_control/cubic_test.cc for (uint32 n = 1; n < current_cwnd; ++n) { n 85 net/quic/congestion_control/cubic_test.cc for (uint32 n = 1; n < current_cwnd / kNConnectionAlpha; ++n) { n 103 net/quic/congestion_control/cubic_test.cc for (uint32 n = 1; n < current_cwnd; ++n) { n 71 net/quic/congestion_control/hybrid_slow_start_test.cc for (int n = 0; n < 29 && !slowStart_->IsEndOfRound(sequence_number++); ++n) { n 91 net/quic/congestion_control/hybrid_slow_start_test.cc for (int n = 0; n < kHybridStartMinSamples; ++n) { n 92 net/quic/congestion_control/hybrid_slow_start_test.cc slowStart_->Update(rtt_.Add(QuicTime::Delta::FromMilliseconds(n)), rtt_); n 96 net/quic/congestion_control/hybrid_slow_start_test.cc for (int n = 1; n < kHybridStartMinSamples; ++n) { n 97 net/quic/congestion_control/hybrid_slow_start_test.cc slowStart_->Update(rtt_.Add(QuicTime::Delta::FromMilliseconds(n + 4)), n 49 net/quic/congestion_control/inter_arrival_sender_test.cc void AckNPackets(int n) { n 50 net/quic/congestion_control/inter_arrival_sender_test.cc for (int i = 0; i < n; ++i) { n 76 net/quic/congestion_control/inter_arrival_sender_test.cc void SendFeedbackMessageNPackets(int n, n 81 net/quic/congestion_control/inter_arrival_sender_test.cc for (int i = 0; i < n; ++i) { n 78 net/quic/congestion_control/tcp_cubic_sender_test.cc void AckNPackets(int n) { n 79 net/quic/congestion_control/tcp_cubic_sender_test.cc for (int i = 0; i < n; ++i) { n 87 net/quic/congestion_control/tcp_cubic_sender_test.cc void LoseNPackets(int n) { n 88 net/quic/congestion_control/tcp_cubic_sender_test.cc for (int i = 0; i < n; ++i) { n 54 net/quic/crypto/common_cert_set.cc int n = memcmp(a.data(), b, len); n 55 net/quic/crypto/common_cert_set.cc if (n != 0) { n 56 net/quic/crypto/common_cert_set.cc return n; n 117 net/quic/crypto/common_cert_set.cc int n = Compare(cert, kSets[j].certs[mid], kSets[j].lens[mid]); n 118 net/quic/crypto/common_cert_set.cc if (n < 0) { n 123 net/quic/crypto/common_cert_set.cc } else if (n > 0) { n 44 net/quic/crypto/strike_register.cc uint32 child(unsigned n) const { return data_[n] >> 8; } n 501 net/quic/quic_stream_sequencer_test.cc int OneToN(int n) { n 502 net/quic/quic_stream_sequencer_test.cc return base::RandInt(1, n); n 1495 net/socket/ssl_client_socket_nss.cc int n = ca_names->nnames; n 1496 net/socket/ssl_client_socket_nss.cc for (int i = 0; i < n; i++) { n 90 net/socket/ssl_session_cache_openssl.cc for (unsigned n = 0; n < id_len; ++n) n 91 net/socket/ssl_session_cache_openssl.cc result += 131 * id[n]; n 178 net/socket/ssl_session_cache_openssl_unittest.cc for (size_t n = 0; n < kNumItems; ++n) { n 182 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(n + 1, cache_.size()); n 191 net/socket/ssl_session_cache_openssl_unittest.cc for (size_t n = 0; n < kNumItems; ++n) { n 314 net/socket/ssl_session_cache_openssl_unittest.cc for (size_t n = 0; n < kMaxItems; ++n) { n 319 net/socket/ssl_session_cache_openssl_unittest.cc EXPECT_EQ(n + 1, cache_.size()); n 324 net/socket/ssl_session_cache_openssl_unittest.cc for (size_t n = 0; n < kMaxItems; ++n) { n 344 net/socket/ssl_session_cache_openssl_unittest.cc for (size_t n = 0; n < kNumEntries - 1U; ++n) { n 345 net/socket/ssl_session_cache_openssl_unittest.cc std::string key = base::StringPrintf("%d", static_cast<int>(n)); n 350 net/socket/ssl_session_cache_openssl_unittest.cc ssl.get()->session->time = static_cast<long>(n); n 364 net/socket/ssl_session_cache_openssl_unittest.cc for (size_t n = 0; n < kMaxCheckCount - 1U; ++n) { n 1141 net/spdy/spdy_framer.cc static void WriteLengthZ(size_t n, n 1148 net/spdy/spdy_framer.cc buf[length - i] = n; n 1149 net/spdy/spdy_framer.cc n >>= 8; n 80 net/ssl/openssl_client_key_store.cc for (size_t n = 0; n < pairs_.size(); ++n) { n 81 net/ssl/openssl_client_key_store.cc if (EVP_PKEY_cmp(pairs_[n].public_key, public_key) == 1) n 82 net/ssl/openssl_client_key_store.cc return static_cast<int>(n); n 1045 net/third_party/nss/ssl/ssl3ecc.c #define BE(n) 0, n n 198 net/third_party/nss/ssl/sslimpl.h PRInt32 n, PRInt32 flags); n 140 ppapi/c/ppb_opengles2.h void (*DeleteBuffers)(PP_Resource context, GLsizei n, const GLuint* buffers); n 142 ppapi/c/ppb_opengles2.h GLsizei n, n 146 ppapi/c/ppb_opengles2.h GLsizei n, n 150 ppapi/c/ppb_opengles2.h GLsizei n, n 183 ppapi/c/ppb_opengles2.h void (*GenBuffers)(PP_Resource context, GLsizei n, GLuint* buffers); n 185 ppapi/c/ppb_opengles2.h void (*GenFramebuffers)(PP_Resource context, GLsizei n, GLuint* framebuffers); n 187 ppapi/c/ppb_opengles2.h GLsizei n, n 189 ppapi/c/ppb_opengles2.h void (*GenTextures)(PP_Resource context, GLsizei n, GLuint* textures); n 324 ppapi/c/ppb_opengles2.h GLsizei n, n 597 ppapi/c/ppb_opengles2.h void (*GenQueriesEXT)(PP_Resource context, GLsizei n, GLuint* queries); n 599 ppapi/c/ppb_opengles2.h GLsizei n, n 81 ppapi/examples/ime/ime.cc size_t GetNthCharOffsetUtf8(const std::string& str, size_t n) { n 83 ppapi/examples/ime/ime.cc for (size_t step = 0; step < n; ++step) n 285 ppapi/examples/ime/ime.cc size_t n = font_.CharacterOffsetForPixel( n 287 ppapi/examples/ime/ime.cc caret_pos_ = anchor_pos_ = GetNthCharOffsetUtf8(utf8_text_, n); n 295 ppapi/examples/ime/ime.cc size_t n = font_.CharacterOffsetForPixel( n 297 ppapi/examples/ime/ime.cc caret_pos_ = GetNthCharOffsetUtf8(utf8_text_, n); n 217 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glDeleteBuffers(GLsizei n, const GLuint* buffers) { n 218 ppapi/lib/gl/gles2/gles2.c glGetInterfacePPAPI()->DeleteBuffers(glGetCurrentContextPPAPI(), n, buffers); n 221 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers) { n 223 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), n, framebuffers); n 230 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) { n 232 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), n, renderbuffers); n 239 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glDeleteTextures(GLsizei n, const GLuint* textures) { n 241 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), n, textures); n 326 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glGenBuffers(GLsizei n, GLuint* buffers) { n 327 ppapi/lib/gl/gles2/gles2.c glGetInterfacePPAPI()->GenBuffers(glGetCurrentContextPPAPI(), n, buffers); n 334 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glGenFramebuffers(GLsizei n, GLuint* framebuffers) { n 336 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), n, framebuffers); n 339 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glGenRenderbuffers(GLsizei n, GLuint* renderbuffers) { n 341 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), n, renderbuffers); n 344 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glGenTextures(GLsizei n, GLuint* textures) { n 345 ppapi/lib/gl/gles2/gles2.c glGetInterfacePPAPI()->GenTextures(glGetCurrentContextPPAPI(), n, textures); n 607 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glShaderBinary(GLsizei n, n 613 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), n, shaders, binaryformat, binary, length); n 926 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glGenQueriesEXT(GLsizei n, GLuint* queries) { n 929 ppapi/lib/gl/gles2/gles2.c ext->GenQueriesEXT(glGetCurrentContextPPAPI(), n, queries); n 932 ppapi/lib/gl/gles2/gles2.c void GL_APIENTRY glDeleteQueriesEXT(GLsizei n, const GLuint* queries) { n 935 ppapi/lib/gl/gles2/gles2.c ext->DeleteQueriesEXT(glGetCurrentContextPPAPI(), n, queries); n 667 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint* buffers); n 668 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers); n 670 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers); n 672 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint* textures); n 688 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint* buffers); n 690 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint* framebuffers); n 691 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint* renderbuffers); n 692 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint* textures); n 736 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length); n 852 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); n 853 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); n 858 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); n 859 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); n 909 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); n 910 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); n 922 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); n 923 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); n 1126 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); n 1127 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); n 1135 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); n 1136 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); n 1211 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); n 1212 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); n 1243 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines); n 1244 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines); n 1424 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); n 1427 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); n 1457 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); n 1458 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); n 309 ppapi/shared_impl/ppb_opengles2_shared.cc void DeleteBuffers(PP_Resource context_id, GLsizei n, const GLuint* buffers) { n 312 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->DeleteBuffers(n, buffers); n 317 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei n, n 321 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->DeleteFramebuffers(n, framebuffers); n 333 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei n, n 337 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->DeleteRenderbuffers(n, renderbuffers); n 348 ppapi/shared_impl/ppb_opengles2_shared.cc void DeleteTextures(PP_Resource context_id, GLsizei n, const GLuint* textures) { n 351 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->DeleteTextures(n, textures); n 478 ppapi/shared_impl/ppb_opengles2_shared.cc void GenBuffers(PP_Resource context_id, GLsizei n, GLuint* buffers) { n 481 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->GenBuffers(n, buffers); n 492 ppapi/shared_impl/ppb_opengles2_shared.cc void GenFramebuffers(PP_Resource context_id, GLsizei n, GLuint* framebuffers) { n 495 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->GenFramebuffers(n, framebuffers); n 500 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei n, n 504 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->GenRenderbuffers(n, renderbuffers); n 508 ppapi/shared_impl/ppb_opengles2_shared.cc void GenTextures(PP_Resource context_id, GLsizei n, GLuint* textures) { n 511 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->GenTextures(n, textures); n 934 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei n, n 941 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->ShaderBinary(n, shaders, binaryformat, binary, length); n 1420 ppapi/shared_impl/ppb_opengles2_shared.cc void GenQueriesEXT(PP_Resource context_id, GLsizei n, GLuint* queries) { n 1423 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->GenQueriesEXT(n, queries); n 1428 ppapi/shared_impl/ppb_opengles2_shared.cc GLsizei n, n 1432 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->DeleteQueriesEXT(n, queries); n 154 sandbox/linux/seccomp-bpf/demo.cc size_t n = 1; n 155 sandbox/linux/seccomp-bpf/demo.cc if (n > sz) { n 164 sandbox/linux/seccomp-bpf/demo.cc if (++n > sz) { n 186 sandbox/linux/seccomp-bpf/demo.cc if (++n > sz) { n 29 sandbox/linux/seccomp-bpf/instruction.h Instruction(uint16_t c, uint32_t parm, Instruction* n) n 30 sandbox/linux/seccomp-bpf/instruction.h : code(c), next(n), k(parm) {} n 974 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc for (int n = 0; n < arg_value->size; ++n) { n 985 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc arg_value->tests[n].k_value = k_value; n 987 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc arg_value->tests[n].err = (rand() % 1000) + 1; n 988 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc arg_value->tests[n].arg_value = NULL; n 990 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc arg_value->tests[n].err = 0; n 991 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc arg_value->tests[n].arg_value = n 1030 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc for (int n = 0; n < arg_value->size; ++n) { n 1031 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc if (!arg_value->tests[n].err) { n 1032 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc DeleteArgValue(arg_value->tests[n].arg_value); n 1063 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc for (int n = arg_value->size; n-- > 0;) { n 1066 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc if (arg_value->tests[n].err) { n 1067 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc matched = ErrorCode(arg_value->tests[n].err); n 1069 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc matched = ToErrorCode(sandbox, arg_value->tests[n].arg_value); n 1077 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc arg_value->tests[n].k_value, n 1089 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc for (int n = arg_value.size; n-- > 0;) { n 1090 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc mismatched += arg_value.tests[n].k_value; n 1091 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc args[arg_value.argno] = arg_value.tests[n].k_value; n 1092 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc if (arg_value.tests[n].err) { n 1093 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc VerifyErrno(sysno, args, arg_value.tests[n].err); n 1095 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc Verify(sysno, args, *arg_value.tests[n].arg_value); n 1103 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc for (int n = arg_value.size; n-- > 0;) { n 1104 sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc if (mismatched == arg_value.tests[n].k_value) { n 35 sandbox/linux/suid/linux_util.c const ssize_t n = readlinkat(base_dir_fd, path, buf, sizeof(buf) - 1); n 36 sandbox/linux/suid/linux_util.c if (n < 0) n 38 sandbox/linux/suid/linux_util.c buf[n] = 0; n 212 sandbox/win/src/crosscall_client.h template<size_t n> n 213 sandbox/win/src/crosscall_client.h class CopyHelper<const wchar_t[n]> : public CopyHelper<const wchar_t*> { n 72 sandbox/win/src/nt_internals.h #define InitializeObjectAttributes(p, n, a, r, s) { \ n 76 sandbox/win/src/nt_internals.h (p)->ObjectName = n;\ n 188 sandbox/win/src/policy_engine_params.h ParameterSet& operator[](typename T::Args n) { n 189 sandbox/win/src/policy_engine_params.h return parameters[n]; n 154 sandbox/win/tools/finder/ntundoc.h #define InitializeObjectAttributes( p, n, a, r, s ) { \ n 158 sandbox/win/tools/finder/ntundoc.h (p)->ObjectName = n; \ n 37 skia/ext/recursive_gaussian_convolution.cc int n, n 41 skia/ext/recursive_gaussian_convolution.cc return b[0] * in_n + b[1] * w[n-1] + b[2] * w[n-2] + b[3] * w[n-3]; n 44 skia/ext/recursive_gaussian_convolution.cc b[1] * w[n-1] + b[2] * w[n-2] + b[3] * w[n-3]; n 47 skia/ext/recursive_gaussian_convolution.cc b[1] * w[n-1] + b[2] * w[n-2] + b[3] * w[n-3]; n 56 skia/ext/recursive_gaussian_convolution.cc int n, n 64 skia/ext/recursive_gaussian_convolution.cc b[1] * out[n + 1] + b[2] * out[n + 2] + b[3] * out[n + 3]; n 67 skia/ext/recursive_gaussian_convolution.cc b[1] * out[n + 1] + b[2] * out[n + 2] + b[3] * out[n + 3]; n 100 skia/ext/recursive_gaussian_convolution.cc int n = 4; n 103 skia/ext/recursive_gaussian_convolution.cc for (; c < row_width - 1; ++c, ++n, byte_index += source_pixel_stride) { n 104 skia/ext/recursive_gaussian_convolution.cc w[n] = ForwardFilter<order>(in[byte_index - source_pixel_stride], n 107 skia/ext/recursive_gaussian_convolution.cc w, n, b); n 112 skia/ext/recursive_gaussian_convolution.cc w[n] = ForwardFilter<order>(in[byte_index - source_pixel_stride], n 115 skia/ext/recursive_gaussian_convolution.cc w, n, b); n 117 skia/ext/recursive_gaussian_convolution.cc w[n + 1] = w[n]; n 118 skia/ext/recursive_gaussian_convolution.cc w[n + 2] = w[n]; n 119 skia/ext/recursive_gaussian_convolution.cc w[n + 3] = w[n]; n 122 skia/ext/recursive_gaussian_convolution.cc float w_n1 = w[n + 1]; n 124 skia/ext/recursive_gaussian_convolution.cc for (; c >= 0; output_index -= output_pixel_stride, --c, --n) { n 125 skia/ext/recursive_gaussian_convolution.cc float w_n = BackwardFilter<order>(w, n, w[n], w_n1, b); n 126 skia/ext/recursive_gaussian_convolution.cc w_n1 = w[n]; n 127 skia/ext/recursive_gaussian_convolution.cc w[n] = w_n; n 82 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition &n) { n 83 sync/internal_api/public/base/unique_position_unittest.cc if (m.LessThan(n)) n 88 sync/internal_api/public/base/unique_position_unittest.cc << " (" << m.ToDebugString() << " and " << n.ToDebugString() << ")"; n 94 sync/internal_api/public/base/unique_position_unittest.cc const UniquePosition &n) { n 95 sync/internal_api/public/base/unique_position_unittest.cc if (m.Equals(n)) n 100 sync/internal_api/public/base/unique_position_unittest.cc << " (" << m.ToDebugString() << " != " << n.ToDebugString() << ")"; n 91 sync/internal_api/public/util/weak_handle.h template <typename T, size_t n> n 92 sync/internal_api/public/util/weak_handle.h struct ParamTraits<T[n]> { n 209 sync/notifier/sync_invalidation_listener_unittest.cc void AcknowledgeNthInvalidation(const ObjectId& id, size_t n) { n 211 sync/notifier/sync_invalidation_listener_unittest.cc List::iterator it = list.begin() + n; n 222 sync/notifier/sync_invalidation_listener_unittest.cc void DropNthInvalidation(const ObjectId& id, size_t n) { n 225 sync/notifier/sync_invalidation_listener_unittest.cc List::iterator it = list.begin() + n; n 348 sync/notifier/sync_invalidation_listener_unittest.cc void AcknowledgeNthInvalidation(const ObjectId& id, size_t n) { n 349 sync/notifier/sync_invalidation_listener_unittest.cc fake_delegate_.AcknowledgeNthInvalidation(id, n); n 352 sync/notifier/sync_invalidation_listener_unittest.cc void DropNthInvalidation(const ObjectId& id, size_t n) { n 353 sync/notifier/sync_invalidation_listener_unittest.cc return fake_delegate_.DropNthInvalidation(id, n); n 1860 sync/syncable/directory_backing_store_unittest.cc std::string V81_Ordinal(int n) { n 1861 sync/syncable/directory_backing_store_unittest.cc return Int64ToNodeOrdinal(V80_POSITIONS[n]).ToInternalValue(); n 37 sync/syncable/parent_child_index_unittest.cc static syncable::Id GetBookmarkId(int n) { n 38 sync/syncable/parent_child_index_unittest.cc return syncable::Id::CreateFromServerId("b" + base::IntToString(n)); n 41 sync/syncable/parent_child_index_unittest.cc static syncable::Id GetClientUniqueId(int n) { n 42 sync/syncable/parent_child_index_unittest.cc return syncable::Id::CreateFromServerId("c" + base::IntToString(n)); n 76 sync/syncable/parent_child_index_unittest.cc EntryKernel* MakeBookmark(int n, int pos, bool is_dir) { n 79 sync/syncable/parent_child_index_unittest.cc bm->put(META_HANDLE, n); n 83 sync/syncable/parent_child_index_unittest.cc bm->put(ID, GetBookmarkId(n)); n 100 sync/syncable/parent_child_index_unittest.cc EntryKernel* MakeUniqueClientItem(int n) { n 102 sync/syncable/parent_child_index_unittest.cc item->put(META_HANDLE, n); n 106 sync/syncable/parent_child_index_unittest.cc item->put(ID, GetClientUniqueId(n)); n 109 sync/syncable/parent_child_index_unittest.cc item->put(UNIQUE_CLIENT_TAG, base::IntToString(n)); n 166 sync/test/engine/mock_connection_manager.h void FailNthPostBufferToPathCall(int n) { countdown_to_postbuffer_fail_ = n; } n 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) \ n 103 third_party/bintrees/bintrees/cwalker.c PyCode_New(a, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) n 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) \ n 107 third_party/bintrees/bintrees/cwalker.c PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) n 215 third_party/bintrees/bintrees/cwalker.c #define __Pyx_GetAttrString(o,n) PyObject_GetAttrString((o),((char *)(n))) n 216 third_party/bintrees/bintrees/cwalker.c #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),((char *)(n)),(a)) n 217 third_party/bintrees/bintrees/cwalker.c #define __Pyx_DelAttrString(o,n) PyObject_DelAttrString((o),((char *)(n))) n 219 third_party/bintrees/bintrees/cwalker.c #define __Pyx_GetAttrString(o,n) PyObject_GetAttrString((o),(n)) n 220 third_party/bintrees/bintrees/cwalker.c #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),(n),(a)) n 221 third_party/bintrees/bintrees/cwalker.c #define __Pyx_DelAttrString(o,n) PyObject_DelAttrString((o),(n)) n 224 third_party/bintrees/bintrees/cwalker.c #define __Pyx_NAMESTR(n) ((char *)(n)) n 225 third_party/bintrees/bintrees/cwalker.c #define __Pyx_DOCSTR(n) ((char *)(n)) n 227 third_party/bintrees/bintrees/cwalker.c #define __Pyx_NAMESTR(n) (n) n 228 third_party/bintrees/bintrees/cwalker.c #define __Pyx_DOCSTR(n) (n) n 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*/ n 3682 third_party/bintrees/bintrees/cwalker.c *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL); n 3686 third_party/bintrees/bintrees/cwalker.c *t->p = PyString_FromStringAndSize(t->s, t->n - 1); n 3693 third_party/bintrees/bintrees/cwalker.c *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL); n 3695 third_party/bintrees/bintrees/cwalker.c *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1); n 3698 third_party/bintrees/bintrees/cwalker.c *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1); n 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) \ n 103 third_party/bintrees/bintrees/qavltree.c PyCode_New(a, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) n 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) \ n 107 third_party/bintrees/bintrees/qavltree.c PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) n 215 third_party/bintrees/bintrees/qavltree.c #define __Pyx_GetAttrString(o,n) PyObject_GetAttrString((o),((char *)(n))) n 216 third_party/bintrees/bintrees/qavltree.c #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),((char *)(n)),(a)) n 217 third_party/bintrees/bintrees/qavltree.c #define __Pyx_DelAttrString(o,n) PyObject_DelAttrString((o),((char *)(n))) n 219 third_party/bintrees/bintrees/qavltree.c #define __Pyx_GetAttrString(o,n) PyObject_GetAttrString((o),(n)) n 220 third_party/bintrees/bintrees/qavltree.c #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),(n),(a)) n 221 third_party/bintrees/bintrees/qavltree.c #define __Pyx_DelAttrString(o,n) PyObject_DelAttrString((o),(n)) n 224 third_party/bintrees/bintrees/qavltree.c #define __Pyx_NAMESTR(n) ((char *)(n)) n 225 third_party/bintrees/bintrees/qavltree.c #define __Pyx_DOCSTR(n) ((char *)(n)) n 227 third_party/bintrees/bintrees/qavltree.c #define __Pyx_NAMESTR(n) (n) n 228 third_party/bintrees/bintrees/qavltree.c #define __Pyx_DOCSTR(n) (n) n 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*/ n 519 third_party/bintrees/bintrees/qavltree.c Py_ssize_t n = (likely(i >= 0)) ? i : i + PyList_GET_SIZE(o); n 520 third_party/bintrees/bintrees/qavltree.c if (likely((n >= 0) & (n < PyList_GET_SIZE(o)))) { n 521 third_party/bintrees/bintrees/qavltree.c PyObject *r = PyList_GET_ITEM(o, n); n 527 third_party/bintrees/bintrees/qavltree.c Py_ssize_t n = (likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o); n 528 third_party/bintrees/bintrees/qavltree.c if (likely((n >= 0) & (n < PyTuple_GET_SIZE(o)))) { n 529 third_party/bintrees/bintrees/qavltree.c PyObject *r = PyTuple_GET_ITEM(o, n); n 3285 third_party/bintrees/bintrees/qavltree.c *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL); n 3289 third_party/bintrees/bintrees/qavltree.c *t->p = PyString_FromStringAndSize(t->s, t->n - 1); n 3296 third_party/bintrees/bintrees/qavltree.c *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL); n 3298 third_party/bintrees/bintrees/qavltree.c *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1); n 3301 third_party/bintrees/bintrees/qavltree.c *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1); n 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) \ n 103 third_party/bintrees/bintrees/qbintree.c PyCode_New(a, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) n 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) \ n 107 third_party/bintrees/bintrees/qbintree.c PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) n 215 third_party/bintrees/bintrees/qbintree.c #define __Pyx_GetAttrString(o,n) PyObject_GetAttrString((o),((char *)(n))) n 216 third_party/bintrees/bintrees/qbintree.c #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),((char *)(n)),(a)) n 217 third_party/bintrees/bintrees/qbintree.c #define __Pyx_DelAttrString(o,n) PyObject_DelAttrString((o),((char *)(n))) n 219 third_party/bintrees/bintrees/qbintree.c #define __Pyx_GetAttrString(o,n) PyObject_GetAttrString((o),(n)) n 220 third_party/bintrees/bintrees/qbintree.c #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),(n),(a)) n 221 third_party/bintrees/bintrees/qbintree.c #define __Pyx_DelAttrString(o,n) PyObject_DelAttrString((o),(n)) n 224 third_party/bintrees/bintrees/qbintree.c #define __Pyx_NAMESTR(n) ((char *)(n)) n 225 third_party/bintrees/bintrees/qbintree.c #define __Pyx_DOCSTR(n) ((char *)(n)) n 227 third_party/bintrees/bintrees/qbintree.c #define __Pyx_NAMESTR(n) (n) n 228 third_party/bintrees/bintrees/qbintree.c #define __Pyx_DOCSTR(n) (n) n 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*/ n 519 third_party/bintrees/bintrees/qbintree.c Py_ssize_t n = (likely(i >= 0)) ? i : i + PyList_GET_SIZE(o); n 520 third_party/bintrees/bintrees/qbintree.c if (likely((n >= 0) & (n < PyList_GET_SIZE(o)))) { n 521 third_party/bintrees/bintrees/qbintree.c PyObject *r = PyList_GET_ITEM(o, n); n 527 third_party/bintrees/bintrees/qbintree.c Py_ssize_t n = (likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o); n 528 third_party/bintrees/bintrees/qbintree.c if (likely((n >= 0) & (n < PyTuple_GET_SIZE(o)))) { n 529 third_party/bintrees/bintrees/qbintree.c PyObject *r = PyTuple_GET_ITEM(o, n); n 3280 third_party/bintrees/bintrees/qbintree.c *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL); n 3284 third_party/bintrees/bintrees/qbintree.c *t->p = PyString_FromStringAndSize(t->s, t->n - 1); n 3291 third_party/bintrees/bintrees/qbintree.c *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL); n 3293 third_party/bintrees/bintrees/qbintree.c *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1); n 3296 third_party/bintrees/bintrees/qbintree.c *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1); n 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) \ n 103 third_party/bintrees/bintrees/qrbtree.c PyCode_New(a, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) n 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) \ n 107 third_party/bintrees/bintrees/qrbtree.c PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) n 215 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_GetAttrString(o,n) PyObject_GetAttrString((o),((char *)(n))) n 216 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),((char *)(n)),(a)) n 217 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_DelAttrString(o,n) PyObject_DelAttrString((o),((char *)(n))) n 219 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_GetAttrString(o,n) PyObject_GetAttrString((o),(n)) n 220 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),(n),(a)) n 221 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_DelAttrString(o,n) PyObject_DelAttrString((o),(n)) n 224 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_NAMESTR(n) ((char *)(n)) n 225 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_DOCSTR(n) ((char *)(n)) n 227 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_NAMESTR(n) (n) n 228 third_party/bintrees/bintrees/qrbtree.c #define __Pyx_DOCSTR(n) (n) n 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*/ n 519 third_party/bintrees/bintrees/qrbtree.c Py_ssize_t n = (likely(i >= 0)) ? i : i + PyList_GET_SIZE(o); n 520 third_party/bintrees/bintrees/qrbtree.c if (likely((n >= 0) & (n < PyList_GET_SIZE(o)))) { n 521 third_party/bintrees/bintrees/qrbtree.c PyObject *r = PyList_GET_ITEM(o, n); n 527 third_party/bintrees/bintrees/qrbtree.c Py_ssize_t n = (likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o); n 528 third_party/bintrees/bintrees/qrbtree.c if (likely((n >= 0) & (n < PyTuple_GET_SIZE(o)))) { n 529 third_party/bintrees/bintrees/qrbtree.c PyObject *r = PyTuple_GET_ITEM(o, n); n 3282 third_party/bintrees/bintrees/qrbtree.c *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL); n 3286 third_party/bintrees/bintrees/qrbtree.c *t->p = PyString_FromStringAndSize(t->s, t->n - 1); n 3293 third_party/bintrees/bintrees/qrbtree.c *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL); n 3295 third_party/bintrees/bintrees/qrbtree.c *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1); n 3298 third_party/bintrees/bintrees/qrbtree.c *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1); n 677 third_party/cld/base/logging.h #define SOME_KIND_OF_LOG_EVERY_N(severity, n, what_to_do) \ n 680 third_party/cld/base/logging.h if (++LOG_OCCURRENCES_MOD_N > n) LOG_OCCURRENCES_MOD_N -= n; \ n 685 third_party/cld/base/logging.h #define SOME_KIND_OF_LOG_IF_EVERY_N(severity, condition, n, what_to_do) \ n 691 third_party/cld/base/logging.h ((LOG_OCCURRENCES_MOD_N=(LOG_OCCURRENCES_MOD_N + 1) % n) == (1 % n))) \ n 695 third_party/cld/base/logging.h #define SOME_KIND_OF_PLOG_EVERY_N(severity, n, what_to_do) \ n 700 third_party/cld/base/logging.h if (++LOG_OCCURRENCES_MOD_N > n) LOG_OCCURRENCES_MOD_N -= n; \ n 705 third_party/cld/base/logging.h #define SOME_KIND_OF_LOG_FIRST_N(severity, n, what_to_do) \ n 708 third_party/cld/base/logging.h if (LOG_OCCURRENCES <= n) \ n 710 third_party/cld/base/logging.h if (LOG_OCCURRENCES <= n) \ n 714 third_party/cld/base/logging.h #define LOG_EVERY_N(severity, n) \ n 717 third_party/cld/base/logging.h SOME_KIND_OF_LOG_EVERY_N(severity, (n), LogMessage::SendToLog) n 719 third_party/cld/base/logging.h #define SYSLOG_EVERY_N(severity, n) \ n 720 third_party/cld/base/logging.h SOME_KIND_OF_LOG_EVERY_N(severity, (n), LogMessage::SendToSyslogAndLog) n 722 third_party/cld/base/logging.h #define PLOG_EVERY_N(severity, n) \ n 723 third_party/cld/base/logging.h SOME_KIND_OF_PLOG_EVERY_N(severity, (n), LogMessage::SendToLog) n 725 third_party/cld/base/logging.h #define LOG_FIRST_N(severity, n) \ n 726 third_party/cld/base/logging.h SOME_KIND_OF_LOG_FIRST_N(severity, (n), LogMessage::SendToLog) n 728 third_party/cld/base/logging.h #define LOG_IF_EVERY_N(severity, condition, n) \ n 729 third_party/cld/base/logging.h SOME_KIND_OF_LOG_IF_EVERY_N(severity, (condition), (n), LogMessage::SendToLog) n 742 third_party/cld/base/logging.h #define DLOG_EVERY_N(severity, n) LOG_EVERY_N(severity, n) n 743 third_party/cld/base/logging.h #define DLOG_IF_EVERY_N(severity, condition, n) \ n 744 third_party/cld/base/logging.h LOG_IF_EVERY_N(severity, condition, n) n 772 third_party/cld/base/logging.h #define DLOG_EVERY_N(severity, n) \ n 775 third_party/cld/base/logging.h #define DLOG_IF_EVERY_N(severity, condition, n) \ n 835 third_party/cld/base/logging.h #define VLOG_EVERY_N(verboselevel, n) \ n 836 third_party/cld/base/logging.h LOG_IF_EVERY_N(INFO, VLOG_IS_ON(verboselevel), n) n 838 third_party/cld/base/logging.h #define VLOG_IF_EVERY_N(verboselevel, condition, n) \ n 839 third_party/cld/base/logging.h LOG_IF_EVERY_N(INFO, (condition) && VLOG_IS_ON(verboselevel), n) n 460 third_party/cld/encodings/compact_lang_det/cldutil.cc int n = kAdvanceOneChar[*usrc]; usrc += n; usrclen -= n; n 465 third_party/cld/encodings/compact_lang_det/cldutil.cc int n = kAdvanceOneChar[*usrc]; usrc += n; usrclen -= n; n 466 third_party/cld/encodings/compact_lang_det/cldutil.cc n = kAdvanceOneChar[*usrc]; usrc += n; usrclen -= n; n 467 third_party/cld/encodings/compact_lang_det/cldutil.cc n = kAdvanceOneChar[*usrc]; usrc += n; usrclen -= n; n 472 third_party/cld/encodings/compact_lang_det/cldutil.cc int n = kAdvanceOneChar[*usrc]; usrc += n; usrclen -= n; n 473 third_party/cld/encodings/compact_lang_det/cldutil.cc n = kAdvanceOneChar[*usrc]; usrc += n; usrclen -= n; n 474 third_party/cld/encodings/compact_lang_det/cldutil.cc n = kAdvanceOneChar[*usrc]; usrc += n; usrclen -= n; n 475 third_party/cld/encodings/compact_lang_det/cldutil.cc n = kAdvanceOneChar[*usrc]; usrc += n; usrclen -= n; n 476 third_party/cld/encodings/compact_lang_det/cldutil.cc n = kAdvanceOneChar[*usrc]; usrc += n; usrclen -= n; n 477 third_party/cld/encodings/compact_lang_det/cldutil.cc n = kAdvanceOneChar[*usrc]; usrc += n; usrclen -= n; n 478 third_party/cld/encodings/compact_lang_det/cldutil.cc n = kAdvanceOneChar[*usrc]; usrc += n; usrclen -= n; n 769 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int n = 0; n 771 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc while (n < limit) { n 772 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc if (src[-n - 1] == ' ') {return n;} // We are at _X n 773 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc ++n; n 782 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int n = 0; n 784 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc while (n < limit) { n 785 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc if (src[n] == ' ') {return n + 1;} // We are at _X n 786 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc ++n; n 1002 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int n = BackscanToSpace(dst, static_cast<int>(dst - isrc)); n 1003 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc dst -= n; n 1021 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int n = ForwardscanToSpace(src, len); n 1022 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc src += n; n 1023 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc remaining_bytes -= n; // Shrink remaining length n 1024 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc len -= n; n 1788 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int n = HintBinaryLookup4(kTLDHintProbs, kTLDHintProbsSize, n 1791 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc if (n >= 0) { n 1792 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc uint32 probs = kTLDHintProbs[n].probs; n 15 third_party/cld/encodings/compact_lang_det/string_byte_sink.cc void StringByteSink::Append(const char* data, int32_t n) { n 16 third_party/cld/encodings/compact_lang_det/string_byte_sink.cc dest_->append(data, n); n 20 third_party/cld/encodings/compact_lang_det/string_byte_sink.h virtual void Append(const char* data, int32_t n); n 52 third_party/cld/encodings/compact_lang_det/subsetsequence.cc void DumpInts(const char* label, const int* v, int n) { n 54 third_party/cld/encodings/compact_lang_det/subsetsequence.cc for (int i = 0; i < n; ++i) { n 60 third_party/cld/encodings/compact_lang_det/subsetsequence.cc void DumpUint8s(const char* label, const uint8* v, int n) { n 62 third_party/cld/encodings/compact_lang_det/subsetsequence.cc for (int i = 0; i < n; ++i) { n 18 third_party/cld/encodings/compact_lang_det/subsetsequence.h void Extract(int n, uint8* dst); n 107 third_party/cld/encodings/compact_lang_det/tote.cc void Tote::Sort(int n) { n 109 third_party/cld/encodings/compact_lang_det/tote.cc for (int sub = 0; sub < n; ++sub) { n 260 third_party/cld/encodings/compact_lang_det/tote.cc void ToteWithReliability::Sort(int n) { n 262 third_party/cld/encodings/compact_lang_det/tote.cc for (int sub = 0; sub < n; ++sub) { n 22 third_party/cld/encodings/compact_lang_det/tote.h void Sort(int n); n 57 third_party/cld/encodings/compact_lang_det/tote.h void Sort(int n); n 76 third_party/expat/files/lib/xmlparse.c #define ROUND_UP(n, sz) (((n) + ((sz) - 1)) & ~((sz) - 1)) n 425 third_party/expat/files/lib/xmlparse.c poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n); n 2551 third_party/expat/files/lib/xmlparse.c int n = XmlCharRefNumber(enc, s); n 2552 third_party/expat/files/lib/xmlparse.c if (n < 0) n 2556 third_party/expat/files/lib/xmlparse.c characterDataHandler(handlerArg, buf, XmlEncode(n, (ICHAR *)buf)); n 2709 third_party/expat/files/lib/xmlparse.c int n; n 2731 third_party/expat/files/lib/xmlparse.c n = XmlGetAttributes(enc, attStr, attsSize, atts); n 2732 third_party/expat/files/lib/xmlparse.c if (n + nDefaultAtts > attsSize) { n 2738 third_party/expat/files/lib/xmlparse.c attsSize = n + nDefaultAtts + INIT_ATTS_SIZE; n 2749 third_party/expat/files/lib/xmlparse.c if (n > oldAttsSize) n 2750 third_party/expat/files/lib/xmlparse.c XmlGetAttributes(enc, attStr, n, atts); n 2754 third_party/expat/files/lib/xmlparse.c for (i = 0; i < n; i++) { n 3019 third_party/expat/files/lib/xmlparse.c n = i + binding->uriLen + prefixLen; n 3020 third_party/expat/files/lib/xmlparse.c if (n > binding->uriAlloc) { n 3022 third_party/expat/files/lib/xmlparse.c uri = (XML_Char *)MALLOC((n + EXPAND_SPARE) * sizeof(XML_Char)); n 3025 third_party/expat/files/lib/xmlparse.c binding->uriAlloc = n + EXPAND_SPARE; n 4961 third_party/expat/files/lib/xmlparse.c int n = XmlCharRefNumber(enc, ptr); n 4962 third_party/expat/files/lib/xmlparse.c if (n < 0) { n 4968 third_party/expat/files/lib/xmlparse.c && n == 0x20 /* space */ n 4971 third_party/expat/files/lib/xmlparse.c n = XmlEncode(n, (ICHAR *)buf); n 4972 third_party/expat/files/lib/xmlparse.c if (!n) { n 4977 third_party/expat/files/lib/xmlparse.c for (i = 0; i < n; i++) { n 5205 third_party/expat/files/lib/xmlparse.c int n = XmlCharRefNumber(enc, entityTextPtr); n 5206 third_party/expat/files/lib/xmlparse.c if (n < 0) { n 5212 third_party/expat/files/lib/xmlparse.c n = XmlEncode(n, (ICHAR *)buf); n 5213 third_party/expat/files/lib/xmlparse.c if (!n) { n 5219 third_party/expat/files/lib/xmlparse.c for (i = 0; i < n; i++) { n 6173 third_party/expat/files/lib/xmlparse.c poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n) n 6177 third_party/expat/files/lib/xmlparse.c for (; n > 0; --n, s++) { n 74 third_party/expat/files/lib/xmltok.c #define UTF8_GET_NAMING(pages, p, n) \ n 75 third_party/expat/files/lib/xmltok.c ((n) == 2 \ n 77 third_party/expat/files/lib/xmltok.c : ((n) == 3 \ n 269 third_party/expat/files/lib/xmltok.c #define IS_NAME_CHAR(enc, p, n) \ n 270 third_party/expat/files/lib/xmltok.c (AS_NORMAL_ENCODING(enc)->isName ## n(enc, p)) n 271 third_party/expat/files/lib/xmltok.c #define IS_NMSTRT_CHAR(enc, p, n) \ n 272 third_party/expat/files/lib/xmltok.c (AS_NORMAL_ENCODING(enc)->isNmstrt ## n(enc, p)) n 273 third_party/expat/files/lib/xmltok.c #define IS_INVALID_CHAR(enc, p, n) \ n 274 third_party/expat/files/lib/xmltok.c (AS_NORMAL_ENCODING(enc)->isInvalid ## n(enc, p)) n 360 third_party/expat/files/lib/xmltok.c unsigned long n; n 363 third_party/expat/files/lib/xmltok.c n = ((from[0] & 0x7) << 18) | ((from[1] & 0x3f) << 12) n 365 third_party/expat/files/lib/xmltok.c n -= 0x10000; n 366 third_party/expat/files/lib/xmltok.c to[0] = (unsigned short)((n >> 10) | 0xD800); n 367 third_party/expat/files/lib/xmltok.c to[1] = (unsigned short)((n & 0x3FF) | 0xDC00); n 694 third_party/expat/files/lib/xmltok.c #define IS_NAME_CHAR(enc, p, n) 0 n 696 third_party/expat/files/lib/xmltok.c #define IS_NMSTRT_CHAR(enc, p, n) (0) n 835 third_party/expat/files/lib/xmltok.c #define IS_NAME_CHAR(enc, p, n) 0 n 837 third_party/expat/files/lib/xmltok.c #define IS_NMSTRT_CHAR(enc, p, n) (0) n 1300 third_party/expat/files/lib/xmltok.c int n; n 1304 third_party/expat/files/lib/xmltok.c n = *utf8++; n 1305 third_party/expat/files/lib/xmltok.c if (n == 0) { n 1307 third_party/expat/files/lib/xmltok.c n = XmlUtf8Encode(c, buf); n 1308 third_party/expat/files/lib/xmltok.c if (n > toLim - *toP) n 1315 third_party/expat/files/lib/xmltok.c if (n > toLim - *toP) n 1321 third_party/expat/files/lib/xmltok.c } while (--n != 0); n 9 third_party/expat/files/lib/xmltok_impl.c #define IS_INVALID_CHAR(enc, ptr, n) (0) n 12 third_party/expat/files/lib/xmltok_impl.c #define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \ n 13 third_party/expat/files/lib/xmltok_impl.c case BT_LEAD ## n: \ n 14 third_party/expat/files/lib/xmltok_impl.c if (end - ptr < n) \ n 16 third_party/expat/files/lib/xmltok_impl.c if (IS_INVALID_CHAR(enc, ptr, n)) { \ n 20 third_party/expat/files/lib/xmltok_impl.c ptr += n; \ n 33 third_party/expat/files/lib/xmltok_impl.c #define CHECK_NAME_CASE(n, enc, ptr, end, nextTokPtr) \ n 34 third_party/expat/files/lib/xmltok_impl.c case BT_LEAD ## n: \ n 35 third_party/expat/files/lib/xmltok_impl.c if (end - ptr < n) \ n 37 third_party/expat/files/lib/xmltok_impl.c if (!IS_NAME_CHAR(enc, ptr, n)) { \ n 41 third_party/expat/files/lib/xmltok_impl.c ptr += n; \ n 61 third_party/expat/files/lib/xmltok_impl.c #define CHECK_NMSTRT_CASE(n, enc, ptr, end, nextTokPtr) \ n 62 third_party/expat/files/lib/xmltok_impl.c case BT_LEAD ## n: \ n 63 third_party/expat/files/lib/xmltok_impl.c if (end - ptr < n) \ n 65 third_party/expat/files/lib/xmltok_impl.c if (!IS_NMSTRT_CHAR(enc, ptr, n)) { \ n 69 third_party/expat/files/lib/xmltok_impl.c ptr += n; \ n 311 third_party/expat/files/lib/xmltok_impl.c size_t n = end - ptr; n 312 third_party/expat/files/lib/xmltok_impl.c if (n & (MINBPC(enc) - 1)) { n 313 third_party/expat/files/lib/xmltok_impl.c n &= ~(MINBPC(enc) - 1); n 314 third_party/expat/files/lib/xmltok_impl.c if (n == 0) n 316 third_party/expat/files/lib/xmltok_impl.c end = ptr + n; n 353 third_party/expat/files/lib/xmltok_impl.c #define LEAD_CASE(n) \ n 354 third_party/expat/files/lib/xmltok_impl.c case BT_LEAD ## n: \ n 355 third_party/expat/files/lib/xmltok_impl.c if (end - ptr < n || IS_INVALID_CHAR(enc, ptr, n)) { \ n 359 third_party/expat/files/lib/xmltok_impl.c ptr += n; \ n 791 third_party/expat/files/lib/xmltok_impl.c size_t n = end - ptr; n 792 third_party/expat/files/lib/xmltok_impl.c if (n & (MINBPC(enc) - 1)) { n 793 third_party/expat/files/lib/xmltok_impl.c n &= ~(MINBPC(enc) - 1); n 794 third_party/expat/files/lib/xmltok_impl.c if (n == 0) n 796 third_party/expat/files/lib/xmltok_impl.c end = ptr + n; n 837 third_party/expat/files/lib/xmltok_impl.c #define LEAD_CASE(n) \ n 838 third_party/expat/files/lib/xmltok_impl.c case BT_LEAD ## n: \ n 839 third_party/expat/files/lib/xmltok_impl.c if (end - ptr < n || IS_INVALID_CHAR(enc, ptr, n)) { \ n 843 third_party/expat/files/lib/xmltok_impl.c ptr += n; \ n 979 third_party/expat/files/lib/xmltok_impl.c size_t n = end - ptr; n 980 third_party/expat/files/lib/xmltok_impl.c if (n & (MINBPC(enc) - 1)) { n 981 third_party/expat/files/lib/xmltok_impl.c n &= ~(MINBPC(enc) - 1); n 982 third_party/expat/files/lib/xmltok_impl.c if (n == 0) n 984 third_party/expat/files/lib/xmltok_impl.c end = ptr + n; n 1096 third_party/expat/files/lib/xmltok_impl.c #define LEAD_CASE(n) \ n 1097 third_party/expat/files/lib/xmltok_impl.c case BT_LEAD ## n: \ n 1098 third_party/expat/files/lib/xmltok_impl.c if (end - ptr < n) \ n 1100 third_party/expat/files/lib/xmltok_impl.c if (IS_NMSTRT_CHAR(enc, ptr, n)) { \ n 1101 third_party/expat/files/lib/xmltok_impl.c ptr += n; \ n 1105 third_party/expat/files/lib/xmltok_impl.c if (IS_NAME_CHAR(enc, ptr, n)) { \ n 1106 third_party/expat/files/lib/xmltok_impl.c ptr += n; \ n 1212 third_party/expat/files/lib/xmltok_impl.c #define LEAD_CASE(n) \ n 1213 third_party/expat/files/lib/xmltok_impl.c case BT_LEAD ## n: ptr += n; break; n 1270 third_party/expat/files/lib/xmltok_impl.c #define LEAD_CASE(n) \ n 1271 third_party/expat/files/lib/xmltok_impl.c case BT_LEAD ## n: ptr += n; break; n 1323 third_party/expat/files/lib/xmltok_impl.c size_t n = end - ptr; n 1324 third_party/expat/files/lib/xmltok_impl.c if (n & (MINBPC(enc) - 1)) { n 1325 third_party/expat/files/lib/xmltok_impl.c n &= ~(MINBPC(enc) - 1); n 1326 third_party/expat/files/lib/xmltok_impl.c end = ptr + n; n 1449 third_party/expat/files/lib/xmltok_impl.c #define LEAD_CASE(n) \ n 1450 third_party/expat/files/lib/xmltok_impl.c case BT_LEAD ## n: START_NAME ptr += (n - MINBPC(enc)); break; n 1626 third_party/expat/files/lib/xmltok_impl.c #define LEAD_CASE(n) \ n 1627 third_party/expat/files/lib/xmltok_impl.c case BT_LEAD ## n: \ n 1704 third_party/expat/files/lib/xmltok_impl.c #define LEAD_CASE(n) \ n 1705 third_party/expat/files/lib/xmltok_impl.c case BT_LEAD ## n: ptr += n; break; n 1749 third_party/expat/files/lib/xmltok_impl.c #define LEAD_CASE(n) \ n 1750 third_party/expat/files/lib/xmltok_impl.c case BT_LEAD ## n: \ n 1751 third_party/expat/files/lib/xmltok_impl.c ptr += n; \ n 22 third_party/expat/files/lib/xmltok_ns.c const short n = 1; n 23 third_party/expat/files/lib/xmltok_ns.c return (*(const char *)&n n 30 third_party/fontconfig/include/fc-lang/fclang.h #define SET(n) (n * sizeof (FcLangCharSet) + offsetof (FcLangCharSet, charset)) n 32 third_party/fontconfig/include/fc-lang/fclang.h #define NUM(s,n) (NUM0 + n * sizeof (FcChar16) - SET(s)) n 87 third_party/harfbuzz-ng/src/hb-private.hh template <typename Type, unsigned int n> n 88 third_party/harfbuzz-ng/src/hb-private.hh static inline unsigned int ARRAY_LENGTH (const Type (&)[n]) { return n; } n 335 third_party/harfbuzz-ng/src/hb-shape-plan.cc for (unsigned int i = 0, n = proposal->num_user_features; i < n; i++) n 406 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); n 407 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); n 409 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); n 411 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); n 414 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); n 427 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); n 429 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); n 430 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); n 431 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); n 379 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); n 380 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); n 384 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); n 385 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); n 427 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); n 428 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); n 439 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); n 440 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); n 692 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); n 693 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); n 704 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); n 705 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); n 754 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs); n 756 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs); n 827 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices); n 831 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices); n 901 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines); n 902 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines); n 946 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); n 947 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); n 1274 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); n 1276 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); n 1304 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); n 1305 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); n 1312 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); n 1313 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); n 34 third_party/leveldatabase/env_chromium_stdio.cc size_t fread_unlocked(void* ptr, size_t size, size_t n, FILE* file) { n 35 third_party/leveldatabase/env_chromium_stdio.cc return fread(ptr, size, n, file); n 38 third_party/leveldatabase/env_chromium_stdio.cc size_t fwrite_unlocked(const void* ptr, size_t size, size_t n, FILE* file) { n 39 third_party/leveldatabase/env_chromium_stdio.cc return fwrite(ptr, size, n, file); n 79 third_party/leveldatabase/env_chromium_stdio.cc virtual Status Read(size_t n, Slice* result, char* scratch) { n 81 third_party/leveldatabase/env_chromium_stdio.cc size_t r = fread_unlocked(scratch, 1, n, file_); n 83 third_party/leveldatabase/env_chromium_stdio.cc if (r < n) { n 95 third_party/leveldatabase/env_chromium_stdio.cc virtual Status Skip(uint64_t n) { n 96 third_party/leveldatabase/env_chromium_stdio.cc if (fseek(file_, n, SEEK_CUR)) { n 119 third_party/leveldatabase/env_chromium_stdio.cc virtual Status Read(uint64_t offset, size_t n, Slice* result, char* scratch) n 122 third_party/leveldatabase/env_chromium_stdio.cc int r = file_.Read(offset, scratch, n); n 60 third_party/leveldatabase/env_chromium_win.cc virtual Status Read(size_t n, Slice* result, char* scratch) { n 64 third_party/leveldatabase/env_chromium_win.cc if (ReadFile(file_, scratch, n, &bytes_read, NULL)) { n 77 third_party/leveldatabase/env_chromium_win.cc virtual Status Skip(uint64_t n) { n 79 third_party/leveldatabase/env_chromium_win.cc li.QuadPart = n; n 104 third_party/leveldatabase/env_chromium_win.cc virtual Status Read(uint64_t offset, size_t n, Slice* result, char* scratch) n 107 third_party/leveldatabase/env_chromium_win.cc int r = file_.Read(offset, scratch, n); n 462 third_party/libXNVCtrl/NVCtrl.c numbytes = rep.n; n 1006 third_party/libXNVCtrl/NVCtrl.c numbytes = rep.n; n 274 third_party/libXNVCtrl/nv_control.h CARD32 n B32; /* Length of string */ n 490 third_party/libXNVCtrl/nv_control.h CARD32 n B32; n 171 third_party/libaddressinput/chromium/cpp/include/libaddressinput/util/internal/scoped_ptr.h template <class T, int n> n 172 third_party/libaddressinput/chromium/cpp/include/libaddressinput/util/internal/scoped_ptr.h struct DefaultDeleter<T[n]> { n 34 third_party/libaddressinput/chromium/cpp/include/libaddressinput/util/internal/template_util.h template<class T, size_t n> struct is_array<T[n]> : public true_type {}; n 354 third_party/libevent/buffer.c int n = EVBUFFER_MAX_READ; n 358 third_party/libevent/buffer.c long lng = n; n 359 third_party/libevent/buffer.c if (ioctlsocket(fd, FIONREAD, &lng) == -1 || (n=lng) <= 0) { n 361 third_party/libevent/buffer.c if (ioctl(fd, FIONREAD, &n) == -1 || n <= 0) { n 363 third_party/libevent/buffer.c n = EVBUFFER_MAX_READ; n 364 third_party/libevent/buffer.c } else if (n > EVBUFFER_MAX_READ && n > howmuch) { n 372 third_party/libevent/buffer.c if ((size_t)n > buf->totallen << 2) n 373 third_party/libevent/buffer.c n = buf->totallen << 2; n 374 third_party/libevent/buffer.c if (n < EVBUFFER_MAX_READ) n 375 third_party/libevent/buffer.c n = EVBUFFER_MAX_READ; n 378 third_party/libevent/buffer.c if (howmuch < 0 || howmuch > n) n 379 third_party/libevent/buffer.c howmuch = n; n 389 third_party/libevent/buffer.c n = read(fd, p, howmuch); n 391 third_party/libevent/buffer.c n = recv(fd, p, howmuch, 0); n 393 third_party/libevent/buffer.c if (n == -1) n 395 third_party/libevent/buffer.c if (n == 0) n 398 third_party/libevent/buffer.c buf->off += n; n 404 third_party/libevent/buffer.c return (n); n 410 third_party/libevent/buffer.c int n; n 413 third_party/libevent/buffer.c n = write(fd, buffer->buffer, buffer->off); n 415 third_party/libevent/buffer.c n = send(fd, buffer->buffer, buffer->off, 0); n 417 third_party/libevent/buffer.c if (n == -1) n 419 third_party/libevent/buffer.c if (n == 0) n 421 third_party/libevent/buffer.c evbuffer_drain(buffer, n); n 423 third_party/libevent/buffer.c return (n); n 1579 third_party/libevent/evdns.c evdns_server_request_add_a_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl) n 1583 third_party/libevent/evdns.c ttl, n*4, 0, addrs); n 1588 third_party/libevent/evdns.c evdns_server_request_add_aaaa_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl) n 1592 third_party/libevent/evdns.c ttl, n*16, 0, addrs); n 2042 third_party/libevent/evdns.c int n = 0; n 2046 third_party/libevent/evdns.c ++n; n 2049 third_party/libevent/evdns.c return n; n 2493 third_party/libevent/evdns.c search_make_new(const struct search_state *const state, int n, const char *const base_name) { n 2499 third_party/libevent/evdns.c if (!n--) { n 2746 third_party/libevent/evdns.c int fd, n, r; n 2770 third_party/libevent/evdns.c n = 0; n 2771 third_party/libevent/evdns.c while ((r = read(fd, resolv+n, (size_t)st.st_size-n)) > 0) { n 2772 third_party/libevent/evdns.c n += r; n 2773 third_party/libevent/evdns.c if (n == st.st_size) n 2775 third_party/libevent/evdns.c assert(n < st.st_size); n 2778 third_party/libevent/evdns.c resolv[n] = 0; /* we malloced an extra byte; this should be fine. */ n 3080 third_party/libevent/evdns.c char *n = (char*)orig; n 3084 third_party/libevent/evdns.c printf("%s: %s\n", n, debug_ntoa(((u32*)addrs)[i])); n 3086 third_party/libevent/evdns.c printf("%s: %s\n", n, ((char**)addrs)[i]); n 3090 third_party/libevent/evdns.c printf("%s: No answer (%d)\n", n, result); n 514 third_party/libevent/evdns.h int evdns_server_request_add_a_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl); n 515 third_party/libevent/evdns.h int evdns_server_request_add_aaaa_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl); n 890 third_party/libevent/event.c size = base->timeheap.n; n 678 third_party/libevent/http.c int n; n 685 third_party/libevent/http.c n = evbuffer_write(evcon->output_buffer, fd); n 686 third_party/libevent/http.c if (n == -1) { n 692 third_party/libevent/http.c if (n == 0) { n 915 third_party/libevent/http.c int n, len; n 921 third_party/libevent/http.c n = evbuffer_read(buf, fd, -1); n 923 third_party/libevent/http.c event_debug(("%s: got %d on %d\n", __func__, n, fd)); n 925 third_party/libevent/http.c if (n == -1) { n 934 third_party/libevent/http.c } else if (n == 0) { n 36 third_party/libevent/min_heap.h unsigned n, a; n 46 third_party/libevent/min_heap.h static inline int min_heap_reserve(min_heap_t* s, unsigned n); n 58 third_party/libevent/min_heap.h void min_heap_ctor(min_heap_t* s) { s->p = 0; s->n = 0; s->a = 0; } n 61 third_party/libevent/min_heap.h int min_heap_empty(min_heap_t* s) { return 0u == s->n; } n 62 third_party/libevent/min_heap.h unsigned min_heap_size(min_heap_t* s) { return s->n; } n 63 third_party/libevent/min_heap.h struct event* min_heap_top(min_heap_t* s) { return s->n ? *s->p : 0; } n 67 third_party/libevent/min_heap.h if(min_heap_reserve(s, s->n + 1)) n 69 third_party/libevent/min_heap.h min_heap_shift_up_(s, s->n++, e); n 75 third_party/libevent/min_heap.h if(s->n) n 78 third_party/libevent/min_heap.h min_heap_shift_down_(s, 0u, s->p[--s->n]); n 89 third_party/libevent/min_heap.h struct event *last = s->p[--s->n]; n 106 third_party/libevent/min_heap.h int min_heap_reserve(min_heap_t* s, unsigned n) n 108 third_party/libevent/min_heap.h if(s->a < n) n 112 third_party/libevent/min_heap.h if(a < n) n 113 third_party/libevent/min_heap.h a = n; n 137 third_party/libevent/min_heap.h while(min_child <= s->n) n 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]); n 76 third_party/libevent/signal.c SSIZE_T n; n 78 third_party/libevent/signal.c ssize_t n; n 81 third_party/libevent/signal.c n = recv(fd, signals, sizeof(signals), 0); n 82 third_party/libevent/signal.c if (n == -1) n 56 third_party/libevent/strlcpy.c register size_t n = siz; n 59 third_party/libevent/strlcpy.c if (n != 0 && --n != 0) { n 63 third_party/libevent/strlcpy.c } while (--n != 0); n 67 third_party/libevent/strlcpy.c if (n == 0) { n 36 third_party/libevent/test/test-time.c rand_int(int n) n 39 third_party/libevent/test/test-time.c return (int)(rand() * n); n 41 third_party/libevent/test/test-time.c return (int)(random() % n); n 21 third_party/libjingle/overrides/allocator_shim/allocator_proxy.cc void* operator new(std::size_t n) throw() { n 22 third_party/libjingle/overrides/allocator_shim/allocator_proxy.cc return g_alloc(n); n 11 third_party/libjingle/overrides/allocator_shim/allocator_stub.cc void* Allocate(std::size_t n) { n 12 third_party/libjingle/overrides/allocator_shim/allocator_stub.cc return operator new(n); n 19 third_party/libjingle/overrides/allocator_shim/allocator_stub.h void* Allocate(std::size_t n); n 146 third_party/libjpeg/jdct.h #define DESCALE(x,n) RIGHT_SHIFT((x) + (ONE << ((n)-1)), n) n 305 third_party/libjpeg/jdmarker.c int i, ci, n, c, cc; n 314 third_party/libjpeg/jdmarker.c INPUT_BYTE(cinfo, n, return FALSE); /* Number of components */ n 316 third_party/libjpeg/jdmarker.c TRACEMS1(cinfo, 1, JTRC_SOS, n); n 318 third_party/libjpeg/jdmarker.c if (length != (n * 2 + 6) || n < 1 || n > MAX_COMPS_IN_SCAN) n 321 third_party/libjpeg/jdmarker.c cinfo->comps_in_scan = n; n 325 third_party/libjpeg/jdmarker.c for (i = 0; i < n; i++) { n 500 third_party/libjpeg/jdmarker.c int n, i, prec; n 509 third_party/libjpeg/jdmarker.c INPUT_BYTE(cinfo, n, return FALSE); n 510 third_party/libjpeg/jdmarker.c prec = n >> 4; n 511 third_party/libjpeg/jdmarker.c n &= 0x0F; n 513 third_party/libjpeg/jdmarker.c TRACEMS2(cinfo, 1, JTRC_DQT, n, prec); n 515 third_party/libjpeg/jdmarker.c if (n >= NUM_QUANT_TBLS) n 516 third_party/libjpeg/jdmarker.c ERREXIT1(cinfo, JERR_DQT_INDEX, n); n 518 third_party/libjpeg/jdmarker.c if (cinfo->quant_tbl_ptrs[n] == NULL) n 519 third_party/libjpeg/jdmarker.c cinfo->quant_tbl_ptrs[n] = jpeg_alloc_quant_table((j_common_ptr) cinfo); n 520 third_party/libjpeg/jdmarker.c quant_ptr = cinfo->quant_tbl_ptrs[n]; n 98 third_party/libjpeg/jfdctfst.c #define DESCALE(x,n) RIGHT_SHIFT(x, n) n 111 third_party/libjpeg/jidctfst.c #define DESCALE(x,n) RIGHT_SHIFT(x, n) n 157 third_party/libjpeg/jidctfst.c #define IDESCALE(x,n) ((int) IRIGHT_SHIFT((x) + (1 << ((n)-1)), n)) n 159 third_party/libjpeg/jidctfst.c #define IDESCALE(x,n) ((int) IRIGHT_SHIFT(x, n)) n 428 third_party/libjpeg/jquant2.c int n,lb; n 458 third_party/libjpeg/jquant2.c cmax = c1; n = 1; n 459 third_party/libjpeg/jquant2.c if (c0 > cmax) { cmax = c0; n = 0; } n 460 third_party/libjpeg/jquant2.c if (c2 > cmax) { n = 2; } n 462 third_party/libjpeg/jquant2.c cmax = c1; n = 1; n 463 third_party/libjpeg/jquant2.c if (c2 > cmax) { cmax = c2; n = 2; } n 464 third_party/libjpeg/jquant2.c if (c0 > cmax) { n = 0; } n 472 third_party/libjpeg/jquant2.c switch (n) { n 1642 third_party/libpng/pngconf.h # define png_snprintf(s1,n,fmt,x1) sprintf(s1,fmt,x1) n 1643 third_party/libpng/pngconf.h # define png_snprintf2(s1,n,fmt,x1,x2) sprintf(s1,fmt,x1,x2) n 1644 third_party/libpng/pngconf.h # define png_snprintf6(s1,n,fmt,x1,x2,x3,x4,x5,x6) \ n 96 third_party/libusb/src/libusb/libusbi.h #define list_for_each_entry_safe(pos, n, head, member, type) \ n 98 third_party/libusb/src/libusb/libusbi.h n = list_entry(pos->member.next, type, member); \ n 100 third_party/libusb/src/libusb/libusbi.h pos = n, n = list_entry(n->member.next, type, member)) n 738 third_party/libwebp/dec/frame.c int n; n 767 third_party/libwebp/dec/frame.c for (n = 0; n < 16; ++n, bits <<= 2) { n 768 third_party/libwebp/dec/frame.c uint8_t* const dst = y_dst + kScan[n]; n 769 third_party/libwebp/dec/frame.c VP8PredLuma4[block->imodes_[n]](dst); n 770 third_party/libwebp/dec/frame.c DoTransform(bits, coeffs + n * 16, dst); n 777 third_party/libwebp/dec/frame.c for (n = 0; n < 16; ++n, bits <<= 2) { n 778 third_party/libwebp/dec/frame.c DoTransform(bits, coeffs + n * 16, y_dst + kScan[n]); n 445 third_party/libwebp/dec/vp8.c int ctx, const quant_t dq, int n, int16_t* out) { n 447 third_party/libwebp/dec/vp8.c const uint8_t* p = prob[n].probas_[ctx]; n 448 third_party/libwebp/dec/vp8.c for (; n < 16; ++n) { n 450 third_party/libwebp/dec/vp8.c return n; // previous coeff was last non-zero coeff n 453 third_party/libwebp/dec/vp8.c p = prob[kBands[++n]].probas_[0]; n 454 third_party/libwebp/dec/vp8.c if (n == 16) return 16; n 457 third_party/libwebp/dec/vp8.c const VP8ProbaArray* const p_ctx = &prob[kBands[n + 1]].probas_[0]; n 466 third_party/libwebp/dec/vp8.c out[kZigzag[n]] = VP8GetSigned(br, v) * dq[n > 0]; n 630 third_party/libwebp/dec/vp8l.c int n = dec->next_transform_; n 640 third_party/libwebp/dec/vp8l.c while (n-- > 0) { n 641 third_party/libwebp/dec/vp8l.c VP8LTransform* const transform = &dec->transforms_[n]; n 87 third_party/libwebp/dsp/dsp.h int n, const struct VP8Matrix* const mtx); n 630 third_party/libwebp/dsp/enc.c int n, const VP8Matrix* const mtx) { n 632 third_party/libwebp/dsp/enc.c for (; n < 16; ++n) { n 633 third_party/libwebp/dsp/enc.c const int j = kZigzag[n]; n 640 third_party/libwebp/dsp/enc.c out[n] = QUANTDIV(coeff, iQ, B); n 641 third_party/libwebp/dsp/enc.c if (out[n] > MAX_LEVEL) out[n] = MAX_LEVEL; n 642 third_party/libwebp/dsp/enc.c if (sign) out[n] = -out[n]; n 643 third_party/libwebp/dsp/enc.c in[j] = out[n] * Q; n 644 third_party/libwebp/dsp/enc.c if (out[n]) last = n; n 646 third_party/libwebp/dsp/enc.c out[n] = 0; n 655 third_party/libwebp/dsp/enc.c int n, last = -1; n 656 third_party/libwebp/dsp/enc.c for (n = 0; n < 16; ++n) { n 657 third_party/libwebp/dsp/enc.c const int j = kZigzag[n]; n 665 third_party/libwebp/dsp/enc.c out[n] = QUANTDIV(coeff, iQ, B); n 666 third_party/libwebp/dsp/enc.c if (out[n] > MAX_LEVEL) out[n] = MAX_LEVEL; n 667 third_party/libwebp/dsp/enc.c if (sign) out[n] = -out[n]; n 668 third_party/libwebp/dsp/enc.c in[j] = out[n] * Q; n 669 third_party/libwebp/dsp/enc.c if (out[n]) last = n; n 671 third_party/libwebp/dsp/enc.c out[n] = 0; n 28 third_party/libwebp/dsp/enc_sse2.c int n; n 39 third_party/libwebp/dsp/enc_sse2.c for (n = 0; n < 16; ++n) printf("%.2x ", tmp.i8[n]); n 41 third_party/libwebp/dsp/enc_sse2.c for (n = 0; n < 8; ++n) printf("%.4x ", tmp.i16[n]); n 43 third_party/libwebp/dsp/enc_sse2.c for (n = 0; n < 4; ++n) printf("%.8x ", tmp.i32[n]); n 45 third_party/libwebp/dsp/enc_sse2.c for (n = 0; n < 2; ++n) printf("%.16lx ", tmp.i64[n]); n 809 third_party/libwebp/dsp/enc_sse2.c int n, const VP8Matrix* const mtx) { n 922 third_party/libwebp/dsp/enc_sse2.c if (n) { n 530 third_party/libwebp/dsp/lossless.c const int* const Y, int n) { n 534 third_party/libwebp/dsp/lossless.c for (i = 0; i < n; ++i) { n 108 third_party/libwebp/dsp/lossless.h static WEBP_INLINE int BitsLog2Floor(uint32_t n) { n 109 third_party/libwebp/dsp/lossless.h return 31 ^ __builtin_clz(n); n 116 third_party/libwebp/dsp/lossless.h static WEBP_INLINE int BitsLog2Floor(uint32_t n) { n 118 third_party/libwebp/dsp/lossless.h _BitScanReverse(&first_set_bit, n); n 123 third_party/libwebp/dsp/lossless.h static WEBP_INLINE int BitsLog2Floor(uint32_t n) { n 125 third_party/libwebp/dsp/lossless.h uint32_t value = n; n 140 third_party/libwebp/dsp/lossless.h static WEBP_INLINE int VP8LBitsLog2Ceiling(uint32_t n) { n 141 third_party/libwebp/dsp/lossless.h const int log_floor = BitsLog2Floor(n); n 142 third_party/libwebp/dsp/lossless.h if (n == (n & ~(n - 1))) // zero or a power of two. n 109 third_party/libwebp/dsp/upsampling_sse2.c int n; \ n 110 third_party/libwebp/dsp/upsampling_sse2.c for (n = 0; n < (num_pixels); ++n) { \ n 111 third_party/libwebp/dsp/upsampling_sse2.c FUNC(top_y[(cur_x) + n], r_u[n], r_v[n], \ n 112 third_party/libwebp/dsp/upsampling_sse2.c top_dst + ((cur_x) + n) * XSTEP); \ n 115 third_party/libwebp/dsp/upsampling_sse2.c for (n = 0; n < (num_pixels); ++n) { \ n 116 third_party/libwebp/dsp/upsampling_sse2.c FUNC(bottom_y[(cur_x) + n], r_u[64 + n], r_v[64 + n], \ n 117 third_party/libwebp/dsp/upsampling_sse2.c bottom_dst + ((cur_x) + n) * XSTEP); \ n 143 third_party/libwebp/dsp/yuv.c int n; n 144 third_party/libwebp/dsp/yuv.c for (n = 0; n < 32; n += 4) { n 145 third_party/libwebp/dsp/yuv.c const __m128i tmp0_1 = VP8GetRGBA32b(y[n + 0], u[n + 0], v[n + 0]); n 146 third_party/libwebp/dsp/yuv.c const __m128i tmp0_2 = VP8GetRGBA32b(y[n + 1], u[n + 1], v[n + 1]); n 147 third_party/libwebp/dsp/yuv.c const __m128i tmp0_3 = VP8GetRGBA32b(y[n + 2], u[n + 2], v[n + 2]); n 148 third_party/libwebp/dsp/yuv.c const __m128i tmp0_4 = VP8GetRGBA32b(y[n + 3], u[n + 3], v[n + 3]); n 159 third_party/libwebp/dsp/yuv.c int n; n 160 third_party/libwebp/dsp/yuv.c for (n = 0; n < 32; n += 2) { n 161 third_party/libwebp/dsp/yuv.c const __m128i tmp0_1 = VP8GetRGBA32b(y[n + 0], u[n + 0], v[n + 0]); n 162 third_party/libwebp/dsp/yuv.c const __m128i tmp0_2 = VP8GetRGBA32b(y[n + 1], u[n + 1], v[n + 1]); n 174 third_party/libwebp/dsp/yuv.c int n; n 177 third_party/libwebp/dsp/yuv.c for (n = 0; n < 30; ++n) { // we directly stomp the *dst memory n 178 third_party/libwebp/dsp/yuv.c VP8YuvToRgbSSE2(y[n], u[n], v[n], dst + n * 3); n 182 third_party/libwebp/dsp/yuv.c VP8YuvToRgbSSE2(y[n + 0], u[n + 0], v[n + 0], tmp + 0); n 183 third_party/libwebp/dsp/yuv.c VP8YuvToRgbSSE2(y[n + 1], u[n + 1], v[n + 1], tmp + 3); n 184 third_party/libwebp/dsp/yuv.c memcpy(dst + n * 3, tmp, 2 * 3); n 189 third_party/libwebp/dsp/yuv.c int n; n 192 third_party/libwebp/dsp/yuv.c for (n = 0; n < 30; ++n) { n 193 third_party/libwebp/dsp/yuv.c VP8YuvToBgrSSE2(y[n], u[n], v[n], dst + n * 3); n 195 third_party/libwebp/dsp/yuv.c VP8YuvToBgrSSE2(y[n + 0], u[n + 0], v[n + 0], tmp + 0); n 196 third_party/libwebp/dsp/yuv.c VP8YuvToBgrSSE2(y[n + 1], u[n + 1], v[n + 1], tmp + 3); n 197 third_party/libwebp/dsp/yuv.c memcpy(dst + n * 3, tmp, 2 * 3); n 29 third_party/libwebp/enc/analysis.c int n, x, y; n 51 third_party/libwebp/enc/analysis.c for (n = 0; n < NUM_MB_SEGMENTS; ++n) { n 52 third_party/libwebp/enc/analysis.c if (cnt[n] >= majority_cnt_3_x_3_grid) { n 53 third_party/libwebp/enc/analysis.c majority_seg = n; n 81 third_party/libwebp/enc/analysis.c int n; n 84 third_party/libwebp/enc/analysis.c for (n = 0; n < nb; ++n) { n 85 third_party/libwebp/enc/analysis.c if (min > centers[n]) min = centers[n]; n 86 third_party/libwebp/enc/analysis.c if (max < centers[n]) max = centers[n]; n 91 third_party/libwebp/enc/analysis.c for (n = 0; n < nb; ++n) { n 92 third_party/libwebp/enc/analysis.c const int alpha = 255 * (centers[n] - mid) / (max - min); n 93 third_party/libwebp/enc/analysis.c const int beta = 255 * (centers[n] - min) / (max - min); n 94 third_party/libwebp/enc/analysis.c enc->dqm_[n].alpha_ = clip(alpha, -127, 127); n 95 third_party/libwebp/enc/analysis.c enc->dqm_[n].beta_ = clip(beta, 0, 255); n 148 third_party/libwebp/enc/analysis.c int a, n, k; n 156 third_party/libwebp/enc/analysis.c for (n = 0; n <= MAX_ALPHA && alphas[n] == 0; ++n) {} n 157 third_party/libwebp/enc/analysis.c min_a = n; n 158 third_party/libwebp/enc/analysis.c for (n = MAX_ALPHA; n > min_a && alphas[n] == 0; --n) {} n 159 third_party/libwebp/enc/analysis.c max_a = n; n 163 third_party/libwebp/enc/analysis.c for (k = 0, n = 1; k < nb; ++k, n += 2) { n 164 third_party/libwebp/enc/analysis.c assert(n < 2 * nb); n 165 third_party/libwebp/enc/analysis.c centers[k] = min_a + (n * range_a) / (2 * nb); n 172 third_party/libwebp/enc/analysis.c for (n = 0; n < nb; ++n) { n 173 third_party/libwebp/enc/analysis.c accum[n] = 0; n 174 third_party/libwebp/enc/analysis.c dist_accum[n] = 0; n 177 third_party/libwebp/enc/analysis.c n = 0; // track the nearest center for current 'a' n 180 third_party/libwebp/enc/analysis.c while (n + 1 < nb && abs(a - centers[n + 1]) < abs(a - centers[n])) { n 181 third_party/libwebp/enc/analysis.c n++; n 183 third_party/libwebp/enc/analysis.c map[a] = n; n 185 third_party/libwebp/enc/analysis.c dist_accum[n] += a * alphas[a]; n 186 third_party/libwebp/enc/analysis.c accum[n] += alphas[a]; n 194 third_party/libwebp/enc/analysis.c for (n = 0; n < nb; ++n) { n 195 third_party/libwebp/enc/analysis.c if (accum[n]) { n 196 third_party/libwebp/enc/analysis.c const int new_center = (dist_accum[n] + accum[n] / 2) / accum[n]; n 197 third_party/libwebp/enc/analysis.c displaced += abs(centers[n] - new_center); n 198 third_party/libwebp/enc/analysis.c centers[n] = new_center; n 199 third_party/libwebp/enc/analysis.c weighted_average += new_center * accum[n]; n 200 third_party/libwebp/enc/analysis.c total_weight += accum[n]; n 208 third_party/libwebp/enc/analysis.c for (n = 0; n < enc->mb_w_ * enc->mb_h_; ++n) { n 209 third_party/libwebp/enc/analysis.c VP8MBInfo* const mb = &enc->mb_info_[n]; n 380 third_party/libwebp/enc/analysis.c int n; n 381 third_party/libwebp/enc/analysis.c for (n = 0; n < enc->mb_w_ * enc->mb_h_; ++n) { n 382 third_party/libwebp/enc/analysis.c DefaultMBInfo(&enc->mb_info_[n]); n 171 third_party/libwebp/enc/frame.c int n = res->first; n 173 third_party/libwebp/enc/frame.c proba_t* s = res->stats[n][ctx]; n 178 third_party/libwebp/enc/frame.c while (n <= res->last) { n 181 third_party/libwebp/enc/frame.c while ((v = res->coeffs[n++]) == 0) { n 183 third_party/libwebp/enc/frame.c s = res->stats[VP8EncBands[n]][0]; n 187 third_party/libwebp/enc/frame.c s = res->stats[VP8EncBands[n]][1]; n 215 third_party/libwebp/enc/frame.c s = res->stats[VP8EncBands[n]][2]; n 218 third_party/libwebp/enc/frame.c if (n < 16) Record(0, s + 0); n 281 third_party/libwebp/enc/frame.c int n; n 283 third_party/libwebp/enc/frame.c for (n = 0; n < enc->mb_w_ * enc->mb_h_; ++n) { n 284 third_party/libwebp/enc/frame.c const VP8MBInfo* const mb = &enc->mb_info_[n]; n 288 third_party/libwebp/enc/frame.c for (n = 0; n < NUM_MB_SEGMENTS; ++n) { n 289 third_party/libwebp/enc/frame.c enc->pic_->stats->segment_size[n] = p[n]; n 325 third_party/libwebp/enc/frame.c int n; n 327 third_party/libwebp/enc/frame.c for (n = 15; n >= res->first; --n) { n 328 third_party/libwebp/enc/frame.c if (coeffs[n]) { n 329 third_party/libwebp/enc/frame.c res->last = n; n 340 third_party/libwebp/enc/frame.c int n = res->first; n 342 third_party/libwebp/enc/frame.c int p0 = res->prob[n][ctx0][0]; n 343 third_party/libwebp/enc/frame.c const uint16_t* t = res->cost[n][ctx0]; n 350 third_party/libwebp/enc/frame.c for (; n < res->last; ++n) { n 351 third_party/libwebp/enc/frame.c const int v = abs(res->coeffs[n]); n 352 third_party/libwebp/enc/frame.c const int b = VP8EncBands[n + 1]; n 361 third_party/libwebp/enc/frame.c const int v = abs(res->coeffs[n]); n 364 third_party/libwebp/enc/frame.c if (n < 15) { n 365 third_party/libwebp/enc/frame.c const int b = VP8EncBands[n + 1]; n 440 third_party/libwebp/enc/frame.c int n = res->first; n 442 third_party/libwebp/enc/frame.c const uint8_t* p = res->prob[n][ctx]; n 447 third_party/libwebp/enc/frame.c while (n < 16) { n 448 third_party/libwebp/enc/frame.c const int c = res->coeffs[n++]; n 452 third_party/libwebp/enc/frame.c p = res->prob[VP8EncBands[n]][0]; n 456 third_party/libwebp/enc/frame.c p = res->prob[VP8EncBands[n]][1]; n 501 third_party/libwebp/enc/frame.c p = res->prob[VP8EncBands[n]][2]; n 504 third_party/libwebp/enc/frame.c if (n == 16 || !VP8PutBit(bw, n <= res->last, p[0])) { n 101 third_party/libwebp/enc/histogram.c static double BitsEntropy(const int* const array, int n) { n 108 third_party/libwebp/enc/histogram.c for (i = 0; i < n; ++i) { n 228 third_party/libwebp/enc/iterator.c #define BIT(nz, n) (!!((nz) & (1 << (n)))) n 534 third_party/libwebp/enc/quant.c #define NODE(n, l) (nodes[(n) + 1][(l) + MIN_DELTA]) n 559 third_party/libwebp/enc/quant.c int n, m, p, nz; n 569 third_party/libwebp/enc/quant.c for (n = first; n < 16; ++n) { n 570 third_party/libwebp/enc/quant.c const int j = kZigzag[n]; n 573 third_party/libwebp/enc/quant.c if (err > thresh) last = n; n 584 third_party/libwebp/enc/quant.c n = first - 1; n 586 third_party/libwebp/enc/quant.c NODE(n, m).cost = 0; n 587 third_party/libwebp/enc/quant.c NODE(n, m).error = max_error; n 588 third_party/libwebp/enc/quant.c NODE(n, m).ctx = ctx0; n 593 third_party/libwebp/enc/quant.c for (n = first; n <= last; ++n) { n 594 third_party/libwebp/enc/quant.c const int j = kZigzag[n]; n 607 third_party/libwebp/enc/quant.c Node* const cur = &NODE(n, m); n 620 third_party/libwebp/enc/quant.c last_proba = last_costs[VP8EncBands[n + 1]][cur->ctx][0]; n 630 third_party/libwebp/enc/quant.c const Node* const prev = &NODE(n - 1, p); n 632 third_party/libwebp/enc/quant.c const uint16_t* const tcost = costs[VP8EncBands[n]][prev_ctx]; n 645 third_party/libwebp/enc/quant.c if (level && n < 15) { n 659 third_party/libwebp/enc/quant.c if (n < 15) cost += VP8BitCost(0, last_proba); n 663 third_party/libwebp/enc/quant.c best_path[0] = n; // best eob position n 682 third_party/libwebp/enc/quant.c n = best_path[0]; n 684 third_party/libwebp/enc/quant.c NODE(n, best_node).prev = best_path[2]; // force best-prev for terminal n 687 third_party/libwebp/enc/quant.c for (; n >= first; --n) { n 688 third_party/libwebp/enc/quant.c const Node* const node = &NODE(n, best_node); n 689 third_party/libwebp/enc/quant.c const int j = kZigzag[n]; n 690 third_party/libwebp/enc/quant.c out[n] = node->sign ? -node->level : node->level; n 692 third_party/libwebp/enc/quant.c in[j] = out[n] * mtx->q_[j]; n 714 third_party/libwebp/enc/quant.c int n; n 717 third_party/libwebp/enc/quant.c for (n = 0; n < 16; ++n) { n 718 third_party/libwebp/enc/quant.c VP8FTransform(src + VP8Scan[n], ref + VP8Scan[n], tmp[n]); n 726 third_party/libwebp/enc/quant.c for (y = 0, n = 0; y < 4; ++y) { n 727 third_party/libwebp/enc/quant.c for (x = 0; x < 4; ++x, ++n) { n 730 third_party/libwebp/enc/quant.c TrellisQuantizeBlock(it, tmp[n], rd->y_ac_levels[n], ctx, 0, n 733 third_party/libwebp/enc/quant.c nz |= non_zero << n; n 737 third_party/libwebp/enc/quant.c for (n = 0; n < 16; ++n) { n 738 third_party/libwebp/enc/quant.c nz |= VP8EncQuantizeBlock(tmp[n], rd->y_ac_levels[n], 1, &dqm->y1_) << n; n 744 third_party/libwebp/enc/quant.c for (n = 0; n < 16; n += 2) { n 745 third_party/libwebp/enc/quant.c VP8ITransform(ref + VP8Scan[n], tmp[n], yuv_out + VP8Scan[n], 1); n 782 third_party/libwebp/enc/quant.c int n; n 785 third_party/libwebp/enc/quant.c for (n = 0; n < 8; ++n) { n 786 third_party/libwebp/enc/quant.c VP8FTransform(src + VP8Scan[16 + n], ref + VP8Scan[16 + n], tmp[n]); n 790 third_party/libwebp/enc/quant.c for (ch = 0, n = 0; ch <= 2; ch += 2) { n 792 third_party/libwebp/enc/quant.c for (x = 0; x < 2; ++x, ++n) { n 795 third_party/libwebp/enc/quant.c TrellisQuantizeBlock(it, tmp[n], rd->uv_levels[n], ctx, 2, n 798 third_party/libwebp/enc/quant.c nz |= non_zero << n; n 803 third_party/libwebp/enc/quant.c for (n = 0; n < 8; ++n) { n 804 third_party/libwebp/enc/quant.c nz |= VP8EncQuantizeBlock(tmp[n], rd->uv_levels[n], 0, &dqm->uv_) << n; n 808 third_party/libwebp/enc/quant.c for (n = 0; n < 8; n += 2) { n 809 third_party/libwebp/enc/quant.c VP8ITransform(ref + VP8Scan[16 + n], tmp[n], yuv_out + VP8Scan[16 + n], 1); n 104 third_party/libwebp/enc/token.c int n = first; n 105 third_party/libwebp/enc/token.c uint32_t base_id = TOKEN_ID(coeff_type, n, ctx, 0); n 110 third_party/libwebp/enc/token.c while (n < 16) { n 111 third_party/libwebp/enc/token.c const int c = coeffs[n++]; n 116 third_party/libwebp/enc/token.c base_id = TOKEN_ID(coeff_type, VP8EncBands[n], ctx, 0); n 168 third_party/libwebp/enc/token.c base_id = TOKEN_ID(coeff_type, VP8EncBands[n], ctx, 0); n 169 third_party/libwebp/enc/token.c if (n == 16 || !AddToken(tokens, n <= last, base_id + 0)) { n 197 third_party/libwebp/enc/token.c int n = MAX_NUM_TOKEN; n 198 third_party/libwebp/enc/token.c while (n-- > N) { n 199 third_party/libwebp/enc/token.c const uint16_t token = p->tokens_[n]; n 221 third_party/libwebp/enc/token.c int n = MAX_NUM_TOKEN; n 222 third_party/libwebp/enc/token.c while (n-- > N) { n 223 third_party/libwebp/enc/token.c const uint16_t token = p->tokens_[n]; n 246 third_party/libwebp/enc/token.c int n = MAX_NUM_TOKEN; n 247 third_party/libwebp/enc/token.c while (n-- > N) { n 248 third_party/libwebp/enc/token.c const uint16_t token = p->tokens_[n]; n 169 third_party/libwebp/enc/vp8enci.h static WEBP_INLINE int QUANTDIV(int n, int iQ, int B) { n 170 third_party/libwebp/enc/vp8enci.h return (n * iQ + B) >> QFIX; n 159 third_party/libwebp/utils/alpha_processing.c int n; n 160 third_party/libwebp/utils/alpha_processing.c for (n = 0; n < num_rows; ++n) { n 185 third_party/libwebp/utils/alpha_processing.c int n; n 186 third_party/libwebp/utils/alpha_processing.c for (n = 0; n < num_rows; ++n) { n 51 third_party/libwebp/utils/quant_levels.c size_t n; n 53 third_party/libwebp/utils/quant_levels.c for (n = 0; n < data_size; ++n) { n 54 third_party/libwebp/utils/quant_levels.c num_levels_in += (freq[data[n]] == 0); n 55 third_party/libwebp/utils/quant_levels.c if (min_s > data[n]) min_s = data[n]; n 56 third_party/libwebp/utils/quant_levels.c if (max_s < data[n]) max_s = data[n]; n 57 third_party/libwebp/utils/quant_levels.c ++freq[data[n]]; n 124 third_party/libwebp/utils/quant_levels.c size_t n; n 130 third_party/libwebp/utils/quant_levels.c for (n = 0; n < data_size; ++n) { n 131 third_party/libwebp/utils/quant_levels.c data[n] = map[data[n]]; n 3712 third_party/libxml/src/HTMLparser.c const xmlChar **n; n 3715 third_party/libxml/src/HTMLparser.c n = (const xmlChar **) xmlRealloc((void *) atts, n 3717 third_party/libxml/src/HTMLparser.c if (n == NULL) { n 3723 third_party/libxml/src/HTMLparser.c atts = n; n 601 third_party/libxml/src/c14n.c xmlNodePtr n; n 622 third_party/libxml/src/c14n.c for(n = cur; n != NULL; n = n->parent) { n 623 third_party/libxml/src/c14n.c for(ns = n->nsDef; ns != NULL; ns = ns->next) { n 176 third_party/libxml/src/error.c unsigned int n, col; /* GCC warns if signed, because compared with sizeof() */ n 187 third_party/libxml/src/error.c n = 0; n 189 third_party/libxml/src/error.c while ((n++ < (sizeof(content)-1)) && (cur > base) && n 196 third_party/libxml/src/error.c n = 0; n 200 third_party/libxml/src/error.c (*(cur) != '\r') && (n < sizeof(content)-1)) { n 202 third_party/libxml/src/error.c n++; n 208 third_party/libxml/src/error.c n = 0; n 211 third_party/libxml/src/error.c while ((n<col) && (n++ < sizeof(content)-2) && (*ctnt != 0)) { n 477 third_party/libxml/src/include/libxml/tree.h #define XML_GET_CONTENT(n) \ n 478 third_party/libxml/src/include/libxml/tree.h ((n)->type == XML_ELEMENT_NODE ? NULL : (n)->content) n 485 third_party/libxml/src/include/libxml/tree.h #define XML_GET_LINE(n) \ n 486 third_party/libxml/src/include/libxml/tree.h (xmlGetLineNo(n)) n 748 third_party/libxml/src/legacy.c #define DEPRECATED(n) \ n 751 third_party/libxml/src/legacy.c "Use of deprecated SAXv1 function %s\n", n); \ n 123 third_party/libxml/src/nanohttp.c #define xmlStrncasecmp(a, b, n) strncasecmp((char *)a, (char *)b, n) n 2472 third_party/libxml/src/parser.c #define growBuffer(buffer, n) { \ n 2475 third_party/libxml/src/parser.c buffer##_size += n; \ n 5792 third_party/libxml/src/parser.c xmlElementContentPtr ret = NULL, cur = NULL, n; n 5830 third_party/libxml/src/parser.c n = xmlNewDocElementContent(ctxt->myDoc, NULL, XML_ELEMENT_CONTENT_OR); n 5831 third_party/libxml/src/parser.c if (n == NULL) return(NULL); n 5832 third_party/libxml/src/parser.c n->c1 = xmlNewDocElementContent(ctxt->myDoc, elem, XML_ELEMENT_CONTENT_ELEMENT); n 5833 third_party/libxml/src/parser.c if (n->c1 != NULL) n 5834 third_party/libxml/src/parser.c n->c1->parent = n; n 5835 third_party/libxml/src/parser.c cur->c2 = n; n 5836 third_party/libxml/src/parser.c if (n != NULL) n 5837 third_party/libxml/src/parser.c n->parent = cur; n 5838 third_party/libxml/src/parser.c cur = n; n 8202 third_party/libxml/src/parser.c const xmlChar **n; n 8205 third_party/libxml/src/parser.c n = (const xmlChar **) xmlRealloc((void *) atts, n 8207 third_party/libxml/src/parser.c if (n == NULL) { n 8213 third_party/libxml/src/parser.c atts = n; n 3357 third_party/libxml/src/relaxng.c #define IS_BLANK_NODE(n) (xmlRelaxNGIsBlank((n)->content)) n 303 third_party/libxml/src/runtest.c unsigned int n, col; /* GCC warns if signed, because compared with sizeof() */ n 314 third_party/libxml/src/runtest.c n = 0; n 316 third_party/libxml/src/runtest.c while ((n++ < (sizeof(content)-1)) && (cur > base) && n 323 third_party/libxml/src/runtest.c n = 0; n 327 third_party/libxml/src/runtest.c (*(cur) != '\r') && (n < sizeof(content)-1)) { n 329 third_party/libxml/src/runtest.c n++; n 335 third_party/libxml/src/runtest.c n = 0; n 338 third_party/libxml/src/runtest.c while ((n<col) && (n++ < sizeof(content)-2) && (*ctnt != 0)) { n 121 third_party/libxml/src/tree.c #define UPDATE_LAST_CHILD_AND_PARENT(n) if ((n) != NULL) { \ n 122 third_party/libxml/src/tree.c xmlNodePtr ulccur = (n)->children; \ n 124 third_party/libxml/src/tree.c (n)->last = NULL; \ n 127 third_party/libxml/src/tree.c ulccur->parent = (n); \ n 130 third_party/libxml/src/tree.c ulccur->parent = (n); \ n 131 third_party/libxml/src/tree.c (n)->last = ulccur; \ n 6136 third_party/libxml/src/tree.c xmlNsPtr n; n 6178 third_party/libxml/src/tree.c n = xmlNewReconciliedNs(doc, tree, node->ns); n 6179 third_party/libxml/src/tree.c if (n != NULL) { /* :-( what if else ??? */ n 6200 third_party/libxml/src/tree.c newNs[nbCache] = n; n 6202 third_party/libxml/src/tree.c node->ns = n; n 6242 third_party/libxml/src/tree.c n = xmlNewReconciliedNs(doc, tree, attr->ns); n 6243 third_party/libxml/src/tree.c if (n != NULL) { /* :-( what if else ??? */ n 6264 third_party/libxml/src/tree.c newNs[nbCache] = n; n 6266 third_party/libxml/src/tree.c attr->ns = n; n 588 third_party/libxml/src/trionan.c # define TRIO_FPCLASSIFY(n) fp_class(n) n 605 third_party/libxml/src/trionan.c # define TRIO_FPCLASSIFY(n) _fpclass(n) n 627 third_party/libxml/src/trionan.c # define TRIO_FPCLASSIFY(n) _class(n) n 629 third_party/libxml/src/trionan.c # define TRIO_FPCLASSIFY(n) class(n) n 632 third_party/libxml/src/trionan.c # define TRIO_FPCLASSIFY(n) fpclassify(n) n 71 third_party/libxml/src/triop.h # define TRIO_MALLOC(n) malloc(n) n 74 third_party/libxml/src/triop.h # define TRIO_REALLOC(x,n) realloc((x),(n)) n 72 third_party/libxml/src/triostr.c # define strncasecmp(x,y,n) strnicmp(x,y,n) n 107 third_party/libxml/src/uri.c #define STRNDUP(s, n) (char *) xmlStrndup((const xmlChar *)(s), (n)) n 623 third_party/libxml/src/valid.c #define DEBUG_VALID_STATE(n,c) xmlValidStateDebug(ctxt); n 628 third_party/libxml/src/valid.c #define DEBUG_VALID_STATE(n,c) n 584 third_party/libxml/src/xmllint.c int n; n 593 third_party/libxml/src/xmllint.c n = 0; n 594 third_party/libxml/src/xmllint.c while ((n++ < 80) && (cur > base) && (*cur != '\n') && (*cur != '\r')) n 598 third_party/libxml/src/xmllint.c n = 0; n 599 third_party/libxml/src/xmllint.c while ((*cur != 0) && (*cur != '\n') && (*cur != '\r') && (n < 79)) { n 603 third_party/libxml/src/xmllint.c n++; n 610 third_party/libxml/src/xmllint.c n = 0; n 611 third_party/libxml/src/xmllint.c while ((cur != base) && (n++ < 80)) { n 2169 third_party/libxml/src/xmllint.c xmlNodePtr n; n 2172 third_party/libxml/src/xmllint.c n = xmlNewDocNode(doc, NULL, BAD_CAST "info", NULL); n 2173 third_party/libxml/src/xmllint.c xmlNodeSetContent(n, BAD_CAST "abc"); n 2174 third_party/libxml/src/xmllint.c xmlDocSetRootElement(doc, n); n 5083 third_party/libxml/src/xmlregexp.c int n = ctxt->neg; n 5110 third_party/libxml/src/xmlregexp.c ctxt->neg = n; n 4974 third_party/libxml/src/xmlschemas.c #define IS_BLANK_NODE(n) \ n 4975 third_party/libxml/src/xmlschemas.c (((n)->type == XML_TEXT_NODE) && (xmlSchemaIsBlank((n)->content, -1))) n 6419 third_party/libxml/src/xmlschemas.c xmlNodePtr n = (attr != NULL) ? (xmlNodePtr) attr : node; n 6423 third_party/libxml/src/xmlschemas.c XML_SCHEMAP_SRC_RESOLVE, n, NULL, n 6429 third_party/libxml/src/xmlschemas.c XML_SCHEMAP_SRC_RESOLVE, n, NULL, n 342 third_party/libxml/src/xmlstring.c int n; n 346 third_party/libxml/src/xmlstring.c n = xmlStrlen(val); n 348 third_party/libxml/src/xmlstring.c if (n == 0) return(str); n 351 third_party/libxml/src/xmlstring.c if (!xmlStrncmp(str, val, n)) return((const xmlChar *) str); n 370 third_party/libxml/src/xmlstring.c int n; n 374 third_party/libxml/src/xmlstring.c n = xmlStrlen(val); n 376 third_party/libxml/src/xmlstring.c if (n == 0) return(str); n 379 third_party/libxml/src/xmlstring.c if (!xmlStrncasecmp(str, val, n)) return(str); n 1565 third_party/libxml/src/xmlwriter.c int n; n 1568 third_party/libxml/src/xmlwriter.c for (n = 0; n < 3 && i < len; n++, i++) { n 1570 third_party/libxml/src/xmlwriter.c igroup[n] = (unsigned char) c; n 1573 third_party/libxml/src/xmlwriter.c if (n > 0) { n 1580 third_party/libxml/src/xmlwriter.c if (n < 3) { n 1582 third_party/libxml/src/xmlwriter.c if (n < 2) { n 5409 third_party/libxml/src/xpath.c #define XP_CACHE_WANTS(sl, n) ((sl == NULL) || ((sl)->number < n)) n 8940 third_party/libxml/src/xpath.c int n; n 8954 third_party/libxml/src/xpath.c n = xmlStrlen(needle->stringval); n 8955 third_party/libxml/src/xpath.c if (xmlStrncmp(hay->stringval, needle->stringval, n)) n 75 third_party/libxslt/libxslt/attributes.c #define IS_BLANK_NODE(n) \ n 76 third_party/libxslt/libxslt/attributes.c (((n)->type == XML_TEXT_NODE) && (xsltIsBlank((n)->content))) n 77 third_party/libxslt/libxslt/transform.c #define IS_BLANK_NODE(n) \ n 78 third_party/libxslt/libxslt/transform.c (((n)->type == XML_TEXT_NODE) && (xsltIsBlank((n)->content))) n 113 third_party/libxslt/libxslt/xslt.c #define IS_BLANK_NODE(n) \ n 114 third_party/libxslt/libxslt/xslt.c (((n)->type == XML_TEXT_NODE) && (xsltIsBlank((n)->content))) n 38 third_party/libxslt/libxslt/xsltInternals.h #define XSLT_IS_TEXT_NODE(n) ((n != NULL) && \ n 39 third_party/libxslt/libxslt/xsltInternals.h (((n)->type == XML_TEXT_NODE) || \ n 40 third_party/libxslt/libxslt/xsltInternals.h ((n)->type == XML_CDATA_SECTION_NODE))) n 48 third_party/libxslt/libxslt/xsltInternals.h #define XSLT_MARK_RES_TREE_FRAG(n) \ n 49 third_party/libxslt/libxslt/xsltInternals.h (n)->name = (char *) xmlStrdup(BAD_CAST " fake node libxslt"); n 56 third_party/libxslt/libxslt/xsltInternals.h #define XSLT_IS_RES_TREE_FRAG(n) \ n 57 third_party/libxslt/libxslt/xsltInternals.h ((n != NULL) && ((n)->type == XML_DOCUMENT_NODE) && \ n 58 third_party/libxslt/libxslt/xsltInternals.h ((n)->name != NULL) && ((n)->name[0] == ' ')) n 125 third_party/libxslt/libxslt/xsltInternals.h #define IS_XSLT_ELEM_FAST(n) \ n 126 third_party/libxslt/libxslt/xsltInternals.h (((n) != NULL) && ((n)->ns != NULL) && \ n 127 third_party/libxslt/libxslt/xsltInternals.h ((n)->ns->href == xsltConstNamespaceNameXSLT)) n 162 third_party/libxslt/libxslt/xsltInternals.h #define IS_XSLT_ELEM_FAST(n) \ n 163 third_party/libxslt/libxslt/xsltInternals.h (((n) != NULL) && ((n)->ns != NULL) && \ n 164 third_party/libxslt/libxslt/xsltInternals.h (xmlStrEqual((n)->ns->href, XSLT_NAMESPACE))) n 54 third_party/libxslt/libxslt/xsltutils.h #define IS_XSLT_ELEM(n) \ n 55 third_party/libxslt/libxslt/xsltutils.h (((n) != NULL) && ((n)->type == XML_ELEMENT_NODE) && \ n 56 third_party/libxslt/libxslt/xsltutils.h ((n)->ns != NULL) && (xmlStrEqual((n)->ns->href, XSLT_NAMESPACE))) n 63 third_party/libxslt/libxslt/xsltutils.h #define IS_XSLT_NAME(n, val) \ n 64 third_party/libxslt/libxslt/xsltutils.h (xmlStrEqual((n)->name, (const xmlChar *) (val))) n 71 third_party/libxslt/libxslt/xsltutils.h #define IS_XSLT_REAL_NODE(n) \ n 72 third_party/libxslt/libxslt/xsltutils.h (((n) != NULL) && \ n 73 third_party/libxslt/libxslt/xsltutils.h (((n)->type == XML_ELEMENT_NODE) || \ n 74 third_party/libxslt/libxslt/xsltutils.h ((n)->type == XML_TEXT_NODE) || \ n 75 third_party/libxslt/libxslt/xsltutils.h ((n)->type == XML_CDATA_SECTION_NODE) || \ n 76 third_party/libxslt/libxslt/xsltutils.h ((n)->type == XML_ATTRIBUTE_NODE) || \ n 77 third_party/libxslt/libxslt/xsltutils.h ((n)->type == XML_DOCUMENT_NODE) || \ n 78 third_party/libxslt/libxslt/xsltutils.h ((n)->type == XML_HTML_DOCUMENT_NODE) || \ n 79 third_party/libxslt/libxslt/xsltutils.h ((n)->type == XML_COMMENT_NODE) || \ n 80 third_party/libxslt/libxslt/xsltutils.h ((n)->type == XML_PI_NODE))) n 595 third_party/lzma_sdk/7zIn.c UInt32 n; n 596 third_party/lzma_sdk/7zIn.c RINOK(SzReadNumber32(sd, &n)); n 597 third_party/lzma_sdk/7zIn.c RINOK(SzReadNumber32(sd, &n)); n 80 third_party/lzma_sdk/Types.h #define UINT64_CONST(n) n n 84 third_party/lzma_sdk/Types.h #define UINT64_CONST(n) n ## ULL n 43 third_party/mach_override/libudis86/decode.c #define REX_PFX_MASK(n) ( ( P_REXW(n) << 3 ) | \ n 44 third_party/mach_override/libudis86/decode.c ( P_REXR(n) << 2 ) | \ n 45 third_party/mach_override/libudis86/decode.c ( P_REXX(n) << 1 ) | \ n 46 third_party/mach_override/libudis86/decode.c ( P_REXB(n) << 0 ) ) n 37 third_party/mach_override/libudis86/decode.h #define P_CAST(n) ( ( n >> 0 ) & 1 ) n 39 third_party/mach_override/libudis86/decode.h #define P_REXB(n) ( ( n >> 1 ) & 1 ) n 41 third_party/mach_override/libudis86/decode.h #define P_INV64(n) ( ( n >> 4 ) & 1 ) n 43 third_party/mach_override/libudis86/decode.h #define P_REXW(n) ( ( n >> 5 ) & 1 ) n 45 third_party/mach_override/libudis86/decode.h #define P_DEF64(n) ( ( n >> 7 ) & 1 ) n 47 third_party/mach_override/libudis86/decode.h #define P_REXR(n) ( ( n >> 8 ) & 1 ) n 49 third_party/mach_override/libudis86/decode.h #define P_OSO(n) ( ( n >> 9 ) & 1 ) n 51 third_party/mach_override/libudis86/decode.h #define P_ASO(n) ( ( n >> 10 ) & 1 ) n 53 third_party/mach_override/libudis86/decode.h #define P_REXX(n) ( ( n >> 11 ) & 1 ) n 55 third_party/mach_override/libudis86/decode.h #define P_IMPADDR(n) ( ( n >> 12 ) & 1 ) n 57 third_party/mach_override/libudis86/decode.h #define P_SEG(n) ( ( n >> 13 ) & 1 ) n 59 third_party/mach_override/libudis86/decode.h #define P_STR(n) ( ( n >> 14 ) & 1 ) n 61 third_party/mach_override/libudis86/decode.h #define P_STR_ZF(n) ( ( n >> 15 ) & 1 ) n 77 third_party/mach_override/libudis86/extern.h extern const struct ud_operand* ud_insn_opr(const struct ud *u, unsigned int n); n 112 third_party/mach_override/libudis86/input.c ud_input_skip(struct ud* u, size_t n) n 114 third_party/mach_override/libudis86/input.c while (n--) { n 4 third_party/mach_override/libudis86/itab.c #define GROUP(n) (0x8000 | (n)) n 203 third_party/mach_override/libudis86/udis86.c ud_insn_opr(const struct ud *u, unsigned int n) n 205 third_party/mach_override/libudis86/udis86.c if (n > 2 || u->operand[n].type == UD_NONE) { n 208 third_party/mach_override/libudis86/udis86.c return &u->operand[n]; n 207 third_party/npapi/npspy/extern/java/jri_md.h #define JRI_BIT(n) ((juint)1 << (n)) n 208 third_party/npapi/npspy/extern/java/jri_md.h #define JRI_BITMASK(n) (JRI_BIT(n) - 1) n 99 third_party/npapi/npspy/extern/nspr/plarena.h #define PL_ARENA_ALIGN(pool, n) (((PRUword)(n) + PL_ARENA_CONST_ALIGN_MASK) \ n 105 third_party/npapi/npspy/extern/nspr/plarena.h #define PL_ARENA_ALIGN(pool, n) (((PRUword)(n) + (pool)->mask) & ~(pool)->mask) n 290 third_party/npapi/npspy/extern/nspr/plstr.h PL_strnchr(const char *s, char c, PRUint32 n); n 302 third_party/npapi/npspy/extern/nspr/plstr.h PL_strnrchr(const char *s, char c, PRUint32 n); n 340 third_party/npapi/npspy/extern/nspr/plstr.h PL_strnpbrk(const char *s, const char *list, PRUint32 n); n 351 third_party/npapi/npspy/extern/nspr/plstr.h PL_strnprbrk(const char *s, const char *list, PRUint32 n); n 382 third_party/npapi/npspy/extern/nspr/plstr.h PL_strnstr(const char *big, const char *little, PRUint32 n); n 216 third_party/npapi/npspy/extern/nspr/prtypes.h #define PR_BIT(n) ((PRUint32)1 << (n)) n 217 third_party/npapi/npspy/extern/nspr/prtypes.h #define PR_BITMASK(n) (PR_BIT(n) - 1) n 106 third_party/npapi/npspy/extern/nspr/prwin16.h void * (PR_CALLBACK *calloc)(size_t n, size_t size ); n 123 third_party/npapi/npspy/extern/nspr/prwin16.h void * PR_CALLBACK _PL_W16CallBackCalloc( size_t n, size_t size ); n 144 third_party/npapi/npspy/extern/nspr/prwin16.h NSPR_API(void*) PR_MD_calloc( size_t n, size_t size ); n 219 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java protected static int hashLong(long n) { n 220 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return (int) (n ^ (n >>> 32)); n 271 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java public long skip(final long n) throws IOException { n 272 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java final long result = super.skip(Math.min(n, limit)); n 514 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java public static int decodeZigZag32(final int n) { n 515 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java return (n >>> 1) ^ -(n & 1); n 528 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java public static long decodeZigZag64(final long n) { n 529 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java return (n >>> 1) ^ -(n & 1); n 851 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java final int n = (input == null) ? -1 : n 853 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java if (n == -1) { n 856 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java totalBytesRetired += n; n 857 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java pos += n; n 1092 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java public static int encodeZigZag32(final int n) { n 1094 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java return (n << 1) ^ (n >> 31); n 1107 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java public static long encodeZigZag64(final long n) { n 1109 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedOutputStream.java return (n << 1) ^ (n >> 63); n 1040 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final int n = input.read(buffer); n 1041 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (n == -1) { n 1045 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java text.append(buffer, 0, n); n 187 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc DWORD n; n 191 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc &n, NULL)) { n 196 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc input_pos += n; n 206 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc DWORD n; n 208 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc if (!ReadFile(child_stdout_, buffer, sizeof(buffer), &n, NULL)) { n 213 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc output_data.append(buffer, n); n 386 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc int n = write(child_stdin_, input_data.data() + input_pos, n 388 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc if (n < 0) { n 393 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc input_pos += n; n 405 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc int n = read(child_stdout_, buffer, sizeof(buffer)); n 407 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc if (n > 0) { n 408 third_party/protobuf/src/google/protobuf/compiler/subprocess.cc output_data.append(buffer, n); n 109 third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc int n = 2048; n 110 third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc char* buf = new char[n+1]; n 111 third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc memset(buf, ' ', n-3); n 112 third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc memcpy(buf + n - 3, kInvalidCodePoint, 4); n 113 third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc value = StringPrintf("%.*s", n, buf); n 141 third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc int n = 2048; n 142 third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc char* buf = new char[n+1]; n 143 third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc memset(buf, ' ', n); n 144 third_party/protobuf/src/google/protobuf/stubs/stringprintf_unittest.cc buf[n] = 0; n 477 third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc int n; n 497 third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc n = src - isrc; n 498 third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc exit_reason = UTF8GenericScan(st, str + n, str_length - n, &rest_consumed); n 66 third_party/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc explicit B(int n) : n_(n) { } n 76 third_party/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc explicit C(int n) : n_(n) { } n 94 third_party/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc explicit D(int n) : n_(n) { } n 128 third_party/protobuf/src/google/protobuf/stubs/type_traits_unittest.cc explicit F(int n) : n_(n) { } n 71 third_party/protobuf/src/google/protobuf/testing/file.cc size_t n = fread(buffer, 1, sizeof(buffer), file); n 72 third_party/protobuf/src/google/protobuf/testing/file.cc if (n <= 0) break; n 73 third_party/protobuf/src/google/protobuf/testing/file.cc output->append(buffer, n); n 230 third_party/protobuf/src/google/protobuf/wire_format_lite.h static uint32 ZigZagEncode32(int32 n); n 231 third_party/protobuf/src/google/protobuf/wire_format_lite.h static int32 ZigZagDecode32(uint32 n); n 232 third_party/protobuf/src/google/protobuf/wire_format_lite.h static uint64 ZigZagEncode64(int64 n); n 233 third_party/protobuf/src/google/protobuf/wire_format_lite.h static int64 ZigZagDecode64(uint64 n); n 644 third_party/protobuf/src/google/protobuf/wire_format_lite.h inline uint32 WireFormatLite::ZigZagEncode32(int32 n) { n 646 third_party/protobuf/src/google/protobuf/wire_format_lite.h return (n << 1) ^ (n >> 31); n 649 third_party/protobuf/src/google/protobuf/wire_format_lite.h inline int32 WireFormatLite::ZigZagDecode32(uint32 n) { n 650 third_party/protobuf/src/google/protobuf/wire_format_lite.h return (n >> 1) ^ -static_cast<int32>(n & 1); n 653 third_party/protobuf/src/google/protobuf/wire_format_lite.h inline uint64 WireFormatLite::ZigZagEncode64(int64 n) { n 655 third_party/protobuf/src/google/protobuf/wire_format_lite.h return (n << 1) ^ (n >> 63); n 658 third_party/protobuf/src/google/protobuf/wire_format_lite.h inline int64 WireFormatLite::ZigZagDecode64(uint64 n) { n 659 third_party/protobuf/src/google/protobuf/wire_format_lite.h return (n >> 1) ^ -static_cast<int64>(n & 1); n 97 third_party/re2/re2/bitstate.cc uint n = id * (text_.size() + 1) + (p - text_.begin()); n 98 third_party/re2/re2/bitstate.cc if (visited_[n/VisitedBits] & (1 << (n & (VisitedBits-1)))) n 100 third_party/re2/re2/bitstate.cc visited_[n/VisitedBits] |= 1 << (n & (VisitedBits-1)); n 159 third_party/re2/re2/compile.cc Frag Capture(Frag a, int n); n 183 third_party/re2/re2/compile.cc int AllocInst(int n); n 260 third_party/re2/re2/compile.cc int Compiler::AllocInst(int n) { n 261 third_party/re2/re2/compile.cc if (failed_ || inst_len_ + n > max_inst_) { n 266 third_party/re2/re2/compile.cc if (inst_len_ + n > inst_cap_) { n 269 third_party/re2/re2/compile.cc while (inst_len_ + n > inst_cap_) n 278 third_party/re2/re2/compile.cc inst_len_ += n; n 449 third_party/re2/re2/compile.cc Frag Compiler::Capture(Frag a, int n) { n 453 third_party/re2/re2/compile.cc inst_[id].InitCapture(2*n, a.begin); n 454 third_party/re2/re2/compile.cc inst_[id+1].InitCapture(2*n+1, 0); n 651 third_party/re2/re2/compile.cc int n = runetochar(reinterpret_cast<char*>(ulo), &lo); n 654 third_party/re2/re2/compile.cc DCHECK_EQ(n, m); n 658 third_party/re2/re2/compile.cc for (int i = 0; i < n; i++) n 661 third_party/re2/re2/compile.cc for (int i = n-1; i >= 0; i--) n 703 third_party/re2/re2/compile.cc int n = runetochar(reinterpret_cast<char*>(buf), &r); n 705 third_party/re2/re2/compile.cc for (int i = 1; i < n; i++) n 39 third_party/re2/re2/dfa.cc static void* memrchr(const void* s, int c, size_t n) { n 41 third_party/re2/re2/dfa.cc for (p += n; n > 0; n--) n 389 third_party/re2/re2/dfa.cc Workq(int n, int maxmark) : n 390 third_party/re2/re2/dfa.cc SparseSet(n+maxmark), n 391 third_party/re2/re2/dfa.cc n_(n), n 393 third_party/re2/re2/dfa.cc nextmark_(n), n 615 third_party/re2/re2/dfa.cc int n = 0; n 626 third_party/re2/re2/dfa.cc if (n > 0 && inst[n-1] != Mark) { n 628 third_party/re2/re2/dfa.cc inst[n++] = Mark; n 654 third_party/re2/re2/dfa.cc inst[n++] = *it; n 676 third_party/re2/re2/dfa.cc DCHECK_LE(n, q->size()); n 677 third_party/re2/re2/dfa.cc if (n > 0 && inst[n-1] == Mark) n 678 third_party/re2/re2/dfa.cc n--; n 704 third_party/re2/re2/dfa.cc if (n == 0 && flag == 0) { n 716 third_party/re2/re2/dfa.cc int* ep = ip + n; n 731 third_party/re2/re2/dfa.cc State* state = CachedState(inst, n, flag); n 243 third_party/re2/re2/parse.cc CaseFold* LookupCaseFold(CaseFold *f, int n, Rune r) { n 244 third_party/re2/re2/parse.cc CaseFold* ef = f + n; n 247 third_party/re2/re2/parse.cc while (n > 0) { n 248 third_party/re2/re2/parse.cc int m = n/2; n 252 third_party/re2/re2/parse.cc n = m; n 255 third_party/re2/re2/parse.cc n -= m+1; n 710 third_party/re2/re2/parse.cc void Regexp::RemoveLeadingString(Regexp* re, int n) { n 729 third_party/re2/re2/parse.cc if (n >= re->nrunes_) { n 734 third_party/re2/re2/parse.cc } else if (n == re->nrunes_ - 1) { n 742 third_party/re2/re2/parse.cc re->nrunes_ -= n; n 743 third_party/re2/re2/parse.cc memmove(re->runes_, re->runes_ + n, re->nrunes_ * sizeof re->runes_[0]); n 804 third_party/re2/re2/parse.cc Regexp** sub, int n, n 806 third_party/re2/re2/parse.cc return FactorAlternationRecursive(sub, n, altflags, n 811 third_party/re2/re2/parse.cc Regexp** sub, int n, n 816 third_party/re2/re2/parse.cc return n; n 824 third_party/re2/re2/parse.cc for (int i = 0; i <= n; i++) { n 834 third_party/re2/re2/parse.cc if (i < n) { n 871 third_party/re2/re2/parse.cc if (i < n) { n 878 third_party/re2/re2/parse.cc n = out; n 886 third_party/re2/re2/parse.cc for (int i = 0; i <= n; i++) { n 893 third_party/re2/re2/parse.cc if (i < n) { n 922 third_party/re2/re2/parse.cc if (i < n) { n 927 third_party/re2/re2/parse.cc n = out; n 932 third_party/re2/re2/parse.cc for (int i = 0; i <= n; i++) { n 939 third_party/re2/re2/parse.cc if (i < n && n 971 third_party/re2/re2/parse.cc if (i < n) n 975 third_party/re2/re2/parse.cc n = out; n 980 third_party/re2/re2/parse.cc for (int i = 0; i < n; i++) { n 981 third_party/re2/re2/parse.cc if (i + 1 < n && n 989 third_party/re2/re2/parse.cc n = out; n 991 third_party/re2/re2/parse.cc return n; n 999 third_party/re2/re2/parse.cc int n = 0; n 1005 third_party/re2/re2/parse.cc n += sub->nsub_; n 1007 third_party/re2/re2/parse.cc n++; n 1016 third_party/re2/re2/parse.cc Regexp** subs = new Regexp*[n]; n 1018 third_party/re2/re2/parse.cc int i = n; n 1031 third_party/re2/re2/parse.cc Regexp* re = ConcatOrAlternate(op, subs, n, flags_, true); n 1128 third_party/re2/re2/parse.cc int n = 0; n 1132 third_party/re2/re2/parse.cc if (n >= 100000000) n 1134 third_party/re2/re2/parse.cc n = n*10 + c - '0'; n 1137 third_party/re2/re2/parse.cc *np = n; n 1188 third_party/re2/re2/parse.cc int n; n 1190 third_party/re2/re2/parse.cc n = chartorune(r, sp->data()); n 1191 third_party/re2/re2/parse.cc if (!(n == 1 && *r == Runeerror)) { // no decoding error n 1192 third_party/re2/re2/parse.cc sp->remove_prefix(n); n 1193 third_party/re2/re2/parse.cc return n; n 1694 third_party/re2/re2/parse.cc int n = StringPieceToRune(&r, &t, status); n 1695 third_party/re2/re2/parse.cc if (n < 0) { n 1700 third_party/re2/re2/parse.cc status->set_error_arg(StringPiece(s->data(), 1+n)); n 1945 third_party/re2/re2/parse.cc int n = runetochar(buf, &r); n 1946 third_party/re2/re2/parse.cc utf->append(buf, n); n 277 third_party/re2/re2/prefilter.cc int n = 0; n 280 third_party/re2/re2/prefilter.cc if (n++ > 0) n 396 third_party/re2/re2/prefilter.cc int n = runetochar(buf, &r); n 397 third_party/re2/re2/prefilter.cc return string(buf, n); n 144 third_party/re2/re2/prefilter_tree.cc static string Itoa(int n) { n 146 third_party/re2/re2/prefilter_tree.cc snprintf(buf, sizeof buf, "%d", n); n 316 third_party/re2/re2/prog.cc uint8 n = 0; n 321 third_party/re2/re2/prog.cc bytemap_[i] = n; n 322 third_party/re2/re2/prog.cc n += bits & 1; n 317 third_party/re2/re2/re2.cc const Arg* const args[], int n) { n 318 third_party/re2/re2/re2.cc return re.DoMatch(text, ANCHOR_BOTH, NULL, args, n); n 322 third_party/re2/re2/re2.cc const Arg* const args[], int n) { n 323 third_party/re2/re2/re2.cc return re.DoMatch(text, UNANCHORED, NULL, args, n); n 327 third_party/re2/re2/re2.cc const Arg* const args[], int n) { n 329 third_party/re2/re2/re2.cc if (re.DoMatch(*input, ANCHOR_START, &consumed, args, n)) { n 338 third_party/re2/re2/re2.cc const Arg* const args[], int n) { n 340 third_party/re2/re2/re2.cc if (re.DoMatch(*input, UNANCHORED, &consumed, args, n)) { n 358 third_party/re2/re2/re2.cc int n = (c - '0'); n 359 third_party/re2/re2/re2.cc if (n > max) n 360 third_party/re2/re2/re2.cc max = n; n 485 third_party/re2/re2/re2.cc int n = prefix_.size(); n 486 third_party/re2/re2/re2.cc if (n > maxlen) n 487 third_party/re2/re2/re2.cc n = maxlen; n 491 third_party/re2/re2/re2.cc pmin = prefix_.substr(0, n); n 492 third_party/re2/re2/re2.cc pmax = prefix_.substr(0, n); n 495 third_party/re2/re2/re2.cc for (int i = 0; i < n; i++) { n 503 third_party/re2/re2/re2.cc maxlen -= n; n 805 third_party/re2/re2/re2.cc int n) const { n 814 third_party/re2/re2/re2.cc if (n == 0 && consumed == NULL) n 817 third_party/re2/re2/re2.cc nvec = n+1; n 838 third_party/re2/re2/re2.cc if (n == 0 || args == NULL) { n 845 third_party/re2/re2/re2.cc if (ncap < n) { n 847 third_party/re2/re2/re2.cc VLOG(1) << "Asked for " << n << " but only have " << ncap; n 853 third_party/re2/re2/re2.cc for (int i = 0; i < n; i++) { n 879 third_party/re2/re2/re2.cc int n = (c - '0'); n 880 third_party/re2/re2/re2.cc if (n >= veclen) { n 882 third_party/re2/re2/re2.cc LOG(ERROR) << "requested group " << n n 887 third_party/re2/re2/re2.cc StringPiece snip = vec[n]; n 939 third_party/re2/re2/re2.cc int n = (c - '0'); n 940 third_party/re2/re2/re2.cc if (max_token < n) { n 941 third_party/re2/re2/re2.cc max_token = n; n 956 third_party/re2/re2/re2.cc bool RE2::Arg::parse_null(const char* str, int n, void* dest) { n 961 third_party/re2/re2/re2.cc bool RE2::Arg::parse_string(const char* str, int n, void* dest) { n 963 third_party/re2/re2/re2.cc reinterpret_cast<string*>(dest)->assign(str, n); n 967 third_party/re2/re2/re2.cc bool RE2::Arg::parse_stringpiece(const char* str, int n, void* dest) { n 969 third_party/re2/re2/re2.cc reinterpret_cast<StringPiece*>(dest)->set(str, n); n 973 third_party/re2/re2/re2.cc bool RE2::Arg::parse_char(const char* str, int n, void* dest) { n 974 third_party/re2/re2/re2.cc if (n != 1) return false; n 980 third_party/re2/re2/re2.cc bool RE2::Arg::parse_uchar(const char* str, int n, void* dest) { n 981 third_party/re2/re2/re2.cc if (n != 1) return false; n 994 third_party/re2/re2/re2.cc int n = *np; n 995 third_party/re2/re2/re2.cc if (n <= 0) return ""; n 996 third_party/re2/re2/re2.cc if (n > 0 && isspace(*str)) { n 1011 third_party/re2/re2/re2.cc if (n >= 1 && str[0] == '-') { n 1013 third_party/re2/re2/re2.cc n--; n 1017 third_party/re2/re2/re2.cc if (n >= 3 && str[0] == '0' && str[1] == '0') { n 1018 third_party/re2/re2/re2.cc while (n >= 3 && str[2] == '0') { n 1019 third_party/re2/re2/re2.cc n--; n 1025 third_party/re2/re2/re2.cc n++; n 1029 third_party/re2/re2/re2.cc if (n > kMaxNumberLength) return ""; n 1031 third_party/re2/re2/re2.cc memmove(buf, str, n); n 1035 third_party/re2/re2/re2.cc buf[n] = '\0'; n 1036 third_party/re2/re2/re2.cc *np = n; n 1041 third_party/re2/re2/re2.cc int n, n 1044 third_party/re2/re2/re2.cc if (n == 0) return false; n 1046 third_party/re2/re2/re2.cc str = TerminateNumber(buf, str, &n); n 1050 third_party/re2/re2/re2.cc if (end != str + n) return false; // Leftover junk n 1058 third_party/re2/re2/re2.cc int n, n 1061 third_party/re2/re2/re2.cc if (n == 0) return false; n 1063 third_party/re2/re2/re2.cc str = TerminateNumber(buf, str, &n); n 1073 third_party/re2/re2/re2.cc if (end != str + n) return false; // Leftover junk n 1081 third_party/re2/re2/re2.cc int n, n 1085 third_party/re2/re2/re2.cc if (!parse_long_radix(str, n, &r, radix)) return false; // Could not parse n 1093 third_party/re2/re2/re2.cc int n, n 1097 third_party/re2/re2/re2.cc if (!parse_ulong_radix(str, n, &r, radix)) return false; // Could not parse n 1105 third_party/re2/re2/re2.cc int n, n 1109 third_party/re2/re2/re2.cc if (!parse_long_radix(str, n, &r, radix)) return false; // Could not parse n 1117 third_party/re2/re2/re2.cc int n, n 1121 third_party/re2/re2/re2.cc if (!parse_ulong_radix(str, n, &r, radix)) return false; // Could not parse n 1129 third_party/re2/re2/re2.cc int n, n 1132 third_party/re2/re2/re2.cc if (n == 0) return false; n 1134 third_party/re2/re2/re2.cc str = TerminateNumber(buf, str, &n); n 1138 third_party/re2/re2/re2.cc if (end != str + n) return false; // Leftover junk n 1146 third_party/re2/re2/re2.cc int n, n 1149 third_party/re2/re2/re2.cc if (n == 0) return false; n 1151 third_party/re2/re2/re2.cc str = TerminateNumber(buf, str, &n); n 1160 third_party/re2/re2/re2.cc if (end != str + n) return false; // Leftover junk n 1167 third_party/re2/re2/re2.cc static bool parse_double_float(const char* str, int n, bool isfloat, void *dest) { n 1168 third_party/re2/re2/re2.cc if (n == 0) return false; n 1171 third_party/re2/re2/re2.cc if (n >= kMaxLength) return false; n 1172 third_party/re2/re2/re2.cc memcpy(buf, str, n); n 1173 third_party/re2/re2/re2.cc buf[n] = '\0'; n 1182 third_party/re2/re2/re2.cc if (end != buf + n) return false; // Leftover junk n 1193 third_party/re2/re2/re2.cc bool RE2::Arg::parse_double(const char* str, int n, void* dest) { n 1194 third_party/re2/re2/re2.cc return parse_double_float(str, n, false, dest); n 1197 third_party/re2/re2/re2.cc bool RE2::Arg::parse_float(const char* str, int n, void* dest) { n 1198 third_party/re2/re2/re2.cc return parse_double_float(str, n, true, dest); n 1203 third_party/re2/re2/re2.cc bool RE2::Arg::parse_##name(const char* str, int n, void* dest) { \ n 1204 third_party/re2/re2/re2.cc return parse_##name##_radix(str, n, dest, 10); \ n 1206 third_party/re2/re2/re2.cc bool RE2::Arg::parse_##name##_hex(const char* str, int n, void* dest) { \ n 1207 third_party/re2/re2/re2.cc return parse_##name##_radix(str, n, dest, 16); \ n 1209 third_party/re2/re2/re2.cc bool RE2::Arg::parse_##name##_octal(const char* str, int n, void* dest) { \ n 1210 third_party/re2/re2/re2.cc return parse_##name##_radix(str, n, dest, 8); \ n 1212 third_party/re2/re2/re2.cc bool RE2::Arg::parse_##name##_cradix(const char* str, int n, void* dest) { \ n 1213 third_party/re2/re2/re2.cc return parse_##name##_radix(str, n, dest, 0); \ n 688 third_party/re2/re2/re2.h int n) const; n 727 third_party/re2/re2/re2.h static inline bool Parse(const char* str, int n, void* dest) { n 730 third_party/re2/re2/re2.h return object->ParseFrom(str, n); n 742 third_party/re2/re2/re2.h typedef bool (*Parser)(const char* str, int n, void* dest); n 776 third_party/re2/re2/re2.h bool Parse(const char* str, int n) const; n 782 third_party/re2/re2/re2.h static bool parse_null (const char* str, int n, void* dest); n 783 third_party/re2/re2/re2.h static bool parse_char (const char* str, int n, void* dest); n 784 third_party/re2/re2/re2.h static bool parse_uchar (const char* str, int n, void* dest); n 785 third_party/re2/re2/re2.h static bool parse_float (const char* str, int n, void* dest); n 786 third_party/re2/re2/re2.h static bool parse_double (const char* str, int n, void* dest); n 787 third_party/re2/re2/re2.h static bool parse_string (const char* str, int n, void* dest); n 788 third_party/re2/re2/re2.h static bool parse_stringpiece (const char* str, int n, void* dest); n 792 third_party/re2/re2/re2.h static bool parse_ ## name(const char* str, int n, void* dest); \ n 794 third_party/re2/re2/re2.h const char* str, int n, void* dest, int radix); \ n 796 third_party/re2/re2/re2.h static bool parse_ ## name ## _hex(const char* str, int n, void* dest); \ n 797 third_party/re2/re2/re2.h static bool parse_ ## name ## _octal(const char* str, int n, void* dest); \ n 798 third_party/re2/re2/re2.h static bool parse_ ## name ## _cradix(const char* str, int n, void* dest) n 815 third_party/re2/re2/re2.h inline bool RE2::Arg::Parse(const char* str, int n) const { n 816 third_party/re2/re2/re2.h return (*parser_)(str, n, arg_); n 448 third_party/re2/re2/regexp.cc int n = stk.size(); n 449 third_party/re2/re2/regexp.cc if (n == 0) n 452 third_party/re2/re2/regexp.cc a = stk[n-2]; n 453 third_party/re2/re2/regexp.cc b = stk[n-1]; n 454 third_party/re2/re2/regexp.cc stk.resize(n-2); n 886 third_party/re2/re2/regexp.cc int n = 0; n 892 third_party/re2/re2/regexp.cc cc->ranges_[n++] = RuneRange(nextlo, it->lo - 1); n 897 third_party/re2/re2/regexp.cc cc->ranges_[n++] = RuneRange(nextlo, Runemax); n 898 third_party/re2/re2/regexp.cc cc->nranges_ = n; n 904 third_party/re2/re2/regexp.cc int n = nranges_; n 905 third_party/re2/re2/regexp.cc while (n > 0) { n 906 third_party/re2/re2/regexp.cc int m = n/2; n 909 third_party/re2/re2/regexp.cc n -= m+1; n 911 third_party/re2/re2/regexp.cc n = m; n 921 third_party/re2/re2/regexp.cc int n = 0; n 923 third_party/re2/re2/regexp.cc cc->ranges_[n++] = *it; n 924 third_party/re2/re2/regexp.cc cc->nranges_ = n; n 925 third_party/re2/re2/regexp.cc DCHECK_LE(n, ranges_.size()); n 467 third_party/re2/re2/regexp.h static void RemoveLeadingString(Regexp* re, int n); n 490 third_party/re2/re2/regexp.h void AllocSub(int n) { n 491 third_party/re2/re2/regexp.h if (n < 0 || static_cast<uint16>(n) != n) n 492 third_party/re2/re2/regexp.h LOG(FATAL) << "Cannot AllocSub " << n; n 493 third_party/re2/re2/regexp.h if (n > 1) n 494 third_party/re2/re2/regexp.h submany_ = new Regexp*[n]; n 495 third_party/re2/re2/regexp.h nsub_ = n; n 48 third_party/re2/re2/set.cc int n = re_.size(); n 49 third_party/re2/re2/set.cc re2::Regexp* m = re2::Regexp::HaveMatch(n, pf); n 66 third_party/re2/re2/set.cc return n; n 73 third_party/re2/re2/stringpiece.h void remove_prefix(int n) { n 74 third_party/re2/re2/stringpiece.h ptr_ += n; n 75 third_party/re2/re2/stringpiece.h length_ -= n; n 78 third_party/re2/re2/stringpiece.h void remove_suffix(int n) { n 79 third_party/re2/re2/stringpiece.h length_ -= n; n 142 third_party/re2/re2/stringpiece.h int copy(char* buf, size_type n, size_type pos = 0) const; n 149 third_party/re2/re2/stringpiece.h StringPiece substr(size_type pos, size_type n = npos) const; n 153 third_party/re2/re2/testing/backtrack.cc int n = id*(text_.size()+1) + (p - text_.begin()); n 154 third_party/re2/re2/testing/backtrack.cc CHECK_LT(n/32, nvisited_); n 155 third_party/re2/re2/testing/backtrack.cc if (visited_[n/32] & (1 << (n&31))) n 157 third_party/re2/re2/testing/backtrack.cc visited_[n/32] |= 1 << (n&31); n 134 third_party/re2/re2/testing/dfa_test.cc static string DeBruijnString(int n) { n 135 third_party/re2/re2/testing/dfa_test.cc CHECK_LT(n, 8*sizeof(int)); n 136 third_party/re2/re2/testing/dfa_test.cc CHECK_GT(n, 0); n 138 third_party/re2/re2/testing/dfa_test.cc vector<bool> did(1<<n); n 139 third_party/re2/re2/testing/dfa_test.cc for (int i = 0; i < 1<<n; i++) n 143 third_party/re2/re2/testing/dfa_test.cc for (int i = 0; i < n-1; i++) n 146 third_party/re2/re2/testing/dfa_test.cc int mask = (1<<n) - 1; n 147 third_party/re2/re2/testing/dfa_test.cc for (int i = 0; i < (1<<n); i++) { n 182 third_party/re2/re2/testing/dfa_test.cc const int n = 18; n 184 third_party/re2/re2/testing/dfa_test.cc Regexp* re = Regexp::Parse(StringPrintf("0[01]{%d}$", n), n 190 third_party/re2/re2/testing/dfa_test.cc string no_match = DeBruijnString(n); n 205 third_party/re2/re2/testing/dfa_test.cc Prog* prog = re->CompileToProg(1<<n); n 229 third_party/re2/re2/testing/dfa_test.cc CHECK_LT(usage, 1<<n); n 230 third_party/re2/re2/testing/dfa_test.cc CHECK_LT(peak_usage, 1<<n); n 265 third_party/re2/re2/testing/dfa_test.cc const int n = 18; n 266 third_party/re2/re2/testing/dfa_test.cc Regexp* re = Regexp::Parse(StringPrintf("0[01]{%d}$", n), n 269 third_party/re2/re2/testing/dfa_test.cc string no_match = DeBruijnString(n); n 275 third_party/re2/re2/testing/dfa_test.cc Prog* prog = re->CompileToProg(1<<n); n 289 third_party/re2/re2/testing/dfa_test.cc Prog* prog = re->CompileToProg(1<<n); n 59 third_party/re2/re2/testing/exhaustive_tester.cc static void PrintResult(const RE2& re, const StringPiece& input, RE2::Anchor anchor, StringPiece *m, int n) { n 60 third_party/re2/re2/testing/exhaustive_tester.cc if (!re.Match(input, 0, input.size(), anchor, m, n)) { n 64 third_party/re2/re2/testing/exhaustive_tester.cc for (int i = 0; i < n; i++) { n 134 third_party/re2/re2/testing/filtered_re2_test.cc int n, n 136 third_party/re2/re2/testing/filtered_re2_test.cc for (int i = 0; i < n; i++) { n 144 third_party/re2/re2/testing/filtered_re2_test.cc int n, n 148 third_party/re2/re2/testing/filtered_re2_test.cc for (int i = 0; i < n; i++) n 155 third_party/re2/re2/testing/filtered_re2_test.cc for (int i = 0; pass && i < n; i++) n 267 third_party/re2/re2/testing/re2_test.cc int n; n 268 third_party/re2/re2/testing/re2_test.cc argv[1] = &n; n 271 third_party/re2/re2/testing/re2_test.cc EXPECT_EQ(4, n); n 316 third_party/re2/re2/testing/re2_test.cc int n; n 317 third_party/re2/re2/testing/re2_test.cc argv[1] = &n; n 320 third_party/re2/re2/testing/re2_test.cc EXPECT_EQ(4, n); n 179 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Easy0_CachedDFA(int i, int n) { Search(i, n, EASY0, SearchCachedDFA); } n 180 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Easy0_CachedNFA(int i, int n) { Search(i, n, EASY0, SearchCachedNFA); } n 181 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Easy0_CachedPCRE(int i, int n) { Search(i, n, EASY0, SearchCachedPCRE); } n 182 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Easy0_CachedRE2(int i, int n) { Search(i, n, EASY0, SearchCachedRE2); } n 191 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Easy1_CachedDFA(int i, int n) { Search(i, n, EASY1, SearchCachedDFA); } n 192 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Easy1_CachedNFA(int i, int n) { Search(i, n, EASY1, SearchCachedNFA); } n 193 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Easy1_CachedPCRE(int i, int n) { Search(i, n, EASY1, SearchCachedPCRE); } n 194 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Easy1_CachedRE2(int i, int n) { Search(i, n, EASY1, SearchCachedRE2); } n 203 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Medium_CachedDFA(int i, int n) { Search(i, n, MEDIUM, SearchCachedDFA); } n 204 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Medium_CachedNFA(int i, int n) { Search(i, n, MEDIUM, SearchCachedNFA); } n 205 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Medium_CachedPCRE(int i, int n) { Search(i, n, MEDIUM, SearchCachedPCRE); } n 206 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Medium_CachedRE2(int i, int n) { Search(i, n, MEDIUM, SearchCachedRE2); } n 215 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Hard_CachedDFA(int i, int n) { Search(i, n, HARD, SearchCachedDFA); } n 216 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Hard_CachedNFA(int i, int n) { Search(i, n, HARD, SearchCachedNFA); } n 217 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Hard_CachedPCRE(int i, int n) { Search(i, n, HARD, SearchCachedPCRE); } n 218 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Hard_CachedRE2(int i, int n) { Search(i, n, HARD, SearchCachedRE2); } n 227 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Parens_CachedDFA(int i, int n) { Search(i, n, PARENS, SearchCachedDFA); } n 228 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Parens_CachedNFA(int i, int n) { Search(i, n, PARENS, SearchCachedNFA); } n 229 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Parens_CachedPCRE(int i, int n) { Search(i, n, PARENS, SearchCachedPCRE); } n 230 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Parens_CachedRE2(int i, int n) { Search(i, n, PARENS, SearchCachedRE2); } n 253 third_party/re2/re2/testing/regexp_benchmark.cc void Search_BigFixed_CachedDFA(int i, int n) { SearchBigFixed(i, n, SearchCachedDFA); } n 254 third_party/re2/re2/testing/regexp_benchmark.cc void Search_BigFixed_CachedNFA(int i, int n) { SearchBigFixed(i, n, SearchCachedNFA); } n 255 third_party/re2/re2/testing/regexp_benchmark.cc void Search_BigFixed_CachedPCRE(int i, int n) { SearchBigFixed(i, n, SearchCachedPCRE); } n 256 third_party/re2/re2/testing/regexp_benchmark.cc void Search_BigFixed_CachedRE2(int i, int n) { SearchBigFixed(i, n, SearchCachedRE2); } n 296 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success_DFA(int i, int n) { SearchSuccess(i, n, ".*$", SearchDFA); } n 297 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success_OnePass(int i, int n) { SearchSuccess(i, n, ".*$", SearchOnePass); } n 298 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success_PCRE(int i, int n) { SearchSuccess(i, n, ".*$", SearchPCRE); } n 299 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success_RE2(int i, int n) { SearchSuccess(i, n, ".*$", SearchRE2); } n 308 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success_CachedDFA(int i, int n) { SearchSuccess(i, n, ".*$", SearchCachedDFA); } n 309 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success_CachedOnePass(int i, int n) { SearchSuccess(i, n, ".*$", SearchCachedOnePass); } n 310 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success_CachedPCRE(int i, int n) { SearchSuccess(i, n, ".*$", SearchCachedPCRE); } n 311 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success_CachedRE2(int i, int n) { SearchSuccess(i, n, ".*$", SearchCachedRE2); } n 322 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success1_DFA(int i, int n) { SearchSuccess(i, n, ".*.$", SearchDFA); } n 323 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success1_PCRE(int i, int n) { SearchSuccess(i, n, ".*.$", SearchPCRE); } n 324 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success1_RE2(int i, int n) { SearchSuccess(i, n, ".*.$", SearchRE2); } n 325 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success1_BitState(int i, int n) { SearchSuccess(i, n, ".*.$", SearchBitState); } n 334 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success1_Cached_DFA(int i, int n) { SearchSuccess(i, n, ".*.$", SearchCachedDFA); } n 335 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success1_Cached_PCRE(int i, int n) { SearchSuccess(i, n, ".*.$", SearchCachedPCRE); } n 336 third_party/re2/re2/testing/regexp_benchmark.cc void Search_Success1_Cached_RE2(int i, int n) { SearchSuccess(i, n, ".*.$", SearchCachedRE2); } n 703 third_party/re2/re2/testing/regexp_benchmark.cc void SearchPhone_CachedPCRE(int i, int n) { n 704 third_party/re2/re2/testing/regexp_benchmark.cc SearchPhone(i, n, SearchParse2CachedPCRE); n 706 third_party/re2/re2/testing/regexp_benchmark.cc void SearchPhone_CachedRE2(int i, int n) { n 707 third_party/re2/re2/testing/regexp_benchmark.cc SearchPhone(i, n, SearchParse2CachedRE2); n 1284 third_party/re2/re2/testing/regexp_benchmark.cc void EmptyPartialMatchPCRE(int n) { n 1286 third_party/re2/re2/testing/regexp_benchmark.cc for (int i = 0; i < n; i++) { n 1291 third_party/re2/re2/testing/regexp_benchmark.cc void EmptyPartialMatchRE2(int n) { n 1293 third_party/re2/re2/testing/regexp_benchmark.cc for (int i = 0; i < n; i++) { n 1302 third_party/re2/re2/testing/regexp_benchmark.cc void SimplePartialMatchPCRE(int n) { n 1304 third_party/re2/re2/testing/regexp_benchmark.cc for (int i = 0; i < n; i++) { n 1309 third_party/re2/re2/testing/regexp_benchmark.cc void SimplePartialMatchRE2(int n) { n 1311 third_party/re2/re2/testing/regexp_benchmark.cc for (int i = 0; i < n; i++) { n 1324 third_party/re2/re2/testing/regexp_benchmark.cc void HTTPPartialMatchPCRE(int n) { n 1327 third_party/re2/re2/testing/regexp_benchmark.cc for (int i = 0; i < n; i++) { n 1332 third_party/re2/re2/testing/regexp_benchmark.cc void HTTPPartialMatchRE2(int n) { n 1335 third_party/re2/re2/testing/regexp_benchmark.cc for (int i = 0; i < n; i++) { n 1348 third_party/re2/re2/testing/regexp_benchmark.cc void SmallHTTPPartialMatchPCRE(int n) { n 1351 third_party/re2/re2/testing/regexp_benchmark.cc for (int i = 0; i < n; i++) { n 1356 third_party/re2/re2/testing/regexp_benchmark.cc void SmallHTTPPartialMatchRE2(int n) { n 1359 third_party/re2/re2/testing/regexp_benchmark.cc for (int i = 0; i < n; i++) { n 1369 third_party/re2/re2/testing/regexp_benchmark.cc void DotMatchPCRE(int n) { n 1372 third_party/re2/re2/testing/regexp_benchmark.cc for (int i = 0; i < n; i++) { n 1377 third_party/re2/re2/testing/regexp_benchmark.cc void DotMatchRE2(int n) { n 1380 third_party/re2/re2/testing/regexp_benchmark.cc for (int i = 0; i < n; i++) { n 1390 third_party/re2/re2/testing/regexp_benchmark.cc void ASCIIMatchPCRE(int n) { n 1393 third_party/re2/re2/testing/regexp_benchmark.cc for (int i = 0; i < n; i++) { n 1398 third_party/re2/re2/testing/regexp_benchmark.cc void ASCIIMatchRE2(int n) { n 1401 third_party/re2/re2/testing/regexp_benchmark.cc for (int i = 0; i < n; i++) { n 1411 third_party/re2/re2/testing/regexp_benchmark.cc void FullMatchPCRE(int iter, int n, const char *regexp) { n 1414 third_party/re2/re2/testing/regexp_benchmark.cc MakeText(&s, n); n 1421 third_party/re2/re2/testing/regexp_benchmark.cc SetBenchmarkBytesProcessed(static_cast<int64>(iter)*n); n 1424 third_party/re2/re2/testing/regexp_benchmark.cc void FullMatchRE2(int iter, int n, const char *regexp) { n 1427 third_party/re2/re2/testing/regexp_benchmark.cc MakeText(&s, n); n 1434 third_party/re2/re2/testing/regexp_benchmark.cc SetBenchmarkBytesProcessed(static_cast<int64>(iter)*n); n 1437 third_party/re2/re2/testing/regexp_benchmark.cc void FullMatch_DotStar_CachedPCRE(int i, int n) { FullMatchPCRE(i, n, "(?s).*"); } n 1438 third_party/re2/re2/testing/regexp_benchmark.cc void FullMatch_DotStar_CachedRE2(int i, int n) { FullMatchRE2(i, n, "(?s).*"); } n 1440 third_party/re2/re2/testing/regexp_benchmark.cc void FullMatch_DotStarDollar_CachedPCRE(int i, int n) { FullMatchPCRE(i, n, "(?s).*$"); } n 1441 third_party/re2/re2/testing/regexp_benchmark.cc void FullMatch_DotStarDollar_CachedRE2(int i, int n) { FullMatchRE2(i, n, "(?s).*$"); } n 1443 third_party/re2/re2/testing/regexp_benchmark.cc void FullMatch_DotStarCapture_CachedPCRE(int i, int n) { FullMatchPCRE(i, n, "(?s)((.*)()()($))"); } n 1444 third_party/re2/re2/testing/regexp_benchmark.cc void FullMatch_DotStarCapture_CachedRE2(int i, int n) { FullMatchRE2(i, n, "(?s)((.*)()()($))"); } n 65 third_party/re2/re2/testing/regexp_generator.cc void RegexpGenerator::GenerateRandom(int32 seed, int n) { n 69 third_party/re2/re2/testing/regexp_generator.cc for (int i = 0; i < n; i++) { n 80 third_party/re2/re2/testing/regexp_generator.cc int n = 0; n 83 third_party/re2/re2/testing/regexp_generator.cc n++; n 85 third_party/re2/re2/testing/regexp_generator.cc return n; n 38 third_party/re2/re2/testing/regexp_generator.h void GenerateRandom(int32 seed, int n); n 96 third_party/re2/re2/testing/string_generator.cc void StringGenerator::Random(int32 seed, int n) { n 103 third_party/re2/re2/testing/string_generator.cc nrandom_ = n; n 31 third_party/re2/re2/testing/string_generator.h void Random(int32 seed, int n); n 36 third_party/re2/re2/testing/string_generator_test.cc int n = 0; n 50 third_party/re2/re2/testing/string_generator_test.cc n++; n 78 third_party/re2/re2/testing/string_generator_test.cc EXPECT_EQ(n, m); n 120 third_party/re2/re2/walker-inl.h n(-1), n 125 third_party/re2/re2/walker-inl.h int n; // The index of the next child to process; -1 means need to PreVisit n 171 third_party/re2/re2/walker-inl.h switch (s->n) { n 184 third_party/re2/re2/walker-inl.h s->n = 0; n 195 third_party/re2/re2/walker-inl.h if (s->n < re->nsub_) { n 196 third_party/re2/re2/walker-inl.h if (use_copy && s->n > 0 && sub[s->n - 1] == sub[s->n]) { n 197 third_party/re2/re2/walker-inl.h s->child_args[s->n] = Copy(s->child_args[s->n - 1]); n 198 third_party/re2/re2/walker-inl.h s->n++; n 200 third_party/re2/re2/walker-inl.h stack_->push(WalkState<T>(sub[s->n], s->pre_arg)); n 206 third_party/re2/re2/walker-inl.h t = PostVisit(re, s->parent_arg, s->pre_arg, s->child_args, s->n); n 220 third_party/re2/re2/walker-inl.h s->child_args[s->n] = t; n 223 third_party/re2/re2/walker-inl.h s->n++; n 54 third_party/re2/util/benchmark.cc void SetBenchmarkItemsProcessed(int n) { n 55 third_party/re2/util/benchmark.cc items = n; n 66 third_party/re2/util/benchmark.cc static void runN(Benchmark *b, int n, int siz) { n 72 third_party/re2/util/benchmark.cc b->fn(n); n 74 third_party/re2/util/benchmark.cc b->fnr(n, siz); n 83 third_party/re2/util/benchmark.cc static int round(int n) { n 86 third_party/re2/util/benchmark.cc while(base*10 < n) n 88 third_party/re2/util/benchmark.cc if(n < 2*base) n 90 third_party/re2/util/benchmark.cc if(n < 5*base) n 96 third_party/re2/util/benchmark.cc int n, last; n 103 third_party/re2/util/benchmark.cc n = 1; n 104 third_party/re2/util/benchmark.cc runN(b, n, siz); n 105 third_party/re2/util/benchmark.cc while(ns < (int)1e9 && n < (int)1e9) { n 106 third_party/re2/util/benchmark.cc last = n; n 107 third_party/re2/util/benchmark.cc if(ns/n == 0) n 108 third_party/re2/util/benchmark.cc n = 1e9; n 110 third_party/re2/util/benchmark.cc n = 1e9 / (ns/n); n 112 third_party/re2/util/benchmark.cc n = max(last+1, min(n+n/2, 100*last)); n 113 third_party/re2/util/benchmark.cc n = round(n); n 114 third_party/re2/util/benchmark.cc runN(b, n, siz); n 131 third_party/re2/util/benchmark.cc printf("%s%s\t%8lld\t%10lld ns/op%s\n", b->name, suf, (long long)n, (long long)ns/n, mb); n 21 third_party/re2/util/benchmark.h void Clear(const char* n) { name = n; fn = 0; fnr = 0; lo = 0; hi = 0; threadlo = 0; threadhi = 0; } n 62 third_party/re2/util/logging.h int n = (int)s.size(); // shut up msvc n 63 third_party/re2/util/logging.h if(write(2, s.data(), n) < 0) {} // shut up gcc n 166 third_party/re2/util/pcre.cc int n = 0; n 167 third_party/re2/util/pcre.cc if (&a0 == &no_more_args) goto done; args[n++] = &a0; n 168 third_party/re2/util/pcre.cc if (&a1 == &no_more_args) goto done; args[n++] = &a1; n 169 third_party/re2/util/pcre.cc if (&a2 == &no_more_args) goto done; args[n++] = &a2; n 170 third_party/re2/util/pcre.cc if (&a3 == &no_more_args) goto done; args[n++] = &a3; n 171 third_party/re2/util/pcre.cc if (&a4 == &no_more_args) goto done; args[n++] = &a4; n 172 third_party/re2/util/pcre.cc if (&a5 == &no_more_args) goto done; args[n++] = &a5; n 173 third_party/re2/util/pcre.cc if (&a6 == &no_more_args) goto done; args[n++] = &a6; n 174 third_party/re2/util/pcre.cc if (&a7 == &no_more_args) goto done; args[n++] = &a7; n 175 third_party/re2/util/pcre.cc if (&a8 == &no_more_args) goto done; args[n++] = &a8; n 176 third_party/re2/util/pcre.cc if (&a9 == &no_more_args) goto done; args[n++] = &a9; n 177 third_party/re2/util/pcre.cc if (&a10 == &no_more_args) goto done; args[n++] = &a10; n 178 third_party/re2/util/pcre.cc if (&a11 == &no_more_args) goto done; args[n++] = &a11; n 179 third_party/re2/util/pcre.cc if (&a12 == &no_more_args) goto done; args[n++] = &a12; n 180 third_party/re2/util/pcre.cc if (&a13 == &no_more_args) goto done; args[n++] = &a13; n 181 third_party/re2/util/pcre.cc if (&a14 == &no_more_args) goto done; args[n++] = &a14; n 182 third_party/re2/util/pcre.cc if (&a15 == &no_more_args) goto done; args[n++] = &a15; n 187 third_party/re2/util/pcre.cc return re.DoMatchImpl(text, ANCHOR_BOTH, &consumed, args, n, vec, kVecSize); n 209 third_party/re2/util/pcre.cc int n = 0; n 210 third_party/re2/util/pcre.cc if (&a0 == &no_more_args) goto done; args[n++] = &a0; n 211 third_party/re2/util/pcre.cc if (&a1 == &no_more_args) goto done; args[n++] = &a1; n 212 third_party/re2/util/pcre.cc if (&a2 == &no_more_args) goto done; args[n++] = &a2; n 213 third_party/re2/util/pcre.cc if (&a3 == &no_more_args) goto done; args[n++] = &a3; n 214 third_party/re2/util/pcre.cc if (&a4 == &no_more_args) goto done; args[n++] = &a4; n 215 third_party/re2/util/pcre.cc if (&a5 == &no_more_args) goto done; args[n++] = &a5; n 216 third_party/re2/util/pcre.cc if (&a6 == &no_more_args) goto done; args[n++] = &a6; n 217 third_party/re2/util/pcre.cc if (&a7 == &no_more_args) goto done; args[n++] = &a7; n 218 third_party/re2/util/pcre.cc if (&a8 == &no_more_args) goto done; args[n++] = &a8; n 219 third_party/re2/util/pcre.cc if (&a9 == &no_more_args) goto done; args[n++] = &a9; n 220 third_party/re2/util/pcre.cc if (&a10 == &no_more_args) goto done; args[n++] = &a10; n 221 third_party/re2/util/pcre.cc if (&a11 == &no_more_args) goto done; args[n++] = &a11; n 222 third_party/re2/util/pcre.cc if (&a12 == &no_more_args) goto done; args[n++] = &a12; n 223 third_party/re2/util/pcre.cc if (&a13 == &no_more_args) goto done; args[n++] = &a13; n 224 third_party/re2/util/pcre.cc if (&a14 == &no_more_args) goto done; args[n++] = &a14; n 225 third_party/re2/util/pcre.cc if (&a15 == &no_more_args) goto done; args[n++] = &a15; n 230 third_party/re2/util/pcre.cc return re.DoMatchImpl(text, UNANCHORED, &consumed, args, n, vec, kVecSize); n 252 third_party/re2/util/pcre.cc int n = 0; n 253 third_party/re2/util/pcre.cc if (&a0 == &no_more_args) goto done; args[n++] = &a0; n 254 third_party/re2/util/pcre.cc if (&a1 == &no_more_args) goto done; args[n++] = &a1; n 255 third_party/re2/util/pcre.cc if (&a2 == &no_more_args) goto done; args[n++] = &a2; n 256 third_party/re2/util/pcre.cc if (&a3 == &no_more_args) goto done; args[n++] = &a3; n 257 third_party/re2/util/pcre.cc if (&a4 == &no_more_args) goto done; args[n++] = &a4; n 258 third_party/re2/util/pcre.cc if (&a5 == &no_more_args) goto done; args[n++] = &a5; n 259 third_party/re2/util/pcre.cc if (&a6 == &no_more_args) goto done; args[n++] = &a6; n 260 third_party/re2/util/pcre.cc if (&a7 == &no_more_args) goto done; args[n++] = &a7; n 261 third_party/re2/util/pcre.cc if (&a8 == &no_more_args) goto done; args[n++] = &a8; n 262 third_party/re2/util/pcre.cc if (&a9 == &no_more_args) goto done; args[n++] = &a9; n 263 third_party/re2/util/pcre.cc if (&a10 == &no_more_args) goto done; args[n++] = &a10; n 264 third_party/re2/util/pcre.cc if (&a11 == &no_more_args) goto done; args[n++] = &a11; n 265 third_party/re2/util/pcre.cc if (&a12 == &no_more_args) goto done; args[n++] = &a12; n 266 third_party/re2/util/pcre.cc if (&a13 == &no_more_args) goto done; args[n++] = &a13; n 267 third_party/re2/util/pcre.cc if (&a14 == &no_more_args) goto done; args[n++] = &a14; n 268 third_party/re2/util/pcre.cc if (&a15 == &no_more_args) goto done; args[n++] = &a15; n 274 third_party/re2/util/pcre.cc args, n, vec, kVecSize)) { n 301 third_party/re2/util/pcre.cc int n = 0; n 302 third_party/re2/util/pcre.cc if (&a0 == &no_more_args) goto done; args[n++] = &a0; n 303 third_party/re2/util/pcre.cc if (&a1 == &no_more_args) goto done; args[n++] = &a1; n 304 third_party/re2/util/pcre.cc if (&a2 == &no_more_args) goto done; args[n++] = &a2; n 305 third_party/re2/util/pcre.cc if (&a3 == &no_more_args) goto done; args[n++] = &a3; n 306 third_party/re2/util/pcre.cc if (&a4 == &no_more_args) goto done; args[n++] = &a4; n 307 third_party/re2/util/pcre.cc if (&a5 == &no_more_args) goto done; args[n++] = &a5; n 308 third_party/re2/util/pcre.cc if (&a6 == &no_more_args) goto done; args[n++] = &a6; n 309 third_party/re2/util/pcre.cc if (&a7 == &no_more_args) goto done; args[n++] = &a7; n 310 third_party/re2/util/pcre.cc if (&a8 == &no_more_args) goto done; args[n++] = &a8; n 311 third_party/re2/util/pcre.cc if (&a9 == &no_more_args) goto done; args[n++] = &a9; n 312 third_party/re2/util/pcre.cc if (&a10 == &no_more_args) goto done; args[n++] = &a10; n 313 third_party/re2/util/pcre.cc if (&a11 == &no_more_args) goto done; args[n++] = &a11; n 314 third_party/re2/util/pcre.cc if (&a12 == &no_more_args) goto done; args[n++] = &a12; n 315 third_party/re2/util/pcre.cc if (&a13 == &no_more_args) goto done; args[n++] = &a13; n 316 third_party/re2/util/pcre.cc if (&a14 == &no_more_args) goto done; args[n++] = &a14; n 317 third_party/re2/util/pcre.cc if (&a15 == &no_more_args) goto done; args[n++] = &a15; n 323 third_party/re2/util/pcre.cc args, n, vec, kVecSize)) { n 562 third_party/re2/util/pcre.cc int n, n 565 third_party/re2/util/pcre.cc assert((1 + n) * 3 <= vecsize); // results + PCRE workspace n 573 third_party/re2/util/pcre.cc if (n == 0 || args == NULL) { n 577 third_party/re2/util/pcre.cc if (NumberOfCapturingGroups() < n) { n 585 third_party/re2/util/pcre.cc for (int i = 0; i < n; i++) { n 601 third_party/re2/util/pcre.cc int n) const { n 602 third_party/re2/util/pcre.cc assert(n >= 0); n 603 third_party/re2/util/pcre.cc size_t const vecsize = (1 + n) * 3; // results + PCRE workspace n 606 third_party/re2/util/pcre.cc bool b = DoMatchImpl(text, anchor, consumed, args, n, vec, vecsize); n 620 third_party/re2/util/pcre.cc int n = (c - '0'); n 621 third_party/re2/util/pcre.cc if (n >= veclen) { n 622 third_party/re2/util/pcre.cc if (n <= number_of_capturing_groups) { n 626 third_party/re2/util/pcre.cc PCREPORT(ERROR) << "requested group " << n n 631 third_party/re2/util/pcre.cc int start = vec[2 * n]; n 633 third_party/re2/util/pcre.cc out->append(text.data() + start, vec[2 * n + 1] - start); n 668 third_party/re2/util/pcre.cc int n = (c - '0'); n 669 third_party/re2/util/pcre.cc if (max_token < n) { n 670 third_party/re2/util/pcre.cc max_token = n; n 700 third_party/re2/util/pcre.cc bool PCRE::Arg::parse_null(const char* str, int n, void* dest) { n 705 third_party/re2/util/pcre.cc bool PCRE::Arg::parse_string(const char* str, int n, void* dest) { n 707 third_party/re2/util/pcre.cc reinterpret_cast<string*>(dest)->assign(str, n); n 711 third_party/re2/util/pcre.cc bool PCRE::Arg::parse_stringpiece(const char* str, int n, void* dest) { n 713 third_party/re2/util/pcre.cc reinterpret_cast<StringPiece*>(dest)->set(str, n); n 717 third_party/re2/util/pcre.cc bool PCRE::Arg::parse_char(const char* str, int n, void* dest) { n 718 third_party/re2/util/pcre.cc if (n != 1) return false; n 724 third_party/re2/util/pcre.cc bool PCRE::Arg::parse_uchar(const char* str, int n, void* dest) { n 725 third_party/re2/util/pcre.cc if (n != 1) return false; n 741 third_party/re2/util/pcre.cc static const char* TerminateNumber(char* buf, const char* str, int n) { n 742 third_party/re2/util/pcre.cc if ((n > 0) && isspace(*str)) { n 750 third_party/re2/util/pcre.cc if (isdigit(str[n]) || n 751 third_party/re2/util/pcre.cc ((str[n] >= 'a') && (str[n] <= 'f')) || n 752 third_party/re2/util/pcre.cc ((str[n] >= 'A') && (str[n] <= 'F'))) { n 753 third_party/re2/util/pcre.cc if (n > kMaxNumberLength) return ""; // Input too big to be a valid number n 754 third_party/re2/util/pcre.cc memcpy(buf, str, n); n 755 third_party/re2/util/pcre.cc buf[n] = '\0'; n 764 third_party/re2/util/pcre.cc int n, n 767 third_party/re2/util/pcre.cc if (n == 0) return false; n 769 third_party/re2/util/pcre.cc str = TerminateNumber(buf, str, n); n 773 third_party/re2/util/pcre.cc if (end != str + n) return false; // Leftover junk n 781 third_party/re2/util/pcre.cc int n, n 784 third_party/re2/util/pcre.cc if (n == 0) return false; n 786 third_party/re2/util/pcre.cc str = TerminateNumber(buf, str, n); n 796 third_party/re2/util/pcre.cc if (end != str + n) return false; // Leftover junk n 804 third_party/re2/util/pcre.cc int n, n 808 third_party/re2/util/pcre.cc if (!parse_long_radix(str, n, &r, radix)) return false; // Could not parse n 816 third_party/re2/util/pcre.cc int n, n 820 third_party/re2/util/pcre.cc if (!parse_ulong_radix(str, n, &r, radix)) return false; // Could not parse n 828 third_party/re2/util/pcre.cc int n, n 832 third_party/re2/util/pcre.cc if (!parse_long_radix(str, n, &r, radix)) return false; // Could not parse n 840 third_party/re2/util/pcre.cc int n, n 844 third_party/re2/util/pcre.cc if (!parse_ulong_radix(str, n, &r, radix)) return false; // Could not parse n 852 third_party/re2/util/pcre.cc int n, n 855 third_party/re2/util/pcre.cc if (n == 0) return false; n 857 third_party/re2/util/pcre.cc str = TerminateNumber(buf, str, n); n 861 third_party/re2/util/pcre.cc if (end != str + n) return false; // Leftover junk n 869 third_party/re2/util/pcre.cc int n, n 872 third_party/re2/util/pcre.cc if (n == 0) return false; n 874 third_party/re2/util/pcre.cc str = TerminateNumber(buf, str, n); n 883 third_party/re2/util/pcre.cc if (end != str + n) return false; // Leftover junk n 890 third_party/re2/util/pcre.cc bool PCRE::Arg::parse_double(const char* str, int n, void* dest) { n 891 third_party/re2/util/pcre.cc if (n == 0) return false; n 894 third_party/re2/util/pcre.cc if (n >= kMaxLength) return false; n 895 third_party/re2/util/pcre.cc memcpy(buf, str, n); n 896 third_party/re2/util/pcre.cc buf[n] = '\0'; n 900 third_party/re2/util/pcre.cc if (end != buf + n) { n 932 third_party/re2/util/pcre.cc bool PCRE::Arg::parse_float(const char* str, int n, void* dest) { n 934 third_party/re2/util/pcre.cc if (!parse_double(str, n, &r)) return false; n 942 third_party/re2/util/pcre.cc bool PCRE::Arg::parse_##name(const char* str, int n, void* dest) { \ n 943 third_party/re2/util/pcre.cc return parse_##name##_radix(str, n, dest, 10); \ n 945 third_party/re2/util/pcre.cc bool PCRE::Arg::parse_##name##_hex(const char* str, int n, void* dest) { \ n 946 third_party/re2/util/pcre.cc return parse_##name##_radix(str, n, dest, 16); \ n 948 third_party/re2/util/pcre.cc bool PCRE::Arg::parse_##name##_octal(const char* str, int n, void* dest) { \ n 949 third_party/re2/util/pcre.cc return parse_##name##_radix(str, n, dest, 8); \ n 951 third_party/re2/util/pcre.cc bool PCRE::Arg::parse_##name##_cradix(const char* str, int n, void* dest) { \ n 952 third_party/re2/util/pcre.cc return parse_##name##_radix(str, n, dest, 0); \ n 462 third_party/re2/util/pcre.h const Arg* const* args, int n) const; n 503 third_party/re2/util/pcre.h int n, n 574 third_party/re2/util/pcre.h static inline bool Parse(const char* str, int n, void* dest) { n 577 third_party/re2/util/pcre.h return object->ParseFrom(str, n); n 589 third_party/re2/util/pcre.h typedef bool (*Parser)(const char* str, int n, void* dest); n 622 third_party/re2/util/pcre.h bool Parse(const char* str, int n) const; n 628 third_party/re2/util/pcre.h static bool parse_null (const char* str, int n, void* dest); n 629 third_party/re2/util/pcre.h static bool parse_char (const char* str, int n, void* dest); n 630 third_party/re2/util/pcre.h static bool parse_uchar (const char* str, int n, void* dest); n 631 third_party/re2/util/pcre.h static bool parse_float (const char* str, int n, void* dest); n 632 third_party/re2/util/pcre.h static bool parse_double (const char* str, int n, void* dest); n 633 third_party/re2/util/pcre.h static bool parse_string (const char* str, int n, void* dest); n 634 third_party/re2/util/pcre.h static bool parse_stringpiece (const char* str, int n, void* dest); n 638 third_party/re2/util/pcre.h static bool parse_ ## name(const char* str, int n, void* dest); \ n 640 third_party/re2/util/pcre.h const char* str, int n, void* dest, int radix); \ n 642 third_party/re2/util/pcre.h static bool parse_ ## name ## _hex(const char* str, int n, void* dest); \ n 643 third_party/re2/util/pcre.h static bool parse_ ## name ## _octal(const char* str, int n, void* dest); \ n 644 third_party/re2/util/pcre.h static bool parse_ ## name ## _cradix(const char* str, int n, void* dest) n 661 third_party/re2/util/pcre.h inline bool PCRE::Arg::Parse(const char* str, int n) const { n 662 third_party/re2/util/pcre.h return (*parser_)(str, n, arg_); n 30 third_party/re2/util/random.cc int32 ACMRandom::Uniform(int32 n) { n 31 third_party/re2/util/random.cc return Next() % n; n 190 third_party/re2/util/rune.cc fullrune(const char *str, int n) n 192 third_party/re2/util/rune.cc if (n > 0) { n 196 third_party/re2/util/rune.cc if (n > 1) { n 199 third_party/re2/util/rune.cc if (n > 2) { n 200 third_party/re2/util/rune.cc if (c < T4 || n > 3) n 213 third_party/re2/util/rune.cc long n; n 216 third_party/re2/util/rune.cc n = 0; n 221 third_party/re2/util/rune.cc return n; n 225 third_party/re2/util/rune.cc n++; n 235 third_party/re2/util/rune.cc int n; n 250 third_party/re2/util/rune.cc n = chartorune(&r, s); n 253 third_party/re2/util/rune.cc s += n; n 15 third_party/re2/util/sparse_array_test.cc static const int n = 50; n 16 third_party/re2/util/sparse_array_test.cc SparseArray<int> set(n); n 18 third_party/re2/util/sparse_array_test.cc int order[n]; n 19 third_party/re2/util/sparse_array_test.cc int value[n]; n 20 third_party/re2/util/sparse_array_test.cc for (int i = 0; i < n; i++) n 22 third_party/re2/util/sparse_array_test.cc for (int i = 0; i < n; i++) n 24 third_party/re2/util/sparse_array_test.cc for (int i = 1; i < n; i++) { n 36 third_party/re2/util/sparse_array_test.cc if (i >= n) n 38 third_party/re2/util/sparse_array_test.cc for (int j = i; j < n; j++) n 48 third_party/re2/util/sparse_array_test.cc ASSERT_EQ(nn, n); n 51 third_party/re2/util/sparse_array_test.cc for (int i = 0; i < n; i++) n 36 third_party/re2/util/stringpiece.cc int StringPiece::copy(char* buf, size_type n, size_type pos) const { n 37 third_party/re2/util/stringpiece.cc int ret = min(length_ - pos, n); n 81 third_party/re2/util/stringpiece.cc StringPiece StringPiece::substr(size_type pos, size_type n) const { n 83 third_party/re2/util/stringpiece.cc if (n > length_ - pos) n = length_ - pos; n 84 third_party/re2/util/stringpiece.cc return StringPiece(ptr_ + pos, n); n 37 third_party/re2/util/utf.h int fullrune(const char* s, int n); n 1229 third_party/sqlite/amalgamation/sqlite3.c int (*xShmLock)(sqlite3_file*, int offset, int n, int flags); n 3421 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API int sqlite3_bind_blob(sqlite3_stmt*, int, const void*, int n, void(*)(void*)); n 3426 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API int sqlite3_bind_text(sqlite3_stmt*, int, const char*, int n, void(*)(void*)); n 3429 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API int sqlite3_bind_zeroblob(sqlite3_stmt*, int, int n); n 4438 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API void sqlite3_result_zeroblob(sqlite3_context*, int n); n 5583 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset); n 8258 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3VdbeSetSql(Vdbe*, const char *z, int n, int); n 8428 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3PagerOpenSavepoint(Pager *pPager, int n); n 8539 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PCacheBufferSetup(void *, int sz, int n); n 9856 third_party/sqlite/amalgamation/sqlite3.c unsigned int n; /* Number of characters in this token */ n 11276 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void *sqlite3HexToBlob(sqlite3*, const char *z, int n); n 12170 third_party/sqlite/amalgamation/sqlite3.c int i, n; n 12172 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3Strlen30(zOptName); n 12177 third_party/sqlite/amalgamation/sqlite3.c if( (sqlite3StrNICmp(zOptName, azCompileOpt[i], n)==0) n 12178 third_party/sqlite/amalgamation/sqlite3.c && ( (azCompileOpt[i][n]==0) || (azCompileOpt[i][n]=='=') ) ) return 1; n 12362 third_party/sqlite/amalgamation/sqlite3.c int n; /* Number of characters in string value, excluding '\0' */ n 12599 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3VdbeMemGrow(Mem *pMem, int n, int preserve); n 13357 third_party/sqlite/amalgamation/sqlite3.c int n; n 13361 third_party/sqlite/amalgamation/sqlite3.c for(n=0; n<ArraySize(zBuf)-1 && zMod[n]; n++){ n 13362 third_party/sqlite/amalgamation/sqlite3.c z[n] = (char)sqlite3UpperToLower[(u8)zMod[n]]; n 13364 third_party/sqlite/amalgamation/sqlite3.c z[n] = 0; n 13417 third_party/sqlite/amalgamation/sqlite3.c && (n=(int)r)==r && n>=0 && r<7 ){ n 13424 third_party/sqlite/amalgamation/sqlite3.c if( Z>n ) Z -= 7; n 13425 third_party/sqlite/amalgamation/sqlite3.c p->iJD += (n - Z)*86400000; n 13472 third_party/sqlite/amalgamation/sqlite3.c for(n=1; z[n] && z[n]!=':' && !sqlite3Isspace(z[n]); n++){} n 13473 third_party/sqlite/amalgamation/sqlite3.c if( !sqlite3AtoF(z, &r, n, SQLITE_UTF8) ){ n 13477 third_party/sqlite/amalgamation/sqlite3.c if( z[n]==':' ){ n 13500 third_party/sqlite/amalgamation/sqlite3.c z += n; n 13502 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3Strlen30(z); n 13503 third_party/sqlite/amalgamation/sqlite3.c if( n>10 || n<3 ) break; n 13504 third_party/sqlite/amalgamation/sqlite3.c if( z[n-1]=='s' ){ z[n-1] = 0; n--; } n 13508 third_party/sqlite/amalgamation/sqlite3.c if( n==3 && strcmp(z,"day")==0 ){ n 13510 third_party/sqlite/amalgamation/sqlite3.c }else if( n==4 && strcmp(z,"hour")==0 ){ n 13512 third_party/sqlite/amalgamation/sqlite3.c }else if( n==6 && strcmp(z,"minute")==0 ){ n 13514 third_party/sqlite/amalgamation/sqlite3.c }else if( n==6 && strcmp(z,"second")==0 ){ n 13516 third_party/sqlite/amalgamation/sqlite3.c }else if( n==5 && strcmp(z,"month")==0 ){ n 13529 third_party/sqlite/amalgamation/sqlite3.c }else if( n==4 && strcmp(z,"year")==0 ){ n 13696 third_party/sqlite/amalgamation/sqlite3.c u64 n; n 13704 third_party/sqlite/amalgamation/sqlite3.c for(i=0, n=1; zFmt[i]; i++, n++){ n 13713 third_party/sqlite/amalgamation/sqlite3.c n++; n 13719 third_party/sqlite/amalgamation/sqlite3.c n += 8; n 13722 third_party/sqlite/amalgamation/sqlite3.c n += 3; n 13725 third_party/sqlite/amalgamation/sqlite3.c n += 8; n 13729 third_party/sqlite/amalgamation/sqlite3.c n += 50; n 13737 third_party/sqlite/amalgamation/sqlite3.c testcase( n==sizeof(zBuf)-1 ); n 13738 third_party/sqlite/amalgamation/sqlite3.c testcase( n==sizeof(zBuf) ); n 13739 third_party/sqlite/amalgamation/sqlite3.c testcase( n==(u64)db->aLimit[SQLITE_LIMIT_LENGTH]+1 ); n 13740 third_party/sqlite/amalgamation/sqlite3.c testcase( n==(u64)db->aLimit[SQLITE_LIMIT_LENGTH] ); n 13741 third_party/sqlite/amalgamation/sqlite3.c if( n<sizeof(zBuf) ){ n 13743 third_party/sqlite/amalgamation/sqlite3.c }else if( n>(u64)db->aLimit[SQLITE_LIMIT_LENGTH] ){ n 13747 third_party/sqlite/amalgamation/sqlite3.c z = sqlite3DbMallocRaw(db, (int)n); n 14047 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3OsShmLock(sqlite3_file *id, int offset, int n, int flags){ n 14048 third_party/sqlite/amalgamation/sqlite3.c return id->pMethods->xShmLock(id, offset, n, flags); n 14401 third_party/sqlite/amalgamation/sqlite3.c static int sqlite3MemRoundup(int n){ return n; } n 14537 third_party/sqlite/amalgamation/sqlite3.c static int sqlite3MemRoundup(int n){ n 14538 third_party/sqlite/amalgamation/sqlite3.c return ROUND8(n); n 14788 third_party/sqlite/amalgamation/sqlite3.c static int sqlite3MemRoundup(int n){ n 14789 third_party/sqlite/amalgamation/sqlite3.c return ROUND8(n); n 15032 third_party/sqlite/amalgamation/sqlite3.c unsigned int n = sqlite3Strlen30(zTitle) + 1; n 15034 third_party/sqlite/amalgamation/sqlite3.c if( n>=sizeof(mem.zTitle) ) n = sizeof(mem.zTitle)-1; n 15035 third_party/sqlite/amalgamation/sqlite3.c memcpy(mem.zTitle, zTitle, n); n 15036 third_party/sqlite/amalgamation/sqlite3.c mem.zTitle[n] = 0; n 15037 third_party/sqlite/amalgamation/sqlite3.c mem.nTitle = ROUND8(n); n 15596 third_party/sqlite/amalgamation/sqlite3.c static int memsys3Roundup(int n){ n 15597 third_party/sqlite/amalgamation/sqlite3.c if( n<=12 ){ n 15600 third_party/sqlite/amalgamation/sqlite3.c return ((n+11)&~7) - 4; n 16223 third_party/sqlite/amalgamation/sqlite3.c static int memsys5Roundup(int n){ n 16225 third_party/sqlite/amalgamation/sqlite3.c if( n > 0x40000000 ) return 0; n 16226 third_party/sqlite/amalgamation/sqlite3.c for(iFullSz=mem5.szAtom; iFullSz<n; iFullSz *= 2); n 16323 third_party/sqlite/amalgamation/sqlite3.c int i, j, n; n 16339 third_party/sqlite/amalgamation/sqlite3.c for(n=0, j=mem5.aiFreelist[i]; j>=0; j = MEM5LINK(j)->next, n++){} n 16340 third_party/sqlite/amalgamation/sqlite3.c fprintf(out, "freelist items of size %d: %d\n", mem5.szAtom << i, n); n 17728 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API int sqlite3_release_memory(int n){ n 17730 third_party/sqlite/amalgamation/sqlite3.c return sqlite3PcacheReleaseMemory(n); n 17735 third_party/sqlite/amalgamation/sqlite3.c UNUSED_PARAMETER(n); n 17834 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 n){ n 17843 third_party/sqlite/amalgamation/sqlite3.c if( n<0 ) return priorLimit; n 17844 third_party/sqlite/amalgamation/sqlite3.c if( n>0 ){ n 17845 third_party/sqlite/amalgamation/sqlite3.c sqlite3MemoryAlarm(softHeapLimitEnforcer, 0, n); n 17849 third_party/sqlite/amalgamation/sqlite3.c excess = sqlite3_memory_used() - n; n 17853 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API void sqlite3_soft_heap_limit(int n){ n 17854 third_party/sqlite/amalgamation/sqlite3.c if( n<0 ) n = 0; n 17855 third_party/sqlite/amalgamation/sqlite3.c sqlite3_soft_heap_limit64(n); n 17871 third_party/sqlite/amalgamation/sqlite3.c int i, n, sz; n 17876 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3GlobalConfig.nScratch; n 17878 third_party/sqlite/amalgamation/sqlite3.c mem0.nScratchFree = n; n 17879 third_party/sqlite/amalgamation/sqlite3.c for(i=0; i<n-1; i++){ n 17923 third_party/sqlite/amalgamation/sqlite3.c int n, mx; n 17925 third_party/sqlite/amalgamation/sqlite3.c sqlite3_status(SQLITE_STATUS_MEMORY_USED, &n, &mx, 0); n 17926 third_party/sqlite/amalgamation/sqlite3.c res = (sqlite3_int64)n; /* Work around bug in Borland C. Ticket #3216 */ n 17936 third_party/sqlite/amalgamation/sqlite3.c int n, mx; n 17938 third_party/sqlite/amalgamation/sqlite3.c sqlite3_status(SQLITE_STATUS_MEMORY_USED, &n, &mx, resetFlag); n 17966 third_party/sqlite/amalgamation/sqlite3.c static int mallocWithAlarm(int n, void **pp){ n 17970 third_party/sqlite/amalgamation/sqlite3.c nFull = sqlite3GlobalConfig.m.xRoundup(n); n 17971 third_party/sqlite/amalgamation/sqlite3.c sqlite3StatusSet(SQLITE_STATUS_MALLOC_SIZE, n); n 18001 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void *sqlite3Malloc(int n){ n 18003 third_party/sqlite/amalgamation/sqlite3.c if( n<=0 /* IMP: R-65312-04917 */ n 18004 third_party/sqlite/amalgamation/sqlite3.c || n>=0x7fffff00 n 18014 third_party/sqlite/amalgamation/sqlite3.c mallocWithAlarm(n, &p); n 18017 third_party/sqlite/amalgamation/sqlite3.c p = sqlite3GlobalConfig.m.xMalloc(n); n 18028 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API void *sqlite3_malloc(int n){ n 18032 third_party/sqlite/amalgamation/sqlite3.c return sqlite3Malloc(n); n 18054 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void *sqlite3ScratchMalloc(int n){ n 18056 third_party/sqlite/amalgamation/sqlite3.c assert( n>0 ); n 18059 third_party/sqlite/amalgamation/sqlite3.c if( mem0.nScratchFree && sqlite3GlobalConfig.szScratch>=n ){ n 18064 third_party/sqlite/amalgamation/sqlite3.c sqlite3StatusSet(SQLITE_STATUS_SCRATCH_SIZE, n); n 18068 third_party/sqlite/amalgamation/sqlite3.c sqlite3StatusSet(SQLITE_STATUS_SCRATCH_SIZE, n); n 18069 third_party/sqlite/amalgamation/sqlite3.c n = mallocWithAlarm(n, &p); n 18070 third_party/sqlite/amalgamation/sqlite3.c if( p ) sqlite3StatusAdd(SQLITE_STATUS_SCRATCH_OVERFLOW, n); n 18074 third_party/sqlite/amalgamation/sqlite3.c p = sqlite3GlobalConfig.m.xMalloc(n); n 18265 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API void *sqlite3_realloc(void *pOld, int n){ n 18269 third_party/sqlite/amalgamation/sqlite3.c return sqlite3Realloc(pOld, n); n 18276 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void *sqlite3MallocZero(int n){ n 18277 third_party/sqlite/amalgamation/sqlite3.c void *p = sqlite3Malloc(n); n 18279 third_party/sqlite/amalgamation/sqlite3.c memset(p, 0, n); n 18288 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void *sqlite3DbMallocZero(sqlite3 *db, int n){ n 18289 third_party/sqlite/amalgamation/sqlite3.c void *p = sqlite3DbMallocRaw(db, n); n 18291 third_party/sqlite/amalgamation/sqlite3.c memset(p, 0, n); n 18314 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void *sqlite3DbMallocRaw(sqlite3 *db, int n){ n 18325 third_party/sqlite/amalgamation/sqlite3.c if( n>db->lookaside.sz ){ n 18345 third_party/sqlite/amalgamation/sqlite3.c p = sqlite3Malloc(n); n 18358 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void *sqlite3DbRealloc(sqlite3 *db, void *p, int n){ n 18364 third_party/sqlite/amalgamation/sqlite3.c return sqlite3DbMallocRaw(db, n); n 18367 third_party/sqlite/amalgamation/sqlite3.c if( n<=db->lookaside.sz ){ n 18370 third_party/sqlite/amalgamation/sqlite3.c pNew = sqlite3DbMallocRaw(db, n); n 18379 third_party/sqlite/amalgamation/sqlite3.c pNew = sqlite3_realloc(p, n); n 18395 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void *sqlite3DbReallocOrFree(sqlite3 *db, void *p, int n){ n 18397 third_party/sqlite/amalgamation/sqlite3.c pNew = sqlite3DbRealloc(db, p, n); n 18413 third_party/sqlite/amalgamation/sqlite3.c size_t n; n 18417 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3Strlen30(z) + 1; n 18418 third_party/sqlite/amalgamation/sqlite3.c assert( (n&0x7fffffff)==n ); n 18419 third_party/sqlite/amalgamation/sqlite3.c zNew = sqlite3DbMallocRaw(db, (int)n); n 18421 third_party/sqlite/amalgamation/sqlite3.c memcpy(zNew, z, n); n 18425 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE char *sqlite3DbStrNDup(sqlite3 *db, const char *z, int n){ n 18430 third_party/sqlite/amalgamation/sqlite3.c assert( (n&0x7fffffff)==n ); n 18431 third_party/sqlite/amalgamation/sqlite3.c zNew = sqlite3DbMallocRaw(db, n+1); n 18433 third_party/sqlite/amalgamation/sqlite3.c memcpy(zNew, z, n); n 18434 third_party/sqlite/amalgamation/sqlite3.c zNew[n] = 0; n 19137 third_party/sqlite/amalgamation/sqlite3.c int i, j, k, n, isnull; n 19145 third_party/sqlite/amalgamation/sqlite3.c for(i=n=0; k!=0 && (ch=escarg[i])!=0; i++, k--){ n 19146 third_party/sqlite/amalgamation/sqlite3.c if( ch==q ) n++; n 19149 third_party/sqlite/amalgamation/sqlite3.c n += i + 1 + needQuote*2; n 19150 third_party/sqlite/amalgamation/sqlite3.c if( n>etBUFSIZE ){ n 19151 third_party/sqlite/amalgamation/sqlite3.c bufpt = zExtra = sqlite3Malloc( n ); n 19177 third_party/sqlite/amalgamation/sqlite3.c sqlite3StrAccumAppend(pAccum, (const char*)pToken->z, pToken->n); n 19323 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3StrAccumInit(StrAccum *p, char *zBase, int n, int mx){ n 19327 third_party/sqlite/amalgamation/sqlite3.c p->nAlloc = n; n 19432 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API char *sqlite3_vsnprintf(int n, char *zBuf, const char *zFormat, va_list ap){ n 19434 third_party/sqlite/amalgamation/sqlite3.c if( n<=0 ) return zBuf; n 19435 third_party/sqlite/amalgamation/sqlite3.c sqlite3StrAccumInit(&acc, zBuf, n, 0); n 19440 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API char *sqlite3_snprintf(int n, char *zBuf, const char *zFormat, ...){ n 19444 third_party/sqlite/amalgamation/sqlite3.c z = sqlite3_vsnprintf(n, zBuf, zFormat, ap); n 19875 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->n>=0 ); n 19898 third_party/sqlite/amalgamation/sqlite3.c zTerm = &zIn[pMem->n&~1]; n 19916 third_party/sqlite/amalgamation/sqlite3.c pMem->n &= ~1; n 19917 third_party/sqlite/amalgamation/sqlite3.c len = pMem->n * 2 + 1; n 19924 third_party/sqlite/amalgamation/sqlite3.c len = pMem->n * 2 + 2; n 19934 third_party/sqlite/amalgamation/sqlite3.c zTerm = &zIn[pMem->n]; n 19958 third_party/sqlite/amalgamation/sqlite3.c pMem->n = (int)(z - zOut); n 19975 third_party/sqlite/amalgamation/sqlite3.c pMem->n = (int)(z - zOut); n 19978 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len ); n 20011 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->n>=0 ); n 20012 third_party/sqlite/amalgamation/sqlite3.c if( pMem->n>1 ){ n 20026 third_party/sqlite/amalgamation/sqlite3.c pMem->n -= 2; n 20027 third_party/sqlite/amalgamation/sqlite3.c memmove(pMem->z, &pMem->z[2], pMem->n); n 20028 third_party/sqlite/amalgamation/sqlite3.c pMem->z[pMem->n] = '\0'; n 20029 third_party/sqlite/amalgamation/sqlite3.c pMem->z[pMem->n+1] = '\0'; n 20127 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE char *sqlite3Utf8to16(sqlite3 *db, u8 enc, char *z, int n, int *pnOut){ n 20131 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetStr(&m, z, n, SQLITE_UTF8, SQLITE_STATIC); n 20137 third_party/sqlite/amalgamation/sqlite3.c *pnOut = m.n; n 20150 third_party/sqlite/amalgamation/sqlite3.c int n = 0; n 20153 third_party/sqlite/amalgamation/sqlite3.c while( n<nChar ){ n 20155 third_party/sqlite/amalgamation/sqlite3.c n++; n 20158 third_party/sqlite/amalgamation/sqlite3.c while( n<nChar ){ n 20160 third_party/sqlite/amalgamation/sqlite3.c n++; n 20176 third_party/sqlite/amalgamation/sqlite3.c int n; n 20182 third_party/sqlite/amalgamation/sqlite3.c n = (int)(z-zBuf); n 20183 third_party/sqlite/amalgamation/sqlite3.c assert( n>0 && n<=4 ); n 20191 third_party/sqlite/amalgamation/sqlite3.c assert( (z-zBuf)==n ); n 20197 third_party/sqlite/amalgamation/sqlite3.c n = (int)(z-zBuf); n 20198 third_party/sqlite/amalgamation/sqlite3.c assert( n>0 && n<=4 ); n 20203 third_party/sqlite/amalgamation/sqlite3.c assert( (z-zBuf)==n ); n 20209 third_party/sqlite/amalgamation/sqlite3.c n = (int)(z-zBuf); n 20210 third_party/sqlite/amalgamation/sqlite3.c assert( n>0 && n<=4 ); n 20215 third_party/sqlite/amalgamation/sqlite3.c assert( (z-zBuf)==n ); n 20824 third_party/sqlite/amalgamation/sqlite3.c int i, j, n; n 20835 third_party/sqlite/amalgamation/sqlite3.c n = 0; n 20837 third_party/sqlite/amalgamation/sqlite3.c buf[n++] = (u8)((v & 0x7f) | 0x80); n 20841 third_party/sqlite/amalgamation/sqlite3.c assert( n<=9 ); n 20842 third_party/sqlite/amalgamation/sqlite3.c for(i=0, j=n-1; j>=0; j--, i++){ n 20845 third_party/sqlite/amalgamation/sqlite3.c return n; n 21114 third_party/sqlite/amalgamation/sqlite3.c u8 n; n 21117 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3GetVarint(p, &v64); n 21118 third_party/sqlite/amalgamation/sqlite3.c assert( n>3 && n<=9 ); n 21124 third_party/sqlite/amalgamation/sqlite3.c return n; n 21166 third_party/sqlite/amalgamation/sqlite3.c u8 n; n 21169 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3GetVarint(p, &v64); n 21170 third_party/sqlite/amalgamation/sqlite3.c assert( n>5 && n<=9 ); n 21172 third_party/sqlite/amalgamation/sqlite3.c return n; n 21231 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void *sqlite3HexToBlob(sqlite3 *db, const char *z, int n){ n 21235 third_party/sqlite/amalgamation/sqlite3.c zBlob = (char *)sqlite3DbMallocRaw(db, n/2 + 1); n 21236 third_party/sqlite/amalgamation/sqlite3.c n--; n 21238 third_party/sqlite/amalgamation/sqlite3.c for(i=0; i<n; i+=2){ n 23088 third_party/sqlite/amalgamation/sqlite3.c int n, rc = SQLITE_OK; n 23137 third_party/sqlite/amalgamation/sqlite3.c for( n = pNode->nRegion; n <= iRegion; n++ ) n 23138 third_party/sqlite/amalgamation/sqlite3.c pNode->apRegion[n] = NULL; n 23221 third_party/sqlite/amalgamation/sqlite3.c int n, /* Number of locks to acquire or release */ n 23231 third_party/sqlite/amalgamation/sqlite3.c assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); n 23232 third_party/sqlite/amalgamation/sqlite3.c assert( n>=1 ); n 23237 third_party/sqlite/amalgamation/sqlite3.c assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); n 23239 third_party/sqlite/amalgamation/sqlite3.c mask = (u32)((1U<<(ofst+n)) - (1U<<ofst)); n 23240 third_party/sqlite/amalgamation/sqlite3.c assert( n>1 || mask==(1<<ofst) ); n 23257 third_party/sqlite/amalgamation/sqlite3.c rc = os2ShmSystemLock(pShmNode, _SHM_UNLCK, ofst+OS2_SHM_BASE, n); n 23285 third_party/sqlite/amalgamation/sqlite3.c rc = os2ShmSystemLock(pShmNode, _SHM_RDLCK, ofst+OS2_SHM_BASE, n); n 23310 third_party/sqlite/amalgamation/sqlite3.c rc = os2ShmSystemLock(pShmNode, _SHM_WRLCK, ofst+OS2_SHM_BASE, n); n 23325 third_party/sqlite/amalgamation/sqlite3.c ofst, n, flags, rc)) n 23737 third_party/sqlite/amalgamation/sqlite3.c int n = 0; n 23739 third_party/sqlite/amalgamation/sqlite3.c n = nBuf; n 23753 third_party/sqlite/amalgamation/sqlite3.c if( (int)sizeof(dt)-3 <= nBuf - n ){ n 23757 third_party/sqlite/amalgamation/sqlite3.c memcpy(&zBuf[n], &dt, sizeof(dt)-3); n 23758 third_party/sqlite/amalgamation/sqlite3.c n += sizeof(dt)-3; n 23762 third_party/sqlite/amalgamation/sqlite3.c if( (int)sizeof(ULONG) <= nBuf - n ){ n 23764 third_party/sqlite/amalgamation/sqlite3.c *(PULONG)&zBuf[n] = MAKELONG(ppib->pib_ulpid, n 23766 third_party/sqlite/amalgamation/sqlite3.c n += sizeof(ULONG); n 23770 third_party/sqlite/amalgamation/sqlite3.c for( i = 0; i < 6 && (int)sizeof(ULONG) <= nBuf - n; i++ ){ n 23772 third_party/sqlite/amalgamation/sqlite3.c (PULONG)&zBuf[n], sizeof(ULONG)); n 23773 third_party/sqlite/amalgamation/sqlite3.c n += sizeof(ULONG); n 23777 third_party/sqlite/amalgamation/sqlite3.c return n; n 24869 third_party/sqlite/amalgamation/sqlite3.c static int vxworksSimplifyName(char *z, int n){ n 24871 third_party/sqlite/amalgamation/sqlite3.c while( n>1 && z[n-1]=='/' ){ n--; } n 24872 third_party/sqlite/amalgamation/sqlite3.c for(i=j=0; i<n; i++){ n 24875 third_party/sqlite/amalgamation/sqlite3.c if( z[i+1]=='.' && i+2<n && z[i+2]=='/' ){ n 24879 third_party/sqlite/amalgamation/sqlite3.c if( z[i+1]=='.' && i+3<n && z[i+2]=='.' && z[i+3]=='/' ){ n 24906 third_party/sqlite/amalgamation/sqlite3.c int n; /* Length of zAbsoluteName string */ n 24909 third_party/sqlite/amalgamation/sqlite3.c n = (int)strlen(zAbsoluteName); n 24910 third_party/sqlite/amalgamation/sqlite3.c pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) ); n 24913 third_party/sqlite/amalgamation/sqlite3.c memcpy(pNew->zCanonicalName, zAbsoluteName, n+1); n 24914 third_party/sqlite/amalgamation/sqlite3.c n = vxworksSimplifyName(pNew->zCanonicalName, n); n 24922 third_party/sqlite/amalgamation/sqlite3.c if( pCandidate->nName==n n 24923 third_party/sqlite/amalgamation/sqlite3.c && memcmp(pCandidate->zCanonicalName, pNew->zCanonicalName, n)==0 n 24934 third_party/sqlite/amalgamation/sqlite3.c pNew->nName = n; n 27764 third_party/sqlite/amalgamation/sqlite3.c int n /* Number of bytes to lock */ n 27773 third_party/sqlite/amalgamation/sqlite3.c assert( n==1 || lockType!=F_RDLCK ); n 27776 third_party/sqlite/amalgamation/sqlite3.c assert( n>=1 && n<SQLITE_SHM_NLOCK ); n 27784 third_party/sqlite/amalgamation/sqlite3.c f.l_len = n; n 27794 third_party/sqlite/amalgamation/sqlite3.c mask = (1<<(ofst+n)) - (1<<ofst); n 28140 third_party/sqlite/amalgamation/sqlite3.c int n, /* Number of locks to acquire or release */ n 28152 third_party/sqlite/amalgamation/sqlite3.c assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); n 28153 third_party/sqlite/amalgamation/sqlite3.c assert( n>=1 ); n 28158 third_party/sqlite/amalgamation/sqlite3.c assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); n 28162 third_party/sqlite/amalgamation/sqlite3.c mask = (1<<(ofst+n)) - (1<<ofst); n 28163 third_party/sqlite/amalgamation/sqlite3.c assert( n>1 || mask==(1<<ofst) ); n 28177 third_party/sqlite/amalgamation/sqlite3.c rc = unixShmSystemLock(pShmNode, F_UNLCK, ofst+UNIX_SHM_BASE, n); n 28205 third_party/sqlite/amalgamation/sqlite3.c rc = unixShmSystemLock(pShmNode, F_RDLCK, ofst+UNIX_SHM_BASE, n); n 28230 third_party/sqlite/amalgamation/sqlite3.c rc = unixShmSystemLock(pShmNode, F_WRLCK, ofst+UNIX_SHM_BASE, n); n 28767 third_party/sqlite/amalgamation/sqlite3.c int n; n 28770 third_party/sqlite/amalgamation/sqlite3.c for( n=1; zSemName[n]; n++ ) n 28771 third_party/sqlite/amalgamation/sqlite3.c if( zSemName[n]=='/' ) zSemName[n] = '_'; n 32712 third_party/sqlite/amalgamation/sqlite3.c int n, /* Number of locks to acquire or release */ n 32722 third_party/sqlite/amalgamation/sqlite3.c assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); n 32723 third_party/sqlite/amalgamation/sqlite3.c assert( n>=1 ); n 32728 third_party/sqlite/amalgamation/sqlite3.c assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); n 32730 third_party/sqlite/amalgamation/sqlite3.c mask = (u16)((1U<<(ofst+n)) - (1U<<ofst)); n 32731 third_party/sqlite/amalgamation/sqlite3.c assert( n>1 || mask==(1<<ofst) ); n 32745 third_party/sqlite/amalgamation/sqlite3.c rc = winShmSystemLock(pShmNode, _SHM_UNLCK, ofst+WIN_SHM_BASE, n); n 32773 third_party/sqlite/amalgamation/sqlite3.c rc = winShmSystemLock(pShmNode, _SHM_RDLCK, ofst+WIN_SHM_BASE, n); n 32798 third_party/sqlite/amalgamation/sqlite3.c rc = winShmSystemLock(pShmNode, _SHM_WRLCK, ofst+WIN_SHM_BASE, n); n 33714 third_party/sqlite/amalgamation/sqlite3.c int n = 0; n 33717 third_party/sqlite/amalgamation/sqlite3.c n = nBuf; n 33720 third_party/sqlite/amalgamation/sqlite3.c if( sizeof(SYSTEMTIME)<=nBuf-n ){ n 33723 third_party/sqlite/amalgamation/sqlite3.c memcpy(&zBuf[n], &x, sizeof(x)); n 33724 third_party/sqlite/amalgamation/sqlite3.c n += sizeof(x); n 33726 third_party/sqlite/amalgamation/sqlite3.c if( sizeof(DWORD)<=nBuf-n ){ n 33728 third_party/sqlite/amalgamation/sqlite3.c memcpy(&zBuf[n], &pid, sizeof(pid)); n 33729 third_party/sqlite/amalgamation/sqlite3.c n += sizeof(pid); n 33731 third_party/sqlite/amalgamation/sqlite3.c if( sizeof(DWORD)<=nBuf-n ){ n 33733 third_party/sqlite/amalgamation/sqlite3.c memcpy(&zBuf[n], &cnt, sizeof(cnt)); n 33734 third_party/sqlite/amalgamation/sqlite3.c n += sizeof(cnt); n 33736 third_party/sqlite/amalgamation/sqlite3.c if( sizeof(LARGE_INTEGER)<=nBuf-n ){ n 33739 third_party/sqlite/amalgamation/sqlite3.c memcpy(&zBuf[n], &i, sizeof(i)); n 33740 third_party/sqlite/amalgamation/sqlite3.c n += sizeof(i); n 33743 third_party/sqlite/amalgamation/sqlite3.c return n; n 35093 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PCacheBufferSetup(void *pBuf, int sz, int n){ n 35098 third_party/sqlite/amalgamation/sqlite3.c pcache1.nSlot = pcache1.nFreeSlot = n; n 35099 third_party/sqlite/amalgamation/sqlite3.c pcache1.nReserve = n>90 ? 10 : (n/10 + 1); n 35103 third_party/sqlite/amalgamation/sqlite3.c while( n-- ){ n 35534 third_party/sqlite/amalgamation/sqlite3.c int n; n 35537 third_party/sqlite/amalgamation/sqlite3.c n = pCache->nPage; n 35539 third_party/sqlite/amalgamation/sqlite3.c return n; n 39499 third_party/sqlite/amalgamation/sqlite3.c i64 n = 0; /* Size of db file in bytes */ n 39502 third_party/sqlite/amalgamation/sqlite3.c int rc = sqlite3OsFileSize(pPager->fd, &n); n 39507 third_party/sqlite/amalgamation/sqlite3.c nPage = (Pgno)(n / pPager->pageSize); n 39508 third_party/sqlite/amalgamation/sqlite3.c if( nPage==0 && n>0 ){ n 44053 third_party/sqlite/amalgamation/sqlite3.c static int walLockExclusive(Wal *pWal, int lockIdx, int n){ n 44056 third_party/sqlite/amalgamation/sqlite3.c rc = sqlite3OsShmLock(pWal->pDbFd, lockIdx, n, n 44059 third_party/sqlite/amalgamation/sqlite3.c walLockName(lockIdx), n, rc ? "failed" : "ok")); n 44063 third_party/sqlite/amalgamation/sqlite3.c static void walUnlockExclusive(Wal *pWal, int lockIdx, int n){ n 44065 third_party/sqlite/amalgamation/sqlite3.c (void)sqlite3OsShmLock(pWal->pDbFd, lockIdx, n, n 44068 third_party/sqlite/amalgamation/sqlite3.c walLockName(lockIdx), n)); n 44852 third_party/sqlite/amalgamation/sqlite3.c int n /* Number of bytes to lock */ n 44856 third_party/sqlite/amalgamation/sqlite3.c rc = walLockExclusive(pWal, lockIdx, n); n 48010 third_party/sqlite/amalgamation/sqlite3.c u16 n; /* Number bytes in cell content header */ n 48017 third_party/sqlite/amalgamation/sqlite3.c n = pPage->childPtrSize; n 48018 third_party/sqlite/amalgamation/sqlite3.c assert( n==4-4*pPage->leaf ); n 48021 third_party/sqlite/amalgamation/sqlite3.c n += getVarint32(&pCell[n], nPayload); n 48025 third_party/sqlite/amalgamation/sqlite3.c n += getVarint(&pCell[n], (u64*)&pInfo->nKey); n 48029 third_party/sqlite/amalgamation/sqlite3.c n += getVarint32(&pCell[n], nPayload); n 48033 third_party/sqlite/amalgamation/sqlite3.c pInfo->nHeader = n; n 48040 third_party/sqlite/amalgamation/sqlite3.c if( (pInfo->nSize = (u16)(n+nPayload))<4 ) pInfo->nSize = 4; n 48067 third_party/sqlite/amalgamation/sqlite3.c pInfo->iOverflow = (u16)(pInfo->nLocal + n); n 49310 third_party/sqlite/amalgamation/sqlite3.c int n; n 49312 third_party/sqlite/amalgamation/sqlite3.c n = p->pBt->pageSize - p->pBt->usableSize; n 49314 third_party/sqlite/amalgamation/sqlite3.c return n; n 49323 third_party/sqlite/amalgamation/sqlite3.c int n; n 49325 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3PagerMaxPageCount(p->pBt->pPager, mxPage); n 49327 third_party/sqlite/amalgamation/sqlite3.c return n; n 51875 third_party/sqlite/amalgamation/sqlite3.c u32 n; /* Number of pages on the freelist */ n 51884 third_party/sqlite/amalgamation/sqlite3.c n = get4byte(&pPage1->aData[36]); n 51885 third_party/sqlite/amalgamation/sqlite3.c testcase( n==mxPage-1 ); n 51886 third_party/sqlite/amalgamation/sqlite3.c if( n>=mxPage ){ n 51889 third_party/sqlite/amalgamation/sqlite3.c if( n>0 ){ n 51917 third_party/sqlite/amalgamation/sqlite3.c put4byte(&pPage1->aData[36], n-1); n 51955 third_party/sqlite/amalgamation/sqlite3.c TRACE(("ALLOCATE: %d trunk - %d free pages left\n", *pPgno, n-1)); n 52019 third_party/sqlite/amalgamation/sqlite3.c TRACE(("ALLOCATE: %d trunk - %d free pages left\n", *pPgno, n-1)); n 52054 third_party/sqlite/amalgamation/sqlite3.c *pPgno, closest+1, k, pTrunk->pgno, n-1)); n 52357 third_party/sqlite/amalgamation/sqlite3.c int nSrc, n, rc; n 52464 third_party/sqlite/amalgamation/sqlite3.c n = nPayload; n 52465 third_party/sqlite/amalgamation/sqlite3.c if( n>spaceLeft ) n = spaceLeft; n 52477 third_party/sqlite/amalgamation/sqlite3.c if( n>nSrc ) n = nSrc; n 52479 third_party/sqlite/amalgamation/sqlite3.c memcpy(pPayload, pSrc, n); n 52481 third_party/sqlite/amalgamation/sqlite3.c memset(pPayload, 0, n); n 52483 third_party/sqlite/amalgamation/sqlite3.c nPayload -= n; n 52484 third_party/sqlite/amalgamation/sqlite3.c pPayload += n; n 52485 third_party/sqlite/amalgamation/sqlite3.c pSrc += n; n 52486 third_party/sqlite/amalgamation/sqlite3.c nSrc -= n; n 52487 third_party/sqlite/amalgamation/sqlite3.c spaceLeft -= n; n 52814 third_party/sqlite/amalgamation/sqlite3.c Pgno n; n 52828 third_party/sqlite/amalgamation/sqlite3.c ptrmapGet(pBt, ovfl, &e, &n); n 52829 third_party/sqlite/amalgamation/sqlite3.c assert( n==pPage->pgno && e==PTRMAP_OVERFLOW1 ); n 52833 third_party/sqlite/amalgamation/sqlite3.c ptrmapGet(pBt, child, &e, &n); n 52834 third_party/sqlite/amalgamation/sqlite3.c assert( n==pPage->pgno && e==PTRMAP_BTREE ); n 52839 third_party/sqlite/amalgamation/sqlite3.c ptrmapGet(pBt, child, &e, &n); n 52840 third_party/sqlite/amalgamation/sqlite3.c assert( n==pPage->pgno && e==PTRMAP_BTREE ); n 53968 third_party/sqlite/amalgamation/sqlite3.c Pgno n = pCur->apPage[iCellDepth+1]->pgno; n 53979 third_party/sqlite/amalgamation/sqlite3.c insertCell(pPage, iCellIdx, pCell-4, nCell+4, pTmp, n, &rc); n 54632 third_party/sqlite/amalgamation/sqlite3.c int n = get4byte(&pOvflData[4]); n 54638 third_party/sqlite/amalgamation/sqlite3.c if( n>(int)pCheck->pBt->usableSize/4-2 ){ n 54643 third_party/sqlite/amalgamation/sqlite3.c for(i=0; i<n; i++){ n 54652 third_party/sqlite/amalgamation/sqlite3.c N -= n; n 56042 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3VdbeMemGrow(Mem *pMem, int n, int preserve){ n 56051 third_party/sqlite/amalgamation/sqlite3.c if( n<32 ) n = 32; n 56052 third_party/sqlite/amalgamation/sqlite3.c if( sqlite3DbMallocSize(pMem->db, pMem->zMalloc)<n ){ n 56054 third_party/sqlite/amalgamation/sqlite3.c pMem->z = pMem->zMalloc = sqlite3DbReallocOrFree(pMem->db, pMem->z, n); n 56058 third_party/sqlite/amalgamation/sqlite3.c pMem->zMalloc = sqlite3DbMallocRaw(pMem->db, n); n 56063 third_party/sqlite/amalgamation/sqlite3.c memcpy(pMem->zMalloc, pMem->z, pMem->n); n 56094 third_party/sqlite/amalgamation/sqlite3.c if( sqlite3VdbeMemGrow(pMem, pMem->n + 2, 1) ){ n 56097 third_party/sqlite/amalgamation/sqlite3.c pMem->z[pMem->n] = 0; n 56098 third_party/sqlite/amalgamation/sqlite3.c pMem->z[pMem->n+1] = 0; n 56121 third_party/sqlite/amalgamation/sqlite3.c nByte = pMem->n + pMem->u.nZero; n 56129 third_party/sqlite/amalgamation/sqlite3.c memset(&pMem->z[pMem->n], 0, pMem->u.nZero); n 56130 third_party/sqlite/amalgamation/sqlite3.c pMem->n += pMem->u.nZero; n 56146 third_party/sqlite/amalgamation/sqlite3.c if( sqlite3VdbeMemGrow(pMem, pMem->n+2, 1) ){ n 56149 third_party/sqlite/amalgamation/sqlite3.c pMem->z[pMem->n] = 0; n 56150 third_party/sqlite/amalgamation/sqlite3.c pMem->z[pMem->n+1] = 0; n 56197 third_party/sqlite/amalgamation/sqlite3.c pMem->n = sqlite3Strlen30(pMem->z); n 56336 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->z || pMem->n==0 ); n 56338 third_party/sqlite/amalgamation/sqlite3.c sqlite3Atoi64(pMem->z, &value, pMem->n, pMem->enc); n 56361 third_party/sqlite/amalgamation/sqlite3.c sqlite3AtoF(pMem->z, &val, pMem->n, pMem->enc); n 56437 third_party/sqlite/amalgamation/sqlite3.c if( 0==sqlite3Atoi64(pMem->z, &pMem->u.i, pMem->n, pMem->enc) ){ n 56470 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3VdbeMemSetZeroBlob(Mem *pMem, int n){ n 56474 third_party/sqlite/amalgamation/sqlite3.c pMem->n = 0; n 56475 third_party/sqlite/amalgamation/sqlite3.c if( n<0 ) n = 0; n 56476 third_party/sqlite/amalgamation/sqlite3.c pMem->u.nZero = n; n 56480 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemGrow(pMem, n, 0); n 56482 third_party/sqlite/amalgamation/sqlite3.c pMem->n = n; n 56483 third_party/sqlite/amalgamation/sqlite3.c memset(pMem->z, 0, n); n 56544 third_party/sqlite/amalgamation/sqlite3.c int n = p->n; n 56546 third_party/sqlite/amalgamation/sqlite3.c n += p->u.nZero; n 56548 third_party/sqlite/amalgamation/sqlite3.c return n>p->db->aLimit[SQLITE_LIMIT_LENGTH]; n 56656 third_party/sqlite/amalgamation/sqlite3.c int n, /* Bytes in string, or negative */ n 56660 third_party/sqlite/amalgamation/sqlite3.c int nByte = n; /* New value for pMem->n */ n 56716 third_party/sqlite/amalgamation/sqlite3.c pMem->n = nByte; n 56820 third_party/sqlite/amalgamation/sqlite3.c return pColl->xCmp(pColl->pUser,pMem1->n,pMem1->z,pMem2->n,pMem2->z); n 56831 third_party/sqlite/amalgamation/sqlite3.c n1 = v1==0 ? 0 : c1.n; n 56833 third_party/sqlite/amalgamation/sqlite3.c n2 = v2==0 ? 0 : c2.n; n 56845 third_party/sqlite/amalgamation/sqlite3.c rc = memcmp(pMem1->z, pMem2->z, (pMem1->n>pMem2->n)?pMem2->n:pMem1->n); n 56847 third_party/sqlite/amalgamation/sqlite3.c rc = pMem1->n - pMem2->n; n 56907 third_party/sqlite/amalgamation/sqlite3.c pMem->n = amt; n 57093 third_party/sqlite/amalgamation/sqlite3.c int n, /* Length of string z */ n 57098 third_party/sqlite/amalgamation/sqlite3.c if( v ) sqlite3VdbeMemSetStr((Mem *)v, z, n, enc, xDel); n 57118 third_party/sqlite/amalgamation/sqlite3.c return p->n + p->u.nZero; n 57120 third_party/sqlite/amalgamation/sqlite3.c return p->n; n 57178 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3VdbeSetSql(Vdbe *p, const char *z, int n, int isPrepareV2){ n 57185 third_party/sqlite/amalgamation/sqlite3.c p->zSql = sqlite3DbStrNDup(p->db, z, n); n 57364 third_party/sqlite/amalgamation/sqlite3.c int n = p->nLabelAlloc*2 + 5; n 57366 third_party/sqlite/amalgamation/sqlite3.c n*sizeof(p->aLabel[0])); n 57548 third_party/sqlite/amalgamation/sqlite3.c int n; n 57551 third_party/sqlite/amalgamation/sqlite3.c n = pOp[-1].p1; n 57552 third_party/sqlite/amalgamation/sqlite3.c if( n>nMaxArgs ) nMaxArgs = n; n 57828 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3VdbeChangeP4(Vdbe *p, int addr, const char *zP4, int n){ n 57835 third_party/sqlite/amalgamation/sqlite3.c if ( n!=P4_KEYINFO && n!=P4_VTAB ) { n 57836 third_party/sqlite/amalgamation/sqlite3.c freeP4(db, n, (void*)*(char**)&zP4); n 57848 third_party/sqlite/amalgamation/sqlite3.c if( n==P4_INT32 ){ n 57856 third_party/sqlite/amalgamation/sqlite3.c }else if( n==P4_KEYINFO ){ n 57877 third_party/sqlite/amalgamation/sqlite3.c }else if( n==P4_KEYINFO_HANDOFF ){ n 57880 third_party/sqlite/amalgamation/sqlite3.c }else if( n==P4_VTAB ){ n 57885 third_party/sqlite/amalgamation/sqlite3.c }else if( n<0 ){ n 57887 third_party/sqlite/amalgamation/sqlite3.c pOp->p4type = (signed char)n; n 57889 third_party/sqlite/amalgamation/sqlite3.c if( n==0 ) n = sqlite3Strlen30(zP4); n 57890 third_party/sqlite/amalgamation/sqlite3.c pOp->p4.z = sqlite3DbStrNDup(p->db, zP4, n); n 57990 third_party/sqlite/amalgamation/sqlite3.c int n = sqlite3Strlen30(pColl->zName); n 57991 third_party/sqlite/amalgamation/sqlite3.c if( i+n>nTemp-6 ){ n 57999 third_party/sqlite/amalgamation/sqlite3.c memcpy(&zTemp[i], pColl->zName,n+1); n 58000 third_party/sqlite/amalgamation/sqlite3.c i += n; n 58296 third_party/sqlite/amalgamation/sqlite3.c nSub = pSub->n/sizeof(Vdbe*); n 58340 third_party/sqlite/amalgamation/sqlite3.c pMem->n = sqlite3Strlen30(pMem->z); n 58360 third_party/sqlite/amalgamation/sqlite3.c pSub->n = nSub*sizeof(SubProgram*); n 58390 third_party/sqlite/amalgamation/sqlite3.c pMem->n = sqlite3Strlen30(pMem->z); n 58402 third_party/sqlite/amalgamation/sqlite3.c pMem->n = 2; n 58412 third_party/sqlite/amalgamation/sqlite3.c pMem->n = sqlite3Strlen30(pMem->z); n 58544 third_party/sqlite/amalgamation/sqlite3.c int n; n 58615 third_party/sqlite/amalgamation/sqlite3.c for(n=0; n<nVar; n++){ n 58616 third_party/sqlite/amalgamation/sqlite3.c p->aVar[n].flags = MEM_Null; n 58617 third_party/sqlite/amalgamation/sqlite3.c p->aVar[n].db = db; n 58623 third_party/sqlite/amalgamation/sqlite3.c for(n=1; n<=nMem; n++){ n 58624 third_party/sqlite/amalgamation/sqlite3.c p->aMem[n].flags = MEM_Null; n 58625 third_party/sqlite/amalgamation/sqlite3.c p->aMem[n].db = db; n 58630 third_party/sqlite/amalgamation/sqlite3.c for(n=1; n<p->nMem; n++){ n 58631 third_party/sqlite/amalgamation/sqlite3.c assert( p->aMem[n].db==db ); n 58768 third_party/sqlite/amalgamation/sqlite3.c int n; n 58773 third_party/sqlite/amalgamation/sqlite3.c n = nResColumn*COLNAME_N; n 58775 third_party/sqlite/amalgamation/sqlite3.c p->aColName = pColName = (Mem*)sqlite3DbMallocZero(db, sizeof(Mem)*n ); n 58777 third_party/sqlite/amalgamation/sqlite3.c while( n-- > 0 ){ n 59650 third_party/sqlite/amalgamation/sqlite3.c int n; n 59681 third_party/sqlite/amalgamation/sqlite3.c n = pMem->n; n 59683 third_party/sqlite/amalgamation/sqlite3.c n += pMem->u.nZero; n 59685 third_party/sqlite/amalgamation/sqlite3.c assert( n>=0 ); n 59686 third_party/sqlite/amalgamation/sqlite3.c return ((n*2) + 12 + ((flags&MEM_Str)!=0)); n 59798 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->n + ((pMem->flags & MEM_Zero)?pMem->u.nZero:0) n 59800 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->n<=nBuf ); n 59801 third_party/sqlite/amalgamation/sqlite3.c len = pMem->n; n 59809 third_party/sqlite/amalgamation/sqlite3.c memset(&buf[pMem->n], 0, len-pMem->n); n 59902 third_party/sqlite/amalgamation/sqlite3.c pMem->n = len; n 60174 third_party/sqlite/amalgamation/sqlite3.c testcase( szHdr==m.n ); n 60175 third_party/sqlite/amalgamation/sqlite3.c if( unlikely(szHdr<3 || (int)szHdr>m.n) ){ n 60194 third_party/sqlite/amalgamation/sqlite3.c testcase( (u32)m.n==szHdr+lenRowid ); n 60195 third_party/sqlite/amalgamation/sqlite3.c if( unlikely((u32)m.n<szHdr+lenRowid) ){ n 60200 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeSerialGet((u8*)&m.z[m.n-lenRowid], typeRowid, &v); n 60249 third_party/sqlite/amalgamation/sqlite3.c *res = sqlite3VdbeRecordCompare(m.n, m.z, pUnpacked); n 60480 third_party/sqlite/amalgamation/sqlite3.c return p->n ? p->z : 0; n 60529 third_party/sqlite/amalgamation/sqlite3.c int n, /* Bytes in string, or negative */ n 60533 third_party/sqlite/amalgamation/sqlite3.c if( sqlite3VdbeMemSetStr(&pCtx->s, z, n, enc, xDel)==SQLITE_TOOBIG ){ n 60540 third_party/sqlite/amalgamation/sqlite3.c int n, n 60543 third_party/sqlite/amalgamation/sqlite3.c assert( n>=0 ); n 60545 third_party/sqlite/amalgamation/sqlite3.c setResultStrOrError(pCtx, z, n, 0, xDel); n 60551 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API void sqlite3_result_error(sqlite3_context *pCtx, const char *z, int n){ n 60554 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF8, SQLITE_TRANSIENT); n 60557 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API void sqlite3_result_error16(sqlite3_context *pCtx, const void *z, int n){ n 60560 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF16NATIVE, SQLITE_TRANSIENT); n 60578 third_party/sqlite/amalgamation/sqlite3.c int n, n 60582 third_party/sqlite/amalgamation/sqlite3.c setResultStrOrError(pCtx, z, n, SQLITE_UTF8, xDel); n 60588 third_party/sqlite/amalgamation/sqlite3.c int n, n 60592 third_party/sqlite/amalgamation/sqlite3.c setResultStrOrError(pCtx, z, n, SQLITE_UTF16NATIVE, xDel); n 60597 third_party/sqlite/amalgamation/sqlite3.c int n, n 60601 third_party/sqlite/amalgamation/sqlite3.c setResultStrOrError(pCtx, z, n, SQLITE_UTF16BE, xDel); n 60606 third_party/sqlite/amalgamation/sqlite3.c int n, n 60610 third_party/sqlite/amalgamation/sqlite3.c setResultStrOrError(pCtx, z, n, SQLITE_UTF16LE, xDel); n 60617 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API void sqlite3_result_zeroblob(sqlite3_context *pCtx, int n){ n 60619 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetZeroBlob(&pCtx->s, n); n 60988 third_party/sqlite/amalgamation/sqlite3.c return p->pMem->n; n 61185 third_party/sqlite/amalgamation/sqlite3.c int n; n 61189 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3_column_count(pStmt); n 61190 third_party/sqlite/amalgamation/sqlite3.c if( N<n && N>=0 ){ n 61191 third_party/sqlite/amalgamation/sqlite3.c N += useType*n; n 61468 third_party/sqlite/amalgamation/sqlite3.c rc = sqlite3_bind_blob(pStmt, i, pValue->z, pValue->n,SQLITE_TRANSIENT); n 61473 third_party/sqlite/amalgamation/sqlite3.c rc = bindText(pStmt,i, pValue->z, pValue->n, SQLITE_TRANSIENT, n 61484 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API int sqlite3_bind_zeroblob(sqlite3_stmt *pStmt, int i, int n){ n 61489 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetZeroBlob(&p->aVar[i-1], n); n 61691 third_party/sqlite/amalgamation/sqlite3.c int n; n 61695 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3GetToken((u8*)zSql, &tokenType); n 61696 third_party/sqlite/amalgamation/sqlite3.c assert( n>0 && tokenType!=TK_ILLEGAL ); n 61698 third_party/sqlite/amalgamation/sqlite3.c *pnToken = n; n 61701 third_party/sqlite/amalgamation/sqlite3.c nTotal += n; n 61702 third_party/sqlite/amalgamation/sqlite3.c zSql += n; n 61733 third_party/sqlite/amalgamation/sqlite3.c int n; /* Length of a token prefix */ n 61753 third_party/sqlite/amalgamation/sqlite3.c n = findNextHostParameter(zRawSql, &nToken); n 61754 third_party/sqlite/amalgamation/sqlite3.c assert( n>0 ); n 61755 third_party/sqlite/amalgamation/sqlite3.c sqlite3StrAccumAppend(&out, zRawSql, n); n 61756 third_party/sqlite/amalgamation/sqlite3.c zRawSql += n; n 61791 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeMemSetStr(&utf8, pVar->z, pVar->n, enc, SQLITE_STATIC); n 61793 third_party/sqlite/amalgamation/sqlite3.c sqlite3XPrintf(&out, "'%.*q'", utf8.n, utf8.z); n 61798 third_party/sqlite/amalgamation/sqlite3.c sqlite3XPrintf(&out, "'%.*q'", pVar->n, pVar->z); n 61805 third_party/sqlite/amalgamation/sqlite3.c for(i=0; i<pVar->n; i++){ n 61920 third_party/sqlite/amalgamation/sqlite3.c if( (p->flags & (MEM_Str|MEM_Blob))!=0 && p->n>sqlite3_max_blobsize ){ n 61921 third_party/sqlite/amalgamation/sqlite3.c sqlite3_max_blobsize = p->n; n 62072 third_party/sqlite/amalgamation/sqlite3.c if( sqlite3AtoF(pRec->z, &rValue, pRec->n, enc)==0 ) return; n 62073 third_party/sqlite/amalgamation/sqlite3.c if( 0==sqlite3Atoi64(pRec->z, &iValue, pRec->n, enc) ){ n 62181 third_party/sqlite/amalgamation/sqlite3.c sqlite3_snprintf(100, zCsr, "%d[", pMem->n); n 62183 third_party/sqlite/amalgamation/sqlite3.c for(i=0; i<16 && i<pMem->n; i++){ n 62187 third_party/sqlite/amalgamation/sqlite3.c for(i=0; i<16 && i<pMem->n; i++){ n 62216 third_party/sqlite/amalgamation/sqlite3.c sqlite3_snprintf(100, &zBuf[k], "%d", pMem->n); n 62219 third_party/sqlite/amalgamation/sqlite3.c for(j=0; j<15 && j<pMem->n; j++){ n 62398 third_party/sqlite/amalgamation/sqlite3.c int n = 0; n 62400 third_party/sqlite/amalgamation/sqlite3.c for(p=db->pSavepoint; p; p=p->pNext) n++; n 62401 third_party/sqlite/amalgamation/sqlite3.c assert( n==(db->nSavepoint + db->isTransactionSavepoint) ); n 62493 third_party/sqlite/amalgamation/sqlite3.c int n; /* Number of registers left to copy */ n 62516 third_party/sqlite/amalgamation/sqlite3.c int n; n 62531 third_party/sqlite/amalgamation/sqlite3.c int n; n 62703 third_party/sqlite/amalgamation/sqlite3.c u32 n; n 62806 third_party/sqlite/amalgamation/sqlite3.c int n; n 63246 third_party/sqlite/amalgamation/sqlite3.c pOp->p1 = pOut->n; n 63263 third_party/sqlite/amalgamation/sqlite3.c pOut->n = pOp->p1; n 63324 third_party/sqlite/amalgamation/sqlite3.c int n; /* Number of registers left to copy */ n 63329 third_party/sqlite/amalgamation/sqlite3.c u.ac.n = pOp->p3; n 63332 third_party/sqlite/amalgamation/sqlite3.c assert( u.ac.n>0 && u.ac.p1>0 && u.ac.p2>0 ); n 63333 third_party/sqlite/amalgamation/sqlite3.c assert( u.ac.p1+u.ac.n<=u.ac.p2 || u.ac.p2+u.ac.n<=u.ac.p1 ); n 63337 third_party/sqlite/amalgamation/sqlite3.c while( u.ac.n-- ){ n 63495 third_party/sqlite/amalgamation/sqlite3.c u.ae.nByte = pIn1->n + pIn2->n; n 63504 third_party/sqlite/amalgamation/sqlite3.c memcpy(pOut->z, pIn2->z, pIn2->n); n 63506 third_party/sqlite/amalgamation/sqlite3.c memcpy(&pOut->z[pIn2->n], pIn1->z, pIn1->n); n 63510 third_party/sqlite/amalgamation/sqlite3.c pOut->n = (int)u.ae.nByte; n 63673 third_party/sqlite/amalgamation/sqlite3.c int n; n 63676 third_party/sqlite/amalgamation/sqlite3.c u.ag.n = pOp->p5; n 63678 third_party/sqlite/amalgamation/sqlite3.c assert( u.ag.apVal || u.ag.n==0 ); n 63683 third_party/sqlite/amalgamation/sqlite3.c assert( u.ag.n==0 || (pOp->p2>0 && pOp->p2+u.ag.n<=p->nMem+1) ); n 63684 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3<pOp->p2 || pOp->p3>=pOp->p2+u.ag.n ); n 63686 third_party/sqlite/amalgamation/sqlite3.c for(u.ag.i=0; u.ag.i<u.ag.n; u.ag.i++, u.ag.pArg++){ n 63722 third_party/sqlite/amalgamation/sqlite3.c (*u.ag.ctx.pFunc->xFunc)(&u.ag.ctx, u.ag.n, u.ag.apVal); /* IMP: R-24505-23230 */ n 64189 third_party/sqlite/amalgamation/sqlite3.c int n; n 64199 third_party/sqlite/amalgamation/sqlite3.c u.aj.n = pOp->p3; n 64201 third_party/sqlite/amalgamation/sqlite3.c assert( u.aj.n>0 ); n 64208 third_party/sqlite/amalgamation/sqlite3.c for(k=0; k<u.aj.n; k++) if( aPermute[k]>mx ) mx = aPermute[k]; n 64212 third_party/sqlite/amalgamation/sqlite3.c assert( u.aj.p1>0 && u.aj.p1+u.aj.n<=p->nMem+1 ); n 64213 third_party/sqlite/amalgamation/sqlite3.c assert( u.aj.p2>0 && u.aj.p2+u.aj.n<=p->nMem+1 ); n 64216 third_party/sqlite/amalgamation/sqlite3.c for(u.aj.i=0; u.aj.i<u.aj.n; u.aj.i++){ n 64500 third_party/sqlite/amalgamation/sqlite3.c u.am.payloadSize = u.am.pReg->n; n 64805 third_party/sqlite/amalgamation/sqlite3.c if( u.ao.pRec->flags&MEM_Zero && u.ao.pRec->n>0 ){ n 64853 third_party/sqlite/amalgamation/sqlite3.c pOut->n = (int)u.ao.nByte; n 65865 third_party/sqlite/amalgamation/sqlite3.c u.bb.pIdxKey = sqlite3VdbeRecordUnpack(u.bb.pC->pKeyInfo, pIn3->n, pIn3->z, n 66284 third_party/sqlite/amalgamation/sqlite3.c u.bf.pData->n = 0; n 66296 third_party/sqlite/amalgamation/sqlite3.c u.bf.pData->z, u.bf.pData->n, u.bf.nZero, n 66419 third_party/sqlite/amalgamation/sqlite3.c u32 n; n 66454 third_party/sqlite/amalgamation/sqlite3.c u.bh.n = (u32)u.bh.n64; n 66456 third_party/sqlite/amalgamation/sqlite3.c rc = sqlite3BtreeDataSize(u.bh.pCrsr, &u.bh.n); n 66458 third_party/sqlite/amalgamation/sqlite3.c if( u.bh.n>(u32)db->aLimit[SQLITE_LIMIT_LENGTH] ){ n 66462 third_party/sqlite/amalgamation/sqlite3.c if( sqlite3VdbeMemGrow(pOut, u.bh.n, 0) ){ n 66465 third_party/sqlite/amalgamation/sqlite3.c pOut->n = u.bh.n; n 66468 third_party/sqlite/amalgamation/sqlite3.c rc = sqlite3BtreeKey(u.bh.pCrsr, 0, u.bh.n, pOut->z); n 66470 third_party/sqlite/amalgamation/sqlite3.c rc = sqlite3BtreeData(u.bh.pCrsr, 0, u.bh.n, pOut->z); n 66730 third_party/sqlite/amalgamation/sqlite3.c u.bn.nKey = pIn2->n; n 67580 third_party/sqlite/amalgamation/sqlite3.c int n; n 67588 third_party/sqlite/amalgamation/sqlite3.c u.cb.n = pOp->p5; n 67589 third_party/sqlite/amalgamation/sqlite3.c assert( u.cb.n>=0 ); n 67592 third_party/sqlite/amalgamation/sqlite3.c assert( u.cb.apVal || u.cb.n==0 ); n 67593 third_party/sqlite/amalgamation/sqlite3.c for(u.cb.i=0; u.cb.i<u.cb.n; u.cb.i++, u.cb.pRec++){ n 67602 third_party/sqlite/amalgamation/sqlite3.c u.cb.pMem->n++; n 67616 third_party/sqlite/amalgamation/sqlite3.c (u.cb.ctx.pFunc->xStep)(&u.cb.ctx, u.cb.n, u.cb.apVal); /* IMP: R-24505-23230 */ n 67793 third_party/sqlite/amalgamation/sqlite3.c pOut->n = sqlite3Strlen30(pOut->z); n 68785 third_party/sqlite/amalgamation/sqlite3.c int n, n 68799 third_party/sqlite/amalgamation/sqlite3.c if( n<0 || iOffset<0 || (iOffset+n)>p->nByte ){ n 68814 third_party/sqlite/amalgamation/sqlite3.c rc = xCall(p->pCsr, iOffset+p->iOffset, n, z); n 68832 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API int sqlite3_blob_read(sqlite3_blob *pBlob, void *z, int n, int iOffset){ n 68833 third_party/sqlite/amalgamation/sqlite3.c return blobReadWrite(pBlob, z, n, iOffset, sqlite3BtreeData); n 68839 third_party/sqlite/amalgamation/sqlite3.c SQLITE_API int sqlite3_blob_write(sqlite3_blob *pBlob, const void *z, int n, int iOffset){ n 68840 third_party/sqlite/amalgamation/sqlite3.c return blobReadWrite(pBlob, (void *)z, n, iOffset, sqlite3BtreePutData); n 69902 third_party/sqlite/amalgamation/sqlite3.c int n = pExpr->iColumn; n 69903 third_party/sqlite/amalgamation/sqlite3.c testcase( n==BMS-1 ); n 69904 third_party/sqlite/amalgamation/sqlite3.c if( n>=BMS ){ n 69905 third_party/sqlite/amalgamation/sqlite3.c n = BMS-1; n 69908 third_party/sqlite/amalgamation/sqlite3.c pMatch->colUsed |= ((Bitmask)1)<<n; n 70046 third_party/sqlite/amalgamation/sqlite3.c int n = pList ? pList->nExpr : 0; /* Number of arguments */ n 70060 third_party/sqlite/amalgamation/sqlite3.c pDef = sqlite3FindFunction(pParse->db, zId, nId, n, enc, 0); n 71128 third_party/sqlite/amalgamation/sqlite3.c nExtra = pToken->n+1; n 71143 third_party/sqlite/amalgamation/sqlite3.c memcpy(pNew->u.zToken, pToken->z, pToken->n); n 71144 third_party/sqlite/amalgamation/sqlite3.c pNew->u.zToken[pToken->n] = 0; n 71170 third_party/sqlite/amalgamation/sqlite3.c x.n = zToken ? sqlite3Strlen30(zToken) : 0; n 71731 third_party/sqlite/amalgamation/sqlite3.c int n = pList->nAlloc*2 + 4; n 71732 third_party/sqlite/amalgamation/sqlite3.c a = sqlite3DbRealloc(db, pList->a, n*sizeof(pList->a[0])); n 71774 third_party/sqlite/amalgamation/sqlite3.c pItem->zName = sqlite3DbStrNDup(pParse->db, pName->z, pName->n); n 73065 third_party/sqlite/amalgamation/sqlite3.c int n; n 73072 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3Strlen30(z) - 1; n 73073 third_party/sqlite/amalgamation/sqlite3.c assert( z[n]=='\'' ); n 73074 third_party/sqlite/amalgamation/sqlite3.c zBlob = sqlite3HexToBlob(sqlite3VdbeDb(v), z, n); n 73075 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeAddOp4(v, OP_Blob, n/2, target, 0, zBlob, P4_DYNAMIC); n 73814 third_party/sqlite/amalgamation/sqlite3.c int i, n; n 73818 third_party/sqlite/amalgamation/sqlite3.c n = pList->nExpr; n 73819 third_party/sqlite/amalgamation/sqlite3.c for(pItem=pList->a, i=0; i<n; i++, pItem++){ n 73827 third_party/sqlite/amalgamation/sqlite3.c return n; n 74314 third_party/sqlite/amalgamation/sqlite3.c int j, n; n 74317 third_party/sqlite/amalgamation/sqlite3.c n = pGB->nExpr; n 74318 third_party/sqlite/amalgamation/sqlite3.c for(j=0; j<n; j++, pTerm++){ n 74473 third_party/sqlite/amalgamation/sqlite3.c int i, n; n 74475 third_party/sqlite/amalgamation/sqlite3.c n = pParse->nRangeReg; n 74476 third_party/sqlite/amalgamation/sqlite3.c if( nReg<=n ){ n 74477 third_party/sqlite/amalgamation/sqlite3.c assert( !usedAsColumnCache(pParse, i, i+n-1) ); n 74562 third_party/sqlite/amalgamation/sqlite3.c tname.n = len; n 74575 third_party/sqlite/amalgamation/sqlite3.c zTableName, tname.z+tname.n); n 74609 third_party/sqlite/amalgamation/sqlite3.c int n; /* Length of token z */ n 74613 third_party/sqlite/amalgamation/sqlite3.c for(z=zInput; *z; z=z+n){ n 74614 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3GetToken(z, &token); n 74618 third_party/sqlite/amalgamation/sqlite3.c z += n; n 74619 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3GetToken(z, &token); n 74622 third_party/sqlite/amalgamation/sqlite3.c zParent = sqlite3DbStrNDup(db, (const char *)z, n); n 74631 third_party/sqlite/amalgamation/sqlite3.c zInput = &z[n]; n 74684 third_party/sqlite/amalgamation/sqlite3.c tname.n = len; n 74714 third_party/sqlite/amalgamation/sqlite3.c zTableName, tname.z+tname.n); n 75197 third_party/sqlite/amalgamation/sqlite3.c zCol = sqlite3DbStrNDup(db, (char*)pColDef->z, pColDef->n); n 75199 third_party/sqlite/amalgamation/sqlite3.c char *zEnd = &zCol[pColDef->n-1]; n 75783 third_party/sqlite/amalgamation/sqlite3.c }else if( pName2->n==0 ){ n 75842 third_party/sqlite/amalgamation/sqlite3.c int i, c, n; n 75861 third_party/sqlite/amalgamation/sqlite3.c n = pIndex ? pIndex->nColumn : 0; n 75863 third_party/sqlite/amalgamation/sqlite3.c for(i=0; *z && i<=n; i++){ n 76010 third_party/sqlite/amalgamation/sqlite3.c int n = sqlite3_column_bytes(pStmt, 2); n 76011 third_party/sqlite/amalgamation/sqlite3.c if( n>24 ){ n 76012 third_party/sqlite/amalgamation/sqlite3.c n = 24; n 76014 third_party/sqlite/amalgamation/sqlite3.c pSample->nByte = (u8)n; n 76015 third_party/sqlite/amalgamation/sqlite3.c if( n < 1){ n 76018 third_party/sqlite/amalgamation/sqlite3.c pSample->u.z = sqlite3DbStrNDup(0, z, n); n 77425 third_party/sqlite/amalgamation/sqlite3.c zName = sqlite3DbStrNDup(db, (char*)pName->z, pName->n); n 77457 third_party/sqlite/amalgamation/sqlite3.c int n = sqlite3Strlen30(zName); n 77459 third_party/sqlite/amalgamation/sqlite3.c if( (!OMIT_TEMPDB || i!=1 ) && n==sqlite3Strlen30(pDb->zName) && n 77508 third_party/sqlite/amalgamation/sqlite3.c if( ALWAYS(pName2!=0) && pName2->n>0 ){ n 77597 third_party/sqlite/amalgamation/sqlite3.c if( !OMIT_TEMPDB && isTemp && pName2->n>0 && iDb!=1 ){ n 78164 third_party/sqlite/amalgamation/sqlite3.c int n; n 78165 third_party/sqlite/amalgamation/sqlite3.c for(n=0; *z; n++, z++){ n 78166 third_party/sqlite/amalgamation/sqlite3.c if( *z=='"' ){ n++; } n 78168 third_party/sqlite/amalgamation/sqlite3.c return n + 2; n 78213 third_party/sqlite/amalgamation/sqlite3.c int i, k, n; n 78217 third_party/sqlite/amalgamation/sqlite3.c n = 0; n 78219 third_party/sqlite/amalgamation/sqlite3.c n += identLength(pCol->zName) + 5; n 78221 third_party/sqlite/amalgamation/sqlite3.c n += identLength(p->zName); n 78222 third_party/sqlite/amalgamation/sqlite3.c if( n<50 ){ n 78231 third_party/sqlite/amalgamation/sqlite3.c n += 35 + 6*p->nCol; n 78232 third_party/sqlite/amalgamation/sqlite3.c zStmt = sqlite3DbMallocRaw(0, n); n 78237 third_party/sqlite/amalgamation/sqlite3.c sqlite3_snprintf(n, zStmt, "CREATE TABLE "); n 78252 third_party/sqlite/amalgamation/sqlite3.c sqlite3_snprintf(n-k, &zStmt[k], zSep); n 78270 third_party/sqlite/amalgamation/sqlite3.c assert( k<=n ); n 78272 third_party/sqlite/amalgamation/sqlite3.c sqlite3_snprintf(n-k, &zStmt[k], "%s", zEnd); n 78355 third_party/sqlite/amalgamation/sqlite3.c int n; n 78421 third_party/sqlite/amalgamation/sqlite3.c n = (int)(pEnd->z - pParse->sNameToken.z) + 1; n 78423 third_party/sqlite/amalgamation/sqlite3.c "CREATE %s %.*s", zType2, n, pParse->sNameToken.z n 78514 third_party/sqlite/amalgamation/sqlite3.c int n; n 78561 third_party/sqlite/amalgamation/sqlite3.c sEnd.z += sEnd.n; n 78563 third_party/sqlite/amalgamation/sqlite3.c sEnd.n = 0; n 78564 third_party/sqlite/amalgamation/sqlite3.c n = (int)(sEnd.z - pBegin->z); n 78566 third_party/sqlite/amalgamation/sqlite3.c while( ALWAYS(n>0) && sqlite3Isspace(z[n-1]) ){ n--; } n 78567 third_party/sqlite/amalgamation/sqlite3.c sEnd.z = &z[n-1]; n 78568 third_party/sqlite/amalgamation/sqlite3.c sEnd.n = 1; n 78586 third_party/sqlite/amalgamation/sqlite3.c int n; /* Temporarily holds the number of cursors assigned */ n 78637 third_party/sqlite/amalgamation/sqlite3.c n = pParse->nTab; n 78650 third_party/sqlite/amalgamation/sqlite3.c pParse->nTab = n; n 79043 third_party/sqlite/amalgamation/sqlite3.c nByte = sizeof(*pFKey) + (nCol-1)*sizeof(pFKey->aCol[0]) + pTo->n + 1; n 79057 third_party/sqlite/amalgamation/sqlite3.c memcpy(z, pTo->z, pTo->n); n 79058 third_party/sqlite/amalgamation/sqlite3.c z[pTo->n] = 0; n 79060 third_party/sqlite/amalgamation/sqlite3.c z += pTo->n+1; n 79083 third_party/sqlite/amalgamation/sqlite3.c int n = sqlite3Strlen30(pToCol->a[i].zName); n 79085 third_party/sqlite/amalgamation/sqlite3.c memcpy(z, pToCol->a[i].zName, n); n 79086 third_party/sqlite/amalgamation/sqlite3.c z[n] = 0; n 79087 third_party/sqlite/amalgamation/sqlite3.c z += n+1; n 79291 third_party/sqlite/amalgamation/sqlite3.c if( pName2->n==0 && pTab && pTab->pSchema==db->aDb[1].pSchema ){ n 79371 third_party/sqlite/amalgamation/sqlite3.c int n; n 79373 third_party/sqlite/amalgamation/sqlite3.c for(pLoop=pTab->pIndex, n=1; pLoop; pLoop=pLoop->pNext, n++){} n 79374 third_party/sqlite/amalgamation/sqlite3.c zName = sqlite3MPrintf(db, "sqlite_autoindex_%s_%d", pTab->zName, n); n 79402 third_party/sqlite/amalgamation/sqlite3.c nullId.n = sqlite3Strlen30((char*)nullId.z); n 79724 third_party/sqlite/amalgamation/sqlite3.c unsigned n; n 79728 third_party/sqlite/amalgamation/sqlite3.c n = 10; n 79730 third_party/sqlite/amalgamation/sqlite3.c a[i] = n; n 79731 third_party/sqlite/amalgamation/sqlite3.c if( n>5 ) n--; n 80123 third_party/sqlite/amalgamation/sqlite3.c if( pAlias->n ){ n 80148 third_party/sqlite/amalgamation/sqlite3.c if( pIndexedBy->n==1 && !pIndexedBy->z ){ n 81961 third_party/sqlite/amalgamation/sqlite3.c int n = 0; n 81967 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3_value_int(argv[1]); n 81968 third_party/sqlite/amalgamation/sqlite3.c if( n>30 ) n = 30; n 81969 third_party/sqlite/amalgamation/sqlite3.c if( n<0 ) n = 0; n 81977 third_party/sqlite/amalgamation/sqlite3.c if( n==0 && r>=0 && r<LARGEST_INT64-1 ){ n 81979 third_party/sqlite/amalgamation/sqlite3.c }else if( n==0 && r<0 && (-r)<LARGEST_INT64-1 ){ n 81982 third_party/sqlite/amalgamation/sqlite3.c zBuf = sqlite3_mprintf("%.*f",n,r); n 82025 third_party/sqlite/amalgamation/sqlite3.c int i, n; n 82028 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3_value_bytes(argv[0]); n 82032 third_party/sqlite/amalgamation/sqlite3.c z1 = contextMalloc(context, ((i64)n)+1); n 82034 third_party/sqlite/amalgamation/sqlite3.c memcpy(z1, z2, n+1); n 82045 third_party/sqlite/amalgamation/sqlite3.c int i, n; n 82048 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3_value_bytes(argv[0]); n 82052 third_party/sqlite/amalgamation/sqlite3.c z1 = contextMalloc(context, ((i64)n)+1); n 82054 third_party/sqlite/amalgamation/sqlite3.c memcpy(z1, z2, n+1); n 82126 third_party/sqlite/amalgamation/sqlite3.c int n; n 82130 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3_value_int(argv[0]); n 82131 third_party/sqlite/amalgamation/sqlite3.c if( n<1 ){ n 82132 third_party/sqlite/amalgamation/sqlite3.c n = 1; n 82134 third_party/sqlite/amalgamation/sqlite3.c p = contextMalloc(context, n); n 82136 third_party/sqlite/amalgamation/sqlite3.c sqlite3_randomness(n, p); n 82137 third_party/sqlite/amalgamation/sqlite3.c sqlite3_result_blob(context, (char*)p, n, sqlite3_free); n 82511 third_party/sqlite/amalgamation/sqlite3.c int n; n 82517 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3_value_int(argv[0]); n 82518 third_party/sqlite/amalgamation/sqlite3.c sqlite3_result_text(context, sqlite3_compileoption_get(n), -1, SQLITE_STATIC); n 82572 third_party/sqlite/amalgamation/sqlite3.c u64 n; n 82577 third_party/sqlite/amalgamation/sqlite3.c for(i=0, n=0; zArg[i]; i++){ if( zArg[i]=='\'' ) n++; } n 82578 third_party/sqlite/amalgamation/sqlite3.c z = contextMalloc(context, ((i64)i)+((i64)n)+3); n 82610 third_party/sqlite/amalgamation/sqlite3.c int i, n; n 82616 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3_value_bytes(argv[0]); n 82618 third_party/sqlite/amalgamation/sqlite3.c z = zHex = contextMalloc(context, ((i64)n)*2 + 1); n 82620 third_party/sqlite/amalgamation/sqlite3.c for(i=0; i<n; i++, pBlob++){ n 82626 third_party/sqlite/amalgamation/sqlite3.c sqlite3_result_text(context, zHex, n*2, sqlite3_free); n 82638 third_party/sqlite/amalgamation/sqlite3.c i64 n; n 82642 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3_value_int64(argv[0]); n 82643 third_party/sqlite/amalgamation/sqlite3.c testcase( n==db->aLimit[SQLITE_LIMIT_LENGTH] ); n 82644 third_party/sqlite/amalgamation/sqlite3.c testcase( n==db->aLimit[SQLITE_LIMIT_LENGTH]+1 ); n 82645 third_party/sqlite/amalgamation/sqlite3.c if( n>db->aLimit[SQLITE_LIMIT_LENGTH] ){ n 82648 third_party/sqlite/amalgamation/sqlite3.c sqlite3_result_zeroblob(context, (int)n); /* IMP: R-00293-64994 */ n 82983 third_party/sqlite/amalgamation/sqlite3.c i64 n; n 82993 third_party/sqlite/amalgamation/sqlite3.c p->n++; n 83001 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 || p==0 || p->n>0x7fffffff n 83002 third_party/sqlite/amalgamation/sqlite3.c || p->n==sqlite3_aggregate_count(context) ); n 83008 third_party/sqlite/amalgamation/sqlite3.c sqlite3_result_int64(context, p ? p->n : 0); n 84275 third_party/sqlite/amalgamation/sqlite3.c tToCol.n = sqlite3Strlen30(tToCol.z); n 84276 third_party/sqlite/amalgamation/sqlite3.c tFromCol.n = sqlite3Strlen30(tFromCol.z); n 84341 third_party/sqlite/amalgamation/sqlite3.c tFrom.n = nFrom; n 84367 third_party/sqlite/amalgamation/sqlite3.c pStep->target.n = nFrom; n 84550 third_party/sqlite/amalgamation/sqlite3.c int n; n 84558 third_party/sqlite/amalgamation/sqlite3.c for(n=0; n<pIdx->nColumn; n++){ n 84559 third_party/sqlite/amalgamation/sqlite3.c pIdx->zColAff[n] = pTab->aCol[pIdx->aiColumn[n]].affinity; n 84561 third_party/sqlite/amalgamation/sqlite3.c pIdx->zColAff[n++] = SQLITE_AFF_NONE; n 84562 third_party/sqlite/amalgamation/sqlite3.c pIdx->zColAff[n] = 0; n 86519 third_party/sqlite/amalgamation/sqlite3.c int (*bind_blob)(sqlite3_stmt*,int,const void*,int n,void(*)(void*)); n 86527 third_party/sqlite/amalgamation/sqlite3.c int (*bind_text)(sqlite3_stmt*,int,const char*,int n,void(*)(void*)); n 87572 third_party/sqlite/amalgamation/sqlite3.c int i, n; n 87576 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3Strlen30(z); n 87578 third_party/sqlite/amalgamation/sqlite3.c if( iLength[i]==n && sqlite3StrNICmp(&zText[iOffset[i]],z,n)==0 ){ n 87878 third_party/sqlite/amalgamation/sqlite3.c zDb = pId2->n>0 ? pDb->zName : 0; n 87974 third_party/sqlite/amalgamation/sqlite3.c if( pId2->n==0 && b>=0 ){ n 88022 third_party/sqlite/amalgamation/sqlite3.c if( pId2->n==0 && eMode==PAGER_LOCKINGMODE_QUERY ){ n 88030 third_party/sqlite/amalgamation/sqlite3.c if( pId2->n==0 ){ n 88085 third_party/sqlite/amalgamation/sqlite3.c int n = sqlite3Strlen30(zRight); n 88087 third_party/sqlite/amalgamation/sqlite3.c if( sqlite3StrNICmp(zRight, zMode, n)==0 ) break; n 88095 third_party/sqlite/amalgamation/sqlite3.c if( eMode==PAGER_JOURNALMODE_QUERY && pId2->n==0 ){ n 88098 third_party/sqlite/amalgamation/sqlite3.c pId2->n = 1; n 88101 third_party/sqlite/amalgamation/sqlite3.c if( db->aDb[ii].pBt && (ii==iDb || pId2->n==0) ){ n 90071 third_party/sqlite/amalgamation/sqlite3.c if( p->n==aKeyword[j].nChar n 90072 third_party/sqlite/amalgamation/sqlite3.c && sqlite3StrNICmp((char*)p->z, &zKeyText[aKeyword[j].i], p->n)==0 ){ n 91342 third_party/sqlite/amalgamation/sqlite3.c int addr1, n; n 91357 third_party/sqlite/amalgamation/sqlite3.c if( sqlite3ExprIsInteger(p->pLimit, &n) ){ n 91358 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeAddOp2(v, OP_Integer, n, iLimit); n 91360 third_party/sqlite/amalgamation/sqlite3.c if( n==0 ){ n 91363 third_party/sqlite/amalgamation/sqlite3.c if( p->nSelectRow > (double)n ) p->nSelectRow = (double)n; n 93275 third_party/sqlite/amalgamation/sqlite3.c sColname.n = sqlite3Strlen30(zColname); n 94479 third_party/sqlite/amalgamation/sqlite3.c int n = sqlite3Strlen30(argv[i])+1; n 94480 third_party/sqlite/amalgamation/sqlite3.c z = sqlite3_malloc( n ); n 94482 third_party/sqlite/amalgamation/sqlite3.c memcpy(z, argv[i], n); n 94575 third_party/sqlite/amalgamation/sqlite3.c int i, n; n 94578 third_party/sqlite/amalgamation/sqlite3.c n = SQLITE_PTR_TO_INT(azResult[0]); n 94579 third_party/sqlite/amalgamation/sqlite3.c for(i=1; i<n; i++){ if( azResult[i] ) sqlite3_free(azResult[i]); } n 94693 third_party/sqlite/amalgamation/sqlite3.c if( pName2->n>0 ){ n 94716 third_party/sqlite/amalgamation/sqlite3.c if( db->init.busy==0 && pName2->n==0 && pTab n 94866 third_party/sqlite/amalgamation/sqlite3.c nameToken.n = sqlite3Strlen30(nameToken.z); n 94883 third_party/sqlite/amalgamation/sqlite3.c z = sqlite3DbStrNDup(db, (char*)pAll->z, pAll->n); n 94904 third_party/sqlite/amalgamation/sqlite3.c int n = sqlite3Strlen30(pLink->table); n 94905 third_party/sqlite/amalgamation/sqlite3.c pTab = sqlite3HashFind(&pLink->pTabSchema->tblHash, pLink->table, n); n 94950 third_party/sqlite/amalgamation/sqlite3.c pTriggerStep = sqlite3DbMallocZero(db, sizeof(TriggerStep) + pName->n); n 94953 third_party/sqlite/amalgamation/sqlite3.c memcpy(z, pName->z, pName->n); n 94955 third_party/sqlite/amalgamation/sqlite3.c pTriggerStep->target.n = pName->n; n 95108 third_party/sqlite/amalgamation/sqlite3.c int n = sqlite3Strlen30(pTrigger->table); n 95109 third_party/sqlite/amalgamation/sqlite3.c return sqlite3HashFind(&pTrigger->pTabSchema->tblHash, pTrigger->table, n); n 97001 third_party/sqlite/amalgamation/sqlite3.c pParse->sNameToken.n = (int)(&pModuleName->z[pModuleName->n] - pName1->z); n 97024 third_party/sqlite/amalgamation/sqlite3.c int n = pParse->sArg.n; n 97026 third_party/sqlite/amalgamation/sqlite3.c addModuleArgument(db, pParse->pNewTable, sqlite3DbStrNDup(db, z, n)); n 97057 third_party/sqlite/amalgamation/sqlite3.c pParse->sNameToken.n = (int)(pEnd->z - pParse->sNameToken.z) + pEnd->n; n 97119 third_party/sqlite/amalgamation/sqlite3.c pParse->sArg.n = 0; n 97130 third_party/sqlite/amalgamation/sqlite3.c pArg->n = p->n; n 97133 third_party/sqlite/amalgamation/sqlite3.c pArg->n = (int)(&p->z[p->n] - pArg->z); n 97635 third_party/sqlite/amalgamation/sqlite3.c int i, n; n 97642 third_party/sqlite/amalgamation/sqlite3.c n = (pToplevel->nVtabLock+1)*sizeof(pToplevel->apVtabLock[0]); n 97643 third_party/sqlite/amalgamation/sqlite3.c apVtabLock = sqlite3_realloc(pToplevel->apVtabLock, n); n 97844 third_party/sqlite/amalgamation/sqlite3.c int n; /* Number of assigned cursor values */ n 98056 third_party/sqlite/amalgamation/sqlite3.c assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 ); n 98057 third_party/sqlite/amalgamation/sqlite3.c for(i=0; i<pMaskSet->n; i++){ n 98074 third_party/sqlite/amalgamation/sqlite3.c assert( pMaskSet->n < ArraySize(pMaskSet->ix) ); n 98075 third_party/sqlite/amalgamation/sqlite3.c pMaskSet->ix[pMaskSet->n++] = iCursor; n 99471 third_party/sqlite/amalgamation/sqlite3.c int n; /* Column counter */ n 99541 third_party/sqlite/amalgamation/sqlite3.c n = 0; n 99550 third_party/sqlite/amalgamation/sqlite3.c pIdx->aiColumn[n] = pTerm->u.leftColumn; n 99552 third_party/sqlite/amalgamation/sqlite3.c pIdx->azColl[n] = ALWAYS(pColl) ? pColl->zName : "BINARY"; n 99553 third_party/sqlite/amalgamation/sqlite3.c n++; n 99557 third_party/sqlite/amalgamation/sqlite3.c assert( (u32)n==pLevel->plan.nEq ); n 99563 third_party/sqlite/amalgamation/sqlite3.c pIdx->aiColumn[n] = i; n 99564 third_party/sqlite/amalgamation/sqlite3.c pIdx->azColl[n] = "BINARY"; n 99565 third_party/sqlite/amalgamation/sqlite3.c n++; n 99570 third_party/sqlite/amalgamation/sqlite3.c pIdx->aiColumn[n] = i; n 99571 third_party/sqlite/amalgamation/sqlite3.c pIdx->azColl[n] = "BINARY"; n 99572 third_party/sqlite/amalgamation/sqlite3.c n++; n 99575 third_party/sqlite/amalgamation/sqlite3.c assert( n==nColumn ); n 99963 third_party/sqlite/amalgamation/sqlite3.c int n; n 99985 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3ValueBytes(pVal, pColl->enc); n 100002 third_party/sqlite/amalgamation/sqlite3.c c = pColl->xCmp(pColl->pUser, nSample, zSample, n, z); n 100007 third_party/sqlite/amalgamation/sqlite3.c c = pColl->xCmp(pColl->pUser, aSample[i].nByte, aSample[i].u.z, n, z); n 100878 third_party/sqlite/amalgamation/sqlite3.c static void codeApplyAffinity(Parse *pParse, int base, int n, char *zAff){ n 100889 third_party/sqlite/amalgamation/sqlite3.c while( n>0 && zAff[0]==SQLITE_AFF_NONE ){ n 100890 third_party/sqlite/amalgamation/sqlite3.c n--; n 100894 third_party/sqlite/amalgamation/sqlite3.c while( n>1 && zAff[n-1]==SQLITE_AFF_NONE ){ n 100895 third_party/sqlite/amalgamation/sqlite3.c n--; n 100899 third_party/sqlite/amalgamation/sqlite3.c if( n>0 ){ n 100900 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeAddOp2(v, OP_Affinity, base, n); n 100901 third_party/sqlite/amalgamation/sqlite3.c sqlite3VdbeChangeP4(v, -1, zAff, n); n 100902 third_party/sqlite/amalgamation/sqlite3.c sqlite3ExprCacheAffinityChange(pParse, base, n); n 102122 third_party/sqlite/amalgamation/sqlite3.c assert( pWC->vmask==0 && pMaskSet->n==0 ); n 102409 third_party/sqlite/amalgamation/sqlite3.c int n = 0; n 102410 third_party/sqlite/amalgamation/sqlite3.c for(; b; b=b>>1, n++){} n 102412 third_party/sqlite/amalgamation/sqlite3.c SQLITE_INT_TO_PTR(n), P4_INT32); n 102413 third_party/sqlite/amalgamation/sqlite3.c assert( n<=pTab->nCol ); n 102460 third_party/sqlite/amalgamation/sqlite3.c int n; n 102465 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3Strlen30(z); n 102466 third_party/sqlite/amalgamation/sqlite3.c if( n+nQPlan < sizeof(sqlite3_query_plan)-10 ){ n 102471 third_party/sqlite/amalgamation/sqlite3.c memcpy(&sqlite3_query_plan[nQPlan], z, n); n 102472 third_party/sqlite/amalgamation/sqlite3.c nQPlan += n; n 102482 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3Strlen30(pLevel->plan.u.pIdx->zName); n 102483 third_party/sqlite/amalgamation/sqlite3.c if( n+nQPlan < sizeof(sqlite3_query_plan)-2 ){ n 102484 third_party/sqlite/amalgamation/sqlite3.c memcpy(&sqlite3_query_plan[nQPlan], pLevel->plan.u.pIdx->zName, n); n 102485 third_party/sqlite/amalgamation/sqlite3.c nQPlan += n; n 102708 third_party/sqlite/amalgamation/sqlite3.c pOut->zEnd = &pEnd->z[pEnd->n]; n 102718 third_party/sqlite/amalgamation/sqlite3.c pOut->zEnd = &pValue->z[pValue->n]; n 102747 third_party/sqlite/amalgamation/sqlite3.c pOut->zEnd = &pPostOp->z[pPostOp->n]; n 104813 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy0.n = (int)(pParse->sLastToken.z-yymsp[-2].minor.yy0.z) + pParse->sLastToken.n; n 104852 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy0.n = (int)(&yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n] - yymsp[-3].minor.yy0.z); n 104858 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy0.n = (int)(&yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n] - yymsp[-5].minor.yy0.z); n 104862 third_party/sqlite/amalgamation/sqlite3.c {yygotominor.yy0.z=yymsp[-1].minor.yy0.z; yygotominor.yy0.n=yymsp[0].minor.yy0.n+(int)(yymsp[0].minor.yy0.z-yymsp[-1].minor.yy0.z);} n 104946 third_party/sqlite/amalgamation/sqlite3.c {yygotominor.yy0.n = 0; yygotominor.yy0.z = 0;} n 105039 third_party/sqlite/amalgamation/sqlite3.c if( yymsp[0].minor.yy0.n>0 ) sqlite3ExprListSetName(pParse, yygotominor.yy322, &yymsp[0].minor.yy0, 1); n 105058 third_party/sqlite/amalgamation/sqlite3.c {yygotominor.yy0.n = 0;} n 105091 third_party/sqlite/amalgamation/sqlite3.c if( yymsp[-6].minor.yy259==0 && yymsp[-2].minor.yy0.n==0 && yymsp[-1].minor.yy314==0 && yymsp[0].minor.yy384==0 ){ n 105103 third_party/sqlite/amalgamation/sqlite3.c {yygotominor.yy0.z=0; yygotominor.yy0.n=0;} n 105136 third_party/sqlite/amalgamation/sqlite3.c {yygotominor.yy0.z=0; yygotominor.yy0.n=1;} n 105295 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy118.zEnd = &yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n]; n 105443 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy118.zEnd = &yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n]; n 105457 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy118.zEnd = &yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n]; n 105472 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy118.zEnd = &yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n]; n 105488 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy118.zEnd = yymsp[0].minor.yy0.z ? &yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n] : &yymsp[-1].minor.yy0.z[yymsp[-1].minor.yy0.n]; n 105502 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy118.zEnd = &yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n]; n 105515 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy118.zEnd = &yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n]; n 105547 third_party/sqlite/amalgamation/sqlite3.c if( yymsp[-1].minor.yy0.n>0 ){ n 105560 third_party/sqlite/amalgamation/sqlite3.c if( yymsp[-1].minor.yy0.n>0 ){ n 105571 third_party/sqlite/amalgamation/sqlite3.c {yygotominor.yy0.z = 0; yygotominor.yy0.n = 0;} n 105599 third_party/sqlite/amalgamation/sqlite3.c all.n = (int)(yymsp[0].minor.yy0.z - yymsp[-3].minor.yy0.z) + yymsp[0].minor.yy0.n; n 105606 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy0 = (yymsp[-6].minor.yy0.n==0?yymsp[-7].minor.yy0:yymsp[-6].minor.yy0); n 105693 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy118.zEnd = &yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n]; n 105703 third_party/sqlite/amalgamation/sqlite3.c yygotominor.yy118.zEnd = &yymsp[0].minor.yy0.z[yymsp[0].minor.yy0.n]; n 106150 third_party/sqlite/amalgamation/sqlite3.c static int keywordCode(const char *z, int n){ n 106270 third_party/sqlite/amalgamation/sqlite3.c if( n<2 ) return TK_ID; n 106272 third_party/sqlite/amalgamation/sqlite3.c (charMap(z[n-1])*3) ^ n 106273 third_party/sqlite/amalgamation/sqlite3.c n) % 127; n 106275 third_party/sqlite/amalgamation/sqlite3.c if( aLen[i]==n && sqlite3StrNICmp(&zText[aOffset[i]],z,n)==0 ){ n 106402 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3KeywordCode(const unsigned char *z, int n){ n 106403 third_party/sqlite/amalgamation/sqlite3.c return keywordCode((char*)z, n); n 106667 third_party/sqlite/amalgamation/sqlite3.c int n = 0; n 106672 third_party/sqlite/amalgamation/sqlite3.c n++; n 106674 third_party/sqlite/amalgamation/sqlite3.c }else if( c=='(' && n>0 ){ n 106691 third_party/sqlite/amalgamation/sqlite3.c if( n==0 ) *tokenType = TK_ILLEGAL; n 106766 third_party/sqlite/amalgamation/sqlite3.c pParse->sLastToken.n = sqlite3GetToken((unsigned char*)&zSql[i],&tokenType); n 106767 third_party/sqlite/amalgamation/sqlite3.c i += pParse->sLastToken.n; n 107810 third_party/sqlite/amalgamation/sqlite3.c static int allSpaces(const char *z, int n){ n 107811 third_party/sqlite/amalgamation/sqlite3.c while( n>0 && z[n-1]==' ' ){ n--; } n 107812 third_party/sqlite/amalgamation/sqlite3.c return n==0; n 107827 third_party/sqlite/amalgamation/sqlite3.c int rc, n; n 107828 third_party/sqlite/amalgamation/sqlite3.c n = nKey1<nKey2 ? nKey1 : nKey2; n 107829 third_party/sqlite/amalgamation/sqlite3.c rc = memcmp(pKey1, pKey2, n); n 107832 third_party/sqlite/amalgamation/sqlite3.c && allSpaces(((char*)pKey1)+n, nKey1-n) n 107833 third_party/sqlite/amalgamation/sqlite3.c && allSpaces(((char*)pKey2)+n, nKey2-n) n 109880 third_party/sqlite/amalgamation/sqlite3.c int n = sqlite3Strlen30(zWord); n 109881 third_party/sqlite/amalgamation/sqlite3.c rc = (sqlite3KeywordCode((u8*)zWord, n)!=TK_ID) ? SQLITE_N_KEYWORD : 0; n 110561 third_party/sqlite/amalgamation/sqlite3.c unsigned n){ n 110567 third_party/sqlite/amalgamation/sqlite3.c if( nData>=9*n ){ n 110571 third_party/sqlite/amalgamation/sqlite3.c for( i=0; nFound<n && i<nData; ++i ){ n 110579 third_party/sqlite/amalgamation/sqlite3.c return nFound==n; n 110603 third_party/sqlite/amalgamation/sqlite3.c static int ascii_strncasecmp(const char *s1, const char *s2, size_t n){ n 110606 third_party/sqlite/amalgamation/sqlite3.c while( *us1 && *us2 && n && ascii_tolower(*us1)==ascii_tolower(*us2) ){ n 110607 third_party/sqlite/amalgamation/sqlite3.c us1++, us2++, n--; n 110609 third_party/sqlite/amalgamation/sqlite3.c return n ? ascii_tolower(*us1)-ascii_tolower(*us2) : 0; n 110714 third_party/sqlite/amalgamation/sqlite3.c static char *sqlite3_strndup(const char *z, unsigned n){ n 110721 third_party/sqlite/amalgamation/sqlite3.c zNew = sqlite3_malloc(n+1); n 110723 third_party/sqlite/amalgamation/sqlite3.c memcpy(zNew, z, n); n 110724 third_party/sqlite/amalgamation/sqlite3.c zNew[n] = '\0'; n 113189 third_party/sqlite/amalgamation/sqlite3.c int n; /* Number of bytes in buffer z */ n 114018 third_party/sqlite/amalgamation/sqlite3.c int n; n 114019 third_party/sqlite/amalgamation/sqlite3.c z = (char *)sqlite3Fts3NextToken(aCol[iCol], &n); n 114020 third_party/sqlite/amalgamation/sqlite3.c memcpy(zCsr, z, n); n 114021 third_party/sqlite/amalgamation/sqlite3.c zCsr[n] = '\0'; n 114024 third_party/sqlite/amalgamation/sqlite3.c zCsr += n+1; n 114453 third_party/sqlite/amalgamation/sqlite3.c int n = (int)(pEnd - *ppPoslist); n 114455 third_party/sqlite/amalgamation/sqlite3.c memcpy(p, *ppPoslist, n); n 114456 third_party/sqlite/amalgamation/sqlite3.c p += n; n 114491 third_party/sqlite/amalgamation/sqlite3.c int n = (int)(pEnd - *ppPoslist); n 114493 third_party/sqlite/amalgamation/sqlite3.c memcpy(p, *ppPoslist, n); n 114494 third_party/sqlite/amalgamation/sqlite3.c p += n; n 114546 third_party/sqlite/amalgamation/sqlite3.c int n = 0; /* Number of bytes written */ n 114549 third_party/sqlite/amalgamation/sqlite3.c n = 1 + sqlite3Fts3PutVarint(&p[1], iCol); n 114551 third_party/sqlite/amalgamation/sqlite3.c *pp = &p[n]; n 114553 third_party/sqlite/amalgamation/sqlite3.c return n; n 114588 third_party/sqlite/amalgamation/sqlite3.c int n = fts3PutColNumber(&p, iCol1); n 114589 third_party/sqlite/amalgamation/sqlite3.c p1 += n; n 114590 third_party/sqlite/amalgamation/sqlite3.c p2 += n; n 115317 third_party/sqlite/amalgamation/sqlite3.c filter.nTerm = pTok->n; n 115471 third_party/sqlite/amalgamation/sqlite3.c pCsr, pTok->z, pTok->n, pTok->isPrefix, &pTok->pSegcsr n 115709 third_party/sqlite/amalgamation/sqlite3.c pCsr, pTok->z, pTok->n, pTok->isPrefix, &pTok->pSegcsr n 116023 third_party/sqlite/amalgamation/sqlite3.c int n = 0; n 116024 third_party/sqlite/amalgamation/sqlite3.c rc = fts3EvalExpr(pCsr, pCsr->pExpr, &a, &n, 0); n 116025 third_party/sqlite/amalgamation/sqlite3.c assert( n>=0 ); n 116026 third_party/sqlite/amalgamation/sqlite3.c *pbRes = (n>0); n 117015 third_party/sqlite/amalgamation/sqlite3.c int n = (pCsr->nStop<pCsr->csr.nTerm) ? pCsr->nStop : pCsr->csr.nTerm; n 117016 third_party/sqlite/amalgamation/sqlite3.c int mc = memcmp(pCsr->zStop, pCsr->csr.zTerm, n); n 117361 third_party/sqlite/amalgamation/sqlite3.c const char *z, int n, /* Input string */ n 117372 third_party/sqlite/amalgamation/sqlite3.c rc = pModule->xOpen(pTokenizer, z, n, &pCursor); n 117391 third_party/sqlite/amalgamation/sqlite3.c pRet->pPhrase->aToken[0].n = nToken; n 117395 third_party/sqlite/amalgamation/sqlite3.c if( iEnd<n && z[iEnd]=='*' ){ n 117474 third_party/sqlite/amalgamation/sqlite3.c p->pPhrase->aToken[ii].n = nToken; n 117508 third_party/sqlite/amalgamation/sqlite3.c nNew += p->pPhrase->aToken[jj].n; n 117545 third_party/sqlite/amalgamation/sqlite3.c const char *z, int n, /* Input string */ n 117551 third_party/sqlite/amalgamation/sqlite3.c unsigned char n; /* Length of the keyword */ n 117567 third_party/sqlite/amalgamation/sqlite3.c int nInput = n; n 117588 third_party/sqlite/amalgamation/sqlite3.c if( nInput>=pKey->n && 0==memcmp(zInput, pKey->z, pKey->n) ){ n 117590 third_party/sqlite/amalgamation/sqlite3.c int nKey = pKey->n; n 117689 third_party/sqlite/amalgamation/sqlite3.c rc = getNextToken(pParse, iCol, &z[iColLen], n-iColLen, ppExpr, pnConsumed); n 117767 third_party/sqlite/amalgamation/sqlite3.c const char *z, int n, /* Text of MATCH query */ n 117774 third_party/sqlite/amalgamation/sqlite3.c int nIn = n; n 117892 third_party/sqlite/amalgamation/sqlite3.c *pnConsumed = n - nIn; n 117933 third_party/sqlite/amalgamation/sqlite3.c const char *z, int n, /* Text of MATCH query */ n 117948 third_party/sqlite/amalgamation/sqlite3.c if( n<0 ){ n 117949 third_party/sqlite/amalgamation/sqlite3.c n = (int)strlen(z); n 117951 third_party/sqlite/amalgamation/sqlite3.c rc = fts3ExprParse(&sParse, z, n, ppExpr, &nParsed); n 118030 third_party/sqlite/amalgamation/sqlite3.c pPhrase->aToken[i].n, pPhrase->aToken[i].z, n 118197 third_party/sqlite/amalgamation/sqlite3.c static void *fts3HashMalloc(int n){ n 118198 third_party/sqlite/amalgamation/sqlite3.c void *p = sqlite3_malloc(n); n 118200 third_party/sqlite/amalgamation/sqlite3.c memset(p, 0, n); n 119144 third_party/sqlite/amalgamation/sqlite3.c int n = c->iOffset-iStartOffset; n 119145 third_party/sqlite/amalgamation/sqlite3.c if( n>c->nAllocated ){ n 119147 third_party/sqlite/amalgamation/sqlite3.c c->nAllocated = n+20; n 119152 third_party/sqlite/amalgamation/sqlite3.c porter_stemmer(&z[iStartOffset], n, c->zToken, pnBytes); n 119260 third_party/sqlite/amalgamation/sqlite3.c int n = sqlite3_value_bytes(argv[1]); n 119261 third_party/sqlite/amalgamation/sqlite3.c if( n!=sizeof(pPtr) ){ n 119343 third_party/sqlite/amalgamation/sqlite3.c int n; n 119352 third_party/sqlite/amalgamation/sqlite3.c z = (char *)sqlite3Fts3NextToken(zCopy, &n); n 119353 third_party/sqlite/amalgamation/sqlite3.c z[n] = '\0'; n 119363 third_party/sqlite/amalgamation/sqlite3.c z = &z[n+1]; n 119364 third_party/sqlite/amalgamation/sqlite3.c while( z<zEnd && (NULL!=(z = (char *)sqlite3Fts3NextToken(z, &n))) ){ n 119374 third_party/sqlite/amalgamation/sqlite3.c z[n] = '\0'; n 119376 third_party/sqlite/amalgamation/sqlite3.c z = &z[n+1]; n 119751 third_party/sqlite/amalgamation/sqlite3.c int i, n = (int)strlen(argv[1]); n 119752 third_party/sqlite/amalgamation/sqlite3.c for(i=0; i<n; i++){ n 119858 third_party/sqlite/amalgamation/sqlite3.c int i, n = c->iOffset-iStartOffset; n 119859 third_party/sqlite/amalgamation/sqlite3.c if( n>c->nTokenAllocated ){ n 119861 third_party/sqlite/amalgamation/sqlite3.c c->nTokenAllocated = n+20; n 119866 third_party/sqlite/amalgamation/sqlite3.c for(i=0; i<n; i++){ n 119874 third_party/sqlite/amalgamation/sqlite3.c *pnBytes = n; n 120911 third_party/sqlite/amalgamation/sqlite3.c int n; n 120914 third_party/sqlite/amalgamation/sqlite3.c n = sqlite3Fts3GetVarint(pReader->aDoclist, &pReader->iDocid); n 120915 third_party/sqlite/amalgamation/sqlite3.c pReader->pOffsetList = &pReader->aDoclist[n]; n 121127 third_party/sqlite/amalgamation/sqlite3.c int n = (n1<n2 ? n1 : n2); n 121128 third_party/sqlite/amalgamation/sqlite3.c int c = memcmp(z1, z2, n); n 121340 third_party/sqlite/amalgamation/sqlite3.c int n /* Size of buffer z in bytes */ n 121346 third_party/sqlite/amalgamation/sqlite3.c sqlite3_bind_blob(pStmt, 2, z, n, SQLITE_STATIC); n 121395 third_party/sqlite/amalgamation/sqlite3.c int n; n 121397 third_party/sqlite/amalgamation/sqlite3.c for(n=0; n<nPrev && zPrev[n]==zNext[n]; n++); n 121398 third_party/sqlite/amalgamation/sqlite3.c return n; n 122484 third_party/sqlite/amalgamation/sqlite3.c && (pPT->n==nToken || (pPT->isPrefix && pPT->n<nToken)) n 122485 third_party/sqlite/amalgamation/sqlite3.c && (0==memcmp(zToken, pPT->z, pPT->n)) n 122737 third_party/sqlite/amalgamation/sqlite3.c int n; /* Length of z in bytes (excl. nul-term) */ n 123179 third_party/sqlite/amalgamation/sqlite3.c if( pStr->n+nAppend+1>=pStr->nAlloc ){ n 123190 third_party/sqlite/amalgamation/sqlite3.c memcpy(&pStr->z[pStr->n], zAppend, nAppend); n 123191 third_party/sqlite/amalgamation/sqlite3.c pStr->n += nAppend; n 123192 third_party/sqlite/amalgamation/sqlite3.c pStr->z[pStr->n] = '\0'; n 123343 third_party/sqlite/amalgamation/sqlite3.c int n = nDoc - iBegin; n 123344 third_party/sqlite/amalgamation/sqlite3.c rc = fts3SnippetShift(pTab, nSnippet, &zDoc[iBegin], n, &iPos, &hlmask); n 124209 third_party/sqlite/amalgamation/sqlite3.c sqlite3_result_text(pCtx, res.z, res.n-1, sqlite3_free); n 124253 third_party/sqlite/amalgamation/sqlite3.c int n = pCsr->nMatchinfo * sizeof(u32); n 124254 third_party/sqlite/amalgamation/sqlite3.c sqlite3_result_blob(pContext, pCsr->aMatchinfo, n, SQLITE_TRANSIENT); n 128054 third_party/sqlite/amalgamation/sqlite3.c int n = 0; n 128057 third_party/sqlite/amalgamation/sqlite3.c n = strlen(argv[0])+1; n 128059 third_party/sqlite/amalgamation/sqlite3.c p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n); n 128065 third_party/sqlite/amalgamation/sqlite3.c if( n ){ n 128067 third_party/sqlite/amalgamation/sqlite3.c memcpy(p->zLocale, argv[0], n); n 686 third_party/sqlite/amalgamation/sqlite3.h int (*xShmLock)(sqlite3_file*, int offset, int n, int flags); n 2878 third_party/sqlite/amalgamation/sqlite3.h SQLITE_API int sqlite3_bind_blob(sqlite3_stmt*, int, const void*, int n, void(*)(void*)); n 2883 third_party/sqlite/amalgamation/sqlite3.h SQLITE_API int sqlite3_bind_text(sqlite3_stmt*, int, const char*, int n, void(*)(void*)); n 2886 third_party/sqlite/amalgamation/sqlite3.h SQLITE_API int sqlite3_bind_zeroblob(sqlite3_stmt*, int, int n); n 3895 third_party/sqlite/amalgamation/sqlite3.h SQLITE_API void sqlite3_result_zeroblob(sqlite3_context*, int n); n 5040 third_party/sqlite/amalgamation/sqlite3.h SQLITE_API int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset); n 1242 third_party/sqlite/src/ext/async/sqlite3async.c int n = (int)strlen(z); n 1243 third_party/sqlite/src/ext/async/sqlite3async.c while( n>1 && z[n-1]=='/' ){ n--; } n 1244 third_party/sqlite/src/ext/async/sqlite3async.c for(i=j=0; i<n; i++){ n 1247 third_party/sqlite/src/ext/async/sqlite3async.c if( z[i+1]=='.' && i+2<n && z[i+2]=='/' ){ n 1251 third_party/sqlite/src/ext/async/sqlite3async.c if( z[i+1]=='.' && i+3<n && z[i+2]=='.' && z[i+3]=='/' ){ n 22 third_party/sqlite/src/ext/fts1/ft_hash.c void *malloc_and_zero(int n){ n 23 third_party/sqlite/src/ext/fts1/ft_hash.c void *p = malloc(n); n 25 third_party/sqlite/src/ext/fts1/ft_hash.c memset(p, 0, n); n 290 third_party/sqlite/src/ext/fts1/fts1.c int n = putVarint(c, i); n 291 third_party/sqlite/src/ext/fts1/fts1.c d->pData = realloc(d->pData, d->nData + n); n 292 third_party/sqlite/src/ext/fts1/fts1.c memcpy(d->pData + d->nData, c, n); n 293 third_party/sqlite/src/ext/fts1/fts1.c d->nData += n; n 872 third_party/sqlite/src/ext/fts1/fts1.c static char *string_dup_n(const char *s, int n){ n 873 third_party/sqlite/src/ext/fts1/fts1.c char *str = malloc(n + 1); n 874 third_party/sqlite/src/ext/fts1/fts1.c memcpy(str, s, n); n 875 third_party/sqlite/src/ext/fts1/fts1.c str[n] = '\0'; n 1618 third_party/sqlite/src/ext/fts1/fts1.c short int n; /* Length of the token text in bytes. */ n 1637 third_party/sqlite/src/ext/fts1/fts1.c int n = 1; n 1642 third_party/sqlite/src/ext/fts1/fts1.c while( n>0 ){ n 1643 third_party/sqlite/src/ext/fts1/fts1.c n = getToken(z, &e); n 1646 third_party/sqlite/src/ext/fts1/fts1.c aToken[nToken].n = n; n 1648 third_party/sqlite/src/ext/fts1/fts1.c totalSize += n+1; n 1650 third_party/sqlite/src/ext/fts1/fts1.c z += n; n 1657 third_party/sqlite/src/ext/fts1/fts1.c n = aToken[i].n; n 1658 third_party/sqlite/src/ext/fts1/fts1.c memcpy(zCopy, aToken[i].z, n); n 1659 third_party/sqlite/src/ext/fts1/fts1.c zCopy[n] = 0; n 1660 third_party/sqlite/src/ext/fts1/fts1.c zCopy += n+1; n 1746 third_party/sqlite/src/ext/fts1/fts1.c int n, ttype; n 1748 third_party/sqlite/src/ext/fts1/fts1.c n = getToken(zIn, &ttype); n 1750 third_party/sqlite/src/ext/fts1/fts1.c zIn += n; n 1755 third_party/sqlite/src/ext/fts1/fts1.c zIn[n] = 0; n 1816 third_party/sqlite/src/ext/fts1/fts1.c int i, n; n 1835 third_party/sqlite/src/ext/fts1/fts1.c for(i=n=0; i<argc; i++){ n 1836 third_party/sqlite/src/ext/fts1/fts1.c n += strlen(argv[i]) + 1; n 1838 third_party/sqlite/src/ext/fts1/fts1.c azArg = malloc( sizeof(char*)*argc + n ); n 1899 third_party/sqlite/src/ext/fts1/fts1.c pSpec->azTokenizer = tokenizeString(zTokenizer, &n); n 1943 third_party/sqlite/src/ext/fts1/fts1.c int n; n 1974 third_party/sqlite/src/ext/fts1/fts1.c for(n=0; spec->azTokenizer[n]; n++){} n 1975 third_party/sqlite/src/ext/fts1/fts1.c if( n ){ n 1976 third_party/sqlite/src/ext/fts1/fts1.c rc = m->xCreate(n-1, (const char*const*)&spec->azTokenizer[1], n 34 third_party/sqlite/src/ext/fts1/fts1_hash.c static void *malloc_and_zero(int n){ n 35 third_party/sqlite/src/ext/fts1/fts1_hash.c void *p = malloc(n); n 37 third_party/sqlite/src/ext/fts1/fts1_hash.c memset(p, 0, n); n 604 third_party/sqlite/src/ext/fts1/fts1_porter.c int n = c->iOffset-iStartOffset; n 605 third_party/sqlite/src/ext/fts1/fts1_porter.c if( n>c->nAllocated ){ n 606 third_party/sqlite/src/ext/fts1/fts1_porter.c c->nAllocated = n+20; n 610 third_party/sqlite/src/ext/fts1/fts1_porter.c porter_stemmer(&z[iStartOffset], n, c->zToken, pnBytes); n 69 third_party/sqlite/src/ext/fts1/fts1_tokenizer1.c int i, n = strlen(argv[1]); n 70 third_party/sqlite/src/ext/fts1/fts1_tokenizer1.c for(i=0; i<n; i++){ n 174 third_party/sqlite/src/ext/fts1/fts1_tokenizer1.c int i, n = c->iOffset-iStartOffset; n 175 third_party/sqlite/src/ext/fts1/fts1_tokenizer1.c if( n>c->nTokenAllocated ){ n 176 third_party/sqlite/src/ext/fts1/fts1_tokenizer1.c c->nTokenAllocated = n+20; n 180 third_party/sqlite/src/ext/fts1/fts1_tokenizer1.c for(i=0; i<n; i++){ n 188 third_party/sqlite/src/ext/fts1/fts1_tokenizer1.c *pnBytes = n; n 178 third_party/sqlite/src/ext/fts1/fulltext.c int n = putVarint(c, i); n 179 third_party/sqlite/src/ext/fts1/fulltext.c d->pData = realloc(d->pData, d->nData + n); n 180 third_party/sqlite/src/ext/fts1/fulltext.c memcpy(d->pData + d->nData, c, n); n 181 third_party/sqlite/src/ext/fts1/fulltext.c d->nData += n; n 460 third_party/sqlite/src/ext/fts1/fulltext.c static char *string_dup_n(const char *s, int n){ n 461 third_party/sqlite/src/ext/fts1/fulltext.c char *str = malloc(n + 1); n 462 third_party/sqlite/src/ext/fts1/fulltext.c memcpy(str, s, n); n 463 third_party/sqlite/src/ext/fts1/fulltext.c str[n] = '\0'; n 131 third_party/sqlite/src/ext/fts1/simple_tokenizer.c int n = (int) strcspn(c->pCurrent, t->zDelim); n 132 third_party/sqlite/src/ext/fts1/simple_tokenizer.c if( n>0 ){ n 133 third_party/sqlite/src/ext/fts1/simple_tokenizer.c if( n+1>c->nTokenAllocated ){ n 134 third_party/sqlite/src/ext/fts1/simple_tokenizer.c c->zToken = realloc(c->zToken, n+1); n 136 third_party/sqlite/src/ext/fts1/simple_tokenizer.c for(ii=0; ii<n; ii++){ n 143 third_party/sqlite/src/ext/fts1/simple_tokenizer.c c->zToken[n] = '\0'; n 145 third_party/sqlite/src/ext/fts1/simple_tokenizer.c *pnBytes = n; n 147 third_party/sqlite/src/ext/fts1/simple_tokenizer.c *piEndOffset = *piStartOffset+n; n 149 third_party/sqlite/src/ext/fts1/simple_tokenizer.c c->pCurrent += n + 1; n 153 third_party/sqlite/src/ext/fts1/simple_tokenizer.c c->pCurrent += n + 1; n 677 third_party/sqlite/src/ext/fts2/fts2.c int n = getVarintSafe(pReader->pData, &iDummy, pReader->nElement); n 678 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return NULL; n 680 third_party/sqlite/src/ext/fts2/fts2.c return pReader->pData+n; n 684 third_party/sqlite/src/ext/fts2/fts2.c int n = getVarint(pReader->pData, &iDummy); n 686 third_party/sqlite/src/ext/fts2/fts2.c return pReader->nElement-n; n 700 third_party/sqlite/src/ext/fts2/fts2.c int iDummy, n = getVarintSafe(pReader->pData, &iDocidDelta, pReader->nData); n 701 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 702 third_party/sqlite/src/ext/fts2/fts2.c nTotal += n; n 706 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData+nTotal, &iDummy, n 708 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 709 third_party/sqlite/src/ext/fts2/fts2.c nTotal += n; n 712 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData+nTotal, &iDummy, n 714 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 715 third_party/sqlite/src/ext/fts2/fts2.c nTotal += n; n 717 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData+nTotal, &iDummy, n 719 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 720 third_party/sqlite/src/ext/fts2/fts2.c nTotal += n; n 721 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData+nTotal, &iDummy, n 723 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 724 third_party/sqlite/src/ext/fts2/fts2.c nTotal += n; n 765 third_party/sqlite/src/ext/fts2/fts2.c int n = getVarint(pData, &iDocidDelta); n 770 third_party/sqlite/src/ext/fts2/fts2.c n += getVarint32(pData+n, &iDummy); n 773 third_party/sqlite/src/ext/fts2/fts2.c n += getVarint32(pData+n, &iDummy); n 775 third_party/sqlite/src/ext/fts2/fts2.c n += getVarint32(pData+n, &iDummy); n 776 third_party/sqlite/src/ext/fts2/fts2.c n += getVarint32(pData+n, &iDummy); n 778 third_party/sqlite/src/ext/fts2/fts2.c assert( n<=nData ); n 781 third_party/sqlite/src/ext/fts2/fts2.c assert( n<=nData ); n 782 third_party/sqlite/src/ext/fts2/fts2.c pData += n; n 783 third_party/sqlite/src/ext/fts2/fts2.c nData -= n; n 787 third_party/sqlite/src/ext/fts2/fts2.c #define ASSERT_VALID_DOCLIST(i, p, n, o) docListValidate(i, p, n, o) n 789 third_party/sqlite/src/ext/fts2/fts2.c #define ASSERT_VALID_DOCLIST(i, p, n, o) assert( 1 ) n 877 third_party/sqlite/src/ext/fts2/fts2.c int n = putVarint(c, iDocid-pWriter->iPrevDocid); n 883 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend(pWriter->b, c, n); n 935 third_party/sqlite/src/ext/fts2/fts2.c int i, n, nTotal = 0; n 944 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData, &i, pReader->nData); n 945 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 946 third_party/sqlite/src/ext/fts2/fts2.c nTotal += n; n 948 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData+nTotal, &pReader->iColumn, n 950 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 951 third_party/sqlite/src/ext/fts2/fts2.c nTotal += n; n 954 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData+nTotal, &i, pReader->nData-nTotal); n 955 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 956 third_party/sqlite/src/ext/fts2/fts2.c nTotal += n; n 970 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData+nTotal, &i, pReader->nData-nTotal); n 971 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 972 third_party/sqlite/src/ext/fts2/fts2.c nTotal += n; n 974 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData+nTotal, &i, pReader->nData-nTotal); n 975 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 976 third_party/sqlite/src/ext/fts2/fts2.c nTotal += n; n 1045 third_party/sqlite/src/ext/fts2/fts2.c int n = 0; n 1053 third_party/sqlite/src/ext/fts2/fts2.c n += putVarint(c+n, POS_COLUMN); n 1054 third_party/sqlite/src/ext/fts2/fts2.c n += putVarint(c+n, iColumn); n 1060 third_party/sqlite/src/ext/fts2/fts2.c n += putVarint(c+n, POS_BASE+(iPos-pWriter->iPos)); n 1064 third_party/sqlite/src/ext/fts2/fts2.c n += putVarint(c+n, iStartOffset-pWriter->iOffset); n 1067 third_party/sqlite/src/ext/fts2/fts2.c n += putVarint(c+n, iEndOffset-iStartOffset); n 1069 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend(pWriter->dlw->b, c, n); n 1077 third_party/sqlite/src/ext/fts2/fts2.c int n; n 1083 third_party/sqlite/src/ext/fts2/fts2.c n = putVarint(c, iDocid-pWriter->dlw->iPrevDocid); n 1084 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend(pWriter->dlw->b, c, n); n 1105 third_party/sqlite/src/ext/fts2/fts2.c int n = putVarint(c, POS_END); n 1106 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend(pWriter->dlw->b, c, n); n 1144 third_party/sqlite/src/ext/fts2/fts2.c int n = putVarint(c, POS_END); n 1145 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend2(b, pCollector->b.pData, pCollector->b.nData, c, n); n 1272 third_party/sqlite/src/ext/fts2/fts2.c static void orderedDLReaderReorder(OrderedDLReader *p, int n){ n 1273 third_party/sqlite/src/ext/fts2/fts2.c while( n>1 && orderedDLReaderCmp(p, p+1)>0 ){ n 1277 third_party/sqlite/src/ext/fts2/fts2.c n--; n 1294 third_party/sqlite/src/ext/fts2/fts2.c int i, n; n 1307 third_party/sqlite/src/ext/fts2/fts2.c n = 0; n 1312 third_party/sqlite/src/ext/fts2/fts2.c n += dlrAllDataBytes(&pReaders[i]); n 1317 third_party/sqlite/src/ext/fts2/fts2.c dataBufferExpand(out, n); n 1791 third_party/sqlite/src/ext/fts2/fts2.c static char *string_dup_n(const char *s, int n){ n 1792 third_party/sqlite/src/ext/fts2/fts2.c char *str = sqlite3_malloc(n + 1); n 1793 third_party/sqlite/src/ext/fts2/fts2.c memcpy(str, s, n); n 1794 third_party/sqlite/src/ext/fts2/fts2.c str[n] = '\0'; n 2663 third_party/sqlite/src/ext/fts2/fts2.c short int n; /* Length of the token text in bytes. */ n 2682 third_party/sqlite/src/ext/fts2/fts2.c int n = 1; n 2687 third_party/sqlite/src/ext/fts2/fts2.c while( n>0 ){ n 2688 third_party/sqlite/src/ext/fts2/fts2.c n = getToken(z, &e); n 2691 third_party/sqlite/src/ext/fts2/fts2.c aToken[nToken].n = n; n 2693 third_party/sqlite/src/ext/fts2/fts2.c totalSize += n+1; n 2695 third_party/sqlite/src/ext/fts2/fts2.c z += n; n 2702 third_party/sqlite/src/ext/fts2/fts2.c n = aToken[i].n; n 2703 third_party/sqlite/src/ext/fts2/fts2.c memcpy(zCopy, aToken[i].z, n); n 2704 third_party/sqlite/src/ext/fts2/fts2.c zCopy[n] = 0; n 2705 third_party/sqlite/src/ext/fts2/fts2.c zCopy += n+1; n 2791 third_party/sqlite/src/ext/fts2/fts2.c int n, ttype; n 2793 third_party/sqlite/src/ext/fts2/fts2.c n = getToken(zIn, &ttype); n 2795 third_party/sqlite/src/ext/fts2/fts2.c zIn += n; n 2800 third_party/sqlite/src/ext/fts2/fts2.c zIn[n] = 0; n 2861 third_party/sqlite/src/ext/fts2/fts2.c int i, n; n 2880 third_party/sqlite/src/ext/fts2/fts2.c for(i=n=0; i<argc; i++){ n 2881 third_party/sqlite/src/ext/fts2/fts2.c n += strlen(argv[i]) + 1; n 2883 third_party/sqlite/src/ext/fts2/fts2.c azArg = sqlite3_malloc( sizeof(char*)*argc + n ); n 2944 third_party/sqlite/src/ext/fts2/fts2.c pSpec->azTokenizer = tokenizeString(zTokenizer, &n); n 2989 third_party/sqlite/src/ext/fts2/fts2.c int n; n 3027 third_party/sqlite/src/ext/fts2/fts2.c for(n=0; spec->azTokenizer[n]; n++){} n 3028 third_party/sqlite/src/ext/fts2/fts2.c if( n ){ n 3029 third_party/sqlite/src/ext/fts2/fts2.c rc = m->xCreate(n-1, (const char*const*)&spec->azTokenizer[1], n 4300 third_party/sqlite/src/ext/fts2/fts2.c int n; n 4307 third_party/sqlite/src/ext/fts2/fts2.c n = putVarint(c, iHeight); n 4308 third_party/sqlite/src/ext/fts2/fts2.c n += putVarint(c+n, iChildBlock); n 4310 third_party/sqlite/src/ext/fts2/fts2.c dataBufferReplace(&block->data, c, n); n 4320 third_party/sqlite/src/ext/fts2/fts2.c int n, iDummy; n 4328 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32(pData, &iDummy); n 4329 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); n 4331 third_party/sqlite/src/ext/fts2/fts2.c assert( n<nData ); n 4332 third_party/sqlite/src/ext/fts2/fts2.c pData += n; n 4333 third_party/sqlite/src/ext/fts2/fts2.c nData -= n; n 4336 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint(pData, &iBlockid); n 4337 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); n 4338 third_party/sqlite/src/ext/fts2/fts2.c assert( n<=nData ); n 4339 third_party/sqlite/src/ext/fts2/fts2.c pData += n; n 4340 third_party/sqlite/src/ext/fts2/fts2.c nData -= n; n 4345 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32(pData, &iDummy); n 4346 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); n 4348 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy>0); n 4349 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy<=nData ); n 4350 third_party/sqlite/src/ext/fts2/fts2.c pData += n+iDummy; n 4351 third_party/sqlite/src/ext/fts2/fts2.c nData -= n+iDummy; n 4356 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32(pData, &iDummy); n 4357 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); n 4359 third_party/sqlite/src/ext/fts2/fts2.c assert( n<nData ); n 4360 third_party/sqlite/src/ext/fts2/fts2.c pData += n; n 4361 third_party/sqlite/src/ext/fts2/fts2.c nData -= n; n 4364 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32(pData, &iDummy); n 4365 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); n 4367 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy>0); n 4368 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy<=nData ); n 4369 third_party/sqlite/src/ext/fts2/fts2.c pData += n+iDummy; n 4370 third_party/sqlite/src/ext/fts2/fts2.c nData -= n+iDummy; n 4420 third_party/sqlite/src/ext/fts2/fts2.c int n, nPrefix = 0; n 4431 third_party/sqlite/src/ext/fts2/fts2.c n = putVarint(c, nTerm); n 4438 third_party/sqlite/src/ext/fts2/fts2.c n = putVarint(c, nPrefix); n 4439 third_party/sqlite/src/ext/fts2/fts2.c n += putVarint(c+n, nTerm-nPrefix); n 4450 third_party/sqlite/src/ext/fts2/fts2.c if( pWriter->last->data.nData+n+nTerm-nPrefix>INTERIOR_MAX && n 4458 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend2(&pWriter->last->data, c, n, n 4557 third_party/sqlite/src/ext/fts2/fts2.c int n, nTerm; n 4566 third_party/sqlite/src/ext/fts2/fts2.c n = getVarintSafe(pData+1, &pReader->iBlockid, nData-1); n 4567 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 4568 third_party/sqlite/src/ext/fts2/fts2.c pReader->pData = pData+1+n; n 4569 third_party/sqlite/src/ext/fts2/fts2.c pReader->nData = nData-(1+n); n 4578 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData, &nTerm, pReader->nData); n 4579 third_party/sqlite/src/ext/fts2/fts2.c if( !n || nTerm<0 || nTerm>pReader->nData-n) return SQLITE_CORRUPT_BKPT; n 4581 third_party/sqlite/src/ext/fts2/fts2.c dataBufferReplace(&pReader->term, pReader->pData+n, nTerm); n 4582 third_party/sqlite/src/ext/fts2/fts2.c pReader->pData += n+nTerm; n 4583 third_party/sqlite/src/ext/fts2/fts2.c pReader->nData -= n+nTerm; n 4615 third_party/sqlite/src/ext/fts2/fts2.c int n, nPrefix, nSuffix; n 4617 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData, &nPrefix, pReader->nData); n 4618 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 4619 third_party/sqlite/src/ext/fts2/fts2.c pReader->nData -= n; n 4620 third_party/sqlite/src/ext/fts2/fts2.c pReader->pData += n; n 4621 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData, &nSuffix, pReader->nData); n 4622 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 4623 third_party/sqlite/src/ext/fts2/fts2.c pReader->nData -= n; n 4624 third_party/sqlite/src/ext/fts2/fts2.c pReader->pData += n; n 4646 third_party/sqlite/src/ext/fts2/fts2.c int c, n = nReaderTerm<nTerm ? nReaderTerm : nTerm; n 4648 third_party/sqlite/src/ext/fts2/fts2.c if( n==0 ){ n 4654 third_party/sqlite/src/ext/fts2/fts2.c c = memcmp(pReaderTerm, pTerm, n); n 4656 third_party/sqlite/src/ext/fts2/fts2.c if( isPrefix && n==nTerm ) return 0; n 4723 third_party/sqlite/src/ext/fts2/fts2.c int n, iDummy; n 4731 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32(pData, &iDummy); n 4733 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); n 4734 third_party/sqlite/src/ext/fts2/fts2.c assert( n<nData ); n 4735 third_party/sqlite/src/ext/fts2/fts2.c pData += n; n 4736 third_party/sqlite/src/ext/fts2/fts2.c nData -= n; n 4739 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32(pData, &iDummy); n 4740 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); n 4742 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy>0 ); n 4743 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy<nData ); n 4744 third_party/sqlite/src/ext/fts2/fts2.c pData += n+iDummy; n 4745 third_party/sqlite/src/ext/fts2/fts2.c nData -= n+iDummy; n 4748 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32(pData, &iDummy); n 4749 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); n 4751 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy>0 ); n 4752 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy<=nData ); n 4753 third_party/sqlite/src/ext/fts2/fts2.c ASSERT_VALID_DOCLIST(DL_DEFAULT, pData+n, iDummy, NULL); n 4754 third_party/sqlite/src/ext/fts2/fts2.c pData += n+iDummy; n 4755 third_party/sqlite/src/ext/fts2/fts2.c nData -= n+iDummy; n 4759 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32(pData, &iDummy); n 4760 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); n 4762 third_party/sqlite/src/ext/fts2/fts2.c assert( n<nData ); n 4763 third_party/sqlite/src/ext/fts2/fts2.c pData += n; n 4764 third_party/sqlite/src/ext/fts2/fts2.c nData -= n; n 4765 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32(pData, &iDummy); n 4766 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); n 4768 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy>0 ); n 4769 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy<nData ); n 4770 third_party/sqlite/src/ext/fts2/fts2.c pData += n+iDummy; n 4771 third_party/sqlite/src/ext/fts2/fts2.c nData -= n+iDummy; n 4773 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32(pData, &iDummy); n 4774 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); n 4776 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy>0 ); n 4777 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy<=nData ); n 4778 third_party/sqlite/src/ext/fts2/fts2.c ASSERT_VALID_DOCLIST(DL_DEFAULT, pData+n, iDummy, NULL); n 4779 third_party/sqlite/src/ext/fts2/fts2.c pData += n+iDummy; n 4780 third_party/sqlite/src/ext/fts2/fts2.c nData -= n+iDummy; n 4783 third_party/sqlite/src/ext/fts2/fts2.c #define ASSERT_VALID_LEAF_NODE(p, n) leafNodeValidate(p, n) n 4785 third_party/sqlite/src/ext/fts2/fts2.c #define ASSERT_VALID_LEAF_NODE(p, n) assert( 1 ) n 4796 third_party/sqlite/src/ext/fts2/fts2.c int nStartingTerm, rc, n; n 4813 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32(pWriter->data.pData+iData+1, &nStartingTerm); n 4814 third_party/sqlite/src/ext/fts2/fts2.c pStartingTerm = pWriter->data.pData+iData+1+n; n 4815 third_party/sqlite/src/ext/fts2/fts2.c assert( pWriter->data.nData>iData+1+n+nStartingTerm ); n 4921 third_party/sqlite/src/ext/fts2/fts2.c int n, nPrefix = 0; n 4937 third_party/sqlite/src/ext/fts2/fts2.c n = putVarint(c, '\0'); n 4938 third_party/sqlite/src/ext/fts2/fts2.c n += putVarint(c+n, nTerm); n 4939 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend2(&pWriter->data, c, n, pTerm, nTerm); n 4946 third_party/sqlite/src/ext/fts2/fts2.c n = putVarint(c, nPrefix); n 4947 third_party/sqlite/src/ext/fts2/fts2.c n += putVarint(c+n, nTerm-nPrefix); n 4948 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend2(&pWriter->data, c, n, pTerm+nPrefix, nTerm-nPrefix); n 4964 third_party/sqlite/src/ext/fts2/fts2.c int iData, n = putVarint(c, 0); n 4965 third_party/sqlite/src/ext/fts2/fts2.c n += putVarint(c+n, nTerm); n 4972 third_party/sqlite/src/ext/fts2/fts2.c assert( iDoclistData>=n+nTerm ); n 4974 third_party/sqlite/src/ext/fts2/fts2.c iData = iDoclistData-(n+nTerm); n 4975 third_party/sqlite/src/ext/fts2/fts2.c memcpy(pWriter->data.pData+iData, c, n); n 4976 third_party/sqlite/src/ext/fts2/fts2.c memcpy(pWriter->data.pData+iData+n, pTerm, nTerm); n 4989 third_party/sqlite/src/ext/fts2/fts2.c int i, nData, n, nActualData, nActual, rc, nTermDistinct; n 5005 third_party/sqlite/src/ext/fts2/fts2.c n = putVarint(c, nData); n 5006 third_party/sqlite/src/ext/fts2/fts2.c dataBufferAppend(&pWriter->data, c, n); n 5011 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.pData+iDoclistData+n, n 5012 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.nData-iDoclistData-n, NULL); n 5019 third_party/sqlite/src/ext/fts2/fts2.c nActualData = pWriter->data.nData-(iDoclistData+n); n 5022 third_party/sqlite/src/ext/fts2/fts2.c assert( nActual<=n ); n 5043 third_party/sqlite/src/ext/fts2/fts2.c iDoclistData += n - nActual; n 5059 third_party/sqlite/src/ext/fts2/fts2.c if( nActual<n ){ n 5061 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.pData+iDoclistData+n, n 5062 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.nData-(iDoclistData+n)); n 5063 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.nData -= n-nActual; n 5083 third_party/sqlite/src/ext/fts2/fts2.c n = putVarint(pWriter->data.pData, 0); n 5084 third_party/sqlite/src/ext/fts2/fts2.c n += putVarint(pWriter->data.pData+n, nTerm); n 5085 third_party/sqlite/src/ext/fts2/fts2.c memcpy(pWriter->data.pData+n, pTerm, nTerm); n 5086 third_party/sqlite/src/ext/fts2/fts2.c n += nTerm; n 5091 third_party/sqlite/src/ext/fts2/fts2.c assert( n<iDoclistData ); n 5096 third_party/sqlite/src/ext/fts2/fts2.c assert( n+pWriter->data.nData-iDoclistData<iDoclistData ); n 5097 third_party/sqlite/src/ext/fts2/fts2.c memcpy(pWriter->data.pData+n, n 5100 third_party/sqlite/src/ext/fts2/fts2.c pWriter->data.nData -= iDoclistData-n; n 5163 third_party/sqlite/src/ext/fts2/fts2.c int n, nData; n 5165 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData, &nData, pReader->nData); n 5166 third_party/sqlite/src/ext/fts2/fts2.c if( !n || nData>pReader->nData-n ) return NULL; n 5167 third_party/sqlite/src/ext/fts2/fts2.c return pReader->pData+n; n 5171 third_party/sqlite/src/ext/fts2/fts2.c int nTerm, n; n 5180 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pData+1, &nTerm, nData-1); n 5181 third_party/sqlite/src/ext/fts2/fts2.c if( !n || nTerm<0 || nTerm>nData-1-n ) return SQLITE_CORRUPT_BKPT; n 5183 third_party/sqlite/src/ext/fts2/fts2.c dataBufferReplace(&pReader->term, pData+1+n, nTerm); n 5186 third_party/sqlite/src/ext/fts2/fts2.c pReader->pData = pData+1+n+nTerm; n 5187 third_party/sqlite/src/ext/fts2/fts2.c pReader->nData = nData-1-n-nTerm; n 5193 third_party/sqlite/src/ext/fts2/fts2.c int n, nData, nPrefix, nSuffix; n 5197 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData, &nData, pReader->nData); n 5198 third_party/sqlite/src/ext/fts2/fts2.c if( !n || nData<0 || nData>pReader->nData-n ) return SQLITE_CORRUPT_BKPT; n 5199 third_party/sqlite/src/ext/fts2/fts2.c pReader->pData += n+nData; n 5200 third_party/sqlite/src/ext/fts2/fts2.c pReader->nData -= n+nData; n 5206 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData, &nPrefix, pReader->nData); n 5207 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 5208 third_party/sqlite/src/ext/fts2/fts2.c pReader->nData -= n; n 5209 third_party/sqlite/src/ext/fts2/fts2.c pReader->pData += n; n 5210 third_party/sqlite/src/ext/fts2/fts2.c n = getVarint32Safe(pReader->pData, &nSuffix, pReader->nData); n 5211 third_party/sqlite/src/ext/fts2/fts2.c if( !n ) return SQLITE_CORRUPT_BKPT; n 5212 third_party/sqlite/src/ext/fts2/fts2.c pReader->nData -= n; n 5213 third_party/sqlite/src/ext/fts2/fts2.c pReader->pData += n; n 5230 third_party/sqlite/src/ext/fts2/fts2.c int c, n = pReader->term.nData<nTerm ? pReader->term.nData : nTerm; n 5231 third_party/sqlite/src/ext/fts2/fts2.c if( n==0 ){ n 5237 third_party/sqlite/src/ext/fts2/fts2.c c = memcmp(pReader->term.pData, pTerm, n); n 5239 third_party/sqlite/src/ext/fts2/fts2.c if( isPrefix && n==nTerm ) return 0; n 6145 third_party/sqlite/src/ext/fts2/fts2.c int n = a->nTerm<b->nTerm ? a->nTerm : b->nTerm; n 6146 third_party/sqlite/src/ext/fts2/fts2.c int c = memcmp(a->pTerm, b->pTerm, n); n 6156 third_party/sqlite/src/ext/fts2/fts2.c int idx, rc, i, n; n 6165 third_party/sqlite/src/ext/fts2/fts2.c n = fts2HashCount(pTerms); n 6166 third_party/sqlite/src/ext/fts2/fts2.c pData = sqlite3_malloc(n*sizeof(TermData)); n 6169 third_party/sqlite/src/ext/fts2/fts2.c assert( i<n ); n 6174 third_party/sqlite/src/ext/fts2/fts2.c assert( i==n ); n 6179 third_party/sqlite/src/ext/fts2/fts2.c if( n>1 ) qsort(pData, n, sizeof(*pData), termDataCmp); n 6186 third_party/sqlite/src/ext/fts2/fts2.c for(i=0; i<n; i++){ n 38 third_party/sqlite/src/ext/fts2/fts2_hash.c static void *fts2HashMalloc(int n){ n 39 third_party/sqlite/src/ext/fts2/fts2_hash.c void *p = sqlite3_malloc(n); n 41 third_party/sqlite/src/ext/fts2/fts2_hash.c memset(p, 0, n); n 60 third_party/sqlite/src/ext/fts2/fts2_icu.c int n = 0; n 63 third_party/sqlite/src/ext/fts2/fts2_icu.c n = strlen(argv[0])+1; n 65 third_party/sqlite/src/ext/fts2/fts2_icu.c p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n); n 71 third_party/sqlite/src/ext/fts2/fts2_icu.c if( n ){ n 73 third_party/sqlite/src/ext/fts2/fts2_icu.c memcpy(p->zLocale, argv[0], n); n 602 third_party/sqlite/src/ext/fts2/fts2_porter.c int n = c->iOffset-iStartOffset; n 603 third_party/sqlite/src/ext/fts2/fts2_porter.c if( n>c->nAllocated ){ n 604 third_party/sqlite/src/ext/fts2/fts2_porter.c c->nAllocated = n+20; n 608 third_party/sqlite/src/ext/fts2/fts2_porter.c porter_stemmer(&z[iStartOffset], n, c->zToken, pnBytes); n 79 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c int n = sqlite3_value_bytes(argv[1]); n 80 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c if( n!=sizeof(pPtr) ){ n 77 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c int i, n = strlen(argv[1]); n 78 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c for(i=0; i<n; i++){ n 183 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c int i, n = c->iOffset-iStartOffset; n 184 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c if( n>c->nTokenAllocated ){ n 185 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c c->nTokenAllocated = n+20; n 189 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c for(i=0; i<n; i++){ n 197 third_party/sqlite/src/ext/fts2/fts2_tokenizer1.c *pnBytes = n; n 968 third_party/sqlite/src/ext/fts3/fts3.c int n; n 969 third_party/sqlite/src/ext/fts3/fts3.c z = (char *)sqlite3Fts3NextToken(aCol[iCol], &n); n 970 third_party/sqlite/src/ext/fts3/fts3.c memcpy(zCsr, z, n); n 971 third_party/sqlite/src/ext/fts3/fts3.c zCsr[n] = '\0'; n 974 third_party/sqlite/src/ext/fts3/fts3.c zCsr += n+1; n 1403 third_party/sqlite/src/ext/fts3/fts3.c int n = (int)(pEnd - *ppPoslist); n 1405 third_party/sqlite/src/ext/fts3/fts3.c memcpy(p, *ppPoslist, n); n 1406 third_party/sqlite/src/ext/fts3/fts3.c p += n; n 1441 third_party/sqlite/src/ext/fts3/fts3.c int n = (int)(pEnd - *ppPoslist); n 1443 third_party/sqlite/src/ext/fts3/fts3.c memcpy(p, *ppPoslist, n); n 1444 third_party/sqlite/src/ext/fts3/fts3.c p += n; n 1496 third_party/sqlite/src/ext/fts3/fts3.c int n = 0; /* Number of bytes written */ n 1499 third_party/sqlite/src/ext/fts3/fts3.c n = 1 + sqlite3Fts3PutVarint(&p[1], iCol); n 1501 third_party/sqlite/src/ext/fts3/fts3.c *pp = &p[n]; n 1503 third_party/sqlite/src/ext/fts3/fts3.c return n; n 1538 third_party/sqlite/src/ext/fts3/fts3.c int n = fts3PutColNumber(&p, iCol1); n 1539 third_party/sqlite/src/ext/fts3/fts3.c p1 += n; n 1540 third_party/sqlite/src/ext/fts3/fts3.c p2 += n; n 2267 third_party/sqlite/src/ext/fts3/fts3.c filter.nTerm = pTok->n; n 2421 third_party/sqlite/src/ext/fts3/fts3.c pCsr, pTok->z, pTok->n, pTok->isPrefix, &pTok->pSegcsr n 2659 third_party/sqlite/src/ext/fts3/fts3.c pCsr, pTok->z, pTok->n, pTok->isPrefix, &pTok->pSegcsr n 2973 third_party/sqlite/src/ext/fts3/fts3.c int n = 0; n 2974 third_party/sqlite/src/ext/fts3/fts3.c rc = fts3EvalExpr(pCsr, pCsr->pExpr, &a, &n, 0); n 2975 third_party/sqlite/src/ext/fts3/fts3.c assert( n>=0 ); n 2976 third_party/sqlite/src/ext/fts3/fts3.c *pbRes = (n>0); n 220 third_party/sqlite/src/ext/fts3/fts3Int.h int n; /* Number of bytes in buffer z */ n 260 third_party/sqlite/src/ext/fts3/fts3_aux.c int n = (pCsr->nStop<pCsr->csr.nTerm) ? pCsr->nStop : pCsr->csr.nTerm; n 261 third_party/sqlite/src/ext/fts3/fts3_aux.c int mc = memcmp(pCsr->zStop, pCsr->csr.zTerm, n); n 136 third_party/sqlite/src/ext/fts3/fts3_expr.c const char *z, int n, /* Input string */ n 147 third_party/sqlite/src/ext/fts3/fts3_expr.c rc = pModule->xOpen(pTokenizer, z, n, &pCursor); n 166 third_party/sqlite/src/ext/fts3/fts3_expr.c pRet->pPhrase->aToken[0].n = nToken; n 170 third_party/sqlite/src/ext/fts3/fts3_expr.c if( iEnd<n && z[iEnd]=='*' ){ n 249 third_party/sqlite/src/ext/fts3/fts3_expr.c p->pPhrase->aToken[ii].n = nToken; n 283 third_party/sqlite/src/ext/fts3/fts3_expr.c nNew += p->pPhrase->aToken[jj].n; n 320 third_party/sqlite/src/ext/fts3/fts3_expr.c const char *z, int n, /* Input string */ n 326 third_party/sqlite/src/ext/fts3/fts3_expr.c unsigned char n; /* Length of the keyword */ n 342 third_party/sqlite/src/ext/fts3/fts3_expr.c int nInput = n; n 363 third_party/sqlite/src/ext/fts3/fts3_expr.c if( nInput>=pKey->n && 0==memcmp(zInput, pKey->z, pKey->n) ){ n 365 third_party/sqlite/src/ext/fts3/fts3_expr.c int nKey = pKey->n; n 464 third_party/sqlite/src/ext/fts3/fts3_expr.c rc = getNextToken(pParse, iCol, &z[iColLen], n-iColLen, ppExpr, pnConsumed); n 542 third_party/sqlite/src/ext/fts3/fts3_expr.c const char *z, int n, /* Text of MATCH query */ n 549 third_party/sqlite/src/ext/fts3/fts3_expr.c int nIn = n; n 667 third_party/sqlite/src/ext/fts3/fts3_expr.c *pnConsumed = n - nIn; n 708 third_party/sqlite/src/ext/fts3/fts3_expr.c const char *z, int n, /* Text of MATCH query */ n 723 third_party/sqlite/src/ext/fts3/fts3_expr.c if( n<0 ){ n 724 third_party/sqlite/src/ext/fts3/fts3_expr.c n = (int)strlen(z); n 726 third_party/sqlite/src/ext/fts3/fts3_expr.c rc = fts3ExprParse(&sParse, z, n, ppExpr, &nParsed); n 806 third_party/sqlite/src/ext/fts3/fts3_expr.c pPhrase->aToken[i].n, pPhrase->aToken[i].z, n 38 third_party/sqlite/src/ext/fts3/fts3_hash.c static void *fts3HashMalloc(int n){ n 39 third_party/sqlite/src/ext/fts3/fts3_hash.c void *p = sqlite3_malloc(n); n 41 third_party/sqlite/src/ext/fts3/fts3_hash.c memset(p, 0, n); n 60 third_party/sqlite/src/ext/fts3/fts3_icu.c int n = 0; n 63 third_party/sqlite/src/ext/fts3/fts3_icu.c n = strlen(argv[0])+1; n 65 third_party/sqlite/src/ext/fts3/fts3_icu.c p = (IcuTokenizer *)sqlite3_malloc(sizeof(IcuTokenizer)+n); n 71 third_party/sqlite/src/ext/fts3/fts3_icu.c if( n ){ n 73 third_party/sqlite/src/ext/fts3/fts3_icu.c memcpy(p->zLocale, argv[0], n); n 605 third_party/sqlite/src/ext/fts3/fts3_porter.c int n = c->iOffset-iStartOffset; n 606 third_party/sqlite/src/ext/fts3/fts3_porter.c if( n>c->nAllocated ){ n 608 third_party/sqlite/src/ext/fts3/fts3_porter.c c->nAllocated = n+20; n 613 third_party/sqlite/src/ext/fts3/fts3_porter.c porter_stemmer(&z[iStartOffset], n, c->zToken, pnBytes); n 104 third_party/sqlite/src/ext/fts3/fts3_snippet.c int n; /* Length of z in bytes (excl. nul-term) */ n 546 third_party/sqlite/src/ext/fts3/fts3_snippet.c if( pStr->n+nAppend+1>=pStr->nAlloc ){ n 557 third_party/sqlite/src/ext/fts3/fts3_snippet.c memcpy(&pStr->z[pStr->n], zAppend, nAppend); n 558 third_party/sqlite/src/ext/fts3/fts3_snippet.c pStr->n += nAppend; n 559 third_party/sqlite/src/ext/fts3/fts3_snippet.c pStr->z[pStr->n] = '\0'; n 710 third_party/sqlite/src/ext/fts3/fts3_snippet.c int n = nDoc - iBegin; n 711 third_party/sqlite/src/ext/fts3/fts3_snippet.c rc = fts3SnippetShift(pTab, nSnippet, &zDoc[iBegin], n, &iPos, &hlmask); n 1576 third_party/sqlite/src/ext/fts3/fts3_snippet.c sqlite3_result_text(pCtx, res.z, res.n-1, sqlite3_free); n 1620 third_party/sqlite/src/ext/fts3/fts3_snippet.c int n = pCsr->nMatchinfo * sizeof(u32); n 1621 third_party/sqlite/src/ext/fts3/fts3_snippet.c sqlite3_result_blob(pContext, pCsr->aMatchinfo, n, SQLITE_TRANSIENT); n 76 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c int n = sqlite3_value_bytes(argv[1]); n 77 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c if( n!=sizeof(pPtr) ){ n 159 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c int n; n 168 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c z = (char *)sqlite3Fts3NextToken(zCopy, &n); n 169 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c z[n] = '\0'; n 179 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c z = &z[n+1]; n 180 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c while( z<zEnd && (NULL!=(z = (char *)sqlite3Fts3NextToken(z, &n))) ){ n 190 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c z[n] = '\0'; n 192 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c z = &z[n+1]; n 78 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c int i, n = (int)strlen(argv[1]); n 79 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c for(i=0; i<n; i++){ n 185 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c int i, n = c->iOffset-iStartOffset; n 186 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c if( n>c->nTokenAllocated ){ n 188 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c c->nTokenAllocated = n+20; n 193 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c for(i=0; i<n; i++){ n 201 third_party/sqlite/src/ext/fts3/fts3_tokenizer1.c *pnBytes = n; n 1005 third_party/sqlite/src/ext/fts3/fts3_write.c int n; n 1008 third_party/sqlite/src/ext/fts3/fts3_write.c n = sqlite3Fts3GetVarint(pReader->aDoclist, &pReader->iDocid); n 1009 third_party/sqlite/src/ext/fts3/fts3_write.c pReader->pOffsetList = &pReader->aDoclist[n]; n 1221 third_party/sqlite/src/ext/fts3/fts3_write.c int n = (n1<n2 ? n1 : n2); n 1222 third_party/sqlite/src/ext/fts3/fts3_write.c int c = memcmp(z1, z2, n); n 1434 third_party/sqlite/src/ext/fts3/fts3_write.c int n /* Size of buffer z in bytes */ n 1440 third_party/sqlite/src/ext/fts3/fts3_write.c sqlite3_bind_blob(pStmt, 2, z, n, SQLITE_STATIC); n 1489 third_party/sqlite/src/ext/fts3/fts3_write.c int n; n 1491 third_party/sqlite/src/ext/fts3/fts3_write.c for(n=0; n<nPrev && zPrev[n]==zNext[n]; n++); n 1492 third_party/sqlite/src/ext/fts3/fts3_write.c return n; n 2578 third_party/sqlite/src/ext/fts3/fts3_write.c && (pPT->n==nToken || (pPT->isPrefix && pPT->n<nToken)) n 2579 third_party/sqlite/src/ext/fts3/fts3_write.c && (0==memcmp(zToken, pPT->z, pPT->n)) n 68 third_party/sqlite/src/src/alter.c tname.n = len; n 81 third_party/sqlite/src/src/alter.c zTableName, tname.z+tname.n); n 115 third_party/sqlite/src/src/alter.c int n; /* Length of token z */ n 119 third_party/sqlite/src/src/alter.c for(z=zInput; *z; z=z+n){ n 120 third_party/sqlite/src/src/alter.c n = sqlite3GetToken(z, &token); n 124 third_party/sqlite/src/src/alter.c z += n; n 125 third_party/sqlite/src/src/alter.c n = sqlite3GetToken(z, &token); n 128 third_party/sqlite/src/src/alter.c zParent = sqlite3DbStrNDup(db, (const char *)z, n); n 137 third_party/sqlite/src/src/alter.c zInput = &z[n]; n 190 third_party/sqlite/src/src/alter.c tname.n = len; n 220 third_party/sqlite/src/src/alter.c zTableName, tname.z+tname.n); n 703 third_party/sqlite/src/src/alter.c zCol = sqlite3DbStrNDup(db, (char*)pColDef->z, pColDef->n); n 705 third_party/sqlite/src/src/alter.c char *zEnd = &zCol[pColDef->n-1]; n 461 third_party/sqlite/src/src/analyze.c }else if( pName2->n==0 ){ n 520 third_party/sqlite/src/src/analyze.c int i, c, n; n 539 third_party/sqlite/src/src/analyze.c n = pIndex ? pIndex->nColumn : 0; n 541 third_party/sqlite/src/src/analyze.c for(i=0; *z && i<=n; i++){ n 688 third_party/sqlite/src/src/analyze.c int n = sqlite3_column_bytes(pStmt, 2); n 689 third_party/sqlite/src/src/analyze.c if( n>24 ){ n 690 third_party/sqlite/src/src/analyze.c n = 24; n 692 third_party/sqlite/src/src/analyze.c pSample->nByte = (u8)n; n 693 third_party/sqlite/src/src/analyze.c if( n < 1){ n 696 third_party/sqlite/src/src/analyze.c pSample->u.z = sqlite3DbStrNDup(0, z, n); n 891 third_party/sqlite/src/src/btree.c u16 n; /* Number bytes in cell content header */ n 898 third_party/sqlite/src/src/btree.c n = pPage->childPtrSize; n 899 third_party/sqlite/src/src/btree.c assert( n==4-4*pPage->leaf ); n 902 third_party/sqlite/src/src/btree.c n += getVarint32(&pCell[n], nPayload); n 906 third_party/sqlite/src/src/btree.c n += getVarint(&pCell[n], (u64*)&pInfo->nKey); n 910 third_party/sqlite/src/src/btree.c n += getVarint32(&pCell[n], nPayload); n 914 third_party/sqlite/src/src/btree.c pInfo->nHeader = n; n 921 third_party/sqlite/src/src/btree.c if( (pInfo->nSize = (u16)(n+nPayload))<4 ) pInfo->nSize = 4; n 948 third_party/sqlite/src/src/btree.c pInfo->iOverflow = (u16)(pInfo->nLocal + n); n 2191 third_party/sqlite/src/src/btree.c int n; n 2193 third_party/sqlite/src/src/btree.c n = p->pBt->pageSize - p->pBt->usableSize; n 2195 third_party/sqlite/src/src/btree.c return n; n 2204 third_party/sqlite/src/src/btree.c int n; n 2206 third_party/sqlite/src/src/btree.c n = sqlite3PagerMaxPageCount(p->pBt->pPager, mxPage); n 2208 third_party/sqlite/src/src/btree.c return n; n 4756 third_party/sqlite/src/src/btree.c u32 n; /* Number of pages on the freelist */ n 4765 third_party/sqlite/src/src/btree.c n = get4byte(&pPage1->aData[36]); n 4766 third_party/sqlite/src/src/btree.c testcase( n==mxPage-1 ); n 4767 third_party/sqlite/src/src/btree.c if( n>=mxPage ){ n 4770 third_party/sqlite/src/src/btree.c if( n>0 ){ n 4798 third_party/sqlite/src/src/btree.c put4byte(&pPage1->aData[36], n-1); n 4836 third_party/sqlite/src/src/btree.c TRACE(("ALLOCATE: %d trunk - %d free pages left\n", *pPgno, n-1)); n 4900 third_party/sqlite/src/src/btree.c TRACE(("ALLOCATE: %d trunk - %d free pages left\n", *pPgno, n-1)); n 4935 third_party/sqlite/src/src/btree.c *pPgno, closest+1, k, pTrunk->pgno, n-1)); n 5238 third_party/sqlite/src/src/btree.c int nSrc, n, rc; n 5345 third_party/sqlite/src/src/btree.c n = nPayload; n 5346 third_party/sqlite/src/src/btree.c if( n>spaceLeft ) n = spaceLeft; n 5358 third_party/sqlite/src/src/btree.c if( n>nSrc ) n = nSrc; n 5360 third_party/sqlite/src/src/btree.c memcpy(pPayload, pSrc, n); n 5362 third_party/sqlite/src/src/btree.c memset(pPayload, 0, n); n 5364 third_party/sqlite/src/src/btree.c nPayload -= n; n 5365 third_party/sqlite/src/src/btree.c pPayload += n; n 5366 third_party/sqlite/src/src/btree.c pSrc += n; n 5367 third_party/sqlite/src/src/btree.c nSrc -= n; n 5368 third_party/sqlite/src/src/btree.c spaceLeft -= n; n 5695 third_party/sqlite/src/src/btree.c Pgno n; n 5709 third_party/sqlite/src/src/btree.c ptrmapGet(pBt, ovfl, &e, &n); n 5710 third_party/sqlite/src/src/btree.c assert( n==pPage->pgno && e==PTRMAP_OVERFLOW1 ); n 5714 third_party/sqlite/src/src/btree.c ptrmapGet(pBt, child, &e, &n); n 5715 third_party/sqlite/src/src/btree.c assert( n==pPage->pgno && e==PTRMAP_BTREE ); n 5720 third_party/sqlite/src/src/btree.c ptrmapGet(pBt, child, &e, &n); n 5721 third_party/sqlite/src/src/btree.c assert( n==pPage->pgno && e==PTRMAP_BTREE ); n 6849 third_party/sqlite/src/src/btree.c Pgno n = pCur->apPage[iCellDepth+1]->pgno; n 6860 third_party/sqlite/src/src/btree.c insertCell(pPage, iCellIdx, pCell-4, nCell+4, pTmp, n, &rc); n 7513 third_party/sqlite/src/src/btree.c int n = get4byte(&pOvflData[4]); n 7519 third_party/sqlite/src/src/btree.c if( n>(int)pCheck->pBt->usableSize/4-2 ){ n 7524 third_party/sqlite/src/src/btree.c for(i=0; i<n; i++){ n 7533 third_party/sqlite/src/src/btree.c N -= n; n 586 third_party/sqlite/src/src/build.c zName = sqlite3DbStrNDup(db, (char*)pName->z, pName->n); n 618 third_party/sqlite/src/src/build.c int n = sqlite3Strlen30(zName); n 620 third_party/sqlite/src/src/build.c if( (!OMIT_TEMPDB || i!=1 ) && n==sqlite3Strlen30(pDb->zName) && n 669 third_party/sqlite/src/src/build.c if( ALWAYS(pName2!=0) && pName2->n>0 ){ n 758 third_party/sqlite/src/src/build.c if( !OMIT_TEMPDB && isTemp && pName2->n>0 && iDb!=1 ){ n 1325 third_party/sqlite/src/src/build.c int n; n 1326 third_party/sqlite/src/src/build.c for(n=0; *z; n++, z++){ n 1327 third_party/sqlite/src/src/build.c if( *z=='"' ){ n++; } n 1329 third_party/sqlite/src/src/build.c return n + 2; n 1374 third_party/sqlite/src/src/build.c int i, k, n; n 1378 third_party/sqlite/src/src/build.c n = 0; n 1380 third_party/sqlite/src/src/build.c n += identLength(pCol->zName) + 5; n 1382 third_party/sqlite/src/src/build.c n += identLength(p->zName); n 1383 third_party/sqlite/src/src/build.c if( n<50 ){ n 1392 third_party/sqlite/src/src/build.c n += 35 + 6*p->nCol; n 1393 third_party/sqlite/src/src/build.c zStmt = sqlite3DbMallocRaw(0, n); n 1398 third_party/sqlite/src/src/build.c sqlite3_snprintf(n, zStmt, "CREATE TABLE "); n 1413 third_party/sqlite/src/src/build.c sqlite3_snprintf(n-k, &zStmt[k], zSep); n 1431 third_party/sqlite/src/src/build.c assert( k<=n ); n 1433 third_party/sqlite/src/src/build.c sqlite3_snprintf(n-k, &zStmt[k], "%s", zEnd); n 1516 third_party/sqlite/src/src/build.c int n; n 1582 third_party/sqlite/src/src/build.c n = (int)(pEnd->z - pParse->sNameToken.z) + 1; n 1584 third_party/sqlite/src/src/build.c "CREATE %s %.*s", zType2, n, pParse->sNameToken.z n 1675 third_party/sqlite/src/src/build.c int n; n 1722 third_party/sqlite/src/src/build.c sEnd.z += sEnd.n; n 1724 third_party/sqlite/src/src/build.c sEnd.n = 0; n 1725 third_party/sqlite/src/src/build.c n = (int)(sEnd.z - pBegin->z); n 1727 third_party/sqlite/src/src/build.c while( ALWAYS(n>0) && sqlite3Isspace(z[n-1]) ){ n--; } n 1728 third_party/sqlite/src/src/build.c sEnd.z = &z[n-1]; n 1729 third_party/sqlite/src/src/build.c sEnd.n = 1; n 1747 third_party/sqlite/src/src/build.c int n; /* Temporarily holds the number of cursors assigned */ n 1798 third_party/sqlite/src/src/build.c n = pParse->nTab; n 1811 third_party/sqlite/src/src/build.c pParse->nTab = n; n 2204 third_party/sqlite/src/src/build.c nByte = sizeof(*pFKey) + (nCol-1)*sizeof(pFKey->aCol[0]) + pTo->n + 1; n 2218 third_party/sqlite/src/src/build.c memcpy(z, pTo->z, pTo->n); n 2219 third_party/sqlite/src/src/build.c z[pTo->n] = 0; n 2221 third_party/sqlite/src/src/build.c z += pTo->n+1; n 2244 third_party/sqlite/src/src/build.c int n = sqlite3Strlen30(pToCol->a[i].zName); n 2246 third_party/sqlite/src/src/build.c memcpy(z, pToCol->a[i].zName, n); n 2247 third_party/sqlite/src/src/build.c z[n] = 0; n 2248 third_party/sqlite/src/src/build.c z += n+1; n 2452 third_party/sqlite/src/src/build.c if( pName2->n==0 && pTab && pTab->pSchema==db->aDb[1].pSchema ){ n 2532 third_party/sqlite/src/src/build.c int n; n 2534 third_party/sqlite/src/src/build.c for(pLoop=pTab->pIndex, n=1; pLoop; pLoop=pLoop->pNext, n++){} n 2535 third_party/sqlite/src/src/build.c zName = sqlite3MPrintf(db, "sqlite_autoindex_%s_%d", pTab->zName, n); n 2563 third_party/sqlite/src/src/build.c nullId.n = sqlite3Strlen30((char*)nullId.z); n 2885 third_party/sqlite/src/src/build.c unsigned n; n 2889 third_party/sqlite/src/src/build.c n = 10; n 2891 third_party/sqlite/src/src/build.c a[i] = n; n 2892 third_party/sqlite/src/src/build.c if( n>5 ) n--; n 3284 third_party/sqlite/src/src/build.c if( pAlias->n ){ n 3309 third_party/sqlite/src/src/build.c if( pIndexedBy->n==1 && !pIndexedBy->z ){ n 369 third_party/sqlite/src/src/ctime.c int i, n; n 371 third_party/sqlite/src/src/ctime.c n = sqlite3Strlen30(zOptName); n 376 third_party/sqlite/src/src/ctime.c if( (sqlite3StrNICmp(zOptName, azCompileOpt[i], n)==0) n 377 third_party/sqlite/src/src/ctime.c && ( (azCompileOpt[i][n]==0) || (azCompileOpt[i][n]=='=') ) ) return 1; n 508 third_party/sqlite/src/src/date.c int n; n 512 third_party/sqlite/src/src/date.c for(n=0; n<ArraySize(zBuf)-1 && zMod[n]; n++){ n 513 third_party/sqlite/src/src/date.c z[n] = (char)sqlite3UpperToLower[(u8)zMod[n]]; n 515 third_party/sqlite/src/src/date.c z[n] = 0; n 568 third_party/sqlite/src/src/date.c && (n=(int)r)==r && n>=0 && r<7 ){ n 575 third_party/sqlite/src/src/date.c if( Z>n ) Z -= 7; n 576 third_party/sqlite/src/src/date.c p->iJD += (n - Z)*86400000; n 623 third_party/sqlite/src/src/date.c for(n=1; z[n] && z[n]!=':' && !sqlite3Isspace(z[n]); n++){} n 624 third_party/sqlite/src/src/date.c if( !sqlite3AtoF(z, &r, n, SQLITE_UTF8) ){ n 628 third_party/sqlite/src/src/date.c if( z[n]==':' ){ n 651 third_party/sqlite/src/src/date.c z += n; n 653 third_party/sqlite/src/src/date.c n = sqlite3Strlen30(z); n 654 third_party/sqlite/src/src/date.c if( n>10 || n<3 ) break; n 655 third_party/sqlite/src/src/date.c if( z[n-1]=='s' ){ z[n-1] = 0; n--; } n 659 third_party/sqlite/src/src/date.c if( n==3 && strcmp(z,"day")==0 ){ n 661 third_party/sqlite/src/src/date.c }else if( n==4 && strcmp(z,"hour")==0 ){ n 663 third_party/sqlite/src/src/date.c }else if( n==6 && strcmp(z,"minute")==0 ){ n 665 third_party/sqlite/src/src/date.c }else if( n==6 && strcmp(z,"second")==0 ){ n 667 third_party/sqlite/src/src/date.c }else if( n==5 && strcmp(z,"month")==0 ){ n 680 third_party/sqlite/src/src/date.c }else if( n==4 && strcmp(z,"year")==0 ){ n 847 third_party/sqlite/src/src/date.c u64 n; n 855 third_party/sqlite/src/src/date.c for(i=0, n=1; zFmt[i]; i++, n++){ n 864 third_party/sqlite/src/src/date.c n++; n 870 third_party/sqlite/src/src/date.c n += 8; n 873 third_party/sqlite/src/src/date.c n += 3; n 876 third_party/sqlite/src/src/date.c n += 8; n 880 third_party/sqlite/src/src/date.c n += 50; n 888 third_party/sqlite/src/src/date.c testcase( n==sizeof(zBuf)-1 ); n 889 third_party/sqlite/src/src/date.c testcase( n==sizeof(zBuf) ); n 890 third_party/sqlite/src/src/date.c testcase( n==(u64)db->aLimit[SQLITE_LIMIT_LENGTH]+1 ); n 891 third_party/sqlite/src/src/date.c testcase( n==(u64)db->aLimit[SQLITE_LIMIT_LENGTH] ); n 892 third_party/sqlite/src/src/date.c if( n<sizeof(zBuf) ){ n 894 third_party/sqlite/src/src/date.c }else if( n>(u64)db->aLimit[SQLITE_LIMIT_LENGTH] ){ n 898 third_party/sqlite/src/src/date.c z = sqlite3DbMallocRaw(db, (int)n); n 391 third_party/sqlite/src/src/expr.c nExtra = pToken->n+1; n 406 third_party/sqlite/src/src/expr.c memcpy(pNew->u.zToken, pToken->z, pToken->n); n 407 third_party/sqlite/src/src/expr.c pNew->u.zToken[pToken->n] = 0; n 433 third_party/sqlite/src/src/expr.c x.n = zToken ? sqlite3Strlen30(zToken) : 0; n 994 third_party/sqlite/src/src/expr.c int n = pList->nAlloc*2 + 4; n 995 third_party/sqlite/src/src/expr.c a = sqlite3DbRealloc(db, pList->a, n*sizeof(pList->a[0])); n 1037 third_party/sqlite/src/src/expr.c pItem->zName = sqlite3DbStrNDup(pParse->db, pName->z, pName->n); n 2328 third_party/sqlite/src/src/expr.c int n; n 2335 third_party/sqlite/src/src/expr.c n = sqlite3Strlen30(z) - 1; n 2336 third_party/sqlite/src/src/expr.c assert( z[n]=='\'' ); n 2337 third_party/sqlite/src/src/expr.c zBlob = sqlite3HexToBlob(sqlite3VdbeDb(v), z, n); n 2338 third_party/sqlite/src/src/expr.c sqlite3VdbeAddOp4(v, OP_Blob, n/2, target, 0, zBlob, P4_DYNAMIC); n 3077 third_party/sqlite/src/src/expr.c int i, n; n 3081 third_party/sqlite/src/src/expr.c n = pList->nExpr; n 3082 third_party/sqlite/src/src/expr.c for(pItem=pList->a, i=0; i<n; i++, pItem++){ n 3090 third_party/sqlite/src/src/expr.c return n; n 3577 third_party/sqlite/src/src/expr.c int j, n; n 3580 third_party/sqlite/src/src/expr.c n = pGB->nExpr; n 3581 third_party/sqlite/src/src/expr.c for(j=0; j<n; j++, pTerm++){ n 3736 third_party/sqlite/src/src/expr.c int i, n; n 3738 third_party/sqlite/src/src/expr.c n = pParse->nRangeReg; n 3739 third_party/sqlite/src/src/expr.c if( nReg<=n ){ n 3740 third_party/sqlite/src/src/expr.c assert( !usedAsColumnCache(pParse, i, i+n-1) ); n 983 third_party/sqlite/src/src/fkey.c tToCol.n = sqlite3Strlen30(tToCol.z); n 984 third_party/sqlite/src/src/fkey.c tFromCol.n = sqlite3Strlen30(tFromCol.z); n 1049 third_party/sqlite/src/src/fkey.c tFrom.n = nFrom; n 1075 third_party/sqlite/src/src/fkey.c pStep->target.n = nFrom; n 262 third_party/sqlite/src/src/func.c int n = 0; n 268 third_party/sqlite/src/src/func.c n = sqlite3_value_int(argv[1]); n 269 third_party/sqlite/src/src/func.c if( n>30 ) n = 30; n 270 third_party/sqlite/src/src/func.c if( n<0 ) n = 0; n 278 third_party/sqlite/src/src/func.c if( n==0 && r>=0 && r<LARGEST_INT64-1 ){ n 280 third_party/sqlite/src/src/func.c }else if( n==0 && r<0 && (-r)<LARGEST_INT64-1 ){ n 283 third_party/sqlite/src/src/func.c zBuf = sqlite3_mprintf("%.*f",n,r); n 326 third_party/sqlite/src/src/func.c int i, n; n 329 third_party/sqlite/src/src/func.c n = sqlite3_value_bytes(argv[0]); n 333 third_party/sqlite/src/src/func.c z1 = contextMalloc(context, ((i64)n)+1); n 335 third_party/sqlite/src/src/func.c memcpy(z1, z2, n+1); n 346 third_party/sqlite/src/src/func.c int i, n; n 349 third_party/sqlite/src/src/func.c n = sqlite3_value_bytes(argv[0]); n 353 third_party/sqlite/src/src/func.c z1 = contextMalloc(context, ((i64)n)+1); n 355 third_party/sqlite/src/src/func.c memcpy(z1, z2, n+1); n 427 third_party/sqlite/src/src/func.c int n; n 431 third_party/sqlite/src/src/func.c n = sqlite3_value_int(argv[0]); n 432 third_party/sqlite/src/src/func.c if( n<1 ){ n 433 third_party/sqlite/src/src/func.c n = 1; n 435 third_party/sqlite/src/src/func.c p = contextMalloc(context, n); n 437 third_party/sqlite/src/src/func.c sqlite3_randomness(n, p); n 438 third_party/sqlite/src/src/func.c sqlite3_result_blob(context, (char*)p, n, sqlite3_free); n 812 third_party/sqlite/src/src/func.c int n; n 818 third_party/sqlite/src/src/func.c n = sqlite3_value_int(argv[0]); n 819 third_party/sqlite/src/src/func.c sqlite3_result_text(context, sqlite3_compileoption_get(n), -1, SQLITE_STATIC); n 873 third_party/sqlite/src/src/func.c u64 n; n 878 third_party/sqlite/src/src/func.c for(i=0, n=0; zArg[i]; i++){ if( zArg[i]=='\'' ) n++; } n 879 third_party/sqlite/src/src/func.c z = contextMalloc(context, ((i64)i)+((i64)n)+3); n 911 third_party/sqlite/src/src/func.c int i, n; n 917 third_party/sqlite/src/src/func.c n = sqlite3_value_bytes(argv[0]); n 919 third_party/sqlite/src/src/func.c z = zHex = contextMalloc(context, ((i64)n)*2 + 1); n 921 third_party/sqlite/src/src/func.c for(i=0; i<n; i++, pBlob++){ n 927 third_party/sqlite/src/src/func.c sqlite3_result_text(context, zHex, n*2, sqlite3_free); n 939 third_party/sqlite/src/src/func.c i64 n; n 943 third_party/sqlite/src/src/func.c n = sqlite3_value_int64(argv[0]); n 944 third_party/sqlite/src/src/func.c testcase( n==db->aLimit[SQLITE_LIMIT_LENGTH] ); n 945 third_party/sqlite/src/src/func.c testcase( n==db->aLimit[SQLITE_LIMIT_LENGTH]+1 ); n 946 third_party/sqlite/src/src/func.c if( n>db->aLimit[SQLITE_LIMIT_LENGTH] ){ n 949 third_party/sqlite/src/src/func.c sqlite3_result_zeroblob(context, (int)n); /* IMP: R-00293-64994 */ n 1284 third_party/sqlite/src/src/func.c i64 n; n 1294 third_party/sqlite/src/src/func.c p->n++; n 1302 third_party/sqlite/src/src/func.c assert( argc==1 || p==0 || p->n>0x7fffffff n 1303 third_party/sqlite/src/src/func.c || p->n==sqlite3_aggregate_count(context) ); n 1309 third_party/sqlite/src/src/func.c sqlite3_result_int64(context, p ? p->n : 0); n 67 third_party/sqlite/src/src/insert.c int n; n 75 third_party/sqlite/src/src/insert.c for(n=0; n<pIdx->nColumn; n++){ n 76 third_party/sqlite/src/src/insert.c pIdx->zColAff[n] = pTab->aCol[pIdx->aiColumn[n]].affinity; n 78 third_party/sqlite/src/src/insert.c pIdx->zColAff[n++] = SQLITE_AFF_NONE; n 79 third_party/sqlite/src/src/insert.c pIdx->zColAff[n] = 0; n 565 third_party/sqlite/src/src/main.c static int allSpaces(const char *z, int n){ n 566 third_party/sqlite/src/src/main.c while( n>0 && z[n-1]==' ' ){ n--; } n 567 third_party/sqlite/src/src/main.c return n==0; n 582 third_party/sqlite/src/src/main.c int rc, n; n 583 third_party/sqlite/src/src/main.c n = nKey1<nKey2 ? nKey1 : nKey2; n 584 third_party/sqlite/src/src/main.c rc = memcmp(pKey1, pKey2, n); n 587 third_party/sqlite/src/src/main.c && allSpaces(((char*)pKey1)+n, nKey1-n) n 588 third_party/sqlite/src/src/main.c && allSpaces(((char*)pKey2)+n, nKey2-n) n 2635 third_party/sqlite/src/src/main.c int n = sqlite3Strlen30(zWord); n 2636 third_party/sqlite/src/src/main.c rc = (sqlite3KeywordCode((u8*)zWord, n)!=TK_ID) ? SQLITE_N_KEYWORD : 0; n 23 third_party/sqlite/src/src/malloc.c int sqlite3_release_memory(int n){ n 25 third_party/sqlite/src/src/malloc.c return sqlite3PcacheReleaseMemory(n); n 30 third_party/sqlite/src/src/malloc.c UNUSED_PARAMETER(n); n 129 third_party/sqlite/src/src/malloc.c sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 n){ n 138 third_party/sqlite/src/src/malloc.c if( n<0 ) return priorLimit; n 139 third_party/sqlite/src/src/malloc.c if( n>0 ){ n 140 third_party/sqlite/src/src/malloc.c sqlite3MemoryAlarm(softHeapLimitEnforcer, 0, n); n 144 third_party/sqlite/src/src/malloc.c excess = sqlite3_memory_used() - n; n 148 third_party/sqlite/src/src/malloc.c void sqlite3_soft_heap_limit(int n){ n 149 third_party/sqlite/src/src/malloc.c if( n<0 ) n = 0; n 150 third_party/sqlite/src/src/malloc.c sqlite3_soft_heap_limit64(n); n 166 third_party/sqlite/src/src/malloc.c int i, n, sz; n 171 third_party/sqlite/src/src/malloc.c n = sqlite3GlobalConfig.nScratch; n 173 third_party/sqlite/src/src/malloc.c mem0.nScratchFree = n; n 174 third_party/sqlite/src/src/malloc.c for(i=0; i<n-1; i++){ n 218 third_party/sqlite/src/src/malloc.c int n, mx; n 220 third_party/sqlite/src/src/malloc.c sqlite3_status(SQLITE_STATUS_MEMORY_USED, &n, &mx, 0); n 221 third_party/sqlite/src/src/malloc.c res = (sqlite3_int64)n; /* Work around bug in Borland C. Ticket #3216 */ n 231 third_party/sqlite/src/src/malloc.c int n, mx; n 233 third_party/sqlite/src/src/malloc.c sqlite3_status(SQLITE_STATUS_MEMORY_USED, &n, &mx, resetFlag); n 261 third_party/sqlite/src/src/malloc.c static int mallocWithAlarm(int n, void **pp){ n 265 third_party/sqlite/src/src/malloc.c nFull = sqlite3GlobalConfig.m.xRoundup(n); n 266 third_party/sqlite/src/src/malloc.c sqlite3StatusSet(SQLITE_STATUS_MALLOC_SIZE, n); n 296 third_party/sqlite/src/src/malloc.c void *sqlite3Malloc(int n){ n 298 third_party/sqlite/src/src/malloc.c if( n<=0 /* IMP: R-65312-04917 */ n 299 third_party/sqlite/src/src/malloc.c || n>=0x7fffff00 n 309 third_party/sqlite/src/src/malloc.c mallocWithAlarm(n, &p); n 312 third_party/sqlite/src/src/malloc.c p = sqlite3GlobalConfig.m.xMalloc(n); n 323 third_party/sqlite/src/src/malloc.c void *sqlite3_malloc(int n){ n 327 third_party/sqlite/src/src/malloc.c return sqlite3Malloc(n); n 349 third_party/sqlite/src/src/malloc.c void *sqlite3ScratchMalloc(int n){ n 351 third_party/sqlite/src/src/malloc.c assert( n>0 ); n 354 third_party/sqlite/src/src/malloc.c if( mem0.nScratchFree && sqlite3GlobalConfig.szScratch>=n ){ n 359 third_party/sqlite/src/src/malloc.c sqlite3StatusSet(SQLITE_STATUS_SCRATCH_SIZE, n); n 363 third_party/sqlite/src/src/malloc.c sqlite3StatusSet(SQLITE_STATUS_SCRATCH_SIZE, n); n 364 third_party/sqlite/src/src/malloc.c n = mallocWithAlarm(n, &p); n 365 third_party/sqlite/src/src/malloc.c if( p ) sqlite3StatusAdd(SQLITE_STATUS_SCRATCH_OVERFLOW, n); n 369 third_party/sqlite/src/src/malloc.c p = sqlite3GlobalConfig.m.xMalloc(n); n 560 third_party/sqlite/src/src/malloc.c void *sqlite3_realloc(void *pOld, int n){ n 564 third_party/sqlite/src/src/malloc.c return sqlite3Realloc(pOld, n); n 571 third_party/sqlite/src/src/malloc.c void *sqlite3MallocZero(int n){ n 572 third_party/sqlite/src/src/malloc.c void *p = sqlite3Malloc(n); n 574 third_party/sqlite/src/src/malloc.c memset(p, 0, n); n 583 third_party/sqlite/src/src/malloc.c void *sqlite3DbMallocZero(sqlite3 *db, int n){ n 584 third_party/sqlite/src/src/malloc.c void *p = sqlite3DbMallocRaw(db, n); n 586 third_party/sqlite/src/src/malloc.c memset(p, 0, n); n 609 third_party/sqlite/src/src/malloc.c void *sqlite3DbMallocRaw(sqlite3 *db, int n){ n 620 third_party/sqlite/src/src/malloc.c if( n>db->lookaside.sz ){ n 640 third_party/sqlite/src/src/malloc.c p = sqlite3Malloc(n); n 653 third_party/sqlite/src/src/malloc.c void *sqlite3DbRealloc(sqlite3 *db, void *p, int n){ n 659 third_party/sqlite/src/src/malloc.c return sqlite3DbMallocRaw(db, n); n 662 third_party/sqlite/src/src/malloc.c if( n<=db->lookaside.sz ){ n 665 third_party/sqlite/src/src/malloc.c pNew = sqlite3DbMallocRaw(db, n); n 674 third_party/sqlite/src/src/malloc.c pNew = sqlite3_realloc(p, n); n 690 third_party/sqlite/src/src/malloc.c void *sqlite3DbReallocOrFree(sqlite3 *db, void *p, int n){ n 692 third_party/sqlite/src/src/malloc.c pNew = sqlite3DbRealloc(db, p, n); n 708 third_party/sqlite/src/src/malloc.c size_t n; n 712 third_party/sqlite/src/src/malloc.c n = sqlite3Strlen30(z) + 1; n 713 third_party/sqlite/src/src/malloc.c assert( (n&0x7fffffff)==n ); n 714 third_party/sqlite/src/src/malloc.c zNew = sqlite3DbMallocRaw(db, (int)n); n 716 third_party/sqlite/src/src/malloc.c memcpy(zNew, z, n); n 720 third_party/sqlite/src/src/malloc.c char *sqlite3DbStrNDup(sqlite3 *db, const char *z, int n){ n 725 third_party/sqlite/src/src/malloc.c assert( (n&0x7fffffff)==n ); n 726 third_party/sqlite/src/src/malloc.c zNew = sqlite3DbMallocRaw(db, n+1); n 728 third_party/sqlite/src/src/malloc.c memcpy(zNew, z, n); n 729 third_party/sqlite/src/src/malloc.c zNew[n] = 0; n 35 third_party/sqlite/src/src/mem0.c static int sqlite3MemRoundup(int n){ return n; } n 110 third_party/sqlite/src/src/mem1.c static int sqlite3MemRoundup(int n){ n 111 third_party/sqlite/src/src/mem1.c return ROUND8(n); n 210 third_party/sqlite/src/src/mem2.c static int sqlite3MemRoundup(int n){ n 211 third_party/sqlite/src/src/mem2.c return ROUND8(n); n 454 third_party/sqlite/src/src/mem2.c unsigned int n = sqlite3Strlen30(zTitle) + 1; n 456 third_party/sqlite/src/src/mem2.c if( n>=sizeof(mem.zTitle) ) n = sizeof(mem.zTitle)-1; n 457 third_party/sqlite/src/src/mem2.c memcpy(mem.zTitle, zTitle, n); n 458 third_party/sqlite/src/src/mem2.c mem.zTitle[n] = 0; n 459 third_party/sqlite/src/src/mem2.c mem.nTitle = ROUND8(n); n 488 third_party/sqlite/src/src/mem3.c static int memsys3Roundup(int n){ n 489 third_party/sqlite/src/src/mem3.c if( n<=12 ){ n 492 third_party/sqlite/src/src/mem3.c return ((n+11)&~7) - 4; n 426 third_party/sqlite/src/src/mem5.c static int memsys5Roundup(int n){ n 428 third_party/sqlite/src/src/mem5.c if( n > 0x40000000 ) return 0; n 429 third_party/sqlite/src/src/mem5.c for(iFullSz=mem5.szAtom; iFullSz<n; iFullSz *= 2); n 526 third_party/sqlite/src/src/mem5.c int i, j, n; n 542 third_party/sqlite/src/src/mem5.c for(n=0, j=mem5.aiFreelist[i]; j>=0; j = MEM5LINK(j)->next, n++){} n 543 third_party/sqlite/src/src/mem5.c fprintf(out, "freelist items of size %d: %d\n", mem5.szAtom << i, n); n 103 third_party/sqlite/src/src/os.c int sqlite3OsShmLock(sqlite3_file *id, int offset, int n, int flags){ n 104 third_party/sqlite/src/src/os.c return id->pMethods->xShmLock(id, offset, n, flags); n 1076 third_party/sqlite/src/src/os_os2.c int n, rc = SQLITE_OK; n 1125 third_party/sqlite/src/src/os_os2.c for( n = pNode->nRegion; n <= iRegion; n++ ) n 1126 third_party/sqlite/src/src/os_os2.c pNode->apRegion[n] = NULL; n 1209 third_party/sqlite/src/src/os_os2.c int n, /* Number of locks to acquire or release */ n 1219 third_party/sqlite/src/src/os_os2.c assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); n 1220 third_party/sqlite/src/src/os_os2.c assert( n>=1 ); n 1225 third_party/sqlite/src/src/os_os2.c assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); n 1227 third_party/sqlite/src/src/os_os2.c mask = (u32)((1U<<(ofst+n)) - (1U<<ofst)); n 1228 third_party/sqlite/src/src/os_os2.c assert( n>1 || mask==(1<<ofst) ); n 1245 third_party/sqlite/src/src/os_os2.c rc = os2ShmSystemLock(pShmNode, _SHM_UNLCK, ofst+OS2_SHM_BASE, n); n 1273 third_party/sqlite/src/src/os_os2.c rc = os2ShmSystemLock(pShmNode, _SHM_RDLCK, ofst+OS2_SHM_BASE, n); n 1298 third_party/sqlite/src/src/os_os2.c rc = os2ShmSystemLock(pShmNode, _SHM_WRLCK, ofst+OS2_SHM_BASE, n); n 1313 third_party/sqlite/src/src/os_os2.c ofst, n, flags, rc)) n 1725 third_party/sqlite/src/src/os_os2.c int n = 0; n 1727 third_party/sqlite/src/src/os_os2.c n = nBuf; n 1741 third_party/sqlite/src/src/os_os2.c if( (int)sizeof(dt)-3 <= nBuf - n ){ n 1745 third_party/sqlite/src/src/os_os2.c memcpy(&zBuf[n], &dt, sizeof(dt)-3); n 1746 third_party/sqlite/src/src/os_os2.c n += sizeof(dt)-3; n 1750 third_party/sqlite/src/src/os_os2.c if( (int)sizeof(ULONG) <= nBuf - n ){ n 1752 third_party/sqlite/src/src/os_os2.c *(PULONG)&zBuf[n] = MAKELONG(ppib->pib_ulpid, n 1754 third_party/sqlite/src/src/os_os2.c n += sizeof(ULONG); n 1758 third_party/sqlite/src/src/os_os2.c for( i = 0; i < 6 && (int)sizeof(ULONG) <= nBuf - n; i++ ){ n 1760 third_party/sqlite/src/src/os_os2.c (PULONG)&zBuf[n], sizeof(ULONG)); n 1761 third_party/sqlite/src/src/os_os2.c n += sizeof(ULONG); n 1765 third_party/sqlite/src/src/os_os2.c return n; n 728 third_party/sqlite/src/src/os_unix.c static int vxworksSimplifyName(char *z, int n){ n 730 third_party/sqlite/src/src/os_unix.c while( n>1 && z[n-1]=='/' ){ n--; } n 731 third_party/sqlite/src/src/os_unix.c for(i=j=0; i<n; i++){ n 734 third_party/sqlite/src/src/os_unix.c if( z[i+1]=='.' && i+2<n && z[i+2]=='/' ){ n 738 third_party/sqlite/src/src/os_unix.c if( z[i+1]=='.' && i+3<n && z[i+2]=='.' && z[i+3]=='/' ){ n 765 third_party/sqlite/src/src/os_unix.c int n; /* Length of zAbsoluteName string */ n 768 third_party/sqlite/src/src/os_unix.c n = (int)strlen(zAbsoluteName); n 769 third_party/sqlite/src/src/os_unix.c pNew = sqlite3_malloc( sizeof(*pNew) + (n+1) ); n 772 third_party/sqlite/src/src/os_unix.c memcpy(pNew->zCanonicalName, zAbsoluteName, n+1); n 773 third_party/sqlite/src/src/os_unix.c n = vxworksSimplifyName(pNew->zCanonicalName, n); n 781 third_party/sqlite/src/src/os_unix.c if( pCandidate->nName==n n 782 third_party/sqlite/src/src/os_unix.c && memcmp(pCandidate->zCanonicalName, pNew->zCanonicalName, n)==0 n 793 third_party/sqlite/src/src/os_unix.c pNew->nName = n; n 3623 third_party/sqlite/src/src/os_unix.c int n /* Number of bytes to lock */ n 3632 third_party/sqlite/src/src/os_unix.c assert( n==1 || lockType!=F_RDLCK ); n 3635 third_party/sqlite/src/src/os_unix.c assert( n>=1 && n<SQLITE_SHM_NLOCK ); n 3643 third_party/sqlite/src/src/os_unix.c f.l_len = n; n 3653 third_party/sqlite/src/src/os_unix.c mask = (1<<(ofst+n)) - (1<<ofst); n 3999 third_party/sqlite/src/src/os_unix.c int n, /* Number of locks to acquire or release */ n 4011 third_party/sqlite/src/src/os_unix.c assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); n 4012 third_party/sqlite/src/src/os_unix.c assert( n>=1 ); n 4017 third_party/sqlite/src/src/os_unix.c assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); n 4021 third_party/sqlite/src/src/os_unix.c mask = (1<<(ofst+n)) - (1<<ofst); n 4022 third_party/sqlite/src/src/os_unix.c assert( n>1 || mask==(1<<ofst) ); n 4036 third_party/sqlite/src/src/os_unix.c rc = unixShmSystemLock(pShmNode, F_UNLCK, ofst+UNIX_SHM_BASE, n); n 4064 third_party/sqlite/src/src/os_unix.c rc = unixShmSystemLock(pShmNode, F_RDLCK, ofst+UNIX_SHM_BASE, n); n 4089 third_party/sqlite/src/src/os_unix.c rc = unixShmSystemLock(pShmNode, F_WRLCK, ofst+UNIX_SHM_BASE, n); n 4626 third_party/sqlite/src/src/os_unix.c int n; n 4629 third_party/sqlite/src/src/os_unix.c for( n=1; zSemName[n]; n++ ) n 4630 third_party/sqlite/src/src/os_unix.c if( zSemName[n]=='/' ) zSemName[n] = '_'; n 1593 third_party/sqlite/src/src/os_win.c int n, /* Number of locks to acquire or release */ n 1603 third_party/sqlite/src/src/os_win.c assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); n 1604 third_party/sqlite/src/src/os_win.c assert( n>=1 ); n 1609 third_party/sqlite/src/src/os_win.c assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); n 1611 third_party/sqlite/src/src/os_win.c mask = (u16)((1U<<(ofst+n)) - (1U<<ofst)); n 1612 third_party/sqlite/src/src/os_win.c assert( n>1 || mask==(1<<ofst) ); n 1626 third_party/sqlite/src/src/os_win.c rc = winShmSystemLock(pShmNode, _SHM_UNLCK, ofst+WIN_SHM_BASE, n); n 1654 third_party/sqlite/src/src/os_win.c rc = winShmSystemLock(pShmNode, _SHM_RDLCK, ofst+WIN_SHM_BASE, n); n 1679 third_party/sqlite/src/src/os_win.c rc = winShmSystemLock(pShmNode, _SHM_WRLCK, ofst+WIN_SHM_BASE, n); n 2595 third_party/sqlite/src/src/os_win.c int n = 0; n 2598 third_party/sqlite/src/src/os_win.c n = nBuf; n 2601 third_party/sqlite/src/src/os_win.c if( sizeof(SYSTEMTIME)<=nBuf-n ){ n 2604 third_party/sqlite/src/src/os_win.c memcpy(&zBuf[n], &x, sizeof(x)); n 2605 third_party/sqlite/src/src/os_win.c n += sizeof(x); n 2607 third_party/sqlite/src/src/os_win.c if( sizeof(DWORD)<=nBuf-n ){ n 2609 third_party/sqlite/src/src/os_win.c memcpy(&zBuf[n], &pid, sizeof(pid)); n 2610 third_party/sqlite/src/src/os_win.c n += sizeof(pid); n 2612 third_party/sqlite/src/src/os_win.c if( sizeof(DWORD)<=nBuf-n ){ n 2614 third_party/sqlite/src/src/os_win.c memcpy(&zBuf[n], &cnt, sizeof(cnt)); n 2615 third_party/sqlite/src/src/os_win.c n += sizeof(cnt); n 2617 third_party/sqlite/src/src/os_win.c if( sizeof(LARGE_INTEGER)<=nBuf-n ){ n 2620 third_party/sqlite/src/src/os_win.c memcpy(&zBuf[n], &i, sizeof(i)); n 2621 third_party/sqlite/src/src/os_win.c n += sizeof(i); n 2624 third_party/sqlite/src/src/os_win.c return n; n 3069 third_party/sqlite/src/src/pager.c i64 n = 0; /* Size of db file in bytes */ n 3072 third_party/sqlite/src/src/pager.c int rc = sqlite3OsFileSize(pPager->fd, &n); n 3077 third_party/sqlite/src/src/pager.c nPage = (Pgno)(n / pPager->pageSize); n 3078 third_party/sqlite/src/src/pager.c if( nPage==0 && n>0 ){ n 137 third_party/sqlite/src/src/pager.h int sqlite3PagerOpenSavepoint(Pager *pPager, int n); n 177 third_party/sqlite/src/src/parse.y A.n = (int)(pParse->sLastToken.z-X.z) + pParse->sLastToken.n; n 255 third_party/sqlite/src/src/parse.y A.n = (int)(&Y.z[Y.n] - X.z); n 259 third_party/sqlite/src/src/parse.y A.n = (int)(&Y.z[Y.n] - X.z); n 263 third_party/sqlite/src/src/parse.y typename(A) ::= typename(X) ids(Y). {A.z=X.z; A.n=Y.n+(int)(Y.z-X.z);} n 339 third_party/sqlite/src/src/parse.y conslist_opt(A) ::= . {A.n = 0; A.z = 0;} n 449 third_party/sqlite/src/src/parse.y if( Y.n>0 ) sqlite3ExprListSetName(pParse, A, &Y, 1); n 469 third_party/sqlite/src/src/parse.y as(X) ::= . {X.n = 0;} n 506 third_party/sqlite/src/src/parse.y if( X==0 && Z.n==0 && N==0 && U==0 ){ n 530 third_party/sqlite/src/src/parse.y dbnm(A) ::= . {A.z=0; A.n=0;} n 561 third_party/sqlite/src/src/parse.y indexed_opt(A) ::= . {A.z=0; A.n=0;} n 563 third_party/sqlite/src/src/parse.y indexed_opt(A) ::= NOT INDEXED. {A.z=0; A.n=1;} n 729 third_party/sqlite/src/src/parse.y pOut->zEnd = &pEnd->z[pEnd->n]; n 739 third_party/sqlite/src/src/parse.y pOut->zEnd = &pValue->z[pValue->n]; n 785 third_party/sqlite/src/src/parse.y A.zEnd = &C.z[C.n]; n 885 third_party/sqlite/src/src/parse.y pOut->zEnd = &pPostOp->z[pPostOp->n]; n 988 third_party/sqlite/src/src/parse.y A.zEnd = &E.z[E.n]; n 1000 third_party/sqlite/src/src/parse.y A.zEnd = &E.z[E.n]; n 1013 third_party/sqlite/src/src/parse.y A.zEnd = &E.z[E.n]; n 1027 third_party/sqlite/src/src/parse.y A.zEnd = Z.z ? &Z.z[Z.n] : &Y.z[Y.n]; n 1039 third_party/sqlite/src/src/parse.y A.zEnd = &E.z[E.n]; n 1053 third_party/sqlite/src/src/parse.y A.zEnd = &E.z[E.n]; n 1109 third_party/sqlite/src/src/parse.y if( C.n>0 ){ n 1120 third_party/sqlite/src/src/parse.y if( C.n>0 ){ n 1131 third_party/sqlite/src/src/parse.y collate(C) ::= . {C.z = 0; C.n = 0;} n 1178 third_party/sqlite/src/src/parse.y all.n = (int)(Z.z - A.z) + Z.n; n 1186 third_party/sqlite/src/src/parse.y A = (Z.n==0?B:Z); n 1283 third_party/sqlite/src/src/parse.y A.zEnd = &Y.z[Y.n]; n 1291 third_party/sqlite/src/src/parse.y A.zEnd = &Y.z[Y.n]; n 62 third_party/sqlite/src/src/pcache.h void sqlite3PCacheBufferSetup(void *, int sz, int n); n 179 third_party/sqlite/src/src/pcache1.c void sqlite3PCacheBufferSetup(void *pBuf, int sz, int n){ n 184 third_party/sqlite/src/src/pcache1.c pcache1.nSlot = pcache1.nFreeSlot = n; n 185 third_party/sqlite/src/src/pcache1.c pcache1.nReserve = n>90 ? 10 : (n/10 + 1); n 189 third_party/sqlite/src/src/pcache1.c while( n-- ){ n 620 third_party/sqlite/src/src/pcache1.c int n; n 623 third_party/sqlite/src/src/pcache1.c n = pCache->nPage; n 625 third_party/sqlite/src/src/pcache1.c return n; n 36 third_party/sqlite/src/src/pragma.c int i, n; n 40 third_party/sqlite/src/src/pragma.c n = sqlite3Strlen30(z); n 42 third_party/sqlite/src/src/pragma.c if( iLength[i]==n && sqlite3StrNICmp(&zText[iOffset[i]],z,n)==0 ){ n 342 third_party/sqlite/src/src/pragma.c zDb = pId2->n>0 ? pDb->zName : 0; n 438 third_party/sqlite/src/src/pragma.c if( pId2->n==0 && b>=0 ){ n 486 third_party/sqlite/src/src/pragma.c if( pId2->n==0 && eMode==PAGER_LOCKINGMODE_QUERY ){ n 494 third_party/sqlite/src/src/pragma.c if( pId2->n==0 ){ n 549 third_party/sqlite/src/src/pragma.c int n = sqlite3Strlen30(zRight); n 551 third_party/sqlite/src/src/pragma.c if( sqlite3StrNICmp(zRight, zMode, n)==0 ) break; n 559 third_party/sqlite/src/src/pragma.c if( eMode==PAGER_JOURNALMODE_QUERY && pId2->n==0 ){ n 562 third_party/sqlite/src/src/pragma.c pId2->n = 1; n 565 third_party/sqlite/src/src/pragma.c if( db->aDb[ii].pBt && (ii==iDb || pId2->n==0) ){ n 654 third_party/sqlite/src/src/printf.c int i, j, k, n, isnull; n 662 third_party/sqlite/src/src/printf.c for(i=n=0; k!=0 && (ch=escarg[i])!=0; i++, k--){ n 663 third_party/sqlite/src/src/printf.c if( ch==q ) n++; n 666 third_party/sqlite/src/src/printf.c n += i + 1 + needQuote*2; n 667 third_party/sqlite/src/src/printf.c if( n>etBUFSIZE ){ n 668 third_party/sqlite/src/src/printf.c bufpt = zExtra = sqlite3Malloc( n ); n 694 third_party/sqlite/src/src/printf.c sqlite3StrAccumAppend(pAccum, (const char*)pToken->z, pToken->n); n 840 third_party/sqlite/src/src/printf.c void sqlite3StrAccumInit(StrAccum *p, char *zBase, int n, int mx){ n 844 third_party/sqlite/src/src/printf.c p->nAlloc = n; n 949 third_party/sqlite/src/src/printf.c char *sqlite3_vsnprintf(int n, char *zBuf, const char *zFormat, va_list ap){ n 951 third_party/sqlite/src/src/printf.c if( n<=0 ) return zBuf; n 952 third_party/sqlite/src/src/printf.c sqlite3StrAccumInit(&acc, zBuf, n, 0); n 957 third_party/sqlite/src/src/printf.c char *sqlite3_snprintf(int n, char *zBuf, const char *zFormat, ...){ n 961 third_party/sqlite/src/src/printf.c z = sqlite3_vsnprintf(n, zBuf, zFormat, ap); n 315 third_party/sqlite/src/src/recover.c unsigned n){ n 321 third_party/sqlite/src/src/recover.c if( nData>=9*n ){ n 325 third_party/sqlite/src/src/recover.c for( i=0; nFound<n && i<nData; ++i ){ n 333 third_party/sqlite/src/src/recover.c return nFound==n; n 357 third_party/sqlite/src/src/recover.c static int ascii_strncasecmp(const char *s1, const char *s2, size_t n){ n 360 third_party/sqlite/src/src/recover.c while( *us1 && *us2 && n && ascii_tolower(*us1)==ascii_tolower(*us2) ){ n 361 third_party/sqlite/src/src/recover.c us1++, us2++, n--; n 363 third_party/sqlite/src/src/recover.c return n ? ascii_tolower(*us1)-ascii_tolower(*us2) : 0; n 468 third_party/sqlite/src/src/recover.c static char *sqlite3_strndup(const char *z, unsigned n){ n 475 third_party/sqlite/src/src/recover.c zNew = sqlite3_malloc(n+1); n 477 third_party/sqlite/src/src/recover.c memcpy(zNew, z, n); n 478 third_party/sqlite/src/src/recover.c zNew[n] = '\0'; n 371 third_party/sqlite/src/src/resolve.c int n = pExpr->iColumn; n 372 third_party/sqlite/src/src/resolve.c testcase( n==BMS-1 ); n 373 third_party/sqlite/src/src/resolve.c if( n>=BMS ){ n 374 third_party/sqlite/src/src/resolve.c n = BMS-1; n 377 third_party/sqlite/src/src/resolve.c pMatch->colUsed |= ((Bitmask)1)<<n; n 515 third_party/sqlite/src/src/resolve.c int n = pList ? pList->nExpr : 0; /* Number of arguments */ n 529 third_party/sqlite/src/src/resolve.c pDef = sqlite3FindFunction(pParse->db, zId, nId, n, enc, 0); n 149 third_party/sqlite/src/src/select.c if( p->n==aKeyword[j].nChar n 150 third_party/sqlite/src/src/select.c && sqlite3StrNICmp((char*)p->z, &zKeyText[aKeyword[j].i], p->n)==0 ){ n 1420 third_party/sqlite/src/src/select.c int addr1, n; n 1435 third_party/sqlite/src/src/select.c if( sqlite3ExprIsInteger(p->pLimit, &n) ){ n 1436 third_party/sqlite/src/src/select.c sqlite3VdbeAddOp2(v, OP_Integer, n, iLimit); n 1438 third_party/sqlite/src/src/select.c if( n==0 ){ n 1441 third_party/sqlite/src/src/select.c if( p->nSelectRow > (double)n ) p->nSelectRow = (double)n; n 3353 third_party/sqlite/src/src/select.c sColname.n = sqlite3Strlen30(zColname); n 324 third_party/sqlite/src/src/shell.c int n; n 334 third_party/sqlite/src/src/shell.c n = 0; n 337 third_party/sqlite/src/src/shell.c if( n+100>nLine ){ n 342 third_party/sqlite/src/src/shell.c if( fgets(&zLine[n], nLine - n, in)==0 ){ n 343 third_party/sqlite/src/src/shell.c if( n==0 ){ n 347 third_party/sqlite/src/src/shell.c zLine[n] = 0; n 351 third_party/sqlite/src/src/shell.c while( zLine[n] ){ n++; } n 352 third_party/sqlite/src/src/shell.c if( n>0 && zLine[n-1]=='\n' ){ n 353 third_party/sqlite/src/src/shell.c n--; n 354 third_party/sqlite/src/src/shell.c if( n>0 && zLine[n-1]=='\r' ) n--; n 355 third_party/sqlite/src/src/shell.c zLine[n] = 0; n 359 third_party/sqlite/src/src/shell.c zLine = realloc( zLine, n+1 ); n 675 third_party/sqlite/src/src/shell.c int w, n; n 684 third_party/sqlite/src/src/shell.c n = strlen30(azArg && azArg[i] ? azArg[i] : p->nullvalue); n 685 third_party/sqlite/src/src/shell.c if( w<n ) w = n; n 844 third_party/sqlite/src/src/shell.c int i, n; n 854 third_party/sqlite/src/src/shell.c for(i=n=0; zName[i]; i++, n++){ n 857 third_party/sqlite/src/src/shell.c if( zName[i]=='\'' ) n++; n 860 third_party/sqlite/src/src/shell.c if( needQuote ) n += 2; n 861 third_party/sqlite/src/src/shell.c z = p->zDestTable = malloc( n+1 ); n 866 third_party/sqlite/src/src/shell.c n = 0; n 867 third_party/sqlite/src/src/shell.c if( needQuote ) z[n++] = '\''; n 869 third_party/sqlite/src/src/shell.c z[n++] = zName[i]; n 870 third_party/sqlite/src/src/shell.c if( zName[i]=='\'' ) z[n++] = '\''; n 872 third_party/sqlite/src/src/shell.c if( needQuote ) z[n++] = '\''; n 873 third_party/sqlite/src/src/shell.c z[n] = 0; n 1458 third_party/sqlite/src/src/shell.c int n, c; n 1486 third_party/sqlite/src/src/shell.c n = strlen30(azArg[0]); n 1488 third_party/sqlite/src/src/shell.c if( c=='b' && n>=3 && strncmp(azArg[0], "backup", n)==0 && nArg>1 && nArg<4){ n 1524 third_party/sqlite/src/src/shell.c if( c=='b' && n>=3 && strncmp(azArg[0], "bail", n)==0 && nArg>1 && nArg<3 ){ n 1528 third_party/sqlite/src/src/shell.c if( c=='d' && n>1 && strncmp(azArg[0], "databases", n)==0 && nArg==1 ){ n 1547 third_party/sqlite/src/src/shell.c if( c=='d' && strncmp(azArg[0], "dump", n)==0 && nArg<3 ){ n 1600 third_party/sqlite/src/src/shell.c if( c=='e' && strncmp(azArg[0], "echo", n)==0 && nArg>1 && nArg<3 ){ n 1604 third_party/sqlite/src/src/shell.c if( c=='e' && strncmp(azArg[0], "exit", n)==0 && nArg==1 ){ n 1608 third_party/sqlite/src/src/shell.c if( c=='e' && strncmp(azArg[0], "explain", n)==0 && nArg<3 ){ n 1643 third_party/sqlite/src/src/shell.c if( c=='h' && (strncmp(azArg[0], "header", n)==0 || n 1644 third_party/sqlite/src/src/shell.c strncmp(azArg[0], "headers", n)==0) && nArg>1 && nArg<3 ){ n 1648 third_party/sqlite/src/src/shell.c if( c=='h' && strncmp(azArg[0], "help", n)==0 ){ n 1655 third_party/sqlite/src/src/shell.c if( c=='i' && strncmp(azArg[0], "import", n)==0 && nArg==3 ){ n 1772 third_party/sqlite/src/src/shell.c if( c=='i' && strncmp(azArg[0], "indices", n)==0 && nArg<3 ){ n 1813 third_party/sqlite/src/src/shell.c if( c=='i' && strncmp(azArg[0], "iotrace", n)==0 ){ n 1836 third_party/sqlite/src/src/shell.c if( c=='l' && strncmp(azArg[0], "load", n)==0 && nArg>=2 ){ n 1851 third_party/sqlite/src/src/shell.c if( c=='l' && strncmp(azArg[0], "log", n)==0 && nArg>=2 ){ n 1871 third_party/sqlite/src/src/shell.c if( c=='m' && strncmp(azArg[0], "mode", n)==0 && nArg==2 ){ n 1903 third_party/sqlite/src/src/shell.c if( c=='m' && strncmp(azArg[0], "mode", n)==0 && nArg==3 ){ n 1915 third_party/sqlite/src/src/shell.c if( c=='n' && strncmp(azArg[0], "nullvalue", n)==0 && nArg==2 ) { n 1920 third_party/sqlite/src/src/shell.c if( c=='o' && strncmp(azArg[0], "output", n)==0 && nArg==2 ){ n 1939 third_party/sqlite/src/src/shell.c if( c=='p' && strncmp(azArg[0], "prompt", n)==0 && (nArg==2 || nArg==3)){ n 1948 third_party/sqlite/src/src/shell.c if( c=='q' && strncmp(azArg[0], "quit", n)==0 && nArg==1 ){ n 1952 third_party/sqlite/src/src/shell.c if( c=='r' && n>=3 && strncmp(azArg[0], "read", n)==0 && nArg==2 ){ n 1963 third_party/sqlite/src/src/shell.c if( c=='r' && n>=3 && strncmp(azArg[0], "restore", n)==0 && nArg>1 && nArg<4){ n 2010 third_party/sqlite/src/src/shell.c if( c=='s' && strncmp(azArg[0], "schema", n)==0 && nArg<3 ){ n 2083 third_party/sqlite/src/src/shell.c if( c=='s' && strncmp(azArg[0], "separator", n)==0 && nArg==2 ){ n 2088 third_party/sqlite/src/src/shell.c if( c=='s' && strncmp(azArg[0], "show", n)==0 && nArg==1 ){ n 2110 third_party/sqlite/src/src/shell.c if( c=='s' && strncmp(azArg[0], "stats", n)==0 && nArg>1 && nArg<3 ){ n 2114 third_party/sqlite/src/src/shell.c if( c=='t' && n>1 && strncmp(azArg[0], "tables", n)==0 && nArg<3 ){ n 2172 third_party/sqlite/src/src/shell.c if( c=='t' && n>=8 && strncmp(azArg[0], "testctrl", n)==0 && nArg>=2 ){ n 2194 third_party/sqlite/src/src/shell.c int i, n; n 2199 third_party/sqlite/src/src/shell.c n = strlen30(azArg[1]); n 2201 third_party/sqlite/src/src/shell.c if( strncmp(azArg[1], aCtrl[i].zCtrlName, n)==0 ){ n 2294 third_party/sqlite/src/src/shell.c if( c=='t' && n>4 && strncmp(azArg[0], "timeout", n)==0 && nArg==2 ){ n 2299 third_party/sqlite/src/src/shell.c if( HAS_TIMER && c=='t' && n>=5 && strncmp(azArg[0], "timer", n)==0 n 2305 third_party/sqlite/src/src/shell.c if( c=='w' && strncmp(azArg[0], "width", n)==0 && nArg>1 ){ n 2533 third_party/sqlite/src/src/shell.c int n; n 2537 third_party/sqlite/src/src/shell.c n = strlen30(zDrive) + strlen30(zPath) + 1; n 2538 third_party/sqlite/src/src/shell.c home_dir = malloc( n ); n 2540 third_party/sqlite/src/src/shell.c sqlite3_snprintf(n, home_dir, "%s%s", zDrive, zPath); n 2550 third_party/sqlite/src/src/shell.c int n = strlen30(home_dir) + 1; n 2551 third_party/sqlite/src/src/shell.c char *z = malloc( n ); n 2552 third_party/sqlite/src/src/shell.c if( z ) memcpy(z, home_dir, n); n 37 third_party/sqlite/src/src/sqlite3ext.h int (*bind_blob)(sqlite3_stmt*,int,const void*,int n,void(*)(void*)); n 45 third_party/sqlite/src/src/sqlite3ext.h int (*bind_text)(sqlite3_stmt*,int,const char*,int n,void(*)(void*)); n 1511 third_party/sqlite/src/src/sqliteInt.h unsigned int n; /* Number of characters in this token */ n 2931 third_party/sqlite/src/src/sqliteInt.h void *sqlite3HexToBlob(sqlite3*, const char *z, int n); n 92 third_party/sqlite/src/src/table.c int n = sqlite3Strlen30(argv[i])+1; n 93 third_party/sqlite/src/src/table.c z = sqlite3_malloc( n ); n 95 third_party/sqlite/src/src/table.c memcpy(z, argv[i], n); n 188 third_party/sqlite/src/src/table.c int i, n; n 191 third_party/sqlite/src/src/table.c n = SQLITE_PTR_TO_INT(azResult[0]); n 192 third_party/sqlite/src/src/table.c for(i=1; i<n; i++){ if( azResult[i] ) sqlite3_free(azResult[i]); } n 398 third_party/sqlite/src/src/tclsqlite.c int n; n 399 third_party/sqlite/src/src/tclsqlite.c z = Tcl_GetStringFromObj(pCmd, &n); n 400 third_party/sqlite/src/src/tclsqlite.c while( n-- > 0 ){ n 806 third_party/sqlite/src/src/tclsqlite.c int n; n 813 third_party/sqlite/src/src/tclsqlite.c data = Tcl_GetByteArrayFromObj(pVar, &n); n 814 third_party/sqlite/src/src/tclsqlite.c sqlite3_result_blob(context, data, n, SQLITE_TRANSIENT); n 816 third_party/sqlite/src/src/tclsqlite.c Tcl_GetIntFromObj(0, pVar, &n); n 817 third_party/sqlite/src/src/tclsqlite.c sqlite3_result_int(context, n); n 828 third_party/sqlite/src/src/tclsqlite.c data = (unsigned char *)Tcl_GetStringFromObj(pVar, &n); n 829 third_party/sqlite/src/src/tclsqlite.c sqlite3_result_text(context, (char *)data, n, SQLITE_TRANSIENT); n 949 third_party/sqlite/src/src/tclsqlite.c int n; n 955 third_party/sqlite/src/src/tclsqlite.c n = 0; n 958 third_party/sqlite/src/src/tclsqlite.c if( n+100>nLine ){ n 963 third_party/sqlite/src/src/tclsqlite.c if( fgets(&zLine[n], nLine - n, in)==0 ){ n 964 third_party/sqlite/src/src/tclsqlite.c if( n==0 ){ n 968 third_party/sqlite/src/src/tclsqlite.c zLine[n] = 0; n 972 third_party/sqlite/src/src/tclsqlite.c while( zLine[n] ){ n++; } n 973 third_party/sqlite/src/src/tclsqlite.c if( n>0 && zLine[n-1]=='\n' ){ n 974 third_party/sqlite/src/src/tclsqlite.c n--; n 975 third_party/sqlite/src/src/tclsqlite.c zLine[n] = 0; n 979 third_party/sqlite/src/src/tclsqlite.c zLine = realloc( zLine, n+1 ); n 1070 third_party/sqlite/src/src/tclsqlite.c int n = pPreStmt->nSql; n 1071 third_party/sqlite/src/src/tclsqlite.c if( nSql>=n n 1072 third_party/sqlite/src/src/tclsqlite.c && memcmp(pPreStmt->zSql, zSql, n)==0 n 1073 third_party/sqlite/src/src/tclsqlite.c && (zSql[n]==0 || zSql[n-1]==';') n 1141 third_party/sqlite/src/src/tclsqlite.c int n; n 1150 third_party/sqlite/src/src/tclsqlite.c data = Tcl_GetByteArrayFromObj(pVar, &n); n 1151 third_party/sqlite/src/src/tclsqlite.c sqlite3_bind_blob(pStmt, i, data, n, SQLITE_STATIC); n 1155 third_party/sqlite/src/src/tclsqlite.c Tcl_GetIntFromObj(interp, pVar, &n); n 1156 third_party/sqlite/src/src/tclsqlite.c sqlite3_bind_int(pStmt, i, n); n 1167 third_party/sqlite/src/src/tclsqlite.c data = (unsigned char *)Tcl_GetStringFromObj(pVar, &n); n 1168 third_party/sqlite/src/src/tclsqlite.c sqlite3_bind_text(pStmt, i, (char *)data, n, SQLITE_STATIC); n 1757 third_party/sqlite/src/src/tclsqlite.c int n; n 1776 third_party/sqlite/src/src/tclsqlite.c if( TCL_ERROR==Tcl_GetIntFromObj(interp, objv[3], &n) ){ n 1781 third_party/sqlite/src/src/tclsqlite.c if( n<0 ){ n 1783 third_party/sqlite/src/src/tclsqlite.c n = 0; n 1784 third_party/sqlite/src/src/tclsqlite.c }else if( n>MAX_PREPARED_STMTS ){ n 1785 third_party/sqlite/src/src/tclsqlite.c n = MAX_PREPARED_STMTS; n 1787 third_party/sqlite/src/src/tclsqlite.c pDb->maxStmt = n; n 2264 third_party/sqlite/src/src/tclsqlite.c int n = strlen30(z); n 2265 third_party/sqlite/src/src/tclsqlite.c if( n>2 && strncmp(z, "-argcount",n)==0 ){ n 3402 third_party/sqlite/src/src/tclsqlite.c int n; n 3403 third_party/sqlite/src/src/tclsqlite.c n = fread(zBuf, 1, sizeof(zBuf), in); n 3404 third_party/sqlite/src/src/tclsqlite.c if( n<=0 ) break; n 3405 third_party/sqlite/src/src/tclsqlite.c MD5Update(&ctx, (unsigned char*)zBuf, (unsigned)n); n 531 third_party/sqlite/src/src/test1.c int n = 0; n 532 third_party/sqlite/src/src/test1.c zStr = sqlite3_mprintf("%s%n", argv[1], &n); n 534 third_party/sqlite/src/src/test1.c Tcl_SetObjResult(interp, Tcl_NewIntObj(n)); n 555 third_party/sqlite/src/src/test1.c int n = atoi(argv[1]); n 558 third_party/sqlite/src/src/test1.c if( n>sizeof(zStr) ) n = sizeof(zStr); n 560 third_party/sqlite/src/src/test1.c sqlite3_snprintf(n, zStr, zFormat, a1); n 748 third_party/sqlite/src/src/test1.c int n = sqlite3_value_bytes(argv[i]); n 750 third_party/sqlite/src/src/test1.c n, SQLITE_TRANSIENT); n 799 third_party/sqlite/src/src/test1.c int n = strlen(z); n 800 third_party/sqlite/src/src/test1.c if( p->nUsed + n + 2 > p->nAlloc ){ n 802 third_party/sqlite/src/src/test1.c p->nAlloc = p->nAlloc*2 + n + 200; n 814 third_party/sqlite/src/src/test1.c memcpy(&p->z[p->nUsed], z, n+1); n 815 third_party/sqlite/src/src/test1.c p->nUsed += n; n 1064 third_party/sqlite/src/src/test1.c int n; n 1074 third_party/sqlite/src/src/test1.c p->n++; n 1092 third_party/sqlite/src/src/test1.c if( p->n==42 ){ n 1095 third_party/sqlite/src/src/test1.c sqlite3_result_int(context, p ? p->n : 0); n 1321 third_party/sqlite/src/src/test1.c int n; n 1328 third_party/sqlite/src/src/test1.c if( Tcl_GetInt(interp, argv[1], &n) ) return TCL_ERROR; n 1329 third_party/sqlite/src/src/test1.c if( n<0 ){ n 1336 third_party/sqlite/src/src/test1.c z = sqlite3_malloc( n+1 ); n 1337 third_party/sqlite/src/src/test1.c sqlite3_snprintf(n, z, argv[2], a[0], a[1], argc>4 ? argv[5] : NULL); n 1599 third_party/sqlite/src/src/test1.c int n; n 1601 third_party/sqlite/src/src/test1.c z = Tcl_GetStringFromObj(pObj, &n); n 1602 third_party/sqlite/src/src/test1.c if( n==0 ){ n 2536 third_party/sqlite/src/src/test1.c int n; n 2562 third_party/sqlite/src/src/test1.c n = sqlite3_value_bytes(pVal); n 2564 third_party/sqlite/src/src/test1.c Tcl_NewStringObj((char*)sqlite3_value_text(pVal),n)); n 2566 third_party/sqlite/src/src/test1.c n = sqlite3_value_bytes(pVal); n 2568 third_party/sqlite/src/src/test1.c Tcl_NewStringObj((char*)sqlite3_value_text(pVal),n)); n 2710 third_party/sqlite/src/src/test1.c int rc, n; n 2711 third_party/sqlite/src/src/test1.c n = nKey1<nKey2 ? nKey1 : nKey2; n 2714 third_party/sqlite/src/src/test1.c rc = memcmp(pKey1, pKey2, n); n 2940 third_party/sqlite/src/src/test1.c int n; n 2950 third_party/sqlite/src/src/test1.c if( Tcl_GetIntFromObj(interp, objv[3], &n) ) return TCL_ERROR; n 2952 third_party/sqlite/src/src/test1.c rc = sqlite3_bind_zeroblob(pStmt, idx, n); n 4194 third_party/sqlite/src/src/test1.c int n; n 4196 third_party/sqlite/src/src/test1.c for(n=0; z[n] || z[n+1]; n+=2){} n 4197 third_party/sqlite/src/src/test1.c pRet = Tcl_NewByteArrayObj(zName16, n+2); n 538 third_party/sqlite/src/src/test2.c int n; n 545 third_party/sqlite/src/src/test2.c if( Tcl_GetInt(interp, argv[1], &n) ) return TCL_ERROR; n 555 third_party/sqlite/src/src/test2.c offset = n; n 289 third_party/sqlite/src/src/test4.c int n; n 302 third_party/sqlite/src/src/test4.c if( Tcl_GetInt(interp, argv[2], &n) ) return TCL_ERROR; n 304 third_party/sqlite/src/src/test4.c if( n<0 || n>=threadset[i].argc ){ n 308 third_party/sqlite/src/src/test4.c Tcl_AppendResult(interp, threadset[i].argv[n], 0); n 325 third_party/sqlite/src/src/test4.c int n; n 338 third_party/sqlite/src/src/test4.c if( Tcl_GetInt(interp, argv[2], &n) ) return TCL_ERROR; n 340 third_party/sqlite/src/src/test4.c if( n<0 || n>=threadset[i].argc ){ n 344 third_party/sqlite/src/src/test4.c Tcl_AppendResult(interp, threadset[i].colv[n], 0); n 165 third_party/sqlite/src/src/test6.c static void *crash_realloc(void *p, int n){ n 166 third_party/sqlite/src/src/test6.c return (void *)Tcl_Realloc(p, (size_t)n); n 526 third_party/sqlite/src/src/test6.c static int cfShmLock(sqlite3_file *pFile, int ofst, int n, int flags){ n 527 third_party/sqlite/src/src/test6.c return sqlite3OsShmLock(((CrashFile*)pFile)->pRealFile, ofst, n, flags); n 320 third_party/sqlite/src/src/test7.c int n; n 333 third_party/sqlite/src/src/test7.c if( Tcl_GetInt(interp, argv[2], &n) ) return TCL_ERROR; n 335 third_party/sqlite/src/src/test7.c if( n<0 || n>=threadset[i].argc ){ n 339 third_party/sqlite/src/src/test7.c Tcl_AppendResult(interp, threadset[i].argv[n], 0); n 356 third_party/sqlite/src/src/test7.c int n; n 369 third_party/sqlite/src/src/test7.c if( Tcl_GetInt(interp, argv[2], &n) ) return TCL_ERROR; n 371 third_party/sqlite/src/src/test7.c if( n<0 || n>=threadset[i].argc ){ n 375 third_party/sqlite/src/src/test7.c Tcl_AppendResult(interp, threadset[i].colv[n], 0); n 263 third_party/sqlite/src/src/test_demovfs.c int n = iAmt; /* Number of bytes at z */ n 266 third_party/sqlite/src/src/test_demovfs.c while( n>0 ){ n 284 third_party/sqlite/src/src/test_demovfs.c if( nCopy>n ){ n 285 third_party/sqlite/src/src/test_demovfs.c nCopy = n; n 290 third_party/sqlite/src/src/test_demovfs.c n -= nCopy; n 238 third_party/sqlite/src/src/test_devsym.c static int devsymShmLock(sqlite3_file *pFile, int ofst, int n, int flags){ n 240 third_party/sqlite/src/src/test_devsym.c return sqlite3OsShmLock(p->pReal, ofst, n, flags); n 45 third_party/sqlite/src/src/test_func.c int iMin, iMax, n, r, i; n 59 third_party/sqlite/src/src/test_func.c n = iMin; n 63 third_party/sqlite/src/src/test_func.c n += r%(iMax + 1 - iMin); n 65 third_party/sqlite/src/src/test_func.c assert( n<sizeof(zBuf) ); n 66 third_party/sqlite/src/src/test_func.c sqlite3_randomness(n, zBuf); n 67 third_party/sqlite/src/src/test_func.c for(i=0; i<n; i++){ n 70 third_party/sqlite/src/src/test_func.c zBuf[n] = 0; n 71 third_party/sqlite/src/src/test_func.c sqlite3_result_text(context, (char*)zBuf, n, SQLITE_TRANSIENT); n 197 third_party/sqlite/src/src/test_func.c int n; n 205 third_party/sqlite/src/src/test_func.c n = strlen(z) + 1; n 206 third_party/sqlite/src/src/test_func.c zAux = testContextMalloc(pCtx, n); n 208 third_party/sqlite/src/src/test_func.c memcpy(zAux, z, n); n 355 third_party/sqlite/src/src/test_func.c int n; n 359 third_party/sqlite/src/src/test_func.c n = sqlite3_value_bytes(argv[0]); n 361 third_party/sqlite/src/src/test_func.c zOut = sqlite3_malloc( n/2 ); n 366 third_party/sqlite/src/src/test_func.c sqlite3_result_text16be(pCtx, zOut, n/2, sqlite3_free); n 382 third_party/sqlite/src/src/test_func.c int n; n 386 third_party/sqlite/src/src/test_func.c n = sqlite3_value_bytes(argv[0]); n 388 third_party/sqlite/src/src/test_func.c zOut = sqlite3_malloc( n/2 ); n 393 third_party/sqlite/src/src/test_func.c sqlite3_result_text(pCtx, zOut, n/2, sqlite3_free); n 409 third_party/sqlite/src/src/test_func.c int n; n 413 third_party/sqlite/src/src/test_func.c n = sqlite3_value_bytes(argv[0]); n 415 third_party/sqlite/src/src/test_func.c zOut = sqlite3_malloc( n/2 ); n 420 third_party/sqlite/src/src/test_func.c sqlite3_result_text16le(pCtx, zOut, n/2, sqlite3_free); n 148 third_party/sqlite/src/src/test_fuzzer.c int n; /* Apply pRule at this character offset */ n 195 third_party/sqlite/src/src/test_fuzzer.c int n; n 200 third_party/sqlite/src/src/test_fuzzer.c n = strlen(argv[0]) + 1; n 201 third_party/sqlite/src/src/test_fuzzer.c pNew = sqlite3_malloc( sizeof(*pNew) + n ); n 204 third_party/sqlite/src/src/test_fuzzer.c memcpy(pNew->zClassName, argv[0], n); n 346 third_party/sqlite/src/src/test_fuzzer.c int n; n 349 third_party/sqlite/src/src/test_fuzzer.c n = pStem->nBasis + pRule->nTo - pRule->nFrom; n 350 third_party/sqlite/src/src/test_fuzzer.c if( (*pnBuf)<n+1 ){ n 351 third_party/sqlite/src/src/test_fuzzer.c (*pzBuf) = sqlite3_realloc((*pzBuf), n+100); n 353 third_party/sqlite/src/src/test_fuzzer.c (*pnBuf) = n+100; n 355 third_party/sqlite/src/src/test_fuzzer.c n = pStem->n; n 357 third_party/sqlite/src/src/test_fuzzer.c if( n<0 ){ n 360 third_party/sqlite/src/src/test_fuzzer.c memcpy(z, pStem->zBasis, n); n 361 third_party/sqlite/src/src/test_fuzzer.c memcpy(&z[n], pRule->zTo, pRule->nTo); n 362 third_party/sqlite/src/src/test_fuzzer.c memcpy(&z[n+pRule->nTo], &pStem->zBasis[n+pRule->nFrom], n 363 third_party/sqlite/src/src/test_fuzzer.c pStem->nBasis-n-pRule->nFrom+1); n 393 third_party/sqlite/src/src/test_fuzzer.c if( pStem->n<0 ){ n 441 third_party/sqlite/src/src/test_fuzzer.c while( pStem->n < pStem->nBasis - pRule->nFrom ){ n 442 third_party/sqlite/src/src/test_fuzzer.c pStem->n++; n 444 third_party/sqlite/src/src/test_fuzzer.c || memcmp(&pStem->zBasis[pStem->n], pRule->zFrom, pRule->nFrom)==0 n 455 third_party/sqlite/src/src/test_fuzzer.c pStem->n = -1; n 584 third_party/sqlite/src/src/test_fuzzer.c pNew->n = -1; n 690 third_party/sqlite/src/src/test_fuzzer.c pStem->n = pStem->nBasis; n 299 third_party/sqlite/src/src/test_hexio.c int n; n 307 third_party/sqlite/src/src/test_hexio.c zOrig = (unsigned char *)Tcl_GetStringFromObj(objv[1], &n); n 308 third_party/sqlite/src/src/test_hexio.c z = sqlite3_malloc( n+3 ); n 309 third_party/sqlite/src/src/test_hexio.c n = sqlite3TestHexToBin(zOrig, n, z); n 310 third_party/sqlite/src/src/test_hexio.c z[n] = 0; n 61 third_party/sqlite/src/src/test_init.c static void *wrMemMalloc(int n) {return wrapped.mem.xMalloc(n);} n 63 third_party/sqlite/src/src/test_init.c static void *wrMemRealloc(void *p, int n) {return wrapped.mem.xRealloc(p, n);} n 65 third_party/sqlite/src/src/test_init.c static int wrMemRoundup(int n) {return wrapped.mem.xRoundup(n);} n 129 third_party/sqlite/src/src/test_init.c static void wrPCacheCachesize(sqlite3_pcache *p, int n){ n 130 third_party/sqlite/src/src/test_init.c wrapped.pcache.xCachesize(p, n); n 31 third_party/sqlite/src/src/test_intarray.c int n; /* Number of elements in the array */ n 129 third_party/sqlite/src/src/test_intarray.c if( pCur->i>=0 && pCur->i<pVtab->pContent->n ){ n 147 third_party/sqlite/src/src/test_intarray.c return pCur->i>=pVtab->pContent->n; n 262 third_party/sqlite/src/src/test_intarray.c pIntArray->n = nElements; n 333 third_party/sqlite/src/src/test_intarray.c int i, n; n 341 third_party/sqlite/src/src/test_intarray.c n = objc - 2; n 343 third_party/sqlite/src/src/test_intarray.c a = sqlite3_malloc( sizeof(a[0])*n ); n 348 third_party/sqlite/src/src/test_intarray.c for(i=0; i<n; i++){ n 352 third_party/sqlite/src/src/test_intarray.c rc = sqlite3_intarray_bind(pArray, n, a, sqlite3_free); n 321 third_party/sqlite/src/src/test_journal.c static u32 genCksum(const unsigned char *z, int n){ n 324 third_party/sqlite/src/src/test_journal.c for(i=0; i<n; i++){ n 74 third_party/sqlite/src/src/test_malloc.c static void *faultsimMalloc(int n){ n 77 third_party/sqlite/src/src/test_malloc.c p = memfault.m.xMalloc(n); n 87 third_party/sqlite/src/src/test_malloc.c static void *faultsimRealloc(void *pOld, int n){ n 90 third_party/sqlite/src/src/test_malloc.c p = memfault.m.xRealloc(pOld, n); n 111 third_party/sqlite/src/src/test_malloc.c static int faultsimRoundup(int n){ n 112 third_party/sqlite/src/src/test_malloc.c return memfault.m.xRoundup(n); n 253 third_party/sqlite/src/src/test_malloc.c sqlite3_uint64 n; n 258 third_party/sqlite/src/src/test_malloc.c if( sizeof(n)==sizeof(p) ){ n 259 third_party/sqlite/src/src/test_malloc.c memcpy(&n, &p, sizeof(p)); n 262 third_party/sqlite/src/src/test_malloc.c n = u; n 267 third_party/sqlite/src/src/test_malloc.c z[k] = zHex[n&0xf]; n 268 third_party/sqlite/src/src/test_malloc.c n >>= 4; n 282 third_party/sqlite/src/src/test_malloc.c sqlite3_uint64 n = 0; n 289 third_party/sqlite/src/src/test_malloc.c n = n*16 + v; n 292 third_party/sqlite/src/src/test_malloc.c if( sizeof(n)==sizeof(*pp) ){ n 293 third_party/sqlite/src/src/test_malloc.c memcpy(pp, &n, sizeof(n)); n 295 third_party/sqlite/src/src/test_malloc.c u = (unsigned int)n; n 400 third_party/sqlite/src/src/test_malloc.c int size, n, i; n 420 third_party/sqlite/src/src/test_malloc.c zHex = Tcl_GetStringFromObj(objv[3], &n); n 421 third_party/sqlite/src/src/test_malloc.c if( n>sizeof(zBin)*2 ) n = sizeof(zBin)*2; n 422 third_party/sqlite/src/src/test_malloc.c n = sqlite3TestHexToBin(zHex, n, zBin); n 423 third_party/sqlite/src/src/test_malloc.c if( n==0 ){ n 429 third_party/sqlite/src/src/test_malloc.c zOut[i] = zBin[i%n]; n 446 third_party/sqlite/src/src/test_malloc.c int size, n; n 468 third_party/sqlite/src/src/test_malloc.c n = (sizeof(zHex)-1)/2; n 470 third_party/sqlite/src/src/test_malloc.c n = size; n 472 third_party/sqlite/src/src/test_malloc.c memcpy(zHex, zBin, n); n 473 third_party/sqlite/src/src/test_malloc.c zBin += n; n 474 third_party/sqlite/src/src/test_malloc.c size -= n; n 475 third_party/sqlite/src/src/test_malloc.c sqlite3TestBinToHex(zHex, n); n 852 third_party/sqlite/src/src/test_multiplex.c int n, /* Number of locks to acquire or release */ n 859 third_party/sqlite/src/src/test_multiplex.c return pSubOpen->pMethods->xShmLock(pSubOpen, ofst, n, flags); n 151 third_party/sqlite/src/src/test_osinst.c static int vfslogShmLock(sqlite3_file *pFile, int ofst, int n, int flags); n 423 third_party/sqlite/src/src/test_osinst.c static int vfslogShmLock(sqlite3_file *pFile, int ofst, int n, int flags){ n 428 third_party/sqlite/src/src/test_osinst.c rc = p->pReal->pMethods->xShmLock(p->pReal, ofst, n, flags); n 542 third_party/sqlite/src/src/test_quota.c int n, /* Number of locks to acquire or release */ n 546 third_party/sqlite/src/src/test_quota.c return pSubOpen->pMethods->xShmLock(pSubOpen, ofst, n, flags); n 99 third_party/sqlite/src/src/test_syscall.c static int ts_ftruncate(int fd, off_t n); n 272 third_party/sqlite/src/src/test_syscall.c static int ts_ftruncate(int fd, off_t n){ n 276 third_party/sqlite/src/src/test_syscall.c return orig_ftruncate(fd, n); n 116 third_party/sqlite/src/src/test_tclvar.c int n = 0; n 118 third_party/sqlite/src/src/test_tclvar.c Tcl_ListObjLength(0, pCur->pList2, &n); n 119 third_party/sqlite/src/src/test_tclvar.c if( pCur->i2>=n ){ n 133 third_party/sqlite/src/src/test_tclvar.c int n = 0; n 139 third_party/sqlite/src/src/test_tclvar.c Tcl_ListObjLength(0, pCur->pList1, &n); n 140 third_party/sqlite/src/src/test_tclvar.c while( !ok && pCur->i1<n ){ n 827 third_party/sqlite/src/src/test_vfs.c int n, n 837 third_party/sqlite/src/src/test_vfs.c sqlite3_snprintf(sizeof(zLock), zLock, "%d %d", ofst, n); n 864 third_party/sqlite/src/src/test_vfs.c u32 mask = (((1<<n)-1) << ofst); n 1002 third_party/sqlite/src/src/test_vfs.c int n; n 1003 third_party/sqlite/src/src/test_vfs.c u8 *a = Tcl_GetByteArrayFromObj(objv[3], &n); n 1006 third_party/sqlite/src/src/test_vfs.c for(i=0; i*pgsz<n; i++){ n 1009 third_party/sqlite/src/src/test_vfs.c if( n-i*pgsz<pgsz ){ n 1010 third_party/sqlite/src/src/test_vfs.c nByte = n; n 424 third_party/sqlite/src/src/test_vfstrace.c static int vfstraceShmLock(sqlite3_file *pFile, int ofst, int n, int flags){ n 439 third_party/sqlite/src/src/test_vfstrace.c pInfo->zVfsName, p->zFName, ofst, n, &zLck[1]); n 440 third_party/sqlite/src/src/test_vfstrace.c rc = p->pReal->pMethods->xShmLock(p->pReal, ofst, n, flags); n 324 third_party/sqlite/src/src/tokenize.c int n = 0; n 329 third_party/sqlite/src/src/tokenize.c n++; n 331 third_party/sqlite/src/src/tokenize.c }else if( c=='(' && n>0 ){ n 348 third_party/sqlite/src/src/tokenize.c if( n==0 ) *tokenType = TK_ILLEGAL; n 423 third_party/sqlite/src/src/tokenize.c pParse->sLastToken.n = sqlite3GetToken((unsigned char*)&zSql[i],&tokenType); n 424 third_party/sqlite/src/src/tokenize.c i += pParse->sLastToken.n; n 107 third_party/sqlite/src/src/trigger.c if( pName2->n>0 ){ n 130 third_party/sqlite/src/src/trigger.c if( db->init.busy==0 && pName2->n==0 && pTab n 280 third_party/sqlite/src/src/trigger.c nameToken.n = sqlite3Strlen30(nameToken.z); n 297 third_party/sqlite/src/src/trigger.c z = sqlite3DbStrNDup(db, (char*)pAll->z, pAll->n); n 318 third_party/sqlite/src/src/trigger.c int n = sqlite3Strlen30(pLink->table); n 319 third_party/sqlite/src/src/trigger.c pTab = sqlite3HashFind(&pLink->pTabSchema->tblHash, pLink->table, n); n 364 third_party/sqlite/src/src/trigger.c pTriggerStep = sqlite3DbMallocZero(db, sizeof(TriggerStep) + pName->n); n 367 third_party/sqlite/src/src/trigger.c memcpy(z, pName->z, pName->n); n 369 third_party/sqlite/src/src/trigger.c pTriggerStep->target.n = pName->n; n 522 third_party/sqlite/src/src/trigger.c int n = sqlite3Strlen30(pTrigger->table); n 523 third_party/sqlite/src/src/trigger.c return sqlite3HashFind(&pTrigger->pTabSchema->tblHash, pTrigger->table, n); n 216 third_party/sqlite/src/src/utf.c assert( pMem->n>=0 ); n 239 third_party/sqlite/src/src/utf.c zTerm = &zIn[pMem->n&~1]; n 257 third_party/sqlite/src/src/utf.c pMem->n &= ~1; n 258 third_party/sqlite/src/src/utf.c len = pMem->n * 2 + 1; n 265 third_party/sqlite/src/src/utf.c len = pMem->n * 2 + 2; n 275 third_party/sqlite/src/src/utf.c zTerm = &zIn[pMem->n]; n 299 third_party/sqlite/src/src/utf.c pMem->n = (int)(z - zOut); n 316 third_party/sqlite/src/src/utf.c pMem->n = (int)(z - zOut); n 319 third_party/sqlite/src/src/utf.c assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len ); n 352 third_party/sqlite/src/src/utf.c assert( pMem->n>=0 ); n 353 third_party/sqlite/src/src/utf.c if( pMem->n>1 ){ n 367 third_party/sqlite/src/src/utf.c pMem->n -= 2; n 368 third_party/sqlite/src/src/utf.c memmove(pMem->z, &pMem->z[2], pMem->n); n 369 third_party/sqlite/src/src/utf.c pMem->z[pMem->n] = '\0'; n 370 third_party/sqlite/src/src/utf.c pMem->z[pMem->n+1] = '\0'; n 468 third_party/sqlite/src/src/utf.c char *sqlite3Utf8to16(sqlite3 *db, u8 enc, char *z, int n, int *pnOut){ n 472 third_party/sqlite/src/src/utf.c sqlite3VdbeMemSetStr(&m, z, n, SQLITE_UTF8, SQLITE_STATIC); n 478 third_party/sqlite/src/src/utf.c *pnOut = m.n; n 491 third_party/sqlite/src/src/utf.c int n = 0; n 494 third_party/sqlite/src/src/utf.c while( n<nChar ){ n 496 third_party/sqlite/src/src/utf.c n++; n 499 third_party/sqlite/src/src/utf.c while( n<nChar ){ n 501 third_party/sqlite/src/src/utf.c n++; n 517 third_party/sqlite/src/src/utf.c int n; n 523 third_party/sqlite/src/src/utf.c n = (int)(z-zBuf); n 524 third_party/sqlite/src/src/utf.c assert( n>0 && n<=4 ); n 532 third_party/sqlite/src/src/utf.c assert( (z-zBuf)==n ); n 538 third_party/sqlite/src/src/utf.c n = (int)(z-zBuf); n 539 third_party/sqlite/src/src/utf.c assert( n>0 && n<=4 ); n 544 third_party/sqlite/src/src/utf.c assert( (z-zBuf)==n ); n 550 third_party/sqlite/src/src/utf.c n = (int)(z-zBuf); n 551 third_party/sqlite/src/src/utf.c assert( n>0 && n<=4 ); n 556 third_party/sqlite/src/src/utf.c assert( (z-zBuf)==n ); n 604 third_party/sqlite/src/src/util.c int i, j, n; n 615 third_party/sqlite/src/src/util.c n = 0; n 617 third_party/sqlite/src/src/util.c buf[n++] = (u8)((v & 0x7f) | 0x80); n 621 third_party/sqlite/src/src/util.c assert( n<=9 ); n 622 third_party/sqlite/src/src/util.c for(i=0, j=n-1; j>=0; j--, i++){ n 625 third_party/sqlite/src/src/util.c return n; n 894 third_party/sqlite/src/src/util.c u8 n; n 897 third_party/sqlite/src/src/util.c n = sqlite3GetVarint(p, &v64); n 898 third_party/sqlite/src/src/util.c assert( n>3 && n<=9 ); n 904 third_party/sqlite/src/src/util.c return n; n 946 third_party/sqlite/src/src/util.c u8 n; n 949 third_party/sqlite/src/src/util.c n = sqlite3GetVarint(p, &v64); n 950 third_party/sqlite/src/src/util.c assert( n>5 && n<=9 ); n 952 third_party/sqlite/src/src/util.c return n; n 1011 third_party/sqlite/src/src/util.c void *sqlite3HexToBlob(sqlite3 *db, const char *z, int n){ n 1015 third_party/sqlite/src/src/util.c zBlob = (char *)sqlite3DbMallocRaw(db, n/2 + 1); n 1016 third_party/sqlite/src/src/util.c n--; n 1018 third_party/sqlite/src/src/util.c for(i=0; i<n; i+=2){ n 104 third_party/sqlite/src/src/vdbe.c if( (p->flags & (MEM_Str|MEM_Blob))!=0 && p->n>sqlite3_max_blobsize ){ n 105 third_party/sqlite/src/src/vdbe.c sqlite3_max_blobsize = p->n; n 256 third_party/sqlite/src/src/vdbe.c if( sqlite3AtoF(pRec->z, &rValue, pRec->n, enc)==0 ) return; n 257 third_party/sqlite/src/src/vdbe.c if( 0==sqlite3Atoi64(pRec->z, &iValue, pRec->n, enc) ){ n 365 third_party/sqlite/src/src/vdbe.c sqlite3_snprintf(100, zCsr, "%d[", pMem->n); n 367 third_party/sqlite/src/src/vdbe.c for(i=0; i<16 && i<pMem->n; i++){ n 371 third_party/sqlite/src/src/vdbe.c for(i=0; i<16 && i<pMem->n; i++){ n 400 third_party/sqlite/src/src/vdbe.c sqlite3_snprintf(100, &zBuf[k], "%d", pMem->n); n 403 third_party/sqlite/src/src/vdbe.c for(j=0; j<15 && j<pMem->n; j++){ n 493 third_party/sqlite/src/src/vdbe.c int n = 0; n 495 third_party/sqlite/src/src/vdbe.c for(p=db->pSavepoint; p; p=p->pNext) n++; n 496 third_party/sqlite/src/src/vdbe.c assert( n==(db->nSavepoint + db->isTransactionSavepoint) ); n 932 third_party/sqlite/src/src/vdbe.c pOp->p1 = pOut->n; n 949 third_party/sqlite/src/src/vdbe.c pOut->n = pOp->p1; n 1007 third_party/sqlite/src/src/vdbe.c int n; /* Number of registers left to copy */ n 1011 third_party/sqlite/src/src/vdbe.c n = pOp->p3; n 1014 third_party/sqlite/src/src/vdbe.c assert( n>0 && p1>0 && p2>0 ); n 1015 third_party/sqlite/src/src/vdbe.c assert( p1+n<=p2 || p2+n<=p1 ); n 1019 third_party/sqlite/src/src/vdbe.c while( n-- ){ n 1173 third_party/sqlite/src/src/vdbe.c nByte = pIn1->n + pIn2->n; n 1182 third_party/sqlite/src/src/vdbe.c memcpy(pOut->z, pIn2->z, pIn2->n); n 1184 third_party/sqlite/src/src/vdbe.c memcpy(&pOut->z[pIn2->n], pIn1->z, pIn1->n); n 1188 third_party/sqlite/src/src/vdbe.c pOut->n = (int)nByte; n 1348 third_party/sqlite/src/src/vdbe.c int n; n 1350 third_party/sqlite/src/src/vdbe.c n = pOp->p5; n 1352 third_party/sqlite/src/src/vdbe.c assert( apVal || n==0 ); n 1357 third_party/sqlite/src/src/vdbe.c assert( n==0 || (pOp->p2>0 && pOp->p2+n<=p->nMem+1) ); n 1358 third_party/sqlite/src/src/vdbe.c assert( pOp->p3<pOp->p2 || pOp->p3>=pOp->p2+n ); n 1360 third_party/sqlite/src/src/vdbe.c for(i=0; i<n; i++, pArg++){ n 1396 third_party/sqlite/src/src/vdbe.c (*ctx.pFunc->xFunc)(&ctx, n, apVal); /* IMP: R-24505-23230 */ n 1858 third_party/sqlite/src/src/vdbe.c int n; n 1867 third_party/sqlite/src/src/vdbe.c n = pOp->p3; n 1869 third_party/sqlite/src/src/vdbe.c assert( n>0 ); n 1876 third_party/sqlite/src/src/vdbe.c for(k=0; k<n; k++) if( aPermute[k]>mx ) mx = aPermute[k]; n 1880 third_party/sqlite/src/src/vdbe.c assert( p1>0 && p1+n<=p->nMem+1 ); n 1881 third_party/sqlite/src/src/vdbe.c assert( p2>0 && p2+n<=p->nMem+1 ); n 1884 third_party/sqlite/src/src/vdbe.c for(i=0; i<n; i++){ n 2162 third_party/sqlite/src/src/vdbe.c payloadSize = pReg->n; n 2463 third_party/sqlite/src/src/vdbe.c if( pRec->flags&MEM_Zero && pRec->n>0 ){ n 2511 third_party/sqlite/src/src/vdbe.c pOut->n = (int)nByte; n 3497 third_party/sqlite/src/src/vdbe.c pIdxKey = sqlite3VdbeRecordUnpack(pC->pKeyInfo, pIn3->n, pIn3->z, n 3908 third_party/sqlite/src/src/vdbe.c pData->n = 0; n 3920 third_party/sqlite/src/src/vdbe.c pData->z, pData->n, nZero, n 4040 third_party/sqlite/src/src/vdbe.c u32 n; n 4074 third_party/sqlite/src/src/vdbe.c n = (u32)n64; n 4076 third_party/sqlite/src/src/vdbe.c rc = sqlite3BtreeDataSize(pCrsr, &n); n 4078 third_party/sqlite/src/src/vdbe.c if( n>(u32)db->aLimit[SQLITE_LIMIT_LENGTH] ){ n 4082 third_party/sqlite/src/src/vdbe.c if( sqlite3VdbeMemGrow(pOut, n, 0) ){ n 4085 third_party/sqlite/src/src/vdbe.c pOut->n = n; n 4088 third_party/sqlite/src/src/vdbe.c rc = sqlite3BtreeKey(pCrsr, 0, n, pOut->z); n 4090 third_party/sqlite/src/src/vdbe.c rc = sqlite3BtreeData(pCrsr, 0, n, pOut->z); n 4338 third_party/sqlite/src/src/vdbe.c nKey = pIn2->n; n 5161 third_party/sqlite/src/src/vdbe.c int n; n 5168 third_party/sqlite/src/src/vdbe.c n = pOp->p5; n 5169 third_party/sqlite/src/src/vdbe.c assert( n>=0 ); n 5172 third_party/sqlite/src/src/vdbe.c assert( apVal || n==0 ); n 5173 third_party/sqlite/src/src/vdbe.c for(i=0; i<n; i++, pRec++){ n 5182 third_party/sqlite/src/src/vdbe.c pMem->n++; n 5196 third_party/sqlite/src/src/vdbe.c (ctx.pFunc->xStep)(&ctx, n, apVal); /* IMP: R-24505-23230 */ n 5367 third_party/sqlite/src/src/vdbe.c pOut->n = sqlite3Strlen30(pOut->z); n 202 third_party/sqlite/src/src/vdbe.h void sqlite3VdbeSetSql(Vdbe*, const char *z, int n, int); n 148 third_party/sqlite/src/src/vdbeInt.h int n; /* Number of characters in string value, excluding '\0' */ n 385 third_party/sqlite/src/src/vdbeInt.h int sqlite3VdbeMemGrow(Mem *pMem, int n, int preserve); n 146 third_party/sqlite/src/src/vdbeapi.c return p->n ? p->z : 0; n 195 third_party/sqlite/src/src/vdbeapi.c int n, /* Bytes in string, or negative */ n 199 third_party/sqlite/src/src/vdbeapi.c if( sqlite3VdbeMemSetStr(&pCtx->s, z, n, enc, xDel)==SQLITE_TOOBIG ){ n 206 third_party/sqlite/src/src/vdbeapi.c int n, n 209 third_party/sqlite/src/src/vdbeapi.c assert( n>=0 ); n 211 third_party/sqlite/src/src/vdbeapi.c setResultStrOrError(pCtx, z, n, 0, xDel); n 217 third_party/sqlite/src/src/vdbeapi.c void sqlite3_result_error(sqlite3_context *pCtx, const char *z, int n){ n 220 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF8, SQLITE_TRANSIENT); n 223 third_party/sqlite/src/src/vdbeapi.c void sqlite3_result_error16(sqlite3_context *pCtx, const void *z, int n){ n 226 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetStr(&pCtx->s, z, n, SQLITE_UTF16NATIVE, SQLITE_TRANSIENT); n 244 third_party/sqlite/src/src/vdbeapi.c int n, n 248 third_party/sqlite/src/src/vdbeapi.c setResultStrOrError(pCtx, z, n, SQLITE_UTF8, xDel); n 254 third_party/sqlite/src/src/vdbeapi.c int n, n 258 third_party/sqlite/src/src/vdbeapi.c setResultStrOrError(pCtx, z, n, SQLITE_UTF16NATIVE, xDel); n 263 third_party/sqlite/src/src/vdbeapi.c int n, n 267 third_party/sqlite/src/src/vdbeapi.c setResultStrOrError(pCtx, z, n, SQLITE_UTF16BE, xDel); n 272 third_party/sqlite/src/src/vdbeapi.c int n, n 276 third_party/sqlite/src/src/vdbeapi.c setResultStrOrError(pCtx, z, n, SQLITE_UTF16LE, xDel); n 283 third_party/sqlite/src/src/vdbeapi.c void sqlite3_result_zeroblob(sqlite3_context *pCtx, int n){ n 285 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetZeroBlob(&pCtx->s, n); n 654 third_party/sqlite/src/src/vdbeapi.c return p->pMem->n; n 851 third_party/sqlite/src/src/vdbeapi.c int n; n 855 third_party/sqlite/src/src/vdbeapi.c n = sqlite3_column_count(pStmt); n 856 third_party/sqlite/src/src/vdbeapi.c if( N<n && N>=0 ){ n 857 third_party/sqlite/src/src/vdbeapi.c N += useType*n; n 1134 third_party/sqlite/src/src/vdbeapi.c rc = sqlite3_bind_blob(pStmt, i, pValue->z, pValue->n,SQLITE_TRANSIENT); n 1139 third_party/sqlite/src/src/vdbeapi.c rc = bindText(pStmt,i, pValue->z, pValue->n, SQLITE_TRANSIENT, n 1150 third_party/sqlite/src/src/vdbeapi.c int sqlite3_bind_zeroblob(sqlite3_stmt *pStmt, int i, int n){ n 1155 third_party/sqlite/src/src/vdbeapi.c sqlite3VdbeMemSetZeroBlob(&p->aVar[i-1], n); n 53 third_party/sqlite/src/src/vdbeaux.c void sqlite3VdbeSetSql(Vdbe *p, const char *z, int n, int isPrepareV2){ n 60 third_party/sqlite/src/src/vdbeaux.c p->zSql = sqlite3DbStrNDup(p->db, z, n); n 239 third_party/sqlite/src/src/vdbeaux.c int n = p->nLabelAlloc*2 + 5; n 241 third_party/sqlite/src/src/vdbeaux.c n*sizeof(p->aLabel[0])); n 423 third_party/sqlite/src/src/vdbeaux.c int n; n 426 third_party/sqlite/src/src/vdbeaux.c n = pOp[-1].p1; n 427 third_party/sqlite/src/src/vdbeaux.c if( n>nMaxArgs ) nMaxArgs = n; n 703 third_party/sqlite/src/src/vdbeaux.c void sqlite3VdbeChangeP4(Vdbe *p, int addr, const char *zP4, int n){ n 710 third_party/sqlite/src/src/vdbeaux.c if ( n!=P4_KEYINFO && n!=P4_VTAB ) { n 711 third_party/sqlite/src/src/vdbeaux.c freeP4(db, n, (void*)*(char**)&zP4); n 723 third_party/sqlite/src/src/vdbeaux.c if( n==P4_INT32 ){ n 731 third_party/sqlite/src/src/vdbeaux.c }else if( n==P4_KEYINFO ){ n 752 third_party/sqlite/src/src/vdbeaux.c }else if( n==P4_KEYINFO_HANDOFF ){ n 755 third_party/sqlite/src/src/vdbeaux.c }else if( n==P4_VTAB ){ n 760 third_party/sqlite/src/src/vdbeaux.c }else if( n<0 ){ n 762 third_party/sqlite/src/src/vdbeaux.c pOp->p4type = (signed char)n; n 764 third_party/sqlite/src/src/vdbeaux.c if( n==0 ) n = sqlite3Strlen30(zP4); n 765 third_party/sqlite/src/src/vdbeaux.c pOp->p4.z = sqlite3DbStrNDup(p->db, zP4, n); n 865 third_party/sqlite/src/src/vdbeaux.c int n = sqlite3Strlen30(pColl->zName); n 866 third_party/sqlite/src/src/vdbeaux.c if( i+n>nTemp-6 ){ n 874 third_party/sqlite/src/src/vdbeaux.c memcpy(&zTemp[i], pColl->zName,n+1); n 875 third_party/sqlite/src/src/vdbeaux.c i += n; n 1171 third_party/sqlite/src/src/vdbeaux.c nSub = pSub->n/sizeof(Vdbe*); n 1215 third_party/sqlite/src/src/vdbeaux.c pMem->n = sqlite3Strlen30(pMem->z); n 1235 third_party/sqlite/src/src/vdbeaux.c pSub->n = nSub*sizeof(SubProgram*); n 1265 third_party/sqlite/src/src/vdbeaux.c pMem->n = sqlite3Strlen30(pMem->z); n 1277 third_party/sqlite/src/src/vdbeaux.c pMem->n = 2; n 1287 third_party/sqlite/src/src/vdbeaux.c pMem->n = sqlite3Strlen30(pMem->z); n 1419 third_party/sqlite/src/src/vdbeaux.c int n; n 1490 third_party/sqlite/src/src/vdbeaux.c for(n=0; n<nVar; n++){ n 1491 third_party/sqlite/src/src/vdbeaux.c p->aVar[n].flags = MEM_Null; n 1492 third_party/sqlite/src/src/vdbeaux.c p->aVar[n].db = db; n 1498 third_party/sqlite/src/src/vdbeaux.c for(n=1; n<=nMem; n++){ n 1499 third_party/sqlite/src/src/vdbeaux.c p->aMem[n].flags = MEM_Null; n 1500 third_party/sqlite/src/src/vdbeaux.c p->aMem[n].db = db; n 1505 third_party/sqlite/src/src/vdbeaux.c for(n=1; n<p->nMem; n++){ n 1506 third_party/sqlite/src/src/vdbeaux.c assert( p->aMem[n].db==db ); n 1643 third_party/sqlite/src/src/vdbeaux.c int n; n 1648 third_party/sqlite/src/src/vdbeaux.c n = nResColumn*COLNAME_N; n 1650 third_party/sqlite/src/src/vdbeaux.c p->aColName = pColName = (Mem*)sqlite3DbMallocZero(db, sizeof(Mem)*n ); n 1652 third_party/sqlite/src/src/vdbeaux.c while( n-- > 0 ){ n 2525 third_party/sqlite/src/src/vdbeaux.c int n; n 2556 third_party/sqlite/src/src/vdbeaux.c n = pMem->n; n 2558 third_party/sqlite/src/src/vdbeaux.c n += pMem->u.nZero; n 2560 third_party/sqlite/src/src/vdbeaux.c assert( n>=0 ); n 2561 third_party/sqlite/src/src/vdbeaux.c return ((n*2) + 12 + ((flags&MEM_Str)!=0)); n 2673 third_party/sqlite/src/src/vdbeaux.c assert( pMem->n + ((pMem->flags & MEM_Zero)?pMem->u.nZero:0) n 2675 third_party/sqlite/src/src/vdbeaux.c assert( pMem->n<=nBuf ); n 2676 third_party/sqlite/src/src/vdbeaux.c len = pMem->n; n 2684 third_party/sqlite/src/src/vdbeaux.c memset(&buf[pMem->n], 0, len-pMem->n); n 2777 third_party/sqlite/src/src/vdbeaux.c pMem->n = len; n 3049 third_party/sqlite/src/src/vdbeaux.c testcase( szHdr==m.n ); n 3050 third_party/sqlite/src/src/vdbeaux.c if( unlikely(szHdr<3 || (int)szHdr>m.n) ){ n 3069 third_party/sqlite/src/src/vdbeaux.c testcase( (u32)m.n==szHdr+lenRowid ); n 3070 third_party/sqlite/src/src/vdbeaux.c if( unlikely((u32)m.n<szHdr+lenRowid) ){ n 3075 third_party/sqlite/src/src/vdbeaux.c sqlite3VdbeSerialGet((u8*)&m.z[m.n-lenRowid], typeRowid, &v); n 3124 third_party/sqlite/src/src/vdbeaux.c *res = sqlite3VdbeRecordCompare(m.n, m.z, pUnpacked); n 357 third_party/sqlite/src/src/vdbeblob.c int n, n 371 third_party/sqlite/src/src/vdbeblob.c if( n<0 || iOffset<0 || (iOffset+n)>p->nByte ){ n 386 third_party/sqlite/src/src/vdbeblob.c rc = xCall(p->pCsr, iOffset+p->iOffset, n, z); n 404 third_party/sqlite/src/src/vdbeblob.c int sqlite3_blob_read(sqlite3_blob *pBlob, void *z, int n, int iOffset){ n 405 third_party/sqlite/src/src/vdbeblob.c return blobReadWrite(pBlob, z, n, iOffset, sqlite3BtreeData); n 411 third_party/sqlite/src/src/vdbeblob.c int sqlite3_blob_write(sqlite3_blob *pBlob, const void *z, int n, int iOffset){ n 412 third_party/sqlite/src/src/vdbeblob.c return blobReadWrite(pBlob, (void *)z, n, iOffset, sqlite3BtreePutData); n 77 third_party/sqlite/src/src/vdbemem.c int sqlite3VdbeMemGrow(Mem *pMem, int n, int preserve){ n 86 third_party/sqlite/src/src/vdbemem.c if( n<32 ) n = 32; n 87 third_party/sqlite/src/src/vdbemem.c if( sqlite3DbMallocSize(pMem->db, pMem->zMalloc)<n ){ n 89 third_party/sqlite/src/src/vdbemem.c pMem->z = pMem->zMalloc = sqlite3DbReallocOrFree(pMem->db, pMem->z, n); n 93 third_party/sqlite/src/src/vdbemem.c pMem->zMalloc = sqlite3DbMallocRaw(pMem->db, n); n 98 third_party/sqlite/src/src/vdbemem.c memcpy(pMem->zMalloc, pMem->z, pMem->n); n 129 third_party/sqlite/src/src/vdbemem.c if( sqlite3VdbeMemGrow(pMem, pMem->n + 2, 1) ){ n 132 third_party/sqlite/src/src/vdbemem.c pMem->z[pMem->n] = 0; n 133 third_party/sqlite/src/src/vdbemem.c pMem->z[pMem->n+1] = 0; n 156 third_party/sqlite/src/src/vdbemem.c nByte = pMem->n + pMem->u.nZero; n 164 third_party/sqlite/src/src/vdbemem.c memset(&pMem->z[pMem->n], 0, pMem->u.nZero); n 165 third_party/sqlite/src/src/vdbemem.c pMem->n += pMem->u.nZero; n 181 third_party/sqlite/src/src/vdbemem.c if( sqlite3VdbeMemGrow(pMem, pMem->n+2, 1) ){ n 184 third_party/sqlite/src/src/vdbemem.c pMem->z[pMem->n] = 0; n 185 third_party/sqlite/src/src/vdbemem.c pMem->z[pMem->n+1] = 0; n 232 third_party/sqlite/src/src/vdbemem.c pMem->n = sqlite3Strlen30(pMem->z); n 371 third_party/sqlite/src/src/vdbemem.c assert( pMem->z || pMem->n==0 ); n 373 third_party/sqlite/src/src/vdbemem.c sqlite3Atoi64(pMem->z, &value, pMem->n, pMem->enc); n 396 third_party/sqlite/src/src/vdbemem.c sqlite3AtoF(pMem->z, &val, pMem->n, pMem->enc); n 472 third_party/sqlite/src/src/vdbemem.c if( 0==sqlite3Atoi64(pMem->z, &pMem->u.i, pMem->n, pMem->enc) ){ n 505 third_party/sqlite/src/src/vdbemem.c void sqlite3VdbeMemSetZeroBlob(Mem *pMem, int n){ n 509 third_party/sqlite/src/src/vdbemem.c pMem->n = 0; n 510 third_party/sqlite/src/src/vdbemem.c if( n<0 ) n = 0; n 511 third_party/sqlite/src/src/vdbemem.c pMem->u.nZero = n; n 515 third_party/sqlite/src/src/vdbemem.c sqlite3VdbeMemGrow(pMem, n, 0); n 517 third_party/sqlite/src/src/vdbemem.c pMem->n = n; n 518 third_party/sqlite/src/src/vdbemem.c memset(pMem->z, 0, n); n 579 third_party/sqlite/src/src/vdbemem.c int n = p->n; n 581 third_party/sqlite/src/src/vdbemem.c n += p->u.nZero; n 583 third_party/sqlite/src/src/vdbemem.c return n>p->db->aLimit[SQLITE_LIMIT_LENGTH]; n 691 third_party/sqlite/src/src/vdbemem.c int n, /* Bytes in string, or negative */ n 695 third_party/sqlite/src/src/vdbemem.c int nByte = n; /* New value for pMem->n */ n 751 third_party/sqlite/src/src/vdbemem.c pMem->n = nByte; n 855 third_party/sqlite/src/src/vdbemem.c return pColl->xCmp(pColl->pUser,pMem1->n,pMem1->z,pMem2->n,pMem2->z); n 866 third_party/sqlite/src/src/vdbemem.c n1 = v1==0 ? 0 : c1.n; n 868 third_party/sqlite/src/src/vdbemem.c n2 = v2==0 ? 0 : c2.n; n 880 third_party/sqlite/src/src/vdbemem.c rc = memcmp(pMem1->z, pMem2->z, (pMem1->n>pMem2->n)?pMem2->n:pMem1->n); n 882 third_party/sqlite/src/src/vdbemem.c rc = pMem1->n - pMem2->n; n 942 third_party/sqlite/src/src/vdbemem.c pMem->n = amt; n 1128 third_party/sqlite/src/src/vdbemem.c int n, /* Length of string z */ n 1133 third_party/sqlite/src/src/vdbemem.c if( v ) sqlite3VdbeMemSetStr((Mem *)v, z, n, enc, xDel); n 1153 third_party/sqlite/src/src/vdbemem.c return p->n + p->u.nZero; n 1155 third_party/sqlite/src/src/vdbemem.c return p->n; n 30 third_party/sqlite/src/src/vdbetrace.c int n; n 34 third_party/sqlite/src/src/vdbetrace.c n = sqlite3GetToken((u8*)zSql, &tokenType); n 35 third_party/sqlite/src/src/vdbetrace.c assert( n>0 && tokenType!=TK_ILLEGAL ); n 37 third_party/sqlite/src/src/vdbetrace.c *pnToken = n; n 40 third_party/sqlite/src/src/vdbetrace.c nTotal += n; n 41 third_party/sqlite/src/src/vdbetrace.c zSql += n; n 72 third_party/sqlite/src/src/vdbetrace.c int n; /* Length of a token prefix */ n 92 third_party/sqlite/src/src/vdbetrace.c n = findNextHostParameter(zRawSql, &nToken); n 93 third_party/sqlite/src/src/vdbetrace.c assert( n>0 ); n 94 third_party/sqlite/src/src/vdbetrace.c sqlite3StrAccumAppend(&out, zRawSql, n); n 95 third_party/sqlite/src/src/vdbetrace.c zRawSql += n; n 130 third_party/sqlite/src/src/vdbetrace.c sqlite3VdbeMemSetStr(&utf8, pVar->z, pVar->n, enc, SQLITE_STATIC); n 132 third_party/sqlite/src/src/vdbetrace.c sqlite3XPrintf(&out, "'%.*q'", utf8.n, utf8.z); n 137 third_party/sqlite/src/src/vdbetrace.c sqlite3XPrintf(&out, "'%.*q'", pVar->n, pVar->z); n 144 third_party/sqlite/src/src/vdbetrace.c for(i=0; i<pVar->n; i++){ n 289 third_party/sqlite/src/src/vtab.c pParse->sNameToken.n = (int)(&pModuleName->z[pModuleName->n] - pName1->z); n 312 third_party/sqlite/src/src/vtab.c int n = pParse->sArg.n; n 314 third_party/sqlite/src/src/vtab.c addModuleArgument(db, pParse->pNewTable, sqlite3DbStrNDup(db, z, n)); n 345 third_party/sqlite/src/src/vtab.c pParse->sNameToken.n = (int)(pEnd->z - pParse->sNameToken.z) + pEnd->n; n 407 third_party/sqlite/src/src/vtab.c pParse->sArg.n = 0; n 418 third_party/sqlite/src/src/vtab.c pArg->n = p->n; n 421 third_party/sqlite/src/src/vtab.c pArg->n = (int)(&p->z[p->n] - pArg->z); n 923 third_party/sqlite/src/src/vtab.c int i, n; n 930 third_party/sqlite/src/src/vtab.c n = (pToplevel->nVtabLock+1)*sizeof(pToplevel->apVtabLock[0]); n 931 third_party/sqlite/src/src/vtab.c apVtabLock = sqlite3_realloc(pToplevel->apVtabLock, n); n 773 third_party/sqlite/src/src/wal.c static int walLockExclusive(Wal *pWal, int lockIdx, int n){ n 776 third_party/sqlite/src/src/wal.c rc = sqlite3OsShmLock(pWal->pDbFd, lockIdx, n, n 779 third_party/sqlite/src/src/wal.c walLockName(lockIdx), n, rc ? "failed" : "ok")); n 783 third_party/sqlite/src/src/wal.c static void walUnlockExclusive(Wal *pWal, int lockIdx, int n){ n 785 third_party/sqlite/src/src/wal.c (void)sqlite3OsShmLock(pWal->pDbFd, lockIdx, n, n 788 third_party/sqlite/src/src/wal.c walLockName(lockIdx), n)); n 1572 third_party/sqlite/src/src/wal.c int n /* Number of bytes to lock */ n 1576 third_party/sqlite/src/src/wal.c rc = walLockExclusive(pWal, lockIdx, n); n 190 third_party/sqlite/src/src/where.c int n; /* Number of assigned cursor values */ n 402 third_party/sqlite/src/src/where.c assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 ); n 403 third_party/sqlite/src/src/where.c for(i=0; i<pMaskSet->n; i++){ n 420 third_party/sqlite/src/src/where.c assert( pMaskSet->n < ArraySize(pMaskSet->ix) ); n 421 third_party/sqlite/src/src/where.c pMaskSet->ix[pMaskSet->n++] = iCursor; n 1817 third_party/sqlite/src/src/where.c int n; /* Column counter */ n 1887 third_party/sqlite/src/src/where.c n = 0; n 1896 third_party/sqlite/src/src/where.c pIdx->aiColumn[n] = pTerm->u.leftColumn; n 1898 third_party/sqlite/src/src/where.c pIdx->azColl[n] = ALWAYS(pColl) ? pColl->zName : "BINARY"; n 1899 third_party/sqlite/src/src/where.c n++; n 1903 third_party/sqlite/src/src/where.c assert( (u32)n==pLevel->plan.nEq ); n 1909 third_party/sqlite/src/src/where.c pIdx->aiColumn[n] = i; n 1910 third_party/sqlite/src/src/where.c pIdx->azColl[n] = "BINARY"; n 1911 third_party/sqlite/src/src/where.c n++; n 1916 third_party/sqlite/src/src/where.c pIdx->aiColumn[n] = i; n 1917 third_party/sqlite/src/src/where.c pIdx->azColl[n] = "BINARY"; n 1918 third_party/sqlite/src/src/where.c n++; n 1921 third_party/sqlite/src/src/where.c assert( n==nColumn ); n 2309 third_party/sqlite/src/src/where.c int n; n 2331 third_party/sqlite/src/src/where.c n = sqlite3ValueBytes(pVal, pColl->enc); n 2348 third_party/sqlite/src/src/where.c c = pColl->xCmp(pColl->pUser, nSample, zSample, n, z); n 2353 third_party/sqlite/src/src/where.c c = pColl->xCmp(pColl->pUser, aSample[i].nByte, aSample[i].u.z, n, z); n 3224 third_party/sqlite/src/src/where.c static void codeApplyAffinity(Parse *pParse, int base, int n, char *zAff){ n 3235 third_party/sqlite/src/src/where.c while( n>0 && zAff[0]==SQLITE_AFF_NONE ){ n 3236 third_party/sqlite/src/src/where.c n--; n 3240 third_party/sqlite/src/src/where.c while( n>1 && zAff[n-1]==SQLITE_AFF_NONE ){ n 3241 third_party/sqlite/src/src/where.c n--; n 3245 third_party/sqlite/src/src/where.c if( n>0 ){ n 3246 third_party/sqlite/src/src/where.c sqlite3VdbeAddOp2(v, OP_Affinity, base, n); n 3247 third_party/sqlite/src/src/where.c sqlite3VdbeChangeP4(v, -1, zAff, n); n 3248 third_party/sqlite/src/src/where.c sqlite3ExprCacheAffinityChange(pParse, base, n); n 4468 third_party/sqlite/src/src/where.c assert( pWC->vmask==0 && pMaskSet->n==0 ); n 4755 third_party/sqlite/src/src/where.c int n = 0; n 4756 third_party/sqlite/src/src/where.c for(; b; b=b>>1, n++){} n 4758 third_party/sqlite/src/src/where.c SQLITE_INT_TO_PTR(n), P4_INT32); n 4759 third_party/sqlite/src/src/where.c assert( n<=pTab->nCol ); n 4806 third_party/sqlite/src/src/where.c int n; n 4811 third_party/sqlite/src/src/where.c n = sqlite3Strlen30(z); n 4812 third_party/sqlite/src/src/where.c if( n+nQPlan < sizeof(sqlite3_query_plan)-10 ){ n 4817 third_party/sqlite/src/src/where.c memcpy(&sqlite3_query_plan[nQPlan], z, n); n 4818 third_party/sqlite/src/src/where.c nQPlan += n; n 4828 third_party/sqlite/src/src/where.c n = sqlite3Strlen30(pLevel->plan.u.pIdx->zName); n 4829 third_party/sqlite/src/src/where.c if( n+nQPlan < sizeof(sqlite3_query_plan)-2 ){ n 4830 third_party/sqlite/src/src/where.c memcpy(&sqlite3_query_plan[nQPlan], pLevel->plan.u.pIdx->zName, n); n 4831 third_party/sqlite/src/src/where.c nQPlan += n; n 250 third_party/sqlite/src/test/threadtest1.c int i, n; n 257 third_party/sqlite/src/test/threadtest1.c if( argc<2 || (n=atoi(argv[1]))<1 ) n = 10; n 258 third_party/sqlite/src/test/threadtest1.c for(i=0; i<n; i++){ n 263 third_party/sqlite/src/test/threadtest1.c for(i=0; i<n; i++){ n 283 third_party/sqlite/src/test/threadtest1.c for(i=0; i<n; i++){ n 496 third_party/sqlite/src/test/threadtest3.c static int busyhandler(void *pArg, int n){ n 1439 third_party/sqlite/src/test/threadtest3.c int n = strlen(z); n 1440 third_party/sqlite/src/test/threadtest3.c if( !zTest || ((bPrefix || n==nTest) && 0==strncmp(zTest, z, nTest)) ){ n 549 third_party/sqlite/src/tool/lemon.c int i, j, k, n; n 556 third_party/sqlite/src/tool/lemon.c n = p->mxLookahead + 1; n 557 third_party/sqlite/src/tool/lemon.c if( p->nAction + n >= p->nActionAlloc ){ n 559 third_party/sqlite/src/tool/lemon.c p->nActionAlloc = p->nAction + n + p->nActionAlloc + 20; n 593 third_party/sqlite/src/tool/lemon.c n = 0; n 596 third_party/sqlite/src/tool/lemon.c if( p->aAction[j].lookahead==j+p->mnLookahead-i ) n++; n 598 third_party/sqlite/src/tool/lemon.c if( n==p->nLookahead ){ n 1676 third_party/sqlite/src/tool/lemon.c static void errline(int n, int k, FILE *err) n 1681 third_party/sqlite/src/tool/lemon.c for(i=1; i<n && argv[i]; i++){ n 1698 third_party/sqlite/src/tool/lemon.c static int argindex(int n) n 1705 third_party/sqlite/src/tool/lemon.c if( n==0 ) return i; n 1706 third_party/sqlite/src/tool/lemon.c n--; n 1876 third_party/sqlite/src/tool/lemon.c char *OptArg(int n) n 1879 third_party/sqlite/src/tool/lemon.c i = argindex(n); n 1883 third_party/sqlite/src/tool/lemon.c void OptErr(int n) n 1886 third_party/sqlite/src/tool/lemon.c i = argindex(n); n 2353 third_party/sqlite/src/tool/lemon.c int nOld, n, nLine, nNew, nBack; n 2365 third_party/sqlite/src/tool/lemon.c n = nOld + nNew + 20; n 2374 third_party/sqlite/src/tool/lemon.c n += nLine + lemonStrlen(psp->filename) + nBack; n 2376 third_party/sqlite/src/tool/lemon.c *psp->declargslot = (char *) realloc(*psp->declargslot, n); n 2463 third_party/sqlite/src/tool/lemon.c int i, j, k, n; n 2485 third_party/sqlite/src/tool/lemon.c for(n=0; z[j+n] && !isspace(z[j+n]); n++){} n 2488 third_party/sqlite/src/tool/lemon.c if( strncmp(azDefine[k],&z[j],n)==0 && lemonStrlen(azDefine[k])==n ){ n 3254 third_party/sqlite/src/tool/lemon.c PRIVATE char *append_str(const char *zText, int n, int p1, int p2){ n 3265 third_party/sqlite/src/tool/lemon.c if( n<=0 ){ n 3266 third_party/sqlite/src/tool/lemon.c if( n<0 ){ n 3267 third_party/sqlite/src/tool/lemon.c used += n; n 3270 third_party/sqlite/src/tool/lemon.c n = lemonStrlen(zText); n 3272 third_party/sqlite/src/tool/lemon.c if( (int) (n+sizeof(zInt)*2+used) >= alloced ){ n 3273 third_party/sqlite/src/tool/lemon.c alloced = n + sizeof(zInt)*2 + used + 200; n 3277 third_party/sqlite/src/tool/lemon.c while( n-- > 0 ){ n 3279 third_party/sqlite/src/tool/lemon.c if( c=='%' && n>0 && zText[0]=='d' ){ n 3285 third_party/sqlite/src/tool/lemon.c n--; n 3612 third_party/sqlite/src/tool/lemon.c int i, j, n; n 3771 third_party/sqlite/src/tool/lemon.c n = acttab_size(pActtab); n 3772 third_party/sqlite/src/tool/lemon.c fprintf(out,"#define YY_ACTTAB_COUNT (%d)\n", n); lineno++; n 3774 third_party/sqlite/src/tool/lemon.c for(i=j=0; i<n; i++){ n 3779 third_party/sqlite/src/tool/lemon.c if( j==9 || i==n-1 ){ n 3790 third_party/sqlite/src/tool/lemon.c for(i=j=0; i<n; i++){ n 3795 third_party/sqlite/src/tool/lemon.c if( j==9 || i==n-1 ){ n 3806 third_party/sqlite/src/tool/lemon.c n = lemp->nstate; n 3807 third_party/sqlite/src/tool/lemon.c while( n>0 && lemp->sorted[n-1]->iTknOfst==NO_OFFSET ) n--; n 3808 third_party/sqlite/src/tool/lemon.c fprintf(out, "#define YY_SHIFT_COUNT (%d)\n", n-1); lineno++; n 3813 third_party/sqlite/src/tool/lemon.c for(i=j=0; i<n; i++){ n 3820 third_party/sqlite/src/tool/lemon.c if( j==9 || i==n-1 ){ n 3831 third_party/sqlite/src/tool/lemon.c n = lemp->nstate; n 3832 third_party/sqlite/src/tool/lemon.c while( n>0 && lemp->sorted[n-1]->iNtOfst==NO_OFFSET ) n--; n 3833 third_party/sqlite/src/tool/lemon.c fprintf(out, "#define YY_REDUCE_COUNT (%d)\n", n-1); lineno++; n 3838 third_party/sqlite/src/tool/lemon.c for(i=j=0; i<n; i++){ n 3845 third_party/sqlite/src/tool/lemon.c if( j==9 || i==n-1 ){ n 3856 third_party/sqlite/src/tool/lemon.c n = lemp->nstate; n 3857 third_party/sqlite/src/tool/lemon.c for(i=j=0; i<n; i++){ n 3861 third_party/sqlite/src/tool/lemon.c if( j==9 || i==n-1 ){ n 4089 third_party/sqlite/src/tool/lemon.c int nbest, n; n 4107 third_party/sqlite/src/tool/lemon.c n = 1; n 4112 third_party/sqlite/src/tool/lemon.c if( rp2==rp ) n++; n 4114 third_party/sqlite/src/tool/lemon.c if( n>nbest ){ n 4115 third_party/sqlite/src/tool/lemon.c nbest = n; n 4150 third_party/sqlite/src/tool/lemon.c int n; n 4152 third_party/sqlite/src/tool/lemon.c n = pB->nNtAct - pA->nNtAct; n 4153 third_party/sqlite/src/tool/lemon.c if( n==0 ){ n 4154 third_party/sqlite/src/tool/lemon.c n = pB->nTknAct - pA->nTknAct; n 4155 third_party/sqlite/src/tool/lemon.c if( n==0 ){ n 4156 third_party/sqlite/src/tool/lemon.c n = pB->statenum - pA->statenum; n 4159 third_party/sqlite/src/tool/lemon.c assert( n!=0 ); n 4160 third_party/sqlite/src/tool/lemon.c return n; n 4208 third_party/sqlite/src/tool/lemon.c void SetSize(int n) n 4210 third_party/sqlite/src/tool/lemon.c size = n+1; n 4580 third_party/sqlite/src/tool/lemon.c struct symbol *Symbol_Nth(int n) n 4583 third_party/sqlite/src/tool/lemon.c if( x2a && n>0 && n<=x2a->count ){ n 4584 third_party/sqlite/src/tool/lemon.c data = x2a->tbl[n-1].data; n 300 third_party/sqlite/src/tool/mkkeywordhash.c int n = pA->len - pB->len; n 301 third_party/sqlite/src/tool/mkkeywordhash.c if( n==0 ){ n 302 third_party/sqlite/src/tool/mkkeywordhash.c n = strcmp(pA->zName, pB->zName); n 304 third_party/sqlite/src/tool/mkkeywordhash.c assert( n!=0 ); n 305 third_party/sqlite/src/tool/mkkeywordhash.c return n; n 310 third_party/sqlite/src/tool/mkkeywordhash.c int n = pB->longestSuffix - pA->longestSuffix; n 311 third_party/sqlite/src/tool/mkkeywordhash.c if( n==0 ){ n 312 third_party/sqlite/src/tool/mkkeywordhash.c n = strcmp(pA->zName, pB->zName); n 314 third_party/sqlite/src/tool/mkkeywordhash.c assert( n!=0 ); n 315 third_party/sqlite/src/tool/mkkeywordhash.c return n; n 320 third_party/sqlite/src/tool/mkkeywordhash.c int n = pA->offset - pB->offset; n 321 third_party/sqlite/src/tool/mkkeywordhash.c if( n==0 ) n = pB->id - pA->id; n 322 third_party/sqlite/src/tool/mkkeywordhash.c assert( n!=0 ); n 323 third_party/sqlite/src/tool/mkkeywordhash.c return n; n 45 third_party/sqlite/src/tool/rollback-test.c int i, n; n 51 third_party/sqlite/src/tool/rollback-test.c n = strlen(z); n 52 third_party/sqlite/src/tool/rollback-test.c if( nReply+n>=sizeof(zReply)-1 ) n = sizeof(zReply) - nReply - 1; n 53 third_party/sqlite/src/tool/rollback-test.c memcpy(&zReply[nReply], z, n); n 54 third_party/sqlite/src/tool/rollback-test.c nReply += n; n 193 third_party/sqlite/src/tool/showdb.c int n, i, j; n 200 third_party/sqlite/src/tool/showdb.c n = decodeVarint(a, &x); n 202 third_party/sqlite/src/tool/showdb.c a += n; n 203 third_party/sqlite/src/tool/showdb.c i = x - n; n 205 third_party/sqlite/src/tool/showdb.c n = decodeVarint(a, &x); n 206 third_party/sqlite/src/tool/showdb.c a += n; n 207 third_party/sqlite/src/tool/showdb.c i -= n; n 208 third_party/sqlite/src/tool/showdb.c nLocal -= n; n 293 third_party/sqlite/src/tool/showdb.c int n = 0; n 303 third_party/sqlite/src/tool/showdb.c n += 4; n 310 third_party/sqlite/src/tool/showdb.c n += i; n 320 third_party/sqlite/src/tool/showdb.c n += i; n 330 third_party/sqlite/src/tool/showdb.c n += 4; n 336 third_party/sqlite/src/tool/showdb.c return nLocal+n; n 394 third_party/sqlite/src/tool/showdb.c int n; n 397 third_party/sqlite/src/tool/showdb.c n = describeCell(a[0], &a[cofst-hdrSize], showCellContent, &zDesc); n 400 third_party/sqlite/src/tool/showdb.c memset(&zMap[cofst], '*', n); n 402 third_party/sqlite/src/tool/showdb.c zMap[cofst+n-1] = ']'; n 405 third_party/sqlite/src/tool/showdb.c if( j<=n-2 ) memcpy(&zMap[cofst+1], zBuf, j); n 426 third_party/sqlite/src/tool/showdb.c int n, i, k; n 434 third_party/sqlite/src/tool/showdb.c n = (int)decodeInt32(&a[4]); n 435 third_party/sqlite/src/tool/showdb.c for(i=0; i<n; i++){ n 206 third_party/sqlite/src/tool/showwal.c int n = 0; n 215 third_party/sqlite/src/tool/showwal.c n += 4; n 222 third_party/sqlite/src/tool/showwal.c n += i; n 229 third_party/sqlite/src/tool/showwal.c n += i; n 234 third_party/sqlite/src/tool/showwal.c return n; n 44 third_party/sqlite/src/tool/speedtest16.c int n = strlen(z); n 48 third_party/sqlite/src/tool/speedtest16.c z16 = malloc( n*2 + 2 ); n 49 third_party/sqlite/src/tool/speedtest16.c for(i=j=0; i<=n; i++){ n 215 third_party/sqlite/src/tool/speedtest8.c int n = j - i; n 216 third_party/sqlite/src/tool/speedtest8.c if( n>=6 && memcmp(&zSql[i], ".crash",6)==0 ) exit(1); n 218 third_party/sqlite/src/tool/speedtest8.c nByte += n; n 85 third_party/talloc/libreplace/getifaddrs.c int fd, i, n; n 106 third_party/talloc/libreplace/getifaddrs.c n = ifc.ifc_len / sizeof(struct ifreq); n 109 third_party/talloc/libreplace/getifaddrs.c for (i=n-1; i>=0; i--) { n 162 third_party/talloc/libreplace/getifaddrs.c int fd, i, n; n 183 third_party/talloc/libreplace/getifaddrs.c n = strioctl.ic_len / sizeof(struct ifreq); n 188 third_party/talloc/libreplace/getifaddrs.c if (n*sizeof(struct ifreq) + sizeof(int) == strioctl.ic_len) { n 196 third_party/talloc/libreplace/getifaddrs.c for (i = 0; i<n; i++) { n 199 third_party/talloc/libreplace/inet_pton.c const int n = tp - colonp; n 202 third_party/talloc/libreplace/inet_pton.c for (i = 1; i <= n; i++) { n 203 third_party/talloc/libreplace/inet_pton.c endp[- i] = colonp[n - i]; n 204 third_party/talloc/libreplace/inet_pton.c colonp[n - i] = 0; n 118 third_party/talloc/libreplace/replace.c int n; n 125 third_party/talloc/libreplace/replace.c n = t->tm_year + 1900 - 1; n 127 third_party/talloc/libreplace/replace.c ((n / 4 - n / 100 + n / 400) - (1969 / 4 - 1969 / 100 + 1969 / 400)) * DAY; n 347 third_party/talloc/libreplace/replace.c char *rep_strndup(const char *s, size_t n) n 351 third_party/talloc/libreplace/replace.c n = strnlen(s, n); n 352 third_party/talloc/libreplace/replace.c ret = malloc(n+1); n 355 third_party/talloc/libreplace/replace.c memcpy(ret, s, n); n 356 third_party/talloc/libreplace/replace.c ret[n] = 0; n 176 third_party/talloc/libreplace/replace.h char *rep_strndup(const char *s, size_t n); n 182 third_party/talloc/libreplace/replace.h size_t rep_strnlen(const char *s, size_t n); n 73 third_party/talloc/libreplace/strptime.c #define get_number(from, to, n) \ n 75 third_party/talloc/libreplace/strptime.c int __n = n; \ n 89 third_party/talloc/libreplace/strptime.c # define get_alt_number(from, to, n) \ n 95 third_party/talloc/libreplace/strptime.c int __n = n; \ n 130 third_party/talloc/libreplace/strptime.c get_number (from, to, n); \ n 135 third_party/talloc/libreplace/strptime.c # define get_alt_number(from, to, n) \ n 137 third_party/talloc/libreplace/strptime.c get_number(from, to, n) n 162 third_party/talloc/libreplace/strptime.c # define strncasecmp(s1, s2, n) __strncasecmp (s1, s2, n) n 117 third_party/talloc/libreplace/test/os2_delete.c int n = os2_delete(d); n 118 third_party/talloc/libreplace/test/os2_delete.c if (n == 0) break; n 119 third_party/talloc/libreplace/test/os2_delete.c total_deleted += n; n 1598 third_party/talloc/talloc.c static size_t rep_strnlen(const char* s, size_t n) n 1602 third_party/talloc/talloc.c while (i < n && *s++ != '\0') n 1611 third_party/talloc/talloc.c char *talloc_strndup(const void *t, const char *p, size_t n) n 1614 third_party/talloc/talloc.c return __talloc_strlendup(t, p, strnlen(p, n)); n 1676 third_party/talloc/talloc.c char *talloc_strndup_append(char *s, const char *a, size_t n) n 1686 third_party/talloc/talloc.c return __talloc_strlendup_append(s, strlen(s), a, strnlen(a, n)); n 1693 third_party/talloc/talloc.c char *talloc_strndup_append_buffer(char *s, const char *a, size_t n) n 1710 third_party/talloc/talloc.c return __talloc_strlendup_append(s, slen, a, strnlen(a, n)); n 190 third_party/talloc/talloc.h char *talloc_strndup(const void *t, const char *p, size_t n); n 191 third_party/talloc/talloc.h char *talloc_strndup_append(char *s, const char *a, size_t n); n 192 third_party/talloc/talloc.h char *talloc_strndup_append_buffer(char *s, const char *a, size_t n); n 272 third_party/tcmalloc/chromium/src/base/elfcore.h #define MIPSREG(n) ({ register unsigned long r __asm__("$"#n); r; }) n 122 third_party/tcmalloc/chromium/src/base/linuxthreads.cc int n = 0; n 127 third_party/tcmalloc/chromium/src/base/linuxthreads.cc n = 10*n + (*s++ - '0'); n 128 third_party/tcmalloc/chromium/src/base/linuxthreads.cc return neg ? -n : n; n 143 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc for (AllocList *n; (n = p->next[level]) != 0 && n < e; p = n) { n 380 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc AllocList *n = a->next[0]; n 381 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc if (n != 0 && reinterpret_cast<char *>(a) + a->header.size == n 382 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc reinterpret_cast<char *>(n)) { n 384 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc a->header.size += n->header.size; n 385 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc n->header.magic = 0; n 386 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc n->header.arena = 0; n 388 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc LLA_SkiplistDelete(&arena->freelist, n, prev); n 481 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc AllocList *n = reinterpret_cast<AllocList *> n 483 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc n->header.size = s->header.size - req_rnd; n 484 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc n->header.magic = Magic(kMagicAllocated, &n->header); n 485 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc n->header.arena = arena; n 487 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc AddToFreelist(&n->levels, arena); n 60 third_party/tcmalloc/chromium/src/base/spinlock_internal.cc int32 SpinLockWait(volatile Atomic32 *w, int n, n 67 third_party/tcmalloc/chromium/src/base/spinlock_internal.cc for (i = 0; i != n && v != trans[i].from; i++) { n 69 third_party/tcmalloc/chromium/src/base/spinlock_internal.cc if (i == n) { n 57 third_party/tcmalloc/chromium/src/base/spinlock_internal.h int32 SpinLockWait(volatile Atomic32 *w, int n, n 81 third_party/tcmalloc/chromium/src/base/stl_allocator.h pointer allocate(size_type n, const void* = 0) { n 82 third_party/tcmalloc/chromium/src/base/stl_allocator.h RAW_DCHECK((n * sizeof(T)) / sizeof(T) == n, "n is too big to allocate"); n 83 third_party/tcmalloc/chromium/src/base/stl_allocator.h return static_cast<T*>(Alloc::Allocate(n * sizeof(T))); n 85 third_party/tcmalloc/chromium/src/base/stl_allocator.h void deallocate(pointer p, size_type n) { Alloc::Free(p, n * sizeof(T)); } n 45 third_party/tcmalloc/chromium/src/common.cc static inline int LgFloor(size_t n) { n 49 third_party/tcmalloc/chromium/src/common.cc size_t x = n >> shift; n 51 third_party/tcmalloc/chromium/src/common.cc n = x; n 55 third_party/tcmalloc/chromium/src/common.cc ASSERT(n == 1); n 955 third_party/tcmalloc/chromium/src/debugallocation.cc int n = GetStackTrace(pcs, sizeof(pcs)/sizeof(pcs[0]), 0); n 956 third_party/tcmalloc/chromium/src/debugallocation.cc for (int i = 0; i != n; i++) { n 75 third_party/tcmalloc/chromium/src/free_list.cc void FL_PopRange(void **head, int n, void **start, void **end) { n 76 third_party/tcmalloc/chromium/src/free_list.cc if (n == 0) { n 84 third_party/tcmalloc/chromium/src/free_list.cc for (int i = 1; i < n; ++i) { // Find end of range. n 139 third_party/tcmalloc/chromium/src/free_list.cc inline void FL_SetNext(void *t, void *n) { n 140 third_party/tcmalloc/chromium/src/free_list.cc tcmalloc::SLL_SetNext(t,n); n 57 third_party/tcmalloc/chromium/src/free_list.h void FL_PopRange(void **head, int n, void **start, void **end); n 105 third_party/tcmalloc/chromium/src/free_list.h inline void FL_SetPrevious(void *t, void *n) { n 106 third_party/tcmalloc/chromium/src/free_list.h EnsureNonLoop(t, n); n 107 third_party/tcmalloc/chromium/src/free_list.h reinterpret_cast<void**>(t)[1] = MaskPtr(n); n 110 third_party/tcmalloc/chromium/src/free_list.h inline void FL_SetNext(void *t, void *n) { n 111 third_party/tcmalloc/chromium/src/free_list.h EnsureNonLoop(t, n); n 112 third_party/tcmalloc/chromium/src/free_list.h reinterpret_cast<void**>(t)[0] = MaskPtr(n); n 186 third_party/tcmalloc/chromium/src/free_list.h inline void FL_PopRange(void **head, int n, void **start, void **end) { n 187 third_party/tcmalloc/chromium/src/free_list.h SLL_PopRange(head, n, start, end); n 312 third_party/tcmalloc/chromium/src/heap-checker.cc static void* Allocate(size_t n) { n 314 third_party/tcmalloc/chromium/src/heap-checker.cc void* p = LowLevelAlloc::AllocWithArena(n, arena_); n 1578 third_party/tcmalloc/chromium/src/heap-checker.cc char* n = new char[strlen(name) + 1]; // do this before we lock n 1579 third_party/tcmalloc/chromium/src/heap-checker.cc IgnoreObject(n); // otherwise it might be treated as live due to our stack n 1586 third_party/tcmalloc/chromium/src/heap-checker.cc memcpy(n, name, strlen(name) + 1); n 1587 third_party/tcmalloc/chromium/src/heap-checker.cc name_ = n; // checker is active n 1605 third_party/tcmalloc/chromium/src/heap-checker.cc UnIgnoreObject(n); n 1606 third_party/tcmalloc/chromium/src/heap-checker.cc delete[] n; // must be done after we unlock n 688 third_party/tcmalloc/chromium/src/heap-profile-table.cc const int n = state.buckets_.size(); n 689 third_party/tcmalloc/chromium/src/heap-profile-table.cc Entry* entries = new Entry[n]; n 696 third_party/tcmalloc/chromium/src/heap-profile-table.cc sort(entries, entries + n); n 702 third_party/tcmalloc/chromium/src/heap-profile-table.cc n > FLAGS_heap_check_max_leaks) ? FLAGS_heap_check_max_leaks : n; n 730 third_party/tcmalloc/chromium/src/heap-profile-table.cc if (to_report < n) { n 732 third_party/tcmalloc/chromium/src/heap-profile-table.cc to_report, n-1); n 69 third_party/tcmalloc/chromium/src/internal_logging.cc bool AddStr(const char* str, int n); n 152 third_party/tcmalloc/chromium/src/internal_logging.cc bool Logger::AddStr(const char* str, int n) { n 153 third_party/tcmalloc/chromium/src/internal_logging.cc if (end_ - p_ < n) { n 156 third_party/tcmalloc/chromium/src/internal_logging.cc memcpy(p_, str, n); n 157 third_party/tcmalloc/chromium/src/internal_logging.cc p_ += n; n 84 third_party/tcmalloc/chromium/src/libc_override_gcc_and_weak.h void* calloc(size_t n, size_t size) __THROW ALIAS(tc_calloc); n 91 third_party/tcmalloc/chromium/src/libc_override_glibc.h void* __libc_calloc(size_t n, size_t size) ALIAS(tc_calloc); n 72 third_party/tcmalloc/chromium/src/libc_override_redefine.h void* calloc(size_t n, size_t s) __THROW { return tc_calloc(n, s); } n 47 third_party/tcmalloc/chromium/src/linked_list.h inline void SLL_SetNext(void *t, void *n) { n 48 third_party/tcmalloc/chromium/src/linked_list.h *(reinterpret_cast<void**>(t)) = n; n 123 third_party/tcmalloc/chromium/src/malloc_hook-inl.h int Traverse(T* output_array, int n) const; n 257 third_party/tcmalloc/chromium/src/malloc_hook.cc int HookList<T>::Traverse(T* output_array, int n) const { n 260 third_party/tcmalloc/chromium/src/malloc_hook.cc for (int i = 0; i < hooks_end && n > 0; ++i) { n 265 third_party/tcmalloc/chromium/src/malloc_hook.cc --n; n 252 third_party/tcmalloc/chromium/src/memory_region_map.h static void *Allocate(size_t n) { n 253 third_party/tcmalloc/chromium/src/memory_region_map.h return LowLevelAlloc::AllocWithArena(n, arena_); n 70 third_party/tcmalloc/chromium/src/page_heap.cc Span* PageHeap::SearchFreeAndLargeLists(Length n) { n 72 third_party/tcmalloc/chromium/src/page_heap.cc ASSERT(n > 0); n 75 third_party/tcmalloc/chromium/src/page_heap.cc for (Length s = n; s < kMaxPages; s++) { n 80 third_party/tcmalloc/chromium/src/page_heap.cc return Carve(ll->next, n); n 86 third_party/tcmalloc/chromium/src/page_heap.cc return Carve(ll->next, n); n 90 third_party/tcmalloc/chromium/src/page_heap.cc return AllocLarge(n); // May be NULL n 93 third_party/tcmalloc/chromium/src/page_heap.cc Span* PageHeap::New(Length n) { n 95 third_party/tcmalloc/chromium/src/page_heap.cc ASSERT(n > 0); n 97 third_party/tcmalloc/chromium/src/page_heap.cc Span* result = SearchFreeAndLargeLists(n); n 102 third_party/tcmalloc/chromium/src/page_heap.cc if (!GrowHeap(n)) { n 107 third_party/tcmalloc/chromium/src/page_heap.cc return SearchFreeAndLargeLists(n); n 110 third_party/tcmalloc/chromium/src/page_heap.cc Span* PageHeap::AllocLarge(Length n) { n 119 third_party/tcmalloc/chromium/src/page_heap.cc if (span->length >= n) { n 133 third_party/tcmalloc/chromium/src/page_heap.cc if (span->length >= n) { n 143 third_party/tcmalloc/chromium/src/page_heap.cc return best == NULL ? NULL : Carve(best, n); n 146 third_party/tcmalloc/chromium/src/page_heap.cc Span* PageHeap::Split(Span* span, Length n) { n 147 third_party/tcmalloc/chromium/src/page_heap.cc ASSERT(0 < n); n 148 third_party/tcmalloc/chromium/src/page_heap.cc ASSERT(n < span->length); n 151 third_party/tcmalloc/chromium/src/page_heap.cc Event(span, 'T', n); n 153 third_party/tcmalloc/chromium/src/page_heap.cc const int extra = span->length - n; n 154 third_party/tcmalloc/chromium/src/page_heap.cc Span* leftover = NewSpan(span->start + n, extra); n 158 third_party/tcmalloc/chromium/src/page_heap.cc pagemap_.set(span->start + n - 1, span); // Update map from pageid to span n 159 third_party/tcmalloc/chromium/src/page_heap.cc span->length = n; n 176 third_party/tcmalloc/chromium/src/page_heap.cc Span* PageHeap::Carve(Span* span, Length n) { n 177 third_party/tcmalloc/chromium/src/page_heap.cc ASSERT(n > 0); n 182 third_party/tcmalloc/chromium/src/page_heap.cc Event(span, 'A', n); n 184 third_party/tcmalloc/chromium/src/page_heap.cc const int extra = span->length - n; n 187 third_party/tcmalloc/chromium/src/page_heap.cc Span* leftover = NewSpan(span->start + n, extra); n 203 third_party/tcmalloc/chromium/src/page_heap.cc span->length = n; n 204 third_party/tcmalloc/chromium/src/page_heap.cc pagemap_.set(span->start + n - 1, span); n 212 third_party/tcmalloc/chromium/src/page_heap.cc ASSERT(span->length == n); n 223 third_party/tcmalloc/chromium/src/page_heap.cc const Length n = span->length; n 229 third_party/tcmalloc/chromium/src/page_heap.cc IncrementalScavenge(n); n 259 third_party/tcmalloc/chromium/src/page_heap.cc const Length n = span->length; n 280 third_party/tcmalloc/chromium/src/page_heap.cc Span* next = GetDescriptor(p+n); n 283 third_party/tcmalloc/chromium/src/page_heap.cc ASSERT(next->start == p+n); n 324 third_party/tcmalloc/chromium/src/page_heap.cc void PageHeap::IncrementalScavenge(Length n) { n 326 third_party/tcmalloc/chromium/src/page_heap.cc scavenge_counter_ -= n; n 359 third_party/tcmalloc/chromium/src/page_heap.cc const Length n = s->length; n 364 third_party/tcmalloc/chromium/src/page_heap.cc return n; n 466 third_party/tcmalloc/chromium/src/page_heap.cc bool PageHeap::GrowHeap(Length n) { n 468 third_party/tcmalloc/chromium/src/page_heap.cc if (n > kMaxValidPages) return false; n 469 third_party/tcmalloc/chromium/src/page_heap.cc Length ask = (n>kMinSystemAlloc) ? n : static_cast<Length>(kMinSystemAlloc); n 473 third_party/tcmalloc/chromium/src/page_heap.cc if (n < ask) { n 475 third_party/tcmalloc/chromium/src/page_heap.cc ask = n; n 118 third_party/tcmalloc/chromium/src/page_heap.h Span* New(Length n); n 139 third_party/tcmalloc/chromium/src/page_heap.h Span* Split(Span* span, Length n); n 249 third_party/tcmalloc/chromium/src/page_heap.h Span* SearchFreeAndLargeLists(Length n); n 251 third_party/tcmalloc/chromium/src/page_heap.h bool GrowHeap(Length n); n 260 third_party/tcmalloc/chromium/src/page_heap.h Span* Carve(Span* span, Length n); n 271 third_party/tcmalloc/chromium/src/page_heap.h Span* AllocLarge(Length n); n 291 third_party/tcmalloc/chromium/src/page_heap.h void IncrementalScavenge(Length n); n 85 third_party/tcmalloc/chromium/src/pagemap.h bool Ensure(Number x, size_t n) { n 90 third_party/tcmalloc/chromium/src/pagemap.h return n <= LENGTH - x; // an overflow-free way to do "x + n <= LENGTH" n 209 third_party/tcmalloc/chromium/src/pagemap.h bool Ensure(Number x, size_t n) { n 210 third_party/tcmalloc/chromium/src/pagemap.h if (n > LENGTH - x) n 212 third_party/tcmalloc/chromium/src/pagemap.h ASSERT(n > 0); n 222 third_party/tcmalloc/chromium/src/pagemap.h size_t last_page = ContainingPage(x + n - 1); n 363 third_party/tcmalloc/chromium/src/pagemap.h bool Ensure(Number start, size_t n) { n 364 third_party/tcmalloc/chromium/src/pagemap.h for (Number key = start; key <= start + n - 1; ) { n 469 third_party/tcmalloc/chromium/src/pagemap.h bool Ensure(Number start, size_t n) { n 470 third_party/tcmalloc/chromium/src/pagemap.h for (Number key = start; key <= start + n - 1; ) { n 480 third_party/tcmalloc/chromium/src/pagemap.h Node* n = NewNode(); n 481 third_party/tcmalloc/chromium/src/pagemap.h if (n == NULL) return false; n 482 third_party/tcmalloc/chromium/src/pagemap.h root_->ptrs[i1] = n; n 118 third_party/tcmalloc/chromium/src/stacktrace_arm-inl.h int n = 0; n 119 third_party/tcmalloc/chromium/src/stacktrace_arm-inl.h while (sp && n < max_depth) { n 130 third_party/tcmalloc/chromium/src/stacktrace_arm-inl.h result[n] = *sp; n 134 third_party/tcmalloc/chromium/src/stacktrace_arm-inl.h sizes[n] = (uintptr_t)next_sp - (uintptr_t)sp; n 137 third_party/tcmalloc/chromium/src/stacktrace_arm-inl.h sizes[n] = 0; n 140 third_party/tcmalloc/chromium/src/stacktrace_arm-inl.h n++; n 144 third_party/tcmalloc/chromium/src/stacktrace_arm-inl.h return n; n 78 third_party/tcmalloc/chromium/src/stacktrace_libunwind-inl.h int n = 0; n 106 third_party/tcmalloc/chromium/src/stacktrace_libunwind-inl.h while (n < max_depth) { n 111 third_party/tcmalloc/chromium/src/stacktrace_libunwind-inl.h sizes[n] = 0; n 113 third_party/tcmalloc/chromium/src/stacktrace_libunwind-inl.h result[n++] = ip; n 122 third_party/tcmalloc/chromium/src/stacktrace_libunwind-inl.h sizes[n - 1] = next_sp - sp; n 127 third_party/tcmalloc/chromium/src/stacktrace_libunwind-inl.h return n; n 127 third_party/tcmalloc/chromium/src/stacktrace_powerpc-inl.h int n = 0; n 128 third_party/tcmalloc/chromium/src/stacktrace_powerpc-inl.h while (sp && n < max_depth) { n 144 third_party/tcmalloc/chromium/src/stacktrace_powerpc-inl.h result[n] = *(sp+2); n 146 third_party/tcmalloc/chromium/src/stacktrace_powerpc-inl.h result[n] = *(sp+1); n 149 third_party/tcmalloc/chromium/src/stacktrace_powerpc-inl.h result[n] = *(sp+2); n 152 third_party/tcmalloc/chromium/src/stacktrace_powerpc-inl.h result[n] = *(sp+1); n 159 third_party/tcmalloc/chromium/src/stacktrace_powerpc-inl.h sizes[n] = (uintptr_t)next_sp - (uintptr_t)sp; n 162 third_party/tcmalloc/chromium/src/stacktrace_powerpc-inl.h sizes[n] = 0; n 165 third_party/tcmalloc/chromium/src/stacktrace_powerpc-inl.h n++; n 169 third_party/tcmalloc/chromium/src/stacktrace_powerpc-inl.h return n; n 326 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h int n = 0; n 342 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h while (sp && n < max_depth) { n 358 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h result[n] = *(sp+1); n 367 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h sizes[n] = (uintptr_t)next_sp - (uintptr_t)sp; n 370 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h sizes[n] = 0; n 373 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h n++; n 385 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h result[n] = shadow_ip_stack[i]; n 386 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h if (n + 1 < max_depth) { n 387 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h n++; n 395 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h return n; n 570 third_party/tcmalloc/chromium/src/tcmalloc.cc int n = 0; n 573 third_party/tcmalloc/chromium/src/tcmalloc.cc while (n < kNumRanges) { n 574 third_party/tcmalloc/chromium/src/tcmalloc.cc if (!Static::pageheap()->GetNextRange(page, &ranges[n])) { n 578 third_party/tcmalloc/chromium/src/tcmalloc.cc uintptr_t limit = ranges[n].address + ranges[n].length; n 580 third_party/tcmalloc/chromium/src/tcmalloc.cc n++; n 585 third_party/tcmalloc/chromium/src/tcmalloc.cc for (int i = 0; i < n; i++) { n 1122 third_party/tcmalloc/chromium/src/tcmalloc.cc inline void* do_calloc(size_t n, size_t elem_size) { n 1124 third_party/tcmalloc/chromium/src/tcmalloc.cc const size_t size = n * elem_size; n 1125 third_party/tcmalloc/chromium/src/tcmalloc.cc if (elem_size != 0 && size / elem_size != n) return NULL; n 1572 third_party/tcmalloc/chromium/src/tcmalloc.cc extern "C" PERFTOOLS_DLL_DECL void* tc_calloc(size_t n, n 1574 third_party/tcmalloc/chromium/src/tcmalloc.cc void* result = do_calloc(n, elem_size); n 1575 third_party/tcmalloc/chromium/src/tcmalloc.cc MallocHook::InvokeNewHook(result, n * elem_size); n 258 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc static void DoWipeStack(int n); // defined below n 323 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc void (*volatile run_hidden_ptr)(Closure* c, int n); n 324 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc void (*volatile wipe_stack_ptr)(int n); n 326 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc static void DoRunHidden(Closure* c, int n) { n 327 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc if (n) { n 328 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc VLOG(10) << "Level " << n << " at " << &n; n 329 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc (*run_hidden_ptr)(c, n-1); n 330 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc (*wipe_stack_ptr)(n); n 337 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc /*static*/ void DoWipeStack(int n) { n 338 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc VLOG(10) << "Wipe level " << n << " at " << &n; n 339 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc if (n) { n 343 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc (*wipe_stack_ptr)(n-1); n 945 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc const int n = 17; // make many threads n 951 third_party/tcmalloc/chromium/src/tests/heap-checker_unittest.cc for (int i = 0; i < n; ++i) { n 81 third_party/tcmalloc/chromium/src/tests/low_level_alloc_unittest.cc static void Test(bool use_new_arena, bool call_malloc_hook, int n) { n 92 third_party/tcmalloc/chromium/src/tests/low_level_alloc_unittest.cc for (int i = 0; i != n; i++) { n 100 third_party/tcmalloc/chromium/src/tests/malloc_hook_test.cc int TestHookList_Traverse(const TestHookList& list, int* output_array, int n) { n 102 third_party/tcmalloc/chromium/src/tests/malloc_hook_test.cc int result = list.Traverse(values_as_hooks, min(n, kHookListMaxValues)); n 111 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc static void Fill(void* p, int n, char seed) { n 113 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc for (int i = 0; i < n; i++) { n 120 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc static bool Valid(const void* p, int n, char seed) { n 122 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc for (int i = 0; i < n; i++) { n 47 third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc static void Fill(unsigned char* buffer, int n) { n 48 third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc for (int i = 0; i < n; i++) { n 55 third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc static bool Valid(unsigned char* buffer, int n) { n 56 third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc for (int i = 0; i < n; i++) { n 148 third_party/tcmalloc/chromium/src/tests/sampler_test.cc double AndersonDarlingErrFix(int n, double x) { n 151 third_party/tcmalloc/chromium/src/tests/sampler_test.cc (1116.360 - 255.7844 * x) * x) * x) * x) * x) / n; n 153 third_party/tcmalloc/chromium/src/tests/sampler_test.cc double cutoff = 0.01265 + 0.1757 / n; n 158 third_party/tcmalloc/chromium/src/tests/sampler_test.cc return t * (0.0037 / (n * n) + 0.00078 / n + 0.00006) / n; n 163 third_party/tcmalloc/chromium/src/tests/sampler_test.cc return t * (0.04213 + 0.01365 / n) / n; n 168 third_party/tcmalloc/chromium/src/tests/sampler_test.cc double AndersonDarlingPValue(int n, double z) { n 170 third_party/tcmalloc/chromium/src/tests/sampler_test.cc double errfix = AndersonDarlingErrFix(n, ad); n 174 third_party/tcmalloc/chromium/src/tests/sampler_test.cc double AndersonDarlingStatistic(int n, double* random_sample) { n 176 third_party/tcmalloc/chromium/src/tests/sampler_test.cc for (int i = 0; i < n; i++) { n 177 third_party/tcmalloc/chromium/src/tests/sampler_test.cc ad_sum += (2*i + 1) * log(random_sample[i] * (1 - random_sample[n-1-i])); n 179 third_party/tcmalloc/chromium/src/tests/sampler_test.cc double ad_statistic = - n - 1/static_cast<double>(n) * ad_sum; n 188 third_party/tcmalloc/chromium/src/tests/sampler_test.cc double AndersonDarlingTest(int n, double* random_sample) { n 189 third_party/tcmalloc/chromium/src/tests/sampler_test.cc double ad_statistic = AndersonDarlingStatistic(n, random_sample); n 190 third_party/tcmalloc/chromium/src/tests/sampler_test.cc LOG(INFO) << StringPrintf("AD stat = %f, n=%d\n", ad_statistic, n); n 191 third_party/tcmalloc/chromium/src/tests/sampler_test.cc double p = AndersonDarlingPValue(n, ad_statistic); n 197 third_party/tcmalloc/chromium/src/tests/sampler_test.cc void ADTestTest(int n) { n 198 third_party/tcmalloc/chromium/src/tests/sampler_test.cc scoped_array<double> random_sample(new double[n]); n 199 third_party/tcmalloc/chromium/src/tests/sampler_test.cc for (int i = 0; i < n; i++) { n 200 third_party/tcmalloc/chromium/src/tests/sampler_test.cc random_sample[i] = (i+0.01)/n; n 202 third_party/tcmalloc/chromium/src/tests/sampler_test.cc sort(random_sample.get(), random_sample.get() + n); n 203 third_party/tcmalloc/chromium/src/tests/sampler_test.cc double ad_stat = AndersonDarlingStatistic(n, random_sample.get()); n 205 third_party/tcmalloc/chromium/src/tests/sampler_test.cc n, ad_stat); n 223 third_party/tcmalloc/chromium/src/tests/sampler_test.cc void TestNextRandom(int n) { n 233 third_party/tcmalloc/chromium/src/tests/sampler_test.cc scoped_array<uint64_t> int_random_sample(new uint64_t[n]); n 235 third_party/tcmalloc/chromium/src/tests/sampler_test.cc for (int i = 0; i < n; i++) { n 240 third_party/tcmalloc/chromium/src/tests/sampler_test.cc sort(int_random_sample.get(), int_random_sample.get() + n); n 241 third_party/tcmalloc/chromium/src/tests/sampler_test.cc scoped_array<double> random_sample(new double[n]); n 243 third_party/tcmalloc/chromium/src/tests/sampler_test.cc for (int i = 0; i < n; i++) { n 247 third_party/tcmalloc/chromium/src/tests/sampler_test.cc double ad_pvalue = AndersonDarlingTest(n, random_sample.get()); n 249 third_party/tcmalloc/chromium/src/tests/sampler_test.cc "with n= %d is p= %f\n", n, ad_pvalue); n 266 third_party/tcmalloc/chromium/src/tests/sampler_test.cc void TestPickNextSample(int n) { n 269 third_party/tcmalloc/chromium/src/tests/sampler_test.cc scoped_array<uint64_t> int_random_sample(new uint64_t[n]); n 272 third_party/tcmalloc/chromium/src/tests/sampler_test.cc for (int i = 0; i < n; i++) { n 281 third_party/tcmalloc/chromium/src/tests/sampler_test.cc sort(int_random_sample.get(), int_random_sample.get() + n); n 282 third_party/tcmalloc/chromium/src/tests/sampler_test.cc scoped_array<double> random_sample(new double[n]); n 285 third_party/tcmalloc/chromium/src/tests/sampler_test.cc for (int i = 0; i < n; i++) { n 290 third_party/tcmalloc/chromium/src/tests/sampler_test.cc double geom_ad_pvalue = AndersonDarlingTest(n, random_sample.get()); n 292 third_party/tcmalloc/chromium/src/tests/sampler_test.cc "with n= %d is p= %f\n", n, geom_ad_pvalue); n 581 third_party/tcmalloc/chromium/src/tests/sampler_test.cc int n = 22; // 27; n 582 third_party/tcmalloc/chromium/src/tests/sampler_test.cc LOG(INFO) << "Running sampler.NextRandom 1<<" << n << " times"; n 583 third_party/tcmalloc/chromium/src/tests/sampler_test.cc for (int i = 1; i <= (1<<n); i++) { // 20 mimics sampler.Init() n 232 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc int Uniform(int n) { n 233 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc if (n == 0) { n 236 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc return random() % n; n 579 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc static void TestCalloc(size_t n, size_t s, bool ok) { n 580 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc char* p = reinterpret_cast<char*>(calloc(n, s)); n 582 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc fprintf(LOGSTREAM, "calloc(%"PRIxS", %"PRIxS"): %p\n", n, s, p); n 587 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc for (int i = 0; i < n*s; i++) { n 473 third_party/tcmalloc/chromium/src/thread_cache.cc int n = thread_heap_count_ > 0 ? thread_heap_count_ : 1; n 474 third_party/tcmalloc/chromium/src/thread_cache.cc size_t space = overall_thread_cache_size_ / n; n 54 third_party/tcmalloc/chromium/src/windows/override_functions.cc extern "C" void* _recalloc(void* p, size_t n, size_t size) { n 55 third_party/tcmalloc/chromium/src/windows/override_functions.cc void* result = realloc(p, n * size); n 56 third_party/tcmalloc/chromium/src/windows/override_functions.cc memset(result, 0, n * size); n 60 third_party/tcmalloc/chromium/src/windows/override_functions.cc extern "C" void* _calloc_impl(size_t n, size_t size) { n 61 third_party/tcmalloc/chromium/src/windows/override_functions.cc return calloc(n, size); n 113 third_party/tcmalloc/chromium/src/windows/override_functions.cc extern "C" void* _calloc_dbg(size_t n, size_t size, int, const char*, int) { n 114 third_party/tcmalloc/chromium/src/windows/override_functions.cc return calloc(n, size); n 834 third_party/tcmalloc/chromium/src/windows/patch_functions.cc size_t n, size_t elem_size) __THROW { n 835 third_party/tcmalloc/chromium/src/windows/patch_functions.cc void* result = do_calloc(n, elem_size); n 836 third_party/tcmalloc/chromium/src/windows/patch_functions.cc MallocHook::InvokeNewHook(result, n * elem_size); n 272 third_party/tcmalloc/vendor/src/base/elfcore.h #define MIPSREG(n) ({ register unsigned long r __asm__("$"#n); r; }) n 122 third_party/tcmalloc/vendor/src/base/linuxthreads.cc int n = 0; n 127 third_party/tcmalloc/vendor/src/base/linuxthreads.cc n = 10*n + (*s++ - '0'); n 128 third_party/tcmalloc/vendor/src/base/linuxthreads.cc return neg ? -n : n; n 143 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc for (AllocList *n; (n = p->next[level]) != 0 && n < e; p = n) { n 380 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc AllocList *n = a->next[0]; n 381 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc if (n != 0 && reinterpret_cast<char *>(a) + a->header.size == n 382 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc reinterpret_cast<char *>(n)) { n 384 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc a->header.size += n->header.size; n 385 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc n->header.magic = 0; n 386 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc n->header.arena = 0; n 388 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc LLA_SkiplistDelete(&arena->freelist, n, prev); n 481 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc AllocList *n = reinterpret_cast<AllocList *> n 483 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc n->header.size = s->header.size - req_rnd; n 484 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc n->header.magic = Magic(kMagicAllocated, &n->header); n 485 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc n->header.arena = arena; n 487 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc AddToFreelist(&n->levels, arena); n 60 third_party/tcmalloc/vendor/src/base/spinlock_internal.cc int32 SpinLockWait(volatile Atomic32 *w, int n, n 67 third_party/tcmalloc/vendor/src/base/spinlock_internal.cc for (i = 0; i != n && v != trans[i].from; i++) { n 69 third_party/tcmalloc/vendor/src/base/spinlock_internal.cc if (i == n) { n 57 third_party/tcmalloc/vendor/src/base/spinlock_internal.h int32 SpinLockWait(volatile Atomic32 *w, int n, n 81 third_party/tcmalloc/vendor/src/base/stl_allocator.h pointer allocate(size_type n, const void* = 0) { n 82 third_party/tcmalloc/vendor/src/base/stl_allocator.h RAW_DCHECK((n * sizeof(T)) / sizeof(T) == n, "n is too big to allocate"); n 83 third_party/tcmalloc/vendor/src/base/stl_allocator.h return static_cast<T*>(Alloc::Allocate(n * sizeof(T))); n 85 third_party/tcmalloc/vendor/src/base/stl_allocator.h void deallocate(pointer p, size_type n) { Alloc::Free(p, n * sizeof(T)); } n 41 third_party/tcmalloc/vendor/src/common.cc static inline int LgFloor(size_t n) { n 45 third_party/tcmalloc/vendor/src/common.cc size_t x = n >> shift; n 47 third_party/tcmalloc/vendor/src/common.cc n = x; n 51 third_party/tcmalloc/vendor/src/common.cc ASSERT(n == 1); n 948 third_party/tcmalloc/vendor/src/debugallocation.cc int n = GetStackTrace(pcs, sizeof(pcs)/sizeof(pcs[0]), 0); n 949 third_party/tcmalloc/vendor/src/debugallocation.cc for (int i = 0; i != n; i++) { n 312 third_party/tcmalloc/vendor/src/heap-checker.cc static void* Allocate(size_t n) { n 314 third_party/tcmalloc/vendor/src/heap-checker.cc void* p = LowLevelAlloc::AllocWithArena(n, arena_); n 1578 third_party/tcmalloc/vendor/src/heap-checker.cc char* n = new char[strlen(name) + 1]; // do this before we lock n 1579 third_party/tcmalloc/vendor/src/heap-checker.cc IgnoreObject(n); // otherwise it might be treated as live due to our stack n 1586 third_party/tcmalloc/vendor/src/heap-checker.cc memcpy(n, name, strlen(name) + 1); n 1587 third_party/tcmalloc/vendor/src/heap-checker.cc name_ = n; // checker is active n 1605 third_party/tcmalloc/vendor/src/heap-checker.cc UnIgnoreObject(n); n 1606 third_party/tcmalloc/vendor/src/heap-checker.cc delete[] n; // must be done after we unlock n 334 third_party/tcmalloc/vendor/src/heap-profile-table.cc int n = 0; n 338 third_party/tcmalloc/vendor/src/heap-profile-table.cc list[n++] = x; n 341 third_party/tcmalloc/vendor/src/heap-profile-table.cc RAW_DCHECK(n == num_alloc_buckets_, ""); n 346 third_party/tcmalloc/vendor/src/heap-profile-table.cc list[n++] = x; n 350 third_party/tcmalloc/vendor/src/heap-profile-table.cc RAW_DCHECK(n == num_alloc_buckets_ + num_available_mmap_buckets_, ""); n 630 third_party/tcmalloc/vendor/src/heap-profile-table.cc const int n = state.buckets_.size(); n 631 third_party/tcmalloc/vendor/src/heap-profile-table.cc Entry* entries = new Entry[n]; n 638 third_party/tcmalloc/vendor/src/heap-profile-table.cc sort(entries, entries + n); n 644 third_party/tcmalloc/vendor/src/heap-profile-table.cc n > FLAGS_heap_check_max_leaks) ? FLAGS_heap_check_max_leaks : n; n 672 third_party/tcmalloc/vendor/src/heap-profile-table.cc if (to_report < n) { n 674 third_party/tcmalloc/vendor/src/heap-profile-table.cc to_report, n-1); n 68 third_party/tcmalloc/vendor/src/internal_logging.cc bool AddStr(const char* str, int n); n 151 third_party/tcmalloc/vendor/src/internal_logging.cc bool Logger::AddStr(const char* str, int n) { n 152 third_party/tcmalloc/vendor/src/internal_logging.cc if (end_ - p_ < n) { n 155 third_party/tcmalloc/vendor/src/internal_logging.cc memcpy(p_, str, n); n 156 third_party/tcmalloc/vendor/src/internal_logging.cc p_ += n; n 77 third_party/tcmalloc/vendor/src/libc_override_gcc_and_weak.h void* calloc(size_t n, size_t size) __THROW ALIAS(tc_calloc); n 80 third_party/tcmalloc/vendor/src/libc_override_glibc.h void* __libc_calloc(size_t n, size_t size) ALIAS(tc_calloc); n 72 third_party/tcmalloc/vendor/src/libc_override_redefine.h void* calloc(size_t n, size_t s) __THROW { return tc_calloc(n, s); } n 47 third_party/tcmalloc/vendor/src/linked_list.h inline void SLL_SetNext(void *t, void *n) { n 48 third_party/tcmalloc/vendor/src/linked_list.h *(reinterpret_cast<void**>(t)) = n; n 123 third_party/tcmalloc/vendor/src/malloc_hook-inl.h int Traverse(T* output_array, int n) const; n 257 third_party/tcmalloc/vendor/src/malloc_hook.cc int HookList<T>::Traverse(T* output_array, int n) const { n 260 third_party/tcmalloc/vendor/src/malloc_hook.cc for (int i = 0; i < hooks_end && n > 0; ++i) { n 265 third_party/tcmalloc/vendor/src/malloc_hook.cc --n; n 228 third_party/tcmalloc/vendor/src/memory_region_map.h static void *Allocate(size_t n) { n 229 third_party/tcmalloc/vendor/src/memory_region_map.h return LowLevelAlloc::AllocWithArena(n, arena_); n 70 third_party/tcmalloc/vendor/src/page_heap.cc Span* PageHeap::SearchFreeAndLargeLists(Length n) { n 72 third_party/tcmalloc/vendor/src/page_heap.cc ASSERT(n > 0); n 75 third_party/tcmalloc/vendor/src/page_heap.cc for (Length s = n; s < kMaxPages; s++) { n 80 third_party/tcmalloc/vendor/src/page_heap.cc return Carve(ll->next, n); n 86 third_party/tcmalloc/vendor/src/page_heap.cc return Carve(ll->next, n); n 90 third_party/tcmalloc/vendor/src/page_heap.cc return AllocLarge(n); // May be NULL n 93 third_party/tcmalloc/vendor/src/page_heap.cc Span* PageHeap::New(Length n) { n 95 third_party/tcmalloc/vendor/src/page_heap.cc ASSERT(n > 0); n 97 third_party/tcmalloc/vendor/src/page_heap.cc Span* result = SearchFreeAndLargeLists(n); n 102 third_party/tcmalloc/vendor/src/page_heap.cc if (!GrowHeap(n)) { n 106 third_party/tcmalloc/vendor/src/page_heap.cc return SearchFreeAndLargeLists(n); n 109 third_party/tcmalloc/vendor/src/page_heap.cc Span* PageHeap::AllocLarge(Length n) { n 118 third_party/tcmalloc/vendor/src/page_heap.cc if (span->length >= n) { n 132 third_party/tcmalloc/vendor/src/page_heap.cc if (span->length >= n) { n 142 third_party/tcmalloc/vendor/src/page_heap.cc return best == NULL ? NULL : Carve(best, n); n 145 third_party/tcmalloc/vendor/src/page_heap.cc Span* PageHeap::Split(Span* span, Length n) { n 146 third_party/tcmalloc/vendor/src/page_heap.cc ASSERT(0 < n); n 147 third_party/tcmalloc/vendor/src/page_heap.cc ASSERT(n < span->length); n 150 third_party/tcmalloc/vendor/src/page_heap.cc Event(span, 'T', n); n 152 third_party/tcmalloc/vendor/src/page_heap.cc const int extra = span->length - n; n 153 third_party/tcmalloc/vendor/src/page_heap.cc Span* leftover = NewSpan(span->start + n, extra); n 157 third_party/tcmalloc/vendor/src/page_heap.cc pagemap_.set(span->start + n - 1, span); // Update map from pageid to span n 158 third_party/tcmalloc/vendor/src/page_heap.cc span->length = n; n 163 third_party/tcmalloc/vendor/src/page_heap.cc Span* PageHeap::Carve(Span* span, Length n) { n 164 third_party/tcmalloc/vendor/src/page_heap.cc ASSERT(n > 0); n 169 third_party/tcmalloc/vendor/src/page_heap.cc Event(span, 'A', n); n 171 third_party/tcmalloc/vendor/src/page_heap.cc const int extra = span->length - n; n 174 third_party/tcmalloc/vendor/src/page_heap.cc Span* leftover = NewSpan(span->start + n, extra); n 179 third_party/tcmalloc/vendor/src/page_heap.cc span->length = n; n 180 third_party/tcmalloc/vendor/src/page_heap.cc pagemap_.set(span->start + n - 1, span); n 192 third_party/tcmalloc/vendor/src/page_heap.cc const Length n = span->length; n 198 third_party/tcmalloc/vendor/src/page_heap.cc IncrementalScavenge(n); n 213 third_party/tcmalloc/vendor/src/page_heap.cc const Length n = span->length; n 226 third_party/tcmalloc/vendor/src/page_heap.cc Span* next = GetDescriptor(p+n); n 229 third_party/tcmalloc/vendor/src/page_heap.cc ASSERT(next->start == p+n); n 263 third_party/tcmalloc/vendor/src/page_heap.cc void PageHeap::IncrementalScavenge(Length n) { n 265 third_party/tcmalloc/vendor/src/page_heap.cc scavenge_counter_ -= n; n 298 third_party/tcmalloc/vendor/src/page_heap.cc const Length n = s->length; n 303 third_party/tcmalloc/vendor/src/page_heap.cc return n; n 405 third_party/tcmalloc/vendor/src/page_heap.cc bool PageHeap::GrowHeap(Length n) { n 407 third_party/tcmalloc/vendor/src/page_heap.cc if (n > kMaxValidPages) return false; n 408 third_party/tcmalloc/vendor/src/page_heap.cc Length ask = (n>kMinSystemAlloc) ? n : static_cast<Length>(kMinSystemAlloc); n 412 third_party/tcmalloc/vendor/src/page_heap.cc if (n < ask) { n 414 third_party/tcmalloc/vendor/src/page_heap.cc ask = n; n 110 third_party/tcmalloc/vendor/src/page_heap.h Span* New(Length n); n 131 third_party/tcmalloc/vendor/src/page_heap.h Span* Split(Span* span, Length n); n 238 third_party/tcmalloc/vendor/src/page_heap.h Span* SearchFreeAndLargeLists(Length n); n 240 third_party/tcmalloc/vendor/src/page_heap.h bool GrowHeap(Length n); n 249 third_party/tcmalloc/vendor/src/page_heap.h Span* Carve(Span* span, Length n); n 260 third_party/tcmalloc/vendor/src/page_heap.h Span* AllocLarge(Length n); n 274 third_party/tcmalloc/vendor/src/page_heap.h void IncrementalScavenge(Length n); n 79 third_party/tcmalloc/vendor/src/pagemap.h bool Ensure(Number x, size_t n) { n 84 third_party/tcmalloc/vendor/src/pagemap.h return n <= LENGTH - x; // an overflow-free way to do "x + n <= LENGTH" n 160 third_party/tcmalloc/vendor/src/pagemap.h bool Ensure(Number start, size_t n) { n 161 third_party/tcmalloc/vendor/src/pagemap.h for (Number key = start; key <= start + n - 1; ) { n 266 third_party/tcmalloc/vendor/src/pagemap.h bool Ensure(Number start, size_t n) { n 267 third_party/tcmalloc/vendor/src/pagemap.h for (Number key = start; key <= start + n - 1; ) { n 277 third_party/tcmalloc/vendor/src/pagemap.h Node* n = NewNode(); n 278 third_party/tcmalloc/vendor/src/pagemap.h if (n == NULL) return false; n 279 third_party/tcmalloc/vendor/src/pagemap.h root_->ptrs[i1] = n; n 118 third_party/tcmalloc/vendor/src/stacktrace_arm-inl.h int n = 0; n 119 third_party/tcmalloc/vendor/src/stacktrace_arm-inl.h while (sp && n < max_depth) { n 130 third_party/tcmalloc/vendor/src/stacktrace_arm-inl.h result[n] = *sp; n 134 third_party/tcmalloc/vendor/src/stacktrace_arm-inl.h sizes[n] = (uintptr_t)next_sp - (uintptr_t)sp; n 137 third_party/tcmalloc/vendor/src/stacktrace_arm-inl.h sizes[n] = 0; n 140 third_party/tcmalloc/vendor/src/stacktrace_arm-inl.h n++; n 144 third_party/tcmalloc/vendor/src/stacktrace_arm-inl.h return n; n 78 third_party/tcmalloc/vendor/src/stacktrace_libunwind-inl.h int n = 0; n 106 third_party/tcmalloc/vendor/src/stacktrace_libunwind-inl.h while (n < max_depth) { n 111 third_party/tcmalloc/vendor/src/stacktrace_libunwind-inl.h sizes[n] = 0; n 113 third_party/tcmalloc/vendor/src/stacktrace_libunwind-inl.h result[n++] = ip; n 122 third_party/tcmalloc/vendor/src/stacktrace_libunwind-inl.h sizes[n - 1] = next_sp - sp; n 127 third_party/tcmalloc/vendor/src/stacktrace_libunwind-inl.h return n; n 127 third_party/tcmalloc/vendor/src/stacktrace_powerpc-inl.h int n = 0; n 128 third_party/tcmalloc/vendor/src/stacktrace_powerpc-inl.h while (sp && n < max_depth) { n 144 third_party/tcmalloc/vendor/src/stacktrace_powerpc-inl.h result[n] = *(sp+2); n 146 third_party/tcmalloc/vendor/src/stacktrace_powerpc-inl.h result[n] = *(sp+1); n 149 third_party/tcmalloc/vendor/src/stacktrace_powerpc-inl.h result[n] = *(sp+2); n 152 third_party/tcmalloc/vendor/src/stacktrace_powerpc-inl.h result[n] = *(sp+1); n 159 third_party/tcmalloc/vendor/src/stacktrace_powerpc-inl.h sizes[n] = (uintptr_t)next_sp - (uintptr_t)sp; n 162 third_party/tcmalloc/vendor/src/stacktrace_powerpc-inl.h sizes[n] = 0; n 165 third_party/tcmalloc/vendor/src/stacktrace_powerpc-inl.h n++; n 169 third_party/tcmalloc/vendor/src/stacktrace_powerpc-inl.h return n; n 323 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h int n = 0; n 324 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h while (sp && n < max_depth) { n 337 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h result[n] = *(sp+1); n 340 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h sizes[n] = (uintptr_t)next_sp - (uintptr_t)sp; n 343 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h sizes[n] = 0; n 346 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h n++; n 350 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h return n; n 542 third_party/tcmalloc/vendor/src/tcmalloc.cc int n = 0; n 545 third_party/tcmalloc/vendor/src/tcmalloc.cc while (n < kNumRanges) { n 546 third_party/tcmalloc/vendor/src/tcmalloc.cc if (!Static::pageheap()->GetNextRange(page, &ranges[n])) { n 550 third_party/tcmalloc/vendor/src/tcmalloc.cc uintptr_t limit = ranges[n].address + ranges[n].length; n 552 third_party/tcmalloc/vendor/src/tcmalloc.cc n++; n 557 third_party/tcmalloc/vendor/src/tcmalloc.cc for (int i = 0; i < n; i++) { n 1098 third_party/tcmalloc/vendor/src/tcmalloc.cc inline void* do_calloc(size_t n, size_t elem_size) { n 1100 third_party/tcmalloc/vendor/src/tcmalloc.cc const size_t size = n * elem_size; n 1101 third_party/tcmalloc/vendor/src/tcmalloc.cc if (elem_size != 0 && size / elem_size != n) return NULL; n 1523 third_party/tcmalloc/vendor/src/tcmalloc.cc extern "C" PERFTOOLS_DLL_DECL void* tc_calloc(size_t n, n 1525 third_party/tcmalloc/vendor/src/tcmalloc.cc void* result = do_calloc(n, elem_size); n 1526 third_party/tcmalloc/vendor/src/tcmalloc.cc MallocHook::InvokeNewHook(result, n * elem_size); n 258 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc static void DoWipeStack(int n); // defined below n 323 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc void (*volatile run_hidden_ptr)(Closure* c, int n); n 324 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc void (*volatile wipe_stack_ptr)(int n); n 326 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc static void DoRunHidden(Closure* c, int n) { n 327 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc if (n) { n 328 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc VLOG(10) << "Level " << n << " at " << &n; n 329 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc (*run_hidden_ptr)(c, n-1); n 330 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc (*wipe_stack_ptr)(n); n 337 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc /*static*/ void DoWipeStack(int n) { n 338 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc VLOG(10) << "Wipe level " << n << " at " << &n; n 339 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc if (n) { n 343 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc (*wipe_stack_ptr)(n-1); n 945 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc const int n = 17; // make many threads n 951 third_party/tcmalloc/vendor/src/tests/heap-checker_unittest.cc for (int i = 0; i < n; ++i) { n 81 third_party/tcmalloc/vendor/src/tests/low_level_alloc_unittest.cc static void Test(bool use_new_arena, bool call_malloc_hook, int n) { n 92 third_party/tcmalloc/vendor/src/tests/low_level_alloc_unittest.cc for (int i = 0; i != n; i++) { n 100 third_party/tcmalloc/vendor/src/tests/malloc_hook_test.cc int TestHookList_Traverse(const TestHookList& list, int* output_array, int n) { n 102 third_party/tcmalloc/vendor/src/tests/malloc_hook_test.cc int result = list.Traverse(values_as_hooks, min(n, kHookListMaxValues)); n 111 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc static void Fill(void* p, int n, char seed) { n 113 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc for (int i = 0; i < n; i++) { n 120 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc static bool Valid(const void* p, int n, char seed) { n 122 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc for (int i = 0; i < n; i++) { n 47 third_party/tcmalloc/vendor/src/tests/realloc_unittest.cc static void Fill(unsigned char* buffer, int n) { n 48 third_party/tcmalloc/vendor/src/tests/realloc_unittest.cc for (int i = 0; i < n; i++) { n 55 third_party/tcmalloc/vendor/src/tests/realloc_unittest.cc static bool Valid(unsigned char* buffer, int n) { n 56 third_party/tcmalloc/vendor/src/tests/realloc_unittest.cc for (int i = 0; i < n; i++) { n 148 third_party/tcmalloc/vendor/src/tests/sampler_test.cc double AndersonDarlingErrFix(int n, double x) { n 151 third_party/tcmalloc/vendor/src/tests/sampler_test.cc (1116.360 - 255.7844 * x) * x) * x) * x) * x) / n; n 153 third_party/tcmalloc/vendor/src/tests/sampler_test.cc double cutoff = 0.01265 + 0.1757 / n; n 158 third_party/tcmalloc/vendor/src/tests/sampler_test.cc return t * (0.0037 / (n * n) + 0.00078 / n + 0.00006) / n; n 163 third_party/tcmalloc/vendor/src/tests/sampler_test.cc return t * (0.04213 + 0.01365 / n) / n; n 168 third_party/tcmalloc/vendor/src/tests/sampler_test.cc double AndersonDarlingPValue(int n, double z) { n 170 third_party/tcmalloc/vendor/src/tests/sampler_test.cc double errfix = AndersonDarlingErrFix(n, ad); n 174 third_party/tcmalloc/vendor/src/tests/sampler_test.cc double AndersonDarlingStatistic(int n, double* random_sample) { n 176 third_party/tcmalloc/vendor/src/tests/sampler_test.cc for (int i = 0; i < n; i++) { n 177 third_party/tcmalloc/vendor/src/tests/sampler_test.cc ad_sum += (2*i + 1) * log(random_sample[i] * (1 - random_sample[n-1-i])); n 179 third_party/tcmalloc/vendor/src/tests/sampler_test.cc double ad_statistic = - n - 1/static_cast<double>(n) * ad_sum; n 188 third_party/tcmalloc/vendor/src/tests/sampler_test.cc double AndersonDarlingTest(int n, double* random_sample) { n 189 third_party/tcmalloc/vendor/src/tests/sampler_test.cc double ad_statistic = AndersonDarlingStatistic(n, random_sample); n 190 third_party/tcmalloc/vendor/src/tests/sampler_test.cc LOG(INFO) << StringPrintf("AD stat = %f, n=%d\n", ad_statistic, n); n 191 third_party/tcmalloc/vendor/src/tests/sampler_test.cc double p = AndersonDarlingPValue(n, ad_statistic); n 197 third_party/tcmalloc/vendor/src/tests/sampler_test.cc void ADTestTest(int n) { n 198 third_party/tcmalloc/vendor/src/tests/sampler_test.cc scoped_array<double> random_sample(new double[n]); n 199 third_party/tcmalloc/vendor/src/tests/sampler_test.cc for (int i = 0; i < n; i++) { n 200 third_party/tcmalloc/vendor/src/tests/sampler_test.cc random_sample[i] = (i+0.01)/n; n 202 third_party/tcmalloc/vendor/src/tests/sampler_test.cc sort(random_sample.get(), random_sample.get() + n); n 203 third_party/tcmalloc/vendor/src/tests/sampler_test.cc double ad_stat = AndersonDarlingStatistic(n, random_sample.get()); n 205 third_party/tcmalloc/vendor/src/tests/sampler_test.cc n, ad_stat); n 223 third_party/tcmalloc/vendor/src/tests/sampler_test.cc void TestNextRandom(int n) { n 233 third_party/tcmalloc/vendor/src/tests/sampler_test.cc scoped_array<uint64_t> int_random_sample(new uint64_t[n]); n 235 third_party/tcmalloc/vendor/src/tests/sampler_test.cc for (int i = 0; i < n; i++) { n 240 third_party/tcmalloc/vendor/src/tests/sampler_test.cc sort(int_random_sample.get(), int_random_sample.get() + n); n 241 third_party/tcmalloc/vendor/src/tests/sampler_test.cc scoped_array<double> random_sample(new double[n]); n 243 third_party/tcmalloc/vendor/src/tests/sampler_test.cc for (int i = 0; i < n; i++) { n 247 third_party/tcmalloc/vendor/src/tests/sampler_test.cc double ad_pvalue = AndersonDarlingTest(n, random_sample.get()); n 249 third_party/tcmalloc/vendor/src/tests/sampler_test.cc "with n= %d is p= %f\n", n, ad_pvalue); n 266 third_party/tcmalloc/vendor/src/tests/sampler_test.cc void TestPickNextSample(int n) { n 269 third_party/tcmalloc/vendor/src/tests/sampler_test.cc scoped_array<uint64_t> int_random_sample(new uint64_t[n]); n 272 third_party/tcmalloc/vendor/src/tests/sampler_test.cc for (int i = 0; i < n; i++) { n 281 third_party/tcmalloc/vendor/src/tests/sampler_test.cc sort(int_random_sample.get(), int_random_sample.get() + n); n 282 third_party/tcmalloc/vendor/src/tests/sampler_test.cc scoped_array<double> random_sample(new double[n]); n 285 third_party/tcmalloc/vendor/src/tests/sampler_test.cc for (int i = 0; i < n; i++) { n 290 third_party/tcmalloc/vendor/src/tests/sampler_test.cc double geom_ad_pvalue = AndersonDarlingTest(n, random_sample.get()); n 292 third_party/tcmalloc/vendor/src/tests/sampler_test.cc "with n= %d is p= %f\n", n, geom_ad_pvalue); n 581 third_party/tcmalloc/vendor/src/tests/sampler_test.cc int n = 22; // 27; n 582 third_party/tcmalloc/vendor/src/tests/sampler_test.cc LOG(INFO) << "Running sampler.NextRandom 1<<" << n << " times"; n 583 third_party/tcmalloc/vendor/src/tests/sampler_test.cc for (int i = 1; i <= (1<<n); i++) { // 20 mimics sampler.Init() n 232 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc int Uniform(int n) { n 233 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc if (n == 0) { n 236 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc return random() % n; n 579 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc static void TestCalloc(size_t n, size_t s, bool ok) { n 580 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc char* p = reinterpret_cast<char*>(calloc(n, s)); n 582 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc fprintf(LOGSTREAM, "calloc(%"PRIxS", %"PRIxS"): %p\n", n, s, p); n 587 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc for (int i = 0; i < n*s; i++) { n 462 third_party/tcmalloc/vendor/src/thread_cache.cc int n = thread_heap_count_ > 0 ? thread_heap_count_ : 1; n 463 third_party/tcmalloc/vendor/src/thread_cache.cc size_t space = overall_thread_cache_size_ / n; n 54 third_party/tcmalloc/vendor/src/windows/override_functions.cc extern "C" void* _recalloc(void* p, size_t n, size_t size) { n 55 third_party/tcmalloc/vendor/src/windows/override_functions.cc void* result = realloc(p, n * size); n 56 third_party/tcmalloc/vendor/src/windows/override_functions.cc memset(result, 0, n * size); n 60 third_party/tcmalloc/vendor/src/windows/override_functions.cc extern "C" void* _calloc_impl(size_t n, size_t size) { n 61 third_party/tcmalloc/vendor/src/windows/override_functions.cc return calloc(n, size); n 113 third_party/tcmalloc/vendor/src/windows/override_functions.cc extern "C" void* _calloc_dbg(size_t n, size_t size, int, const char*, int) { n 114 third_party/tcmalloc/vendor/src/windows/override_functions.cc return calloc(n, size); n 834 third_party/tcmalloc/vendor/src/windows/patch_functions.cc size_t n, size_t elem_size) __THROW { n 835 third_party/tcmalloc/vendor/src/windows/patch_functions.cc void* result = do_calloc(n, elem_size); n 836 third_party/tcmalloc/vendor/src/windows/patch_functions.cc MallocHook::InvokeNewHook(result, n * elem_size); n 614 third_party/wtl/include/atlfind.h int n = nLenFind; n 615 third_party/wtl/include/atlfind.h while(n--) n 682 third_party/wtl/include/atlfind.h int n = (int)(lpszFound - lpszText); n 683 third_party/wtl/include/atlfind.h pT->SetSel(n, n + nLenFind); n 709 third_party/wtl/include/atlfind.h int n = (int)(lpsz - lpszText); n 710 third_party/wtl/include/atlfind.h pT->SetSel(n, n + nLenFind); n 1075 third_party/wtl/include/atlframe.h for(int n = 0; n < nRet; n++) n 1077 third_party/wtl/include/atlframe.h if(szBuff[n] == _T('\n')) n 1079 third_party/wtl/include/atlframe.h lpstrText = &szBuff[n + 1]; n 3475 third_party/wtl/include/atlgdi.h UINT n = ::GetEnhMetaFileHeader(m_hEMF, sizeof(ENHMETAHEADER), &m_header); n 3476 third_party/wtl/include/atlgdi.h return (n != 0) ? &m_header : NULL; n 3483 third_party/wtl/include/atlgdi.h UINT n = ::GetEnhMetaFilePixelFormat(m_hEMF, sizeof(m_pfd), &m_pfd); n 3484 third_party/wtl/include/atlgdi.h return (n != 0) ? &m_pfd : NULL; n 725 third_party/wtl/include/atlmisc.h inline CSize operator *(SIZE s, Num n) n 727 third_party/wtl/include/atlmisc.h return CSize((int)(s.cx * n), (int)(s.cy * n)); n 731 third_party/wtl/include/atlmisc.h inline void operator *=(SIZE & s, Num n) n 733 third_party/wtl/include/atlmisc.h s = s * n; n 737 third_party/wtl/include/atlmisc.h inline CSize operator /(SIZE s, Num n) n 739 third_party/wtl/include/atlmisc.h return CSize((int)(s.cx / n), (int)(s.cy / n)); n 743 third_party/wtl/include/atlmisc.h inline void operator /=(SIZE & s, Num n) n 745 third_party/wtl/include/atlmisc.h s = s / n; n 892 third_party/wtl/include/atlmisc.h int n = ::MultiByteToWideChar(CP_ACP, 0, lpsz, nLength, m_pchData, nLength + 1); n 893 third_party/wtl/include/atlmisc.h ReleaseBuffer((n >= 0) ? n : -1); n 905 third_party/wtl/include/atlmisc.h int n = ::WideCharToMultiByte(CP_ACP, 0, lpsz, nLength, m_pchData, (nLength * 2) + 1, NULL, NULL); n 906 third_party/wtl/include/atlmisc.h ReleaseBuffer((n >= 0) ? n : -1); n 1636 third_party/wtl/include/atlmisc.h CString& Append(int n) n 1640 third_party/wtl/include/atlmisc.h SecureHelper::wsprintf_x(szBuffer, cchBuff, _T("%d"), n); n 2597 third_party/wtl/include/atlmisc.h int n = _cstrcspn(p, lpszCharSet); n 2598 third_party/wtl/include/atlmisc.h return (p[n] != 0) ? &p[n] : NULL; n 66 third_party/zlib/adler32.c unsigned n; n 102 third_party/zlib/adler32.c n = NMAX / 16; /* NMAX is divisible by 16 */ n 106 third_party/zlib/adler32.c } while (--n); n 97 third_party/zlib/contrib/minizip/crypt.h int n; /* index in random header */ n 115 third_party/zlib/contrib/minizip/crypt.h for (n = 0; n < RAND_HEAD_LEN-2; n++) n 118 third_party/zlib/contrib/minizip/crypt.h header[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, c, t); n 122 third_party/zlib/contrib/minizip/crypt.h for (n = 0; n < RAND_HEAD_LEN-2; n++) n 124 third_party/zlib/contrib/minizip/crypt.h buf[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, header[n], t); n 126 third_party/zlib/contrib/minizip/crypt.h buf[n++] = (unsigned char)zencode(pkeys, pcrc_32_tab, (int)(crcForCrypting >> 16) & 0xff, t); n 127 third_party/zlib/contrib/minizip/crypt.h buf[n++] = (unsigned char)zencode(pkeys, pcrc_32_tab, (int)(crcForCrypting >> 24) & 0xff, t); n 128 third_party/zlib/contrib/minizip/crypt.h return n; n 193 third_party/zlib/contrib/minizip/miniunz.c void Display64BitsSize(ZPOS64_T n, int size_char) n 201 third_party/zlib/contrib/minizip/miniunz.c number[offset]=(char)((n%10)+'0'); n 204 third_party/zlib/contrib/minizip/miniunz.c n/=10; n 218 third_party/zlib/contrib/minizip/minizip.c int n = fseeko64(pFile, 0, SEEK_END); n 18 third_party/zlib/contrib/minizip/mztools.c #define WRITE_8(buff, n) do { \ n 19 third_party/zlib/contrib/minizip/mztools.c *((unsigned char*)(buff)) = (unsigned char) ((n) & 0xff); \ n 21 third_party/zlib/contrib/minizip/mztools.c #define WRITE_16(buff, n) do { \ n 22 third_party/zlib/contrib/minizip/mztools.c WRITE_8((unsigned char*)(buff), n); \ n 23 third_party/zlib/contrib/minizip/mztools.c WRITE_8(((unsigned char*)(buff)) + 1, (n) >> 8); \ n 25 third_party/zlib/contrib/minizip/mztools.c #define WRITE_32(buff, n) do { \ n 26 third_party/zlib/contrib/minizip/mztools.c WRITE_16((unsigned char*)(buff), (n) & 0xffff); \ n 27 third_party/zlib/contrib/minizip/mztools.c WRITE_16((unsigned char*)(buff) + 2, (n) >> 16); \ n 290 third_party/zlib/contrib/minizip/zip.c int n; n 291 third_party/zlib/contrib/minizip/zip.c for (n = 0; n < nbByte; n++) n 293 third_party/zlib/contrib/minizip/zip.c buf[n] = (unsigned char)(x & 0xff); n 298 third_party/zlib/contrib/minizip/zip.c for (n = 0; n < nbByte; n++) n 300 third_party/zlib/contrib/minizip/zip.c buf[n] = 0xff; n 314 third_party/zlib/contrib/minizip/zip.c int n; n 315 third_party/zlib/contrib/minizip/zip.c for (n = 0; n < nbByte; n++) { n 316 third_party/zlib/contrib/minizip/zip.c buf[n] = (unsigned char)(x & 0xff); n 322 third_party/zlib/contrib/minizip/zip.c for (n = 0; n < nbByte; n++) n 324 third_party/zlib/contrib/minizip/zip.c buf[n] = 0xff; n 111 third_party/zlib/crc32.c int n, k; n 125 third_party/zlib/crc32.c for (n = 0; n < sizeof(p)/sizeof(unsigned char); n++) n 126 third_party/zlib/crc32.c poly |= 1UL << (31 - p[n]); n 129 third_party/zlib/crc32.c for (n = 0; n < 256; n++) { n 130 third_party/zlib/crc32.c c = (unsigned long)n; n 133 third_party/zlib/crc32.c crc_table[0][n] = c; n 139 third_party/zlib/crc32.c for (n = 0; n < 256; n++) { n 140 third_party/zlib/crc32.c c = crc_table[0][n]; n 141 third_party/zlib/crc32.c crc_table[4][n] = REV(c); n 144 third_party/zlib/crc32.c crc_table[k][n] = c; n 145 third_party/zlib/crc32.c crc_table[k + 4][n] = REV(c); n 189 third_party/zlib/crc32.c int n; n 191 third_party/zlib/crc32.c for (n = 0; n < 256; n++) n 192 third_party/zlib/crc32.c fprintf(out, "%s0x%08lxUL%s", n % 5 ? "" : " ", table[n], n 193 third_party/zlib/crc32.c n == 255 ? "\n" : (n % 5 == 4 ? ",\n" : ", ")); n 365 third_party/zlib/crc32.c int n; n 367 third_party/zlib/crc32.c for (n = 0; n < GF2_DIM; n++) n 368 third_party/zlib/crc32.c square[n] = gf2_matrix_times(mat, mat[n]); n 377 third_party/zlib/crc32.c int n; n 389 third_party/zlib/crc32.c for (n = 1; n < GF2_DIM; n++) { n 390 third_party/zlib/crc32.c odd[n] = row; n 322 third_party/zlib/deflate.c uInt n; n 349 third_party/zlib/deflate.c for (n = 0; n <= length - MIN_MATCH; n++) { n 350 third_party/zlib/deflate.c INSERT_STRING(s, n, hash_head); n 1451 third_party/zlib/deflate.c register unsigned n, m; n 1488 third_party/zlib/deflate.c n = s->hash_size; n 1489 third_party/zlib/deflate.c p = &s->head[n]; n 1493 third_party/zlib/deflate.c } while (--n); n 1495 third_party/zlib/deflate.c n = wsize; n 1497 third_party/zlib/deflate.c p = &s->prev[n]; n 1504 third_party/zlib/deflate.c } while (--n); n 1507 third_party/zlib/deflate.c for (n = 0; n < Z_COOKIE_HASH_SIZE; n++) { n 1508 third_party/zlib/deflate.c if (s->cookie_locations[n] > wsize) { n 1509 third_party/zlib/deflate.c s->cookie_locations[n] -= wsize; n 1511 third_party/zlib/deflate.c s->cookie_locations[n] = 0; n 1538 third_party/zlib/deflate.c n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more); n 1540 third_party/zlib/deflate.c class_set(s, s->strstart + s->lookahead, n, s->strm->clas); n 1542 third_party/zlib/deflate.c s->lookahead += n; n 282 third_party/zlib/gzlib.c unsigned n; n 336 third_party/zlib/gzlib.c n = GT_OFF(state->have) || (z_off64_t)state->have > offset ? n 338 third_party/zlib/gzlib.c state->have -= n; n 339 third_party/zlib/gzlib.c state->next += n; n 340 third_party/zlib/gzlib.c state->pos += n; n 341 third_party/zlib/gzlib.c offset -= n; n 334 third_party/zlib/gzread.c unsigned n; n 340 third_party/zlib/gzread.c n = GT_OFF(state->have) || (z_off64_t)state->have > len ? n 342 third_party/zlib/gzread.c state->have -= n; n 343 third_party/zlib/gzread.c state->next += n; n 344 third_party/zlib/gzread.c state->pos += n; n 345 third_party/zlib/gzread.c len -= n; n 367 third_party/zlib/gzread.c unsigned got, n; n 404 third_party/zlib/gzread.c n = state->have > len ? len : state->have; n 405 third_party/zlib/gzread.c memcpy(buf, state->next, n); n 406 third_party/zlib/gzread.c state->next += n; n 407 third_party/zlib/gzread.c state->have -= n; n 427 third_party/zlib/gzread.c if (gz_load(state, buf, len, &n) == -1) n 437 third_party/zlib/gzread.c n = state->have; n 442 third_party/zlib/gzread.c len -= n; n 443 third_party/zlib/gzread.c buf = (char *)buf + n; n 444 third_party/zlib/gzread.c got += n; n 445 third_party/zlib/gzread.c state->pos += n; n 544 third_party/zlib/gzread.c unsigned left, n; n 583 third_party/zlib/gzread.c n = state->have > left ? left : state->have; n 584 third_party/zlib/gzread.c eol = memchr(state->next, '\n', n); n 586 third_party/zlib/gzread.c n = (unsigned)(eol - state->next) + 1; n 589 third_party/zlib/gzread.c memcpy(buf, state->next, n); n 590 third_party/zlib/gzread.c state->have -= n; n 591 third_party/zlib/gzread.c state->next += n; n 592 third_party/zlib/gzread.c state->pos += n; n 593 third_party/zlib/gzread.c left -= n; n 594 third_party/zlib/gzread.c buf += n; n 116 third_party/zlib/gzwrite.c unsigned n; n 126 third_party/zlib/gzwrite.c n = GT_OFF(state->size) || (z_off64_t)state->size > len ? n 129 third_party/zlib/gzwrite.c memset(state->in, 0, n); n 132 third_party/zlib/gzwrite.c strm->avail_in = n; n 134 third_party/zlib/gzwrite.c state->pos += n; n 137 third_party/zlib/gzwrite.c len -= n; n 149 third_party/zlib/gzwrite.c unsigned n; n 191 third_party/zlib/gzwrite.c n = state->size - strm->avail_in; n 192 third_party/zlib/gzwrite.c if (n > len) n 193 third_party/zlib/gzwrite.c n = len; n 194 third_party/zlib/gzwrite.c memcpy(strm->next_in + strm->avail_in, buf, n); n 195 third_party/zlib/gzwrite.c strm->avail_in += n; n 196 third_party/zlib/gzwrite.c state->pos += n; n 197 third_party/zlib/gzwrite.c buf = (char *)buf + n; n 198 third_party/zlib/gzwrite.c len -= n; n 174 third_party/zlib/infback.c #define NEEDBITS(n) \ n 176 third_party/zlib/infback.c while (bits < (unsigned)(n)) \ n 181 third_party/zlib/infback.c #define BITS(n) \ n 182 third_party/zlib/infback.c ((unsigned)hold & ((1U << (n)) - 1)) n 185 third_party/zlib/infback.c #define DROPBITS(n) \ n 187 third_party/zlib/infback.c hold >>= (n); \ n 188 third_party/zlib/infback.c bits -= (unsigned)(n); \ n 478 third_party/zlib/inflate.c #define NEEDBITS(n) \ n 480 third_party/zlib/inflate.c while (bits < (unsigned)(n)) \ n 485 third_party/zlib/inflate.c #define BITS(n) \ n 486 third_party/zlib/inflate.c ((unsigned)hold & ((1U << (n)) - 1)) n 489 third_party/zlib/inflate.c #define DROPBITS(n) \ n 491 third_party/zlib/inflate.c hold >>= (n); \ n 492 third_party/zlib/inflate.c bits -= (unsigned)(n); \ n 243 third_party/zlib/trees.c int n; /* iterates over tree elements */ n 266 third_party/zlib/trees.c for (n = 0; n < (1<<extra_lbits[code]); n++) { n 281 third_party/zlib/trees.c for (n = 0; n < (1<<extra_dbits[code]); n++) { n 289 third_party/zlib/trees.c for (n = 0; n < (1<<(extra_dbits[code]-7)); n++) { n 297 third_party/zlib/trees.c n = 0; n 298 third_party/zlib/trees.c while (n <= 143) static_ltree[n++].Len = 8, bl_count[8]++; n 299 third_party/zlib/trees.c while (n <= 255) static_ltree[n++].Len = 9, bl_count[9]++; n 300 third_party/zlib/trees.c while (n <= 279) static_ltree[n++].Len = 7, bl_count[7]++; n 301 third_party/zlib/trees.c while (n <= 287) static_ltree[n++].Len = 8, bl_count[8]++; n 309 third_party/zlib/trees.c for (n = 0; n < D_CODES; n++) { n 310 third_party/zlib/trees.c static_dtree[n].Len = 5; n 311 third_party/zlib/trees.c static_dtree[n].Code = bi_reverse((unsigned)n, 5); n 418 third_party/zlib/trees.c int n; /* iterates over tree elements */ n 421 third_party/zlib/trees.c for (n = 0; n < L_CODES; n++) s->dyn_ltree[n].Freq = 0; n 422 third_party/zlib/trees.c for (n = 0; n < D_CODES; n++) s->dyn_dtree[n].Freq = 0; n 423 third_party/zlib/trees.c for (n = 0; n < BL_CODES; n++) s->bl_tree[n].Freq = 0; n 449 third_party/zlib/trees.c #define smaller(tree, n, m, depth) \ n 450 third_party/zlib/trees.c (tree[n].Freq < tree[m].Freq || \ n 451 third_party/zlib/trees.c (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m])) n 505 third_party/zlib/trees.c int n, m; /* iterate over the tree elements */ n 519 third_party/zlib/trees.c n = s->heap[h]; n 520 third_party/zlib/trees.c bits = tree[tree[n].Dad].Len + 1; n 522 third_party/zlib/trees.c tree[n].Len = (ush)bits; n 525 third_party/zlib/trees.c if (n > max_code) continue; /* not a leaf node */ n 529 third_party/zlib/trees.c if (n >= base) xbits = extra[n-base]; n 530 third_party/zlib/trees.c f = tree[n].Freq; n 532 third_party/zlib/trees.c if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits); n 558 third_party/zlib/trees.c n = s->bl_count[bits]; n 559 third_party/zlib/trees.c while (n != 0) { n 568 third_party/zlib/trees.c n--; n 589 third_party/zlib/trees.c int n; /* code index */ n 604 third_party/zlib/trees.c for (n = 0; n <= max_code; n++) { n 605 third_party/zlib/trees.c int len = tree[n].Len; n 608 third_party/zlib/trees.c tree[n].Code = bi_reverse(next_code[len]++, len); n 611 third_party/zlib/trees.c n, (isgraph(n) ? n : ' '), len, tree[n].Code, next_code[len]-1)); n 630 third_party/zlib/trees.c int n, m; /* iterate over heap elements */ n 640 third_party/zlib/trees.c for (n = 0; n < elems; n++) { n 641 third_party/zlib/trees.c if (tree[n].Freq != 0) { n 642 third_party/zlib/trees.c s->heap[++(s->heap_len)] = max_code = n; n 643 third_party/zlib/trees.c s->depth[n] = 0; n 645 third_party/zlib/trees.c tree[n].Len = 0; n 666 third_party/zlib/trees.c for (n = s->heap_len/2; n >= 1; n--) pqdownheap(s, tree, n); n 673 third_party/zlib/trees.c pqremove(s, tree, n); /* n = node of least frequency */ n 676 third_party/zlib/trees.c s->heap[--(s->heap_max)] = n; /* keep the nodes sorted by frequency */ n 680 third_party/zlib/trees.c tree[node].Freq = tree[n].Freq + tree[m].Freq; n 681 third_party/zlib/trees.c s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ? n 682 third_party/zlib/trees.c s->depth[n] : s->depth[m]) + 1); n 683 third_party/zlib/trees.c tree[n].Dad = tree[m].Dad = (ush)node; n 687 third_party/zlib/trees.c node, tree[node].Freq, n, tree[n].Freq, m, tree[m].Freq); n 716 third_party/zlib/trees.c int n; /* iterates over all tree elements */ n 727 third_party/zlib/trees.c for (n = 0; n <= max_code; n++) { n 728 third_party/zlib/trees.c curlen = nextlen; nextlen = tree[n+1].Len; n 761 third_party/zlib/trees.c int n; /* iterates over all tree elements */ n 772 third_party/zlib/trees.c for (n = 0; n <= max_code; n++) { n 773 third_party/zlib/trees.c curlen = nextlen; nextlen = tree[n+1].Len; n 1145 third_party/zlib/trees.c int n; n 1148 third_party/zlib/trees.c for (n = 0; n <= 31; n++, black_mask >>= 1) n 1149 third_party/zlib/trees.c if ((black_mask & 1) && (s->dyn_ltree[n].Freq != 0)) n 1156 third_party/zlib/trees.c for (n = 32; n < LITERALS; n++) n 1157 third_party/zlib/trees.c if (s->dyn_ltree[n].Freq != 0) n 242 third_party/zlib/zutil.c int n; n 248 third_party/zlib/zutil.c for (n = 0; n < next_ptr; n++) { n 249 third_party/zlib/zutil.c if (ptr != table[n].new_ptr) continue; n 251 third_party/zlib/zutil.c farfree(table[n].org_ptr); n 252 third_party/zlib/zutil.c while (++n < next_ptr) { n 253 third_party/zlib/zutil.c table[n-1] = table[n]; n 49 tools/android/file_poller/file_poller.cc int n; n 50 tools/android/file_poller/file_poller.cc while ((n = read(fd_in, buffer, sizeof(buffer))) > 0) n 51 tools/android/file_poller/file_poller.cc safe_write(fd_out, buffer, n); n 58 tools/android/file_poller/file_poller.cc int n; n 59 tools/android/file_poller/file_poller.cc while (to_read > 0 && ((n = read(fd_in, index, to_read)) > 0)) { n 60 tools/android/file_poller/file_poller.cc index += n; n 61 tools/android/file_poller/file_poller.cc to_read -= n; n 63 tools/android/file_poller/file_poller.cc if (n < 0) n 80 tools/android/file_poller/file_poller.cc int n = transfer_to_buffer(fd_in, buffer, sizeof(buffer)); n 81 tools/android/file_poller/file_poller.cc safe_write(fd_out, buffer, n - 1); n 90 tools/android/file_poller/file_poller.cc int n = snprintf(buffer, sizeof(buffer), "%d.%06d ", tv.tv_sec, tv.tv_usec); n 91 tools/android/file_poller/file_poller.cc safe_write(fd, buffer, n); n 122 tools/clang/plugins/ChromeClassTester.cpp std::string n = GetNamespace(record); n 123 tools/clang/plugins/ChromeClassTester.cpp if (!n.empty()) { n 124 tools/clang/plugins/ChromeClassTester.cpp return std::find(banned_namespaces_.begin(), banned_namespaces_.end(), n) n 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; n 18 tools/gn/err.cc std::string GetNthLine(const base::StringPiece& data, int n) { n 19 tools/gn/err.cc size_t line_off = Tokenizer::ByteOffsetOfNthLine(data, n); n 140 tools/gn/tokenizer.cc size_t Tokenizer::ByteOffsetOfNthLine(const base::StringPiece& buf, int n) { n 144 tools/gn/tokenizer.cc DCHECK(n > 0); n 146 tools/gn/tokenizer.cc if (n == 1) n 152 tools/gn/tokenizer.cc if (cur_line == n) n 28 tools/gn/tokenizer.h static size_t ByteOffsetOfNthLine(const base::StringPiece& buf, int n); n 37 tools/memory_watcher/memory_hook.h pointer allocate(size_type n, const void * = 0) { n 38 tools/memory_watcher/memory_hook.h return reinterpret_cast<T*>(MemoryHook::Alloc(n * sizeof(T))); n 156 ui/accessibility/ax_generated_tree_unittest.cc int n = generator.UniqueTreeCount(); n 157 ui/accessibility/ax_generated_tree_unittest.cc ASSERT_EQ(static_cast<int>(arraysize(EXPECTED_TREES)), n); n 159 ui/accessibility/ax_generated_tree_unittest.cc for (int i = 0; i < n; i++) { n 188 ui/accessibility/ax_generated_tree_unittest.cc int n = generator.UniqueTreeCount(); n 190 ui/accessibility/ax_generated_tree_unittest.cc for (int i = 0; i < n; i++) { n 196 ui/accessibility/ax_generated_tree_unittest.cc for (int j = 0; j < n; j++) { n 66 ui/app_list/test/app_list_test_model.cc void AppListTestModel::PopulateApps(int n) { n 68 ui/app_list/test/app_list_test_model.cc for (int i = 0; i < n; ++i) n 72 ui/app_list/test/app_list_test_model.cc AppListFolderItem* AppListTestModel::CreateAndPopulateFolderWithApps(int n) { n 73 ui/app_list/test/app_list_test_model.cc DCHECK_GT(n, 1); n 77 ui/app_list/test/app_list_test_model.cc for (int i = 1; i < n; ++i) { n 49 ui/app_list/test/app_list_test_model.h void PopulateApps(int n); n 52 ui/app_list/test/app_list_test_model.h AppListFolderItem* CreateAndPopulateFolderWithApps(int n); n 974 ui/base/dragdrop/os_exchange_data_provider_win.cc static LPITEMIDLIST GetNthPIDL(CIDA* cida, int n) { n 976 ui/base/dragdrop/os_exchange_data_provider_win.cc reinterpret_cast<LPBYTE>(cida) + cida->aoffset[n]); n 67 ui/base/ime/chromeos/character_composer.cc SequenceIterator& operator+=(int n) { n 68 ui/base/ime/chromeos/character_composer.cc ptr_ += stride_*n; n 23 ui/events/gesture_detection/bitset_32.h static inline uint32_t value_for_bit(uint32_t n) { return 0x80000000 >> n; } n 38 ui/events/gesture_detection/bitset_32.h inline bool has_bit(uint32_t n) const { n 39 ui/events/gesture_detection/bitset_32.h return (value & value_for_bit(n)) != 0; n 43 ui/events/gesture_detection/bitset_32.h inline void mark_bit(uint32_t n) { value |= value_for_bit(n); } n 46 ui/events/gesture_detection/bitset_32.h inline void clear_bit(uint32_t n) { value &= ~value_for_bit(n); } n 64 ui/events/gesture_detection/bitset_32.h uint32_t n = first_marked_bit(); n 65 ui/events/gesture_detection/bitset_32.h clear_bit(n); n 66 ui/events/gesture_detection/bitset_32.h return n; n 73 ui/events/gesture_detection/bitset_32.h uint32_t n = first_unmarked_bit(); n 74 ui/events/gesture_detection/bitset_32.h mark_bit(n); n 75 ui/events/gesture_detection/bitset_32.h return n; n 81 ui/events/gesture_detection/bitset_32.h uint32_t n = last_marked_bit(); n 82 ui/events/gesture_detection/bitset_32.h clear_bit(n); n 83 ui/events/gesture_detection/bitset_32.h return n; n 88 ui/events/gesture_detection/bitset_32.h inline uint32_t get_index_of_bit(uint32_t n) const { n 89 ui/events/gesture_detection/bitset_32.h return popcnt(value & ~(0xffffffffUL >> n)); n 455 ui/events/gesture_detection/velocity_tracker.cc uint32_t n, n 466 ui/events/gesture_detection/velocity_tracker.cc DCHECK_LE(n, static_cast<uint32_t>(N_ARRAY_LENGTH)); n 469 ui/events/gesture_detection/velocity_tracker.cc const uint32_t N_ARRAY_LENGTH = n; n 476 ui/events/gesture_detection/velocity_tracker.cc for (uint32_t i = 1; i < n; i++) { n 487 ui/events/gesture_detection/velocity_tracker.cc for (uint32_t j = 0; j < n; j++) { n 508 ui/events/gesture_detection/velocity_tracker.cc for (uint32_t i = 0; i < n; i++) { n 519 ui/events/gesture_detection/velocity_tracker.cc for (uint32_t i = n; i-- != 0;) { n 521 ui/events/gesture_detection/velocity_tracker.cc for (uint32_t j = n - 1; j > i; j--) { n 542 ui/events/gesture_detection/velocity_tracker.cc for (uint32_t i = 1; i < n; i++) { n 599 ui/events/gesture_detection/velocity_tracker.cc uint32_t n = degree + 1; n 600 ui/events/gesture_detection/velocity_tracker.cc if (SolveLeastSquares(time, x, w, m, n, out_estimator->xcoeff, &xdet) && n 601 ui/events/gesture_detection/velocity_tracker.cc SolveLeastSquares(time, y, w, m, n, out_estimator->ycoeff, &ydet)) { n 39 ui/gfx/interpolated_transform.cc int n = static_cast<int>(degrees_by_ninety > 0 n 43 ui/gfx/interpolated_transform.cc n %= 4; n 44 ui/gfx/interpolated_transform.cc if (n < 0) n 45 ui/gfx/interpolated_transform.cc n += 4; n 48 ui/gfx/interpolated_transform.cc if (n == 1) { n 52 ui/gfx/interpolated_transform.cc } else if (n == 2) { n 56 ui/gfx/interpolated_transform.cc } else if (n == 3) { n 32 ui/gfx/transform_util.cc template <int n> n 35 ui/gfx/transform_util.cc for (int i = 0; i < n; ++i) n 40 ui/gfx/transform_util.cc template <int n> n 46 ui/gfx/transform_util.cc for (int i = 0; i < n; ++i) n 59 ui/gfx/transform_util.cc SkMScalar Round(SkMScalar n) { n 60 ui/gfx/transform_util.cc return SkDoubleToMScalar(std::floor(SkMScalarToDouble(n) + 0.5)); n 146 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLDeleteBuffers(GLsizei n, const GLuint* buffers) { n 147 ui/gl/gl_bindings_skia_in_process.cc glDeleteBuffersARB(n, buffers); n 150 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLDeleteFramebuffers(GLsizei n, const GLuint* framebuffers) { n 151 ui/gl/gl_bindings_skia_in_process.cc glDeleteFramebuffersEXT(n, framebuffers); n 154 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLDeleteQueries(GLsizei n, const GLuint* ids) { n 155 ui/gl/gl_bindings_skia_in_process.cc glDeleteQueries(n, ids); n 162 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) { n 163 ui/gl/gl_bindings_skia_in_process.cc glDeleteRenderbuffersEXT(n, renderbuffers); n 170 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLDeleteTextures(GLsizei n, const GLuint* textures) { n 171 ui/gl/gl_bindings_skia_in_process.cc glDeleteTextures(n, textures); n 174 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLDeleteVertexArrays(GLsizei n, const GLuint* arrays) { n 175 ui/gl/gl_bindings_skia_in_process.cc glDeleteVertexArraysOES(n, arrays); n 203 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLDrawBuffers(GLsizei n, const GLenum* bufs) { n 204 ui/gl/gl_bindings_skia_in_process.cc glDrawBuffersARB(n, bufs); n 256 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLGenBuffers(GLsizei n, GLuint* buffers) { n 257 ui/gl/gl_bindings_skia_in_process.cc glGenBuffersARB(n, buffers); n 260 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLGenFramebuffers(GLsizei n, GLuint* framebuffers) { n 261 ui/gl/gl_bindings_skia_in_process.cc glGenFramebuffersEXT(n, framebuffers); n 264 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLGenQueries(GLsizei n, GLuint* ids) { n 265 ui/gl/gl_bindings_skia_in_process.cc glGenQueries(n, ids); n 268 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLGenRenderbuffers(GLsizei n, GLuint* renderbuffers) { n 269 ui/gl/gl_bindings_skia_in_process.cc glGenRenderbuffersEXT(n, renderbuffers); n 272 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLGenTextures(GLsizei n, GLuint* textures) { n 273 ui/gl/gl_bindings_skia_in_process.cc glGenTextures(n, textures); n 276 ui/gl/gl_bindings_skia_in_process.cc GLvoid StubGLGenVertexArrays(GLsizei n, GLuint* arrays) { n 277 ui/gl/gl_bindings_skia_in_process.cc glGenVertexArraysOES(n, arrays); n 215 ui/gl/gl_context.cc for (size_t n = 0; n < flush_events_.size(); n++) n 216 ui/gl/gl_context.cc flush_events_[n]->Signal(); n 557 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs); n 82 webkit/renderer/compositor_bindings/web_animation_impl.cc void WebAnimationImpl::setIterations(int n) { animation_->set_iterations(n); }