len 226 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java public int read(byte b[], int off, int len) throws IOException { len 79 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java int len = in.read(buffer, 0, buflen); len 80 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java while (len != -1) { len 81 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java os.write(buffer, 0, len); len 82 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java if (len < buflen) break; len 83 android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java len = in.read(buffer, 0, buflen); len 15 base/android/jni_array.cc JNIEnv* env, const uint8* bytes, size_t len) { len 16 base/android/jni_array.cc jbyteArray byte_array = env->NewByteArray(len); len 21 base/android/jni_array.cc byte_array, 0, len, reinterpret_cast<const jbyte*>(bytes)); len 28 base/android/jni_array.cc JNIEnv* env, const int* ints, size_t len) { len 29 base/android/jni_array.cc jintArray int_array = env->NewIntArray(len); len 34 base/android/jni_array.cc int_array, 0, len, reinterpret_cast<const jint*>(ints)); len 46 base/android/jni_array.cc JNIEnv* env, const int64* longs, size_t len) { len 47 base/android/jni_array.cc jlongArray long_array = env->NewLongArray(len); len 52 base/android/jni_array.cc long_array, 0, len, reinterpret_cast<const jlong*>(longs)); len 111 base/android/jni_array.cc jsize len = env->GetArrayLength(array); len 113 base/android/jni_array.cc out->resize(back + len); len 114 base/android/jni_array.cc for (jsize i = 0; i < len; ++i) { len 127 base/android/jni_array.cc jsize len = env->GetArrayLength(array); len 129 base/android/jni_array.cc out->resize(back + len); len 130 base/android/jni_array.cc for (jsize i = 0; i < len; ++i) { len 143 base/android/jni_array.cc jsize len = env->GetArrayLength(byte_array); len 145 base/android/jni_array.cc out->insert(out->end(), bytes, bytes + len); len 162 base/android/jni_array.cc jsize len = env->GetArrayLength(int_array); len 164 base/android/jni_array.cc for (jsize i = 0; i < len; ++i) { len 175 base/android/jni_array.cc jsize len = env->GetArrayLength(float_array); len 177 base/android/jni_array.cc for (jsize i = 0; i < len; ++i) { len 189 base/android/jni_array.cc jsize len = env->GetArrayLength(array); len 190 base/android/jni_array.cc out->resize(len); len 191 base/android/jni_array.cc for (jsize i = 0; i < len; ++i) { len 21 base/android/jni_array.h JNIEnv* env, const uint8* bytes, size_t len); len 25 base/android/jni_array.h JNIEnv* env, const int* ints, size_t len); len 32 base/android/jni_array.h JNIEnv* env, const int64* longs, size_t len); len 33 base/android/jni_array_unittest.cc const size_t len, len 38 base/android/jni_array_unittest.cc ASSERT_EQ(static_cast<jsize>(len), java_array_len); len 41 base/android/jni_array_unittest.cc for (size_t i = 0; i < len; ++i) { len 61 base/android/jni_array_unittest.cc const size_t len, len 66 base/android/jni_array_unittest.cc ASSERT_EQ(static_cast<jsize>(len), java_array_len); len 69 base/android/jni_array_unittest.cc for (size_t i = 0; i < len; ++i) { len 11 base/big_endian.cc BigEndianReader::BigEndianReader(const char* buf, size_t len) len 12 base/big_endian.cc : ptr_(buf), end_(ptr_ + len) {} len 14 base/big_endian.cc bool BigEndianReader::Skip(size_t len) { len 15 base/big_endian.cc if (ptr_ + len > end_) len 17 base/big_endian.cc ptr_ += len; len 21 base/big_endian.cc bool BigEndianReader::ReadBytes(void* out, size_t len) { len 22 base/big_endian.cc if (ptr_ + len > end_) len 24 base/big_endian.cc memcpy(out, ptr_, len); len 25 base/big_endian.cc ptr_ += len; len 29 base/big_endian.cc bool BigEndianReader::ReadPiece(base::StringPiece* out, size_t len) { len 30 base/big_endian.cc if (ptr_ + len > end_) len 32 base/big_endian.cc *out = base::StringPiece(ptr_, len); len 33 base/big_endian.cc ptr_ += len; len 58 base/big_endian.cc BigEndianWriter::BigEndianWriter(char* buf, size_t len) len 59 base/big_endian.cc : ptr_(buf), end_(ptr_ + len) {} len 61 base/big_endian.cc bool BigEndianWriter::Skip(size_t len) { len 62 base/big_endian.cc if (ptr_ + len > end_) len 64 base/big_endian.cc ptr_ += len; len 68 base/big_endian.cc bool BigEndianWriter::WriteBytes(const void* buf, size_t len) { len 69 base/big_endian.cc if (ptr_ + len > end_) len 71 base/big_endian.cc memcpy(ptr_, buf, len); len 72 base/big_endian.cc ptr_ += len; len 54 base/big_endian.h BigEndianReader(const char* buf, size_t len); len 59 base/big_endian.h bool Skip(size_t len); len 60 base/big_endian.h bool ReadBytes(void* out, size_t len); len 62 base/big_endian.h bool ReadPiece(base::StringPiece* out, size_t len); len 80 base/big_endian.h BigEndianWriter(char* buf, size_t len); len 85 base/big_endian.h bool Skip(size_t len); len 86 base/big_endian.h bool WriteBytes(const void* buf, size_t len); len 21 base/debug/debugger_win.cc const wchar_t* value_name, wchar_t* buffer, int* len) { len 28 base/debug/debugger_win.cc DWORD buffer_size = *len * sizeof(wchar_t); len 34 base/debug/debugger_win.cc buffer[*len - 1] = 0; len 35 base/debug/debugger_win.cc *len = lstrlen(buffer); len 75 base/debug/debugger_win.cc int len = arraysize(reg_value); len 78 base/debug/debugger_win.cc L"Debugger", reg_value, &len)) { len 359 base/debug/stack_trace_posix.cc size_t len; len 364 base/debug/stack_trace_posix.cc len = static_cast<size_t>( len 371 base/debug/stack_trace_posix.cc write(STDERR_FILENO, buf, std::min(len, sizeof(buf) - 1)); len 373 base/debug/stack_trace_posix.cc len = static_cast<size_t>( len 382 base/debug/stack_trace_posix.cc write(STDERR_FILENO, buf, std::min(len, sizeof(buf) - 1)); len 384 base/debug/stack_trace_posix.cc len = static_cast<size_t>( len 393 base/debug/stack_trace_posix.cc write(STDERR_FILENO, buf, std::min(len, sizeof(buf) - 1)); len 143 base/file_util.cc size_t len; len 149 base/file_util.cc while ((len = fread(buf, 1, sizeof(buf), file)) > 0) { len 151 base/file_util.cc contents->append(buf, std::min(len, max_size - size)); len 153 base/file_util.cc if ((max_size - size) < len) { len 158 base/file_util.cc size += len; len 664 base/file_util_win.cc DWORD len = ::GetCurrentDirectory(MAX_PATH, system_buffer); len 665 base/file_util_win.cc if (len == 0 || len > MAX_PATH) len 205 base/files/file_path_watcher_linux.cc size_t event_size = sizeof(inotify_event) + event->len; len 291 base/files/file_path_watcher_linux.cc FilePath::StringType child(event->len ? event->name : FILE_PATH_LITERAL("")); len 27 base/files/memory_mapped_file_win.cc int64 len = file_.GetLength(); len 28 base/files/memory_mapped_file_win.cc if (len <= 0 || len > kint32max) len 30 base/files/memory_mapped_file_win.cc length_ = static_cast<size_t>(len); len 10 base/hash.cc extern "C" uint32_t SuperFastHash(const char* data, int len); len 14 base/hash.cc uint32 SuperFastHash(const char* data, int len) { len 15 base/hash.cc return ::SuperFastHash(data, len); len 18 base/hash.h BASE_EXPORT uint32 SuperFastHash(const char* data, int len); len 884 base/json/json_parser.cc int len = 0; len 889 base/json/json_parser.cc ++len; len 892 base/json/json_parser.cc if (len == 0) len 895 base/json/json_parser.cc if (!allow_leading_zeros && len > 1 && first == '0') len 943 base/json/json_parser.cc bool JSONParser::StringsAreEqual(const char* one, const char* two, size_t len) { len 944 base/json/json_parser.cc return strncmp(one, two, len) == 0; len 214 base/json/json_parser.h static bool StringsAreEqual(const char* left, const char* right, size_t len); len 770 base/logging.cc DWORD len = FormatMessageA(flags, len 777 base/logging.cc if (len) { len 778 base/logging.cc while ((len > 0) && len 779 base/logging.cc isspace(static_cast<unsigned char>(msgbuf[len - 1]))) { len 780 base/logging.cc msgbuf[--len] = 0; len 172 base/md5.cc size_t len = data.size(); len 180 base/md5.cc if ((ctx->bits[0] = t + ((uint32)len << 3)) < t) len 182 base/md5.cc ctx->bits[1] += static_cast<uint32>(len >> 29); len 192 base/md5.cc if (len < t) { len 193 base/md5.cc memcpy(p, buf, len); len 200 base/md5.cc len -= t; len 205 base/md5.cc while (len >= 64) { len 210 base/md5.cc len -= 64; len 215 base/md5.cc memcpy(ctx->in, buf, len); len 119 base/md5_unittest.cc int len = 4097; // intentionally not 2^k. len 120 base/md5_unittest.cc if (len > length - total) len 121 base/md5_unittest.cc len = length - total; len 124 base/md5_unittest.cc StringPiece(reinterpret_cast<char*>(data.get() + total), len)); len 125 base/md5_unittest.cc total += len; len 353 base/nix/mime_util_xdg.cc size_t len = result.length(); len 354 base/nix/mime_util_xdg.cc if (len == 0) len 356 base/nix/mime_util_xdg.cc char end = result[len - 1]; len 109 base/pickle.cc int len; len 110 base/pickle.cc if (!ReadInt(&len)) len 112 base/pickle.cc const char* read_from = GetReadPointerAndAdvance(len); len 116 base/pickle.cc result->assign(read_from, len); len 121 base/pickle.cc int len; len 122 base/pickle.cc if (!ReadInt(&len)) len 124 base/pickle.cc const char* read_from = GetReadPointerAndAdvance(len, sizeof(wchar_t)); len 128 base/pickle.cc result->assign(reinterpret_cast<const wchar_t*>(read_from), len); len 133 base/pickle.cc int len; len 134 base/pickle.cc if (!ReadInt(&len)) len 136 base/pickle.cc const char* read_from = GetReadPointerAndAdvance(len, sizeof(char16)); len 140 base/pickle.cc result->assign(reinterpret_cast<const char16*>(read_from), len); len 32 base/process/process_handle_openbsd.cc size_t len; len 36 base/process/process_handle_openbsd.cc if (sysctl(mib, arraysize(mib), NULL, &len, NULL, 0) == -1) len 38 base/process/process_handle_openbsd.cc mib[5] = (len / sizeof(struct kinfo_proc)); len 39 base/process/process_handle_openbsd.cc if (sysctl(mib, arraysize(mib), &kp, &len, NULL, 0) < 0) len 20 base/process/process_info_mac.cc size_t len = 0; len 21 base/process/process_info_mac.cc if (sysctl(mib, arraysize(mib), NULL, &len, NULL, 0) < 0) len 25 base/process/process_info_mac.cc proc(static_cast<struct kinfo_proc*>(malloc(len))); len 26 base/process/process_info_mac.cc if (sysctl(mib, arraysize(mib), proc.get(), &len, NULL, 0) < 0) len 27 base/process/process_iterator_freebsd.cc size_t len = 0; len 28 base/process/process_iterator_freebsd.cc if (sysctl(mib, arraysize(mib), NULL, &len, NULL, 0) < 0) { len 33 base/process/process_iterator_freebsd.cc size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc); len 38 base/process/process_iterator_freebsd.cc len = num_of_kinfo_proc * sizeof(struct kinfo_proc); len 39 base/process/process_iterator_freebsd.cc if (sysctl(mib, arraysize(mib), &kinfo_procs_[0], &len, NULL, 0) <0) { len 49 base/process/process_iterator_freebsd.cc size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc); len 33 base/process/process_iterator_mac.cc size_t len = 0; len 34 base/process/process_iterator_mac.cc if (sysctl(mib, arraysize(mib), NULL, &len, NULL, 0) < 0) { len 39 base/process/process_iterator_mac.cc size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc); len 44 base/process/process_iterator_mac.cc len = num_of_kinfo_proc * sizeof(struct kinfo_proc); len 46 base/process/process_iterator_mac.cc if (sysctl(mib, arraysize(mib), &kinfo_procs_[0], &len, NULL, 0) < 0) { len 56 base/process/process_iterator_mac.cc size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc); len 27 base/process/process_iterator_openbsd.cc size_t len = 0; len 28 base/process/process_iterator_openbsd.cc if (sysctl(mib, arraysize(mib), NULL, &len, NULL, 0) < 0) { len 33 base/process/process_iterator_openbsd.cc size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc); len 38 base/process/process_iterator_openbsd.cc len = num_of_kinfo_proc * sizeof(struct kinfo_proc); len 39 base/process/process_iterator_openbsd.cc if (sysctl(mib, arraysize(mib), &kinfo_procs_[0], &len, NULL, 0) < 0) { len 49 base/process/process_iterator_openbsd.cc size_t num_of_kinfo_proc = len / sizeof(struct kinfo_proc); len 51 base/process/process_metrics_mac.cc size_t len = sizeof(*cpu_type); len 54 base/process/process_metrics_mac.cc &len, len 154 base/process/process_metrics_openbsd.cc size_t len = sizeof(vmtotal); len 156 base/process/process_metrics_openbsd.cc if (sysctl(mib, arraysize(mib), &vmtotal, &len, NULL, 0) < 0) len 31 base/safe_strerror_posix.cc size_t len) { len 33 base/safe_strerror_posix.cc char *rc = (*strerror_r_ptr)(err, buf, len); len 38 base/safe_strerror_posix.cc strncat(buf, rc, len - 1); len 54 base/safe_strerror_posix.cc size_t len) { len 61 base/safe_strerror_posix.cc int result = (*strerror_r_ptr)(err, buf, len); len 67 base/safe_strerror_posix.cc buf[len - 1] = '\0'; len 87 base/safe_strerror_posix.cc len, len 95 base/safe_strerror_posix.cc void safe_strerror_r(int err, char *buf, size_t len) { len 96 base/safe_strerror_posix.cc if (buf == NULL || len <= 0) { len 103 base/safe_strerror_posix.cc wrap_posix_strerror_r(&strerror_r, err, buf, len); len 28 base/safe_strerror_posix.h BASE_EXPORT void safe_strerror_r(int err, char *buf, size_t len); len 24 base/sha1.h BASE_EXPORT void SHA1HashBytes(const unsigned char* data, size_t len, len 206 base/sha1_portable.cc void SHA1HashBytes(const unsigned char* data, size_t len, len 209 base/sha1_portable.cc sha.Update(data, len); len 173 base/strings/safe_sprintf.cc inline bool Pad(char pad, size_t padding, size_t len) { len 176 base/strings/safe_sprintf.cc DEBUG_CHECK(len >= 0); len 177 base/strings/safe_sprintf.cc for (; padding > len; --padding) { len 180 base/strings/safe_sprintf.cc IncrementCount(padding-len); len 602 base/strings/safe_sprintf.cc size_t len = 0; len 604 base/strings/safe_sprintf.cc ++len; len 606 base/strings/safe_sprintf.cc buffer.Pad(' ', padding, len); len 374 base/strings/safe_sprintf_unittest.cc size_t len; len 388 base/strings/safe_sprintf_unittest.cc len = strlen(tmp.get()); len 389 base/strings/safe_sprintf_unittest.cc CHECK_GE(needed, len+1); len 393 base/strings/safe_sprintf_unittest.cc CHECK_LT(len, out_sz); len 397 base/strings/safe_sprintf_unittest.cc EXPECT_FALSE(tmp[len]); len 414 base/strings/safe_sprintf_unittest.cc for (size_t i = len+1; i < sz+2; ++i) len 444 base/strings/safe_sprintf_unittest.cc memcpy(buf, tmp.get(), len+1); len 181 base/strings/string_piece.h BasicStringPiece(const value_type* offset, size_type len) len 182 base/strings/string_piece.h : ptr_(offset), length_(len) {} len 201 base/strings/string_piece.h void set(const value_type* data, size_type len) { len 203 base/strings/string_piece.h length_ = len; len 39 base/sync_socket_posix.cc const int len = WriteFileDescriptor(handle, charbuffer, length); len 40 base/sync_socket_posix.cc return len < 0 ? 0 : static_cast<size_t>(len); len 216 base/sync_socket_posix.cc const size_t len = SendHelper(handle_, buffer, length); len 223 base/sync_socket_posix.cc return len; len 146 base/sync_socket_win.cc DWORD len = 0; len 148 base/sync_socket_win.cc file, static_cast<BufferType*>(buffer) + count, chunk, &len, &ol); len 158 base/sync_socket_win.cc GetOverlappedResult(file, &ol, &len, TRUE); len 177 base/sync_socket_win.cc count += len; len 180 base/sync_socket_win.cc if (len != chunk) len 226 base/sync_socket_win.cc DWORD len; len 229 base/sync_socket_win.cc chunk, &len, NULL) == FALSE) { len 232 base/sync_socket_win.cc count += len; len 251 base/sync_socket_win.cc DWORD len; len 254 base/sync_socket_win.cc chunk, &len, NULL) == FALSE) { len 257 base/sync_socket_win.cc count += len; len 82 base/sys_info_mac.cc size_t len = arraysize(name); len 83 base/sys_info_mac.cc if (sysctlbyname("machdep.cpu.brand_string", &name, &len, NULL, 0) == 0) len 67 base/sys_info_openbsd.cc size_t len = arraysize(name); len 68 base/sys_info_openbsd.cc if (sysctl(mib, arraysize(mib), name, &len, NULL, 0) < 0) { len 551 base/third_party/dmg_fp/dtoa.cc unsigned int len; len 564 base/third_party/dmg_fp/dtoa.cc len = (sizeof(Bigint) + (x-1)*sizeof(ULong) + sizeof(double) - 1) len 566 base/third_party/dmg_fp/dtoa.cc if (k <= Kmax && pmem_next - private_mem + len <= PRIVATE_mem) { len 568 base/third_party/dmg_fp/dtoa.cc pmem_next += len; len 571 base/third_party/dmg_fp/dtoa.cc rv = (Bigint*)MALLOC(len*sizeof(double)); len 41 base/third_party/superfasthash/superfasthash.c uint32_t SuperFastHash (const char * data, int len) { len 42 base/third_party/superfasthash/superfasthash.c uint32_t hash = len, tmp; len 45 base/third_party/superfasthash/superfasthash.c if (len <= 0 || data == NULL) return 0; len 47 base/third_party/superfasthash/superfasthash.c rem = len & 3; len 48 base/third_party/superfasthash/superfasthash.c len >>= 2; len 51 base/third_party/superfasthash/superfasthash.c for (;len > 0; len--) { len 159 base/third_party/symbolize/demangle.cc size_t len = 0; len 162 base/third_party/symbolize/demangle.cc ++len; len 164 base/third_party/symbolize/demangle.cc return len; len 98 base/third_party/symbolize/symbolize.cc size_t len = strlen(demangled); len 99 base/third_party/symbolize/symbolize.cc if (len + 1 <= (size_t)out_size) { // +1 for '\0'. len 100 base/third_party/symbolize/symbolize.cc SAFE_ASSERT(len < sizeof(demangled)); len 101 base/third_party/symbolize/symbolize.cc memmove(out, demangled, len + 1); len 146 base/third_party/symbolize/symbolize.cc ssize_t len; len 147 base/third_party/symbolize/symbolize.cc NO_INTR(len = read(fd, buf0 + num_bytes, count - num_bytes)); len 148 base/third_party/symbolize/symbolize.cc if (len < 0) { // There was an error other than EINTR. len 151 base/third_party/symbolize/symbolize.cc if (len == 0) { // Reached EOF. len 154 base/third_party/symbolize/symbolize.cc num_bytes += len; len 178 base/third_party/symbolize/symbolize.cc ssize_t len = ReadFromOffset(fd, buf, count, offset); len 179 base/third_party/symbolize/symbolize.cc return len == count; len 208 base/third_party/symbolize/symbolize.cc const ssize_t len = ReadFromOffset(fd, buf, num_bytes_to_read, len 210 base/third_party/symbolize/symbolize.cc SAFE_ASSERT(len % sizeof(buf[0]) == 0); len 211 base/third_party/symbolize/symbolize.cc const ssize_t num_headers_in_buf = len / sizeof(buf[0]); len 299 base/third_party/symbolize/symbolize.cc const ssize_t len = ReadFromOffset(fd, &buf, sizeof(buf), offset); len 300 base/third_party/symbolize/symbolize.cc SAFE_ASSERT(len % sizeof(buf[0]) == 0); len 301 base/third_party/symbolize/symbolize.cc const ssize_t num_symbols_in_buf = len / sizeof(buf[0]); len 270 base/third_party/xdg_mime/xdgmime.c int len; len 284 base/third_party/xdg_mime/xdgmime.c len = end_ptr - ptr; len 286 base/third_party/xdg_mime/xdgmime.c len = end_ptr - ptr + 1; len 287 base/third_party/xdg_mime/xdgmime.c dir = malloc (len + 1); len 288 base/third_party/xdg_mime/xdgmime.c strncpy (dir, ptr, len); len 289 base/third_party/xdg_mime/xdgmime.c dir[len] = '\0'; len 467 base/third_party/xdg_mime/xdgmime.c size_t len, len 472 base/third_party/xdg_mime/xdgmime.c if (len == 0) len 481 base/third_party/xdg_mime/xdgmime.c mime_type = _xdg_mime_cache_get_mime_type_for_data (data, len, result_prio); len 483 base/third_party/xdg_mime/xdgmime.c mime_type = _xdg_mime_magic_lookup_data (global_magic, data, len, result_prio, NULL, 0); len 488 base/third_party/xdg_mime/xdgmime.c return _xdg_binary_or_text_fallback(data, len); len 89 base/third_party/xdg_mime/xdgmime.h size_t len, len 168 base/third_party/xdg_mime/xdgmimecache.c size_t len) len 182 base/third_party/xdg_mime/xdgmimecache.c if (i + data_length > len) len 213 base/third_party/xdg_mime/xdgmimecache.c size_t len) len 220 base/third_party/xdg_mime/xdgmimecache.c if (cache_magic_matchlet_compare_to_data (cache, offset, data, len)) len 228 base/third_party/xdg_mime/xdgmimecache.c data, len)) len 240 base/third_party/xdg_mime/xdgmimecache.c size_t len, len 253 base/third_party/xdg_mime/xdgmimecache.c data, len)) len 267 base/third_party/xdg_mime/xdgmimecache.c size_t len, len 289 base/third_party/xdg_mime/xdgmimecache.c data, len, prio); len 458 base/third_party/xdg_mime/xdgmimecache.c int len, len 473 base/third_party/xdg_mime/xdgmimecache.c character = file_name[len - 1]; len 489 base/third_party/xdg_mime/xdgmimecache.c len--; len 494 base/third_party/xdg_mime/xdgmimecache.c if (len > 0) len 498 base/third_party/xdg_mime/xdgmimecache.c file_name, len, len 534 base/third_party/xdg_mime/xdgmimecache.c int len, len 551 base/third_party/xdg_mime/xdgmimecache.c file_name, len, len 595 base/third_party/xdg_mime/xdgmimecache.c int len; len 618 base/third_party/xdg_mime/xdgmimecache.c len = strlen (file_name); len 619 base/third_party/xdg_mime/xdgmimecache.c n = cache_glob_lookup_suffix (lower_case, len, FALSE, mimes, n_mimes); len 621 base/third_party/xdg_mime/xdgmimecache.c n = cache_glob_lookup_suffix (file_name, len, TRUE, mimes, n_mimes); len 663 base/third_party/xdg_mime/xdgmimecache.c size_t len, len 680 base/third_party/xdg_mime/xdgmimecache.c match = cache_magic_lookup_data (cache, data, len, &prio, len 717 base/third_party/xdg_mime/xdgmimecache.c size_t len, len 720 base/third_party/xdg_mime/xdgmimecache.c return cache_get_mime_type_for_data (data, len, result_prio, NULL, 0); len 59 base/third_party/xdg_mime/xdgmimecache.h size_t len, len 302 base/third_party/xdg_mime/xdgmimeglob.c int len; len 304 base/third_party/xdg_mime/xdgmimeglob.c unitext = _xdg_convert_to_ucs4 (text, &len); len 305 base/third_party/xdg_mime/xdgmimeglob.c _xdg_reverse_ucs4 (unitext, len); len 319 base/third_party/xdg_mime/xdgmimeglob.c int len, len 331 base/third_party/xdg_mime/xdgmimeglob.c character = file_name[len - 1]; len 337 base/third_party/xdg_mime/xdgmimeglob.c len--; len 339 base/third_party/xdg_mime/xdgmimeglob.c if (len > 0) len 343 base/third_party/xdg_mime/xdgmimeglob.c len, len 413 base/third_party/xdg_mime/xdgmimeglob.c int len; len 446 base/third_party/xdg_mime/xdgmimeglob.c len = strlen (file_name); len 447 base/third_party/xdg_mime/xdgmimeglob.c n = _xdg_glob_hash_node_lookup_file_name (glob_hash->simple_node, lower_case, len, FALSE, len 450 base/third_party/xdg_mime/xdgmimeglob.c n = _xdg_glob_hash_node_lookup_file_name (glob_hash->simple_node, file_name, len, TRUE, len 157 base/third_party/xdg_mime/xdgmimeint.c _xdg_convert_to_ucs4 (const char *source, int *len) len 173 base/third_party/xdg_mime/xdgmimeint.c *len = i; len 179 base/third_party/xdg_mime/xdgmimeint.c _xdg_reverse_ucs4 (xdg_unichar_t *source, int len) len 184 base/third_party/xdg_mime/xdgmimeint.c for (i = 0; i < len - i - 1; i++) len 187 base/third_party/xdg_mime/xdgmimeint.c source[i] = source[len - i - 1]; len 188 base/third_party/xdg_mime/xdgmimeint.c source[len - i - 1] = c; len 193 base/third_party/xdg_mime/xdgmimeint.c _xdg_binary_or_text_fallback(const void *data, size_t len) len 199 base/third_party/xdg_mime/xdgmimeint.c for (i = 0; i < 32 && i < len; ++i) len 73 base/third_party/xdg_mime/xdgmimeint.h xdg_unichar_t *_xdg_convert_to_ucs4 (const char *source, int *len); len 74 base/third_party/xdg_mime/xdgmimeint.h void _xdg_reverse_ucs4 (xdg_unichar_t *source, int len); len 76 base/third_party/xdg_mime/xdgmimeint.h const char *_xdg_binary_or_text_fallback(const void *data, size_t len); len 167 base/third_party/xdg_mime/xdgmimemagic.c int len, pos; len 169 base/third_party/xdg_mime/xdgmimemagic.c len = 128; len 171 base/third_party/xdg_mime/xdgmimemagic.c retval = malloc (len); len 187 base/third_party/xdg_mime/xdgmimemagic.c len = len + 128; len 188 base/third_party/xdg_mime/xdgmimemagic.c retval = realloc (retval, len); len 522 base/third_party/xdg_mime/xdgmimemagic.c size_t len) len 529 base/third_party/xdg_mime/xdgmimemagic.c if (i + matchlet->value_length > len) len 564 base/third_party/xdg_mime/xdgmimemagic.c size_t len, len 569 base/third_party/xdg_mime/xdgmimemagic.c if (_xdg_mime_magic_matchlet_compare_to_data (matchlet, data, len)) len 577 base/third_party/xdg_mime/xdgmimemagic.c len, len 595 base/third_party/xdg_mime/xdgmimemagic.c size_t len) len 597 base/third_party/xdg_mime/xdgmimemagic.c return _xdg_mime_magic_matchlet_compare_level (match->matchlet, data, len, 0); len 658 base/third_party/xdg_mime/xdgmimemagic.c size_t len, len 672 base/third_party/xdg_mime/xdgmimemagic.c if (_xdg_mime_magic_match_compare_to_data (match, data, len)) len 52 base/third_party/xdg_mime/xdgmimemagic.h size_t len, len 56 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc int len; len 93 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc len = strlen (buffer); len 94 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc if (len > 0 && buffer[len-1] == '\n') len 95 base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc buffer[len-1] = 0; len 24 base/win/event_trace_controller.cc size_t len = wcslen(logger_name) + 1; len 25 base/win/event_trace_controller.cc if (kMaxStringLen < len) len 30 base/win/event_trace_controller.cc sizeof(wchar_t) * len); len 35 base/win/event_trace_controller.cc size_t len = wcslen(logger_file_name) + 1; len 36 base/win/event_trace_controller.cc if (kMaxStringLen < len) len 41 base/win/event_trace_controller.cc sizeof(wchar_t) * len); len 358 chrome/app/image_pre_reader_win.cc DWORD len; len 360 chrome/app/image_pre_reader_win.cc while (::ReadFile(file, buffer, actual_step_size, &len, NULL) && len 361 chrome/app/image_pre_reader_win.cc len > 0 && len 363 chrome/app/image_pre_reader_win.cc total_read += static_cast<size_t>(len); len 155 chrome/browser/android/provider/chrome_browser_provider.cc jsize len = env->GetArrayLength(array); len 156 chrome/browser/android/provider/chrome_browser_provider.cc for (int i = 0; i < len; i++) { len 1269 chrome/browser/android/provider/chrome_browser_provider.cc jsize len = env->GetArrayLength(projection); len 1270 chrome/browser/android/provider/chrome_browser_provider.cc for (int i = 0; i < len; i++) { len 1404 chrome/browser/android/provider/chrome_browser_provider.cc jsize len = env->GetArrayLength(projection); len 1405 chrome/browser/android/provider/chrome_browser_provider.cc for (int i = 0; i < len; i++) { len 279 chrome/browser/autocomplete/autocomplete_input.cc const base::string16 host(text.substr(parts->host.begin, parts->host.len)); len 456 chrome/browser/autocomplete/autocomplete_input.cc real_parts.scheme.len); len 463 chrome/browser/autocomplete/autocomplete_input.cc real_parts.host.len); len 219 chrome/browser/autocomplete/autocomplete_input_unittest.cc EXPECT_EQ(input_cases[i].scheme.len, scheme.len); len 221 chrome/browser/autocomplete/autocomplete_input_unittest.cc EXPECT_EQ(input_cases[i].host.len, host.len); len 158 chrome/browser/autocomplete/autocomplete_provider.cc input->parts().host.len)); len 163 chrome/browser/autocomplete/autocomplete_provider.cc canonical_gurl_str.replace(parts.host.begin, parts.host.len, len 152 chrome/browser/autocomplete/history_quick_provider.cc autocomplete_input_.parts().host.len))); len 178 chrome/browser/autocomplete/history_quick_provider.cc ((autocomplete_input_.parts().path.len == 1) && len 869 chrome/browser/autocomplete/history_url_provider.cc input.text().substr(input.parts().host.begin, input.parts().host.len))); len 263 chrome/browser/browser_shutdown.cc int len = static_cast<int>(shutdown_ms.length()) + 1; len 265 chrome/browser/browser_shutdown.cc base::WriteFile(shutdown_ms_file, shutdown_ms.c_str(), len); len 202 chrome/browser/chromeos/input_method/input_method_util_unittest.cc const int len = ARRAYSIZE_UNSAFE(input_method_id); len 203 chrome/browser/chromeos/input_method/input_method_util_unittest.cc for (int i=0; i<len; ++i) { len 221 chrome/browser/chromeos/input_method/input_method_util_unittest.cc const int len = ARRAYSIZE_UNSAFE(input_method_id); len 222 chrome/browser/chromeos/input_method/input_method_util_unittest.cc for (int i=0; i<len; ++i) { len 91 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc void Simulate(IdleState* states, int len) { len 92 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc for (int i = 0; i < len; i++) len 110 chrome/browser/chromeos/policy/enterprise_install_attributes.cc int len = base::ReadFile(cache_file, buf, sizeof(buf)); len 111 chrome/browser/chromeos/policy/enterprise_install_attributes.cc if (len == -1 || len >= static_cast<int>(sizeof(buf))) { len 117 chrome/browser/chromeos/policy/enterprise_install_attributes.cc if (!install_attrs_proto.ParseFromArray(buf, len)) { len 40 chrome/browser/component_updater/component_unpacker.cc size_t len = fread(&header, 1, sizeof(header), crx_file); len 41 chrome/browser/component_updater/component_unpacker.cc if (len < sizeof(header)) len 52 chrome/browser/component_updater/component_unpacker.cc len = fread(&key[0], sizeof(uint8), header.key_size, crx_file); len 53 chrome/browser/component_updater/component_unpacker.cc if (len < header.key_size) len 57 chrome/browser/component_updater/component_unpacker.cc len = fread(&signature[0], sizeof(uint8), header.signature_size, crx_file); len 58 chrome/browser/component_updater/component_unpacker.cc if (len < header.signature_size) len 73 chrome/browser/component_updater/component_unpacker.cc while ((len = fread(buf.get(), 1, kBufSize, crx_file)) > 0) len 74 chrome/browser/component_updater/component_unpacker.cc verifier.VerifyUpdate(buf.get(), len); len 30 chrome/browser/devtools/adb/android_rsa.cc int len; // Length of n[] in number of uint32 len 234 chrome/browser/devtools/adb/android_rsa.cc pkey.len = kRSANumWords; len 165 chrome/browser/devtools/adb_client_socket.cc std::string len = response_.substr(content_pos + 15, len 167 chrome/browser/devtools/adb_client_socket.cc base::TrimWhitespace(len, base::TRIM_ALL, &len); len 168 chrome/browser/devtools/adb_client_socket.cc if (!base::StringToInt(len, &expected_length)) { len 93 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc der_cert.len = certificate.length(); len 107 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc trusted_ca_key_der_item.len = sizeof(kCAPublicKeyDER); len 127 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc signature_item.len = signature.length(); len 335 chrome/browser/extensions/api/image_writer_private/operation.cc int len = file.Read(bytes_processed, buffer.get(), read_size); len 337 chrome/browser/extensions/api/image_writer_private/operation.cc if (len == read_size) { len 339 chrome/browser/extensions/api/image_writer_private/operation.cc base::MD5Update(&md5_context_, base::StringPiece(buffer.get(), len)); len 341 chrome/browser/extensions/api/image_writer_private/operation.cc ((bytes_processed + len) * progress_scale) / bytes_total + len 350 chrome/browser/extensions/api/image_writer_private/operation.cc bytes_processed + len, len 65 chrome/browser/extensions/isolated_app_browsertest.cc std::string escaped_key(query_string.substr(key_pos.begin, key_pos.len)); len 67 chrome/browser/extensions/isolated_app_browsertest.cc query_string.substr(value_pos.begin, value_pos.len)); len 457 chrome/browser/extensions/sandboxed_unpacker.cc size_t len = fread(&header, 1, sizeof(header), file.get()); len 458 chrome/browser/extensions/sandboxed_unpacker.cc if (len < sizeof(header)) { len 518 chrome/browser/extensions/sandboxed_unpacker.cc len = fread(&key.front(), sizeof(uint8), header.key_size, file.get()); len 519 chrome/browser/extensions/sandboxed_unpacker.cc if (len < header.key_size) { len 531 chrome/browser/extensions/sandboxed_unpacker.cc len = fread(&signature.front(), sizeof(uint8), header.signature_size, len 533 chrome/browser/extensions/sandboxed_unpacker.cc if (len < header.signature_size) { len 561 chrome/browser/extensions/sandboxed_unpacker.cc while ((len = fread(buf, 1, sizeof(buf), file.get())) > 0) len 562 chrome/browser/extensions/sandboxed_unpacker.cc verifier.VerifyUpdate(buf, len); len 63 chrome/browser/google/google_util.cc if ((key.len == 1) && (str[key.begin] == 'q') && value.is_nonempty()) len 80 chrome/browser/history/url_utils.cc comp.len = new_scheme.length(); len 69 chrome/browser/media_galleries/fileapi/native_media_file_util.cc int64 len = file.Read(0, buffer, net::kMaxBytesToSniff); len 70 chrome/browser/media_galleries/fileapi/native_media_file_util.cc if (len < 0) len 73 chrome/browser/media_galleries/fileapi/native_media_file_util.cc return IsMediaHeader(buffer, len); len 104 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc int len = strlen(test_cases[i].content); len 105 chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc ASSERT_EQ(len, base::WriteFile(path, test_cases[i].content, len)); len 21 chrome/browser/metrics/extension_metrics.cc uint64 CityHash64(const char *buf, size_t len); len 108 chrome/browser/password_manager/native_backend_gnome_x.cc for (guint i = 0; i < attrs->len; ++i) { len 198 chrome/browser/password_manager/native_backend_gnome_x_unittest.cc for (size_t i = 0; i < attributes->len; ++i) { len 105 chrome/browser/prerender/prerender_util.cc if (key.len != 3 || strncmp(url.spec().c_str() + key.begin, "url", key.len)) len 108 chrome/browser/prerender/prerender_util.cc if (value.len < 1) len 112 chrome/browser/prerender/prerender_util.cc value.len, &decoded_url); len 131 chrome/browser/prerender/prerender_util.cc if (key.len != 3 || strncmp(url.spec().c_str() + key.begin, "lpe", key.len)) len 135 chrome/browser/prerender/prerender_util.cc if (value.len != 1) len 31 chrome/browser/process_info_snapshot_mac.cc size_t len = sizeof(*kinfo); len 32 chrome/browser/process_info_snapshot_mac.cc if (sysctl(mib, arraysize(mib), kinfo, &len, NULL, 0) != 0) { len 37 chrome/browser/process_info_snapshot_mac.cc if (len == 0) { len 803 chrome/browser/process_singleton_linux.cc ssize_t len = len 807 chrome/browser/process_singleton_linux.cc if (len <= 0) { len 813 chrome/browser/process_singleton_linux.cc buf[len] = '\0'; len 231 chrome/browser/process_singleton_linux_unittest.cc ssize_t len = readlink(lock_path_.value().c_str(), buf, PATH_MAX); len 232 chrome/browser/process_singleton_linux_unittest.cc ASSERT_GT(len, 0); len 237 chrome/browser/process_singleton_linux_unittest.cc len = readlink(socket_path_.value().c_str(), buf, PATH_MAX); len 238 chrome/browser/process_singleton_linux_unittest.cc ASSERT_GT(len, 0); len 239 chrome/browser/process_singleton_linux_unittest.cc base::FilePath socket_target_path = base::FilePath(std::string(buf, len)); len 244 chrome/browser/process_singleton_linux_unittest.cc len = readlink(cookie_path_.value().c_str(), buf, PATH_MAX); len 245 chrome/browser/process_singleton_linux_unittest.cc ASSERT_GT(len, 0); len 246 chrome/browser/process_singleton_linux_unittest.cc std::string cookie(buf, len); len 250 chrome/browser/process_singleton_linux_unittest.cc len = readlink(remote_cookie_path.value().c_str(), buf, PATH_MAX); len 251 chrome/browser/process_singleton_linux_unittest.cc ASSERT_GT(len, 0); len 252 chrome/browser/process_singleton_linux_unittest.cc EXPECT_EQ(cookie, std::string(buf, len)); len 366 chrome/browser/process_singleton_linux_unittest.cc ssize_t len = readlink(socket_path_.value().c_str(), buf, sizeof(buf)); len 367 chrome/browser/process_singleton_linux_unittest.cc ASSERT_GT(len, 0); len 368 chrome/browser/process_singleton_linux_unittest.cc base::FilePath socket_target_path = base::FilePath(std::string(buf, len)); len 63 chrome/browser/profile_resetter/brandcode_config_fetcher.cc static void CharactersImpl(void* ctx, const xmlChar* ch, int len); len 124 chrome/browser/profile_resetter/brandcode_config_fetcher.cc void XmlConfigParser::CharactersImpl(void* ctx, const xmlChar* ch, int len) { len 128 chrome/browser/profile_resetter/brandcode_config_fetcher.cc std::string(reinterpret_cast<const char*>(ch), len); len 76 chrome/browser/safe_browsing/malware_details_unittest.cc int len = static_cast<int>(pickle.size()); len 79 chrome/browser/safe_browsing/malware_details_unittest.cc int rv = entry->WriteData(0, 0, buf.get(), len, cb.callback(), true); len 80 chrome/browser/safe_browsing/malware_details_unittest.cc ASSERT_EQ(len, cb.GetResult(rv)); len 87 chrome/browser/safe_browsing/malware_details_unittest.cc int len = data.length(); len 88 chrome/browser/safe_browsing/malware_details_unittest.cc scoped_refptr<net::IOBuffer> buf(new net::IOBuffer(len)); len 92 chrome/browser/safe_browsing/malware_details_unittest.cc int rv = entry->WriteData(1, 0, buf.get(), len, cb.callback(), true); len 93 chrome/browser/safe_browsing/malware_details_unittest.cc ASSERT_EQ(len, cb.GetResult(rv)); len 335 chrome/browser/safe_browsing/safe_browsing_util.cc (parsed.host.len > 0) len 336 chrome/browser/safe_browsing/safe_browsing_util.cc ? url_unescaped_str.substr(parsed.host.begin, parsed.host.len) len 348 chrome/browser/safe_browsing/safe_browsing_util.cc (parsed.path.len > 0) len 349 chrome/browser/safe_browsing/safe_browsing_util.cc ? url_unescaped_str.substr(parsed.path.begin, parsed.path.len) len 377 chrome/browser/safe_browsing/safe_browsing_util.cc if (canonicalized_hostname && final_parsed.host.len > 0) { len 380 chrome/browser/safe_browsing/safe_browsing_util.cc final_parsed.host.len); len 382 chrome/browser/safe_browsing/safe_browsing_util.cc if (canonicalized_path && final_parsed.path.len > 0) { len 384 chrome/browser/safe_browsing/safe_browsing_util.cc final_parsed.path.len); len 386 chrome/browser/safe_browsing/safe_browsing_util.cc if (canonicalized_query && final_parsed.query.len > 0) { len 388 chrome/browser/safe_browsing/safe_browsing_util.cc final_parsed.query.begin, final_parsed.query.len); len 153 chrome/browser/search_engines/template_url.cc query.len = static_cast<int>(params.size()); len 157 chrome/browser/search_engines/template_url.cc std::string value_string = params.substr(value.begin, value.len); len 162 chrome/browser/search_engines/template_url.cc return params.substr(key.begin, key.len); len 497 chrome/browser/search_engines/template_url.cc query.len = static_cast<int>(params.size()); len 502 chrome/browser/search_engines/template_url.cc if (params.substr(key.begin, key.len) == search_term_key_) { len 511 chrome/browser/search_engines/template_url.cc params.substr(value.begin, value.len), len 1208 chrome/browser/search_engines/template_url.cc query.len = static_cast<int>(params[i].size()); len 1212 chrome/browser/search_engines/template_url.cc params[i].substr(key.begin, key.len) == len 137 chrome/browser/search_engines/template_url_parser.cc static void CharactersImpl(void* ctx, const xmlChar* ch, int len); len 281 chrome/browser/search_engines/template_url_parser.cc int len) { len 283 chrome/browser/search_engines/template_url_parser.cc base::UTF8ToUTF16(std::string(reinterpret_cast<const char*>(ch), len)); len 430 chrome/browser/search_engines/template_url_parser.cc std::string key_str(url_spec, key.begin, key.len); len 431 chrome/browser/search_engines/template_url_parser.cc std::string value_str(url_spec, value.begin, value.len); len 98 chrome/browser/ui/browser_focus_uitest.cc int len = ::GetWindowTextLength(window) + 1; len 99 chrome/browser/ui/browser_focus_uitest.cc if (len > 1) len 100 chrome/browser/ui/browser_focus_uitest.cc ::GetWindowText(window, WriteInto(&caption, len), len); len 136 chrome/browser/ui/elide_url.cc const size_t path_len = parsed.path.len; len 1375 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gint len) { len 1377 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc filtered_text.reserve(len); len 1387 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (len == 1 && (text[0] == '\n' || text[0] == '\r')) len 1390 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc for (const gchar* p = text; *p && (p - text) < len; len 1582 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc bool grey_out_url = text.substr(scheme.begin, scheme.len) == len 1730 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gint len; len 1731 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GtkTargetEntry* entries = gtk_target_table_new_from_list(list, &len); len 1736 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc entries, len, len 1742 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gtk_target_table_free(entries, len); len 208 chrome/browser/ui/prefs/prefs_tab_helper.cc size_t len = strlen(pref_name); len 209 chrome/browser/ui/prefs/prefs_tab_helper.cc DCHECK_GT(len, kScriptNameLength); len 210 chrome/browser/ui/prefs/prefs_tab_helper.cc const char* scriptName = &pref_name[len - kScriptNameLength]; len 138 chrome/browser/ui/toolbar/toolbar_model_impl.cc if (key.is_nonempty() && query_str.substr(key.begin, key.len) == kChipKey) { len 140 chrome/browser/ui/toolbar/toolbar_model_impl.cc query_str.substr(value.begin, value.len), len 1003 chrome/browser/ui/views/omnibox/omnibox_view_views.cc bool grey_out_url = text().substr(scheme.begin, scheme.len) == len 131 chrome/browser/ui/webui/chromeos/salsa_ui.cc int len = arraysize(kWhitelist); len 132 chrome/browser/ui/webui/chromeos/salsa_ui.cc for (int i = 0; i < len; ++i) { len 85 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc controller_->input().parts().host.len); len 41 chrome/browser/ui/webui/options/chromeos/user_image_source.cc if (url_spec.substr(key.begin, key.len) == kKeyAnimated) { len 25 chrome/common/content_settings_pattern_parser.cc return len > 0; len 29 chrome/common/content_settings_pattern_parser.cc size_t len; len 129 chrome/common/content_settings_pattern_parser.cc scheme = pattern_spec.substr(scheme_component.start, scheme_component.len); len 141 chrome/common/content_settings_pattern_parser.cc host_component.len); len 160 chrome/common/content_settings_pattern_parser.cc port_component.len); len 182 chrome/common/content_settings_pattern_parser.cc path_component.len); len 91 chrome/common/extensions/api/networking_private/networking_private_crypto.cc der_cert.len = cert_data.size(); len 110 chrome/common/extensions/api/networking_private/networking_private_crypto.cc trusted_ca_key_der_item.len = sizeof(kTrustedCAPublicKeyDER); len 148 chrome/common/extensions/api/networking_private/networking_private_crypto.cc signature_item.len = static_cast<unsigned int>(signature.size()); len 174 chrome/common/extensions/api/networking_private/networking_private_crypto.cc pub_key_der_item.len = pub_key_der.size(); len 44 chrome/common/mac/mock_launchd.cc int len = strlen(data); len 45 chrome/common/mac/mock_launchd.cc if (base::WriteFile(*executable, data, len) != len) { len 79 chrome/common/mac/mock_launchd.cc len = info_plist_data.length(); len 80 chrome/common/mac/mock_launchd.cc if (base::WriteFile(info_plist, info_plist_data.c_str(), len) != len) { len 36 chrome/common/net/url_fixer_upper.cc if (component_utf8.len == -1) len 42 chrome/common/net/url_fixer_upper.cc component_utf8.len); len 230 chrome/common/net/url_fixer_upper.cc url->append(text, part.begin, part.len); len 243 chrome/common/net/url_fixer_upper.cc url->append(text, part.begin, part.len); len 258 chrome/common/net/url_fixer_upper.cc std::string domain(text, part.begin, part.len); len 283 chrome/common/net/url_fixer_upper.cc url->append(text, part.begin, part.len); len 289 chrome/common/net/url_fixer_upper.cc if (!part.is_valid() || part.len == 0) { len 296 chrome/common/net/url_fixer_upper.cc url->append(text, part.begin, part.len); len 307 chrome/common/net/url_fixer_upper.cc url->append(text, part.begin, part.len); len 318 chrome/common/net/url_fixer_upper.cc url->append(text, part.begin, part.len); len 368 chrome/common/net/url_fixer_upper.cc canon_scheme->erase(canon_scheme_component.len); len 27 chrome/common/net/url_fixer_upper_unittest.cc return os << "(begin=" << part.begin << ", len=" << part.len << ")"; len 45 chrome/common/net/x509_certificate_model_nss.cc std::string HashCert(CERTCertificate* cert, HASH_HashType algorithm, int len) { len 49 chrome/common/net/x509_certificate_model_nss.cc DCHECK_NE(0U, cert->derCert.len); len 50 chrome/common/net/x509_certificate_model_nss.cc DCHECK_LE(len, HASH_LENGTH_MAX); len 51 chrome/common/net/x509_certificate_model_nss.cc memset(fingerprint, 0, len); len 53 chrome/common/net/x509_certificate_model_nss.cc cert->derCert.len); len 55 chrome/common/net/x509_certificate_model_nss.cc return x509_certificate_model::ProcessRawBytes(fingerprint, len); len 128 chrome/common/net/x509_certificate_model_nss.cc if (cert_handle->version.len == 0 || len 276 chrome/common/net/x509_certificate_model_nss.cc pkcs11_id = base::HexEncode(sec_item->data, sec_item->len); len 330 chrome/common/net/x509_certificate_model_nss.cc cert_handle->derCert.len); len 381 chrome/common/net/x509_certificate_model_nss.cc return string(reinterpret_cast<const char*>(cert_p7.data), cert_p7.len); len 406 chrome/common/net/x509_certificate_model_nss.cc cert_handle->signatureWrap.signature.len); len 32 chrome/common/profiling.cc event->name.str, event->name.len); len 30 chrome/common/spellcheck_result.h int len = 0, len 33 chrome/common/spellcheck_result.h : decoration(d), location(loc), length(len), replacement(rep), hash(h) { len 58 chrome/installer/mac/third_party/bsdiff/goobsdiff.c static void split(off_t *I,off_t *V,off_t start,off_t len,off_t h) len 62 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if(len<16) { len 63 chrome/installer/mac/third_party/bsdiff/goobsdiff.c for(k=start;k<start+len;k+=j) { len 65 chrome/installer/mac/third_party/bsdiff/goobsdiff.c for(i=1;k+i<start+len;i++) { len 81 chrome/installer/mac/third_party/bsdiff/goobsdiff.c x=V[I[start+len/2]+h]; len 83 chrome/installer/mac/third_party/bsdiff/goobsdiff.c for(i=start;i<start+len;i++) { len 116 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if(start+len>kk) split(I,V,kk,start+len-kk,h); len 122 chrome/installer/mac/third_party/bsdiff/goobsdiff.c off_t i,h,len; len 138 chrome/installer/mac/third_party/bsdiff/goobsdiff.c len=0; len 141 chrome/installer/mac/third_party/bsdiff/goobsdiff.c len-=I[i]; len 144 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if(len) I[i-len]=-len; len 145 chrome/installer/mac/third_party/bsdiff/goobsdiff.c len=V[I[i]]+1-i; len 146 chrome/installer/mac/third_party/bsdiff/goobsdiff.c split(I,V,i,len,h); len 147 chrome/installer/mac/third_party/bsdiff/goobsdiff.c i+=len; len 148 chrome/installer/mac/third_party/bsdiff/goobsdiff.c len=0; len 151 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if(len) I[i-len]=-len; len 338 chrome/installer/mac/third_party/bsdiff/goobsdiff.c off_t scan,pos,len; len 416 chrome/installer/mac/third_party/bsdiff/goobsdiff.c scan=0;len=0; len 421 chrome/installer/mac/third_party/bsdiff/goobsdiff.c for(scsc=scan+=len;scan<newsize;scan++) { len 422 chrome/installer/mac/third_party/bsdiff/goobsdiff.c len=search(I,old,oldsize,new+scan,newsize-scan, len 425 chrome/installer/mac/third_party/bsdiff/goobsdiff.c for(;scsc<scan+len;scsc++) len 430 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if(((len==oldscore) && (len!=0)) || len 431 chrome/installer/mac/third_party/bsdiff/goobsdiff.c (len>oldscore+8)) break; len 438 chrome/installer/mac/third_party/bsdiff/goobsdiff.c if((len!=oldscore) || (scan==newsize)) { len 162 chrome/installer/mac/third_party/bsdiff/goobspatch.c static size_t xzread(xzfile *xzf, u_char *buf, size_t len, lzma_ret *err) len 168 chrome/installer/mac/third_party/bsdiff/goobspatch.c while (xzf->err == LZMA_OK && len > 0) { len 222 chrome/installer/mac/third_party/bsdiff/goobspatch.c if (copylen > len) len 223 chrome/installer/mac/third_party/bsdiff/goobspatch.c copylen = len; len 227 chrome/installer/mac/third_party/bsdiff/goobspatch.c len -= copylen; len 321 chrome/installer/mac/third_party/bsdiff/goobspatch.c static void cfread(cfile *cf, u_char *buf, size_t len) len 328 chrome/installer/mac/third_party/bsdiff/goobspatch.c if ((nread = fread(buf, 1, len, cf->f)) != len) { len 331 chrome/installer/mac/third_party/bsdiff/goobspatch.c cf->tag, len, nread); len 332 chrome/installer/mac/third_party/bsdiff/goobspatch.c err(1, "fread(%s, %zd)", cf->tag, len); len 336 chrome/installer/mac/third_party/bsdiff/goobspatch.c if ((nread = BZ2_bzRead(&bz2_err, cf->u.bz2, buf, len)) != len 337 chrome/installer/mac/third_party/bsdiff/goobspatch.c len) { len 340 chrome/installer/mac/third_party/bsdiff/goobspatch.c cf->tag, len, nread); len 342 chrome/installer/mac/third_party/bsdiff/goobspatch.c cf->tag, len, bz2_err); len 345 chrome/installer/mac/third_party/bsdiff/goobspatch.c if ((nread = gzread(cf->u.gz, buf, len)) != len) { len 350 chrome/installer/mac/third_party/bsdiff/goobspatch.c cf->tag, len, nread); len 351 chrome/installer/mac/third_party/bsdiff/goobspatch.c errx(1, "gzread(%s, %zd): %d", cf->tag, len, gz_err); len 354 chrome/installer/mac/third_party/bsdiff/goobspatch.c if ((nread = xzread(cf->u.xz, buf, len, &lzma_err)) != len) { len 357 chrome/installer/mac/third_party/bsdiff/goobspatch.c cf->tag, len, nread); len 358 chrome/installer/mac/third_party/bsdiff/goobspatch.c errx(1, "xzread(%s, %zd): %d", cf->tag, len, lzma_err); len 362 chrome/installer/mac/third_party/bsdiff/goobspatch.c cf->tag, len, cf->method); len 9 chrome/installer/mac/third_party/bsdiff/sha1_adapter.cc void SHA1(const unsigned char* data, size_t len, unsigned char* hash) { len 10 chrome/installer/mac/third_party/bsdiff/sha1_adapter.cc base::SHA1HashBytes(data, len, hash); len 19 chrome/installer/mac/third_party/bsdiff/sha1_adapter.h void SHA1(const unsigned char* data, size_t len, unsigned char* hash); len 25 chrome/installer/mini_installer/decompress.cc char* WideToUtf8(const wchar_t* str, int len) { len 27 chrome/installer/mini_installer/decompress.cc int size = WideCharToMultiByte(CP_UTF8, 0, str, len, NULL, 0, NULL, NULL); len 29 chrome/installer/mini_installer/decompress.cc if (len != -1) len 33 chrome/installer/mini_installer/decompress.cc WideCharToMultiByte(CP_UTF8, 0, str, len, ret, size, NULL, NULL); len 34 chrome/installer/mini_installer/decompress.cc if (len != -1) len 305 chrome/installer/mini_installer/mini_installer.cc size_t len = ::GetModuleFileName(NULL, full_exe_path.get(), len 307 chrome/installer/mini_installer/mini_installer.cc if (!len || len >= full_exe_path.capacity()) len 310 chrome/installer/mini_installer/mini_installer.cc const wchar_t* exe_name = GetNameFromPathExt(full_exe_path.get(), len); len 589 chrome/installer/mini_installer/mini_installer.cc DWORD len = ::GetTempPath(base_path.capacity(), base_path.get()); len 590 chrome/installer/mini_installer/mini_installer.cc if (!len || len >= base_path.capacity() || len 594 chrome/installer/mini_installer/mini_installer.cc len = ::GetModuleFileName(module, base_path.get(), base_path.capacity()); len 595 chrome/installer/mini_installer/mini_installer.cc if (len >= base_path.capacity() || !len) len 598 chrome/installer/mini_installer/mini_installer.cc wchar_t* name = GetNameFromPathExt(base_path.get(), len); len 699 chrome/installer/mini_installer/mini_installer.cc DWORD len = ::GetTempPath(temp.capacity(), temp.get()); len 702 chrome/installer/mini_installer/mini_installer.cc if (!len || len >= temp.capacity()) len 46 chrome/installer/mini_installer/mini_string.cc size_t len = 0; len 47 chrome/installer/mini_installer/mini_string.cc while (--alloc_size && str[len] != L'\0') len 48 chrome/installer/mini_installer/mini_string.cc ++len; len 49 chrome/installer/mini_installer/mini_string.cc return len; len 64 chrome/installer/util/delete_after_reboot_helper_unittest.cc bool CompareBuffers(Type* buf1, Type* buf2, int len) { len 67 chrome/installer/util/delete_after_reboot_helper_unittest.cc for (int i = 0; i < len; i++) { len 536 chrome/installer/util/install_util.cc int len = GetDateFormatW(LOCALE_INVARIANT, 0, NULL, kDateFormat, len 538 chrome/installer/util/install_util.cc if (len) { len 539 chrome/installer/util/install_util.cc --len; // Subtract terminating \0. len 544 chrome/installer/util/install_util.cc return base::string16(date_str, len); len 69 chrome/installer/util/l10n_string_util.cc int len = ::GetModuleFileName(NULL, full_exe_path, MAX_PATH); len 70 chrome/installer/util/l10n_string_util.cc if (len == 0 || len == MAX_PATH) len 152 chrome/installer/util/user_experiment.cc DWORD len = sizeof(buff); len 155 chrome/installer/util/user_experiment.cc sd, len, &len)) { len 42 chrome/renderer/extensions/extension_localization_peer.h virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE {} len 66 chrome/renderer/extensions/extension_localization_peer_unittest.cc MOCK_METHOD2(OnDownloadedData, void(int len, int encoded_data_length)); len 44 chrome/renderer/security_filter_peer.h virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE {} len 185 chrome/test/chromedriver/net/adb_client_socket.cc std::string len = response_.substr(content_pos + 15, len 187 chrome/test/chromedriver/net/adb_client_socket.cc base::TrimWhitespace(len, base::TRIM_ALL, &len); len 188 chrome/test/chromedriver/net/adb_client_socket.cc if (!base::StringToInt(len, &expected_length)) { len 204 chrome/test/chromedriver/net/websocket.cc void WebSocket::OnReadDuringHandshake(const char* data, int len) { len 205 chrome/test/chromedriver/net/websocket.cc handshake_response_ += std::string(data, len); len 235 chrome/test/chromedriver/net/websocket.cc void WebSocket::OnReadDuringOpen(const char* data, int len) { len 237 chrome/test/chromedriver/net/websocket.cc CHECK(parser_.Decode(data, len, &frame_chunks)); len 57 chrome/test/chromedriver/net/websocket.h void OnReadDuringHandshake(const char* data, int len); len 58 chrome/test/chromedriver/net/websocket.h void OnReadDuringOpen(const char* data, int len); len 86 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc size_t len; len 101 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc len = strlen(sb.c_str()); len 102 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc fprintf(stderr, "posting reply len %d\n", len); len 49 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc int len; len 50 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc while ((len = read(desc, buffer, sizeof buffer - 1)) > 0) { len 74 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc int len = strlen(buffer); len 75 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc if (len >= 2 && buffer[len-1] == '\n' && buffer[len-2] == '\r') { len 76 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc buffer[len-2] = '\n'; len 77 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc buffer[len-1] = '\0'; len 80 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc buffer[len] = 0; len 554 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc int len; len 555 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc while ((len = read(desc, buffer, sizeof buffer - 1)) > 0) { len 579 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc if (len >= 2 && buffer[len-1] == '\n' && buffer[len-2] == '\r') { len 580 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc buffer[len-2] = '\n'; len 581 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc buffer[len-1] = '\0'; len 584 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc buffer[len] = 0; len 116 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc int len; len 117 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc while ((len = read(desc, buffer, sizeof buffer - 1)) > 0) { len 141 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc int len = strlen(buffer); len 142 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc if (len >= 2 && buffer[len-1] == '\n' && buffer[len-2] == '\r') { len 143 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc buffer[len-2] = '\n'; len 144 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc buffer[len-1] = '\0'; len 147 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc buffer[len] = 0; len 217 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc size_t len; len 231 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc len = strlen(reply.c_str()); len 232 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc fprintf(stderr, "posting reply len %d\n", len); len 236 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc write(2, reply.c_str(), len); len 96 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc size_t len = strlen(out); len 97 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc (void) write(desc, out, len); /* assumes no partial writes! */ len 69 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc size_t len; len 84 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc len = strlen(sb.c_str()); len 85 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc fprintf(stderr, "posting reply len %d\n", len); len 70 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp unsigned int len) { len 71 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (len % 2 != 0) len 74 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp unsigned int utf8_val_len = len * 3 + 1; len 76 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (!PORT_UCS2_UTF8Conversion(PR_FALSE, data, len, len 88 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp od.oid.len = sizeof(buffer); len 104 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp return x509_certificate_model::ProcessRawBytes(data->data, data->len); len 411 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp decode_item->len); len 483 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp decoded.len); len 494 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp guid.len == 16) { len 513 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp current->name.other.len); len 518 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp current->name.other.len); len 536 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp current->name.other.len); len 543 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp current->name.other.data + current->name.other.len); len 620 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (ret->keyID.len > 0) { len 635 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (ret->authCertSerialNumber.len > 0) { len 651 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (notice->noticeReference.organization.len != 0) { len 658 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp notice->noticeReference.organization.len); len 679 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (notice->displayText.len != 0) { len 686 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp notice->displayText.len); len 800 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (point->reasons.len) { len 863 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp std::string rv((char*)item.data, item.len); // ASCII data. len 877 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp rv = BMPtoUTF8(arena.get(), item.data, item.len); len 888 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp size_t len, len 892 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp for (size_t i = 0; i * 8 < bitfield->len && i < sizeof(bits); ++i) len 894 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp for (size_t i = 0; i < len; ++i) { len 906 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp size_t len, len 911 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp decoded.len = 0; len 915 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp std::string rv = ProcessBitField(&decoded, string_map, len, separator); len 1039 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UintToString16(key->u.rsa.modulus.len * 8), len 1041 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp base::UintToString16(key->u.rsa.publicExponent.len * 8), len 1047 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp spki->subjectPublicKey.data, spki->subjectPublicKey.len); len 85 chrome/utility/importer/nss_decryptor.cc request.len = static_cast<unsigned int>(decoded_data.size()); len 88 chrome/utility/importer/nss_decryptor.cc reply.len = 0; len 95 chrome/utility/importer/nss_decryptor.cc plain.assign(reinterpret_cast<char*>(reply.data), reply.len); len 80 chrome/utility/importer/nss_decryptor_mac.h unsigned int len; len 112 chrome/utility/importer/nss_decryptor_system_nss.cc result->len = 0; len 115 chrome/utility/importer/nss_decryptor_system_nss.cc if (data->len == 0 || data->len % blockSize != 0) { len 120 chrome/utility/importer/nss_decryptor_system_nss.cc padLength = data->data[data->len-1]; len 124 chrome/utility/importer/nss_decryptor_system_nss.cc for (i=data->len - padLength; static_cast<uint32>(i) < data->len; i++) { len 131 chrome/utility/importer/nss_decryptor_system_nss.cc result->len = data->len - padLength; len 132 chrome/utility/importer/nss_decryptor_system_nss.cc result->data = (unsigned char *)PORT_Alloc(result->len); len 135 chrome/utility/importer/nss_decryptor_system_nss.cc PORT_Memcpy(result->data, data->data, result->len); len 155 chrome/utility/importer/nss_decryptor_system_nss.cc paddedResult.len = 0; len 161 chrome/utility/importer/nss_decryptor_system_nss.cc paddedResult.len = in->len; len 163 chrome/utility/importer/nss_decryptor_system_nss.cc PORT_ArenaAlloc(arena, paddedResult.len)); len 166 chrome/utility/importer/nss_decryptor_system_nss.cc (int*)&paddedResult.len, paddedResult.len, len 167 chrome/utility/importer/nss_decryptor_system_nss.cc in->data, in->len); len 77 chrome/utility/importer/nss_decryptor_win.h unsigned int len; len 139 chromeos/cert_loader.cc pkcs11_id = base::HexEncode(sec_item->data, sec_item->len); len 52 chromeos/dbus/fake_bluetooth_device_client.cc ssize_t len; len 55 chromeos/dbus/fake_bluetooth_device_client.cc len = read(fd, buf, sizeof buf); len 56 chromeos/dbus/fake_bluetooth_device_client.cc if (len < 0) { len 61 chromeos/dbus/fake_bluetooth_device_client.cc count = len; len 62 chromeos/dbus/fake_bluetooth_device_client.cc len = write(fd, buf, count); len 63 chromeos/dbus/fake_bluetooth_device_client.cc if (len < 0) { len 35 chromeos/network/network_configuration_handler.cc size_t len = in_str.length(); len 36 chromeos/network/network_configuration_handler.cc if (len >= 2 && in_str[0] == '"' && in_str[len-1] == '"') len 37 chromeos/network/network_configuration_handler.cc return in_str.substr(1, len-2); len 196 chromeos/settings/timezone_settings.cc const ssize_t len = readlink(kTimezoneSymlink, buf, len 198 chromeos/settings/timezone_settings.cc if (len == -1) { len 204 chromeos/settings/timezone_settings.cc std::string timezone(buf, len); len 114 cloud_print/gcp20/prototype/dns_response_builder.cc int len = static_cast<int>(str->size()); len 115 cloud_print/gcp20/prototype/dns_response_builder.cc DCHECK_LT(len, 256); len 116 cloud_print/gcp20/prototype/dns_response_builder.cc rdata += static_cast<char>(len); // Set length byte. len 150 cloud_print/gcp20/prototype/dns_sd_server.cc void DnsSdServer::ProcessMessage(int len, net::IOBufferWithSize* buf) { len 151 cloud_print/gcp20/prototype/dns_sd_server.cc VLOG(1) << "Received new message with length: " << len; len 154 cloud_print/gcp20/prototype/dns_sd_server.cc DnsPacketParser parser(buf->data(), len); len 66 cloud_print/gcp20/prototype/dns_sd_server.h void ProcessMessage(int len, net::IOBufferWithSize* buf); len 189 components/autofill/content/browser/wallet/wallet_service_url.cc query_str.substr(key.begin, key.len) == kUserIndexKey) { len 190 components/autofill/content/browser/wallet/wallet_service_url.cc base::StringToSizeT(query_str.substr(value.begin, value.len), user_index); len 23 components/autofill/core/browser/autofill_xml_parser.cc buzz::XmlParseContext* context, const char* text, int len) { len 45 components/autofill/core/browser/autofill_xml_parser.h int len) OVERRIDE; len 146 components/breakpad/app/breakpad_linux.cc unsigned len = 0; len 148 components/breakpad/app/breakpad_linux.cc len++; len 152 components/breakpad/app/breakpad_linux.cc return len; len 164 components/breakpad/app/breakpad_linux.cc char* my_strncpy(char* dst, const char* src, size_t len) { len 165 components/breakpad/app/breakpad_linux.cc int i = len; len 180 components/breakpad/app/breakpad_linux.cc char* my_strncat(char *dest, const char* src, size_t len) { len 184 components/breakpad/app/breakpad_linux.cc while (len--) len 192 components/breakpad/app/breakpad_linux.cc size_t LengthWithoutTrailingSpaces(const char* str, size_t len) { len 193 components/breakpad/app/breakpad_linux.cc while (len > 0 && str[len - 1] == ' ') { len 194 components/breakpad/app/breakpad_linux.cc len--; len 196 components/breakpad/app/breakpad_linux.cc return len; len 1414 components/breakpad/app/breakpad_linux.cc ssize_t len = -1; len 1427 components/breakpad/app/breakpad_linux.cc len = HANDLE_EINTR(sys_read(fds[0], id_buf, sizeof(id_buf) - 1)); len 1432 components/breakpad/app/breakpad_linux.cc if (len > 0) { len 1434 components/breakpad/app/breakpad_linux.cc id_buf[len] = 0; len 229 components/breakpad/browser/crash_handler_host_linux.cc const unsigned len = hdr->cmsg_len - len 231 components/breakpad/browser/crash_handler_host_linux.cc DCHECK_EQ(len % sizeof(int), 0u); len 232 components/breakpad/browser/crash_handler_host_linux.cc const unsigned num_fds = len / sizeof(int); len 87 components/nacl/browser/pnacl_translation_cache.cc void WriteEntry(int offset, int len); len 89 components/nacl/browser/pnacl_translation_cache.cc void ReadEntry(int offset, int len); len 190 components/nacl/browser/pnacl_translation_cache.cc void PnaclTranslationCacheEntry::WriteEntry(int offset, int len) { len 191 components/nacl/browser/pnacl_translation_cache.cc DCHECK(io_buf_->BytesRemaining() == len); len 196 components/nacl/browser/pnacl_translation_cache.cc len, len 203 components/nacl/browser/pnacl_translation_cache.cc void PnaclTranslationCacheEntry::ReadEntry(int offset, int len) { len 208 components/nacl/browser/pnacl_translation_cache.cc len, len 90 components/nacl/loader/nacl_helper_linux.cc const size_t len = switch_prefix.length(); len 95 components/nacl/loader/nacl_helper_linux.cc } else if (nread > static_cast<int>(len)) { len 96 components/nacl/loader/nacl_helper_linux.cc if (switch_prefix.compare(0, len, buffer, 0, len) == 0) { len 100 components/nacl/loader/nacl_helper_linux.cc std::string(&buffer[len], nread - len)); len 46 components/nacl/loader/nacl_ipc_adapter.cc BufferSizeStatus GetBufferStatus(const char* data, size_t len) { len 47 components/nacl/loader/nacl_ipc_adapter.cc if (len < sizeof(NaClIPCAdapter::NaClMessageHeader)) len 55 components/nacl/loader/nacl_ipc_adapter.cc if (len == message_size) len 57 components/nacl/loader/nacl_ipc_adapter.cc if (len > message_size) len 47 components/nacl/loader/nonsfi/irt_memory.cc int IrtMMap(void** addr, size_t len, int prot, int flags, len 50 components/nacl/loader/nonsfi/irt_memory.cc mmap(*addr, len, NaClProtToProt(prot), NaClFlagsToFlags(flags), fd, off); len 58 components/nacl/loader/nonsfi/irt_memory.cc int IrtMUnmap(void* addr, size_t len) { len 59 components/nacl/loader/nonsfi/irt_memory.cc return CheckError(munmap(addr, len)); len 62 components/nacl/loader/nonsfi/irt_memory.cc int IrtMProtect(void* addr, size_t len, int prot) { len 63 components/nacl/loader/nonsfi/irt_memory.cc return CheckError(mprotect(addr, len, NaClProtToProt(prot))); len 48 components/plugins/renderer/mobile_youtube_plugin.cc unsigned len = strlen(kSlashVSlash); len 51 components/plugins/renderer/mobile_youtube_plugin.cc if (path.length() <= len) len 56 components/plugins/renderer/mobile_youtube_plugin.cc if (strncmp(str.data(), kSlashVSlash, len) != 0 && len 57 components/plugins/renderer/mobile_youtube_plugin.cc strncmp(str.data(), kSlashESlash, len) != 0) len 61 components/plugins/renderer/mobile_youtube_plugin.cc for (unsigned i = len; i < path.length(); i++) { len 67 components/plugins/renderer/mobile_youtube_plugin.cc return c == '&' && i > len; len 161 components/policy/core/browser/url_blacklist_manager.cc scheme->assign(filter, parsed.scheme.begin, parsed.scheme.len); len 165 components/policy/core/browser/url_blacklist_manager.cc host->assign(filter, parsed.host.begin, parsed.host.len); len 192 components/policy/core/browser/url_blacklist_manager.cc if (!base::StringToInt(filter.substr(parsed.port.begin, parsed.port.len), len 205 components/policy/core/browser/url_blacklist_manager.cc path->assign(filter, parsed.path.begin, parsed.path.len); len 102 components/policy/core/common/preg_parser_win.cc size_t len = data.size() / sizeof(base::char16); len 103 components/policy/core/common/preg_parser_win.cc if (len <= 0) len 109 components/policy/core/common/preg_parser_win.cc std::transform(chars, chars + len - 1, std::back_inserter(result), len 10 components/rappor/bloom_filter.cc extern uint64 CityHash64WithSeed(const char *buf, size_t len, uint64 seed); len 83 components/rappor/byte_vector_utils.cc for (size_t i = 0, len = lhs.size(); i < len; ++i) { len 93 components/rappor/byte_vector_utils.cc for (size_t i = 0, len = lhs.size(); i < len; ++i) { len 207 content/browser/accessibility/browser_accessibility.cc gfx::Rect BrowserAccessibility::GetLocalBoundsForRange(int start, int len) len 218 content/browser/accessibility/browser_accessibility.cc if (start < child_len && start + len > 0) { len 219 content/browser/accessibility/browser_accessibility.cc gfx::Rect child_rect = child->GetLocalBoundsForRange(start, len); len 227 content/browser/accessibility/browser_accessibility.cc int end = start + len; len 232 content/browser/accessibility/browser_accessibility.cc for (size_t i = 0; i < children_.size() && child_end < start + len; ++i) { len 304 content/browser/accessibility/browser_accessibility.cc gfx::Rect BrowserAccessibility::GetGlobalBoundsForRange(int start, int len) len 306 content/browser/accessibility/browser_accessibility.cc gfx::Rect bounds = GetLocalBoundsForRange(start, len); len 659 content/browser/accessibility/browser_accessibility.cc int len = 0; len 661 content/browser/accessibility/browser_accessibility.cc len += children_[i]->GetStaticTextLenRecursive(); len 662 content/browser/accessibility/browser_accessibility.cc return len; len 126 content/browser/accessibility/browser_accessibility.h gfx::Rect GetLocalBoundsForRange(int start, int len) const; len 130 content/browser/accessibility/browser_accessibility.h gfx::Rect GetGlobalBoundsForRange(int start, int len) const; len 2032 content/browser/accessibility/browser_accessibility_win.cc LONG len = text_str.length(); len 2035 content/browser/accessibility/browser_accessibility_win.cc if (end_offset > len) len 30 content/browser/devtools/devtools_http_handler_unittest.cc int len) OVERRIDE {} len 83 content/browser/devtools/tethering_handler.cc int len) OVERRIDE { len 85 content/browser/devtools/tethering_handler.cc wire_buffer_size_ += len; len 88 content/browser/devtools/tethering_handler.cc memcpy(wire_buffer_->StartOfBuffer() + old_size, data, len); len 581 content/browser/dom_storage/session_storage_database.cc size_t len = it->value().size() / sizeof(base::char16); len 585 content/browser/dom_storage/session_storage_database.cc base::NullableString16(base::string16(data_ptr, len), false); len 306 content/browser/dom_storage/session_storage_database_unittest.cc size_t len = it->value().size() / sizeof(base::char16); len 307 content/browser/dom_storage/session_storage_database_unittest.cc value.resize(len); len 309 content/browser/dom_storage/session_storage_database_unittest.cc reinterpret_cast<const base::char16*>(it->value().data()), len); len 111 content/browser/download/base_file.cc size_t len = data_len; len 113 content/browser/download/base_file.cc while (len > 0) { len 115 content/browser/download/base_file.cc int write_result = file_.WriteAtCurrentPos(current_data, len); len 124 content/browser/download/base_file.cc DCHECK_LE(write_size, len); len 125 content/browser/download/base_file.cc len -= write_size; len 67 content/browser/download/file_metadata_unittest_linux.cc ssize_t len = getxattr(test_file().value().c_str(), attr_name.c_str(), len 69 content/browser/download/file_metadata_unittest_linux.cc if (len <= static_cast<ssize_t>(0)) { len 72 content/browser/download/file_metadata_unittest_linux.cc char* buffer = new char[len]; len 73 content/browser/download/file_metadata_unittest_linux.cc len = getxattr(test_file().value().c_str(), attr_name.c_str(), buffer, len); len 74 content/browser/download/file_metadata_unittest_linux.cc EXPECT_EQ(expected_value.size(), static_cast<size_t>(len)); len 75 content/browser/download/file_metadata_unittest_linux.cc string real_value(buffer, len); len 81 content/browser/download/file_metadata_unittest_linux.cc ssize_t len = listxattr(test_file().value().c_str(), NULL, 0); len 82 content/browser/download/file_metadata_unittest_linux.cc if (len <= static_cast<ssize_t>(0)) return; len 83 content/browser/download/file_metadata_unittest_linux.cc char* buffer = new char[len]; len 84 content/browser/download/file_metadata_unittest_linux.cc len = listxattr(test_file().value().c_str(), buffer, len); len 86 content/browser/download/file_metadata_unittest_linux.cc base::SplitString(string(buffer, len), '\0', attr_names); len 54 content/browser/fileapi/file_system_url_request_job_unittest.cc void FillBuffer(char* buffer, size_t len) { len 55 content/browser/fileapi/file_system_url_request_job_unittest.cc base::RandBytes(buffer, len); len 30 content/browser/indexed_db/leveldb/leveldb_unittest.cc size_t len = std::min(a.size(), b.size()); len 31 content/browser/indexed_db/leveldb/leveldb_unittest.cc return memcmp(a.begin(), b.begin(), len); len 38 content/browser/renderer_host/p2p/socket_host.cc bool IsDtlsPacket(const char* data, int len) { len 40 content/browser/renderer_host/p2p/socket_host.cc return (len >= kDtlsRecordHeaderLen && (u[0] > 19 && u[0] < 64)); len 53 content/browser/renderer_host/p2p/socket_host.cc bool IsRtpPacket(const char* data, int len) { len 84 content/browser/renderer_host/p2p/socket_host.cc void UpdateAbsSendTimeExtnValue(char* extn_data, int len, len 101 content/browser/renderer_host/p2p/socket_host.cc DCHECK_EQ(len, kAbsSendTimeExtnLen); len 120 content/browser/renderer_host/p2p/socket_host.cc void UpdateRtpAuthTag(char* rtp, int len, len 127 content/browser/renderer_host/p2p/socket_host.cc char* auth_tag = rtp + (len - tag_length); len 148 content/browser/renderer_host/p2p/socket_host.cc int auth_required_length = len - tag_length + 4; len 372 content/browser/renderer_host/p2p/socket_host.cc const int len = (*rtp & 0x0F) + 1; len 376 content/browser/renderer_host/p2p/socket_host.cc UpdateAbsSendTimeExtnValue(rtp + kOneByteHdrLen, len, abs_send_time); len 380 content/browser/renderer_host/p2p/socket_host.cc rtp += kOneByteHdrLen + len; len 545 content/browser/renderer_host/p2p/socket_host_tcp.cc const char* data, int len, int* pad_bytes) { len 546 content/browser/renderer_host/p2p/socket_host_tcp.cc DCHECK_LE(kTurnChannelDataHeaderSize, len); len 137 content/browser/renderer_host/p2p/socket_host_tcp.h int GetExpectedPacketSize(const char* data, int len, int* pad_bytes); len 140 content/browser/renderer_host/render_sandbox_host_linux.cc const ssize_t len = UnixDomainSocket::RecvMsg(fd, buf, sizeof(buf), &fds); len 141 content/browser/renderer_host/render_sandbox_host_linux.cc if (len == -1) { len 150 content/browser/renderer_host/render_sandbox_host_linux.cc Pickle pickle(buf, len); len 92 content/browser/renderer_host/socket_stream_dispatcher_host.cc net::SocketStream* socket, const char* data, int len) { len 101 content/browser/renderer_host/socket_stream_dispatcher_host.cc socket_id, std::vector<char>(data, data + len)))) { len 55 content/browser/renderer_host/socket_stream_dispatcher_host.h const char* data, int len) OVERRIDE; len 180 content/browser/zygote_host/zygote_host_impl_linux.cc const ssize_t len = UnixDomainSocket::RecvMsg(fds[0], buf, sizeof(buf), len 182 content/browser/zygote_host/zygote_host_impl_linux.cc CHECK(len == kExpectedLength) << "Incorrect zygote magic length"; len 344 content/browser/zygote_host/zygote_host_impl_linux.cc const ssize_t len = ReadReply(buf, sizeof(buf)); len 346 content/browser/zygote_host/zygote_host_impl_linux.cc Pickle reply_pickle(buf, len); len 348 content/browser/zygote_host/zygote_host_impl_linux.cc if (len <= 0 || !reply_pickle.ReadInt(&iter, &pid)) len 485 content/browser/zygote_host/zygote_host_impl_linux.cc ssize_t len; len 490 content/browser/zygote_host/zygote_host_impl_linux.cc len = ReadReply(buf, sizeof(buf)); len 498 content/browser/zygote_host/zygote_host_impl_linux.cc if (len == -1) { len 500 content/browser/zygote_host/zygote_host_impl_linux.cc } else if (len == 0) { len 503 content/browser/zygote_host/zygote_host_impl_linux.cc Pickle read_pickle(buf, len); len 257 content/child/appcache/web_application_cache_host_impl.cc const char* data, int len) { len 49 content/child/appcache/web_application_cache_host_impl.h virtual void didReceiveDataForMainResource(const char* data, int len); len 357 content/child/indexed_db/indexed_db_dispatcher.cc for (size_t i = 0, len = index_ids.size(); i < len; ++i) { len 144 content/child/indexed_db/webidbdatabase_impl.cc for (size_t i = 0, len = index_ids.size(); i < len; ++i) { len 422 content/child/npapi/plugin_host.cc uint32_t len, len 487 content/child/npapi/plugin_host.cc len = post_file_contents.size(); len 500 content/child/npapi/plugin_host.cc plugin->RequestURL(url, "POST", target, buf, len, notify, notify_data); len 507 content/child/npapi/plugin_host.cc uint32_t len, len 511 content/child/npapi/plugin_host.cc return PostURLNotify(id, url, target, len, buf, file, true, notify_data); len 517 content/child/npapi/plugin_host.cc uint32_t len, len 541 content/child/npapi/plugin_host.cc return PostURLNotify(id, url, target, len, buf, file, false, 0); len 558 content/child/npapi/plugin_host.cc int32_t NPN_Write(NPP id, NPStream* stream, int32_t len, void* buffer) { len 946 content/child/npapi/plugin_host.cc uint32_t* len) { len 950 content/child/npapi/plugin_host.cc if (!url || !*url || !len) len 953 content/child/npapi/plugin_host.cc *len = 0; len 994 content/child/npapi/plugin_host.cc *len = result.length(); len 1003 content/child/npapi/plugin_host.cc uint32_t len) { len 1020 content/child/npapi/plugin_host.cc std::string cookie(value, len); len 304 content/child/npapi/plugin_instance.cc int len, len 309 content/child/npapi/plugin_instance.cc return npp_functions_->write(npp_, stream, offset, len, buffer); len 583 content/child/npapi/plugin_instance.cc unsigned int len, len 593 content/child/npapi/plugin_instance.cc url, method, target, buf, len, notify_id, popups_allowed(), len 236 content/child/npapi/plugin_instance.h unsigned int len, len 46 content/child/npapi/plugin_stream.h int Write(const char* buf, const int len, int data_offset); len 83 content/child/npapi/plugin_url_fetcher.cc unsigned int len, len 127 content/child/npapi/plugin_url_fetcher.cc PluginHost::SetPostData(buf, len, &names, &values, &body); len 331 content/child/npapi/plugin_url_fetcher.cc void PluginURLFetcher::OnDownloadedData(int len, len 30 content/child/npapi/plugin_url_fetcher.h unsigned int len, len 65 content/child/npapi/plugin_url_fetcher.h virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE; len 80 content/child/npapi/webplugin.h unsigned int len, len 140 content/child/npapi/webplugin_delegate.h unsigned int len, len 313 content/child/npapi/webplugin_delegate_impl.cc unsigned int len, len 327 content/child/npapi/webplugin_delegate_impl.cc plugin_stream, url, first_party_for_cookies, method, buf, len, len 127 content/child/npapi/webplugin_delegate_impl.h unsigned int len, len 61 content/child/resource_dispatcher_unittest.cc virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE { len 285 content/child/resource_dispatcher_unittest.cc virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE { len 374 content/child/resource_dispatcher_unittest.cc virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE { len 25 content/child/web_socket_stream_handle_delegate.h const char* data, int len) {} len 32 content/child/web_socket_stream_handle_delegate.h const char* data, int len) {} len 246 content/child/web_url_loader_impl.cc virtual void OnDownloadedData(int len, int encoded_data_length) OVERRIDE; len 250 content/child/web_url_loader_impl.cc virtual void OnReceivedCachedMetadata(const char* data, int len) OVERRIDE; len 576 content/child/web_url_loader_impl.cc void WebURLLoaderImpl::Context::OnDownloadedData(int len, len 579 content/child/web_url_loader_impl.cc client_->didDownloadData(loader_, len, encoded_data_length); len 602 content/child/web_url_loader_impl.cc const char* data, int len) { len 604 content/child/web_url_loader_impl.cc client_->didReceiveCachedMetadata(loader_, data, len); len 311 content/child/webcrypto/platform_crypto_nss.cc param.len = sizeof(gcm_params); len 414 content/child/webcrypto/platform_crypto_nss.cc key->u.rsa.publicExponent.len); len 547 content/child/webcrypto/platform_crypto_nss.cc out->assign(item.data, item.data + item.len); len 622 content/child/webcrypto/platform_crypto_nss.cc DCHECK(!out->version.len); len 624 content/child/webcrypto/platform_crypto_nss.cc DCHECK(!out->modulus.len); len 806 content/child/webcrypto/platform_crypto_nss.cc *buffer = CreateArrayBuffer(key_data->data, key_data->len); len 889 content/child/webcrypto/platform_crypto_nss.cc DCHECK(spki_der->len); len 891 content/child/webcrypto/platform_crypto_nss.cc *buffer = CreateArrayBuffer(spki_der->data, spki_der->len); len 963 content/child/webcrypto/platform_crypto_nss.cc *buffer = CreateArrayBuffer(encoded_key->data, encoded_key->len); len 1039 content/child/webcrypto/platform_crypto_nss.cc DCHECK_NE(0u, signature_item.len); len 1041 content/child/webcrypto/platform_crypto_nss.cc *buffer = blink::WebArrayBuffer::create(signature_item.len, 1); len 1052 content/child/webcrypto/platform_crypto_nss.cc DCHECK_EQ(buffer->byteLength(), signature_item.len); len 1149 content/child/webcrypto/platform_crypto_nss.cc *buffer = CreateArrayBuffer(signature_item->data, signature_item->len); len 1443 content/child/webcrypto/platform_crypto_nss.cc if (output_length != wrapped_key_item.len) len 1500 content/child/webcrypto/platform_crypto_nss.cc *buffer = webcrypto::CreateArrayBuffer(key_data->data, key_data->len); len 1527 content/child/webcrypto/platform_crypto_nss.cc if (wrapped_key_item.len != modulus_length_bytes) len 54 content/common/android/address_parser.cc size_t len = end >= start ? end - start : 0; len 55 content/common/android/address_parser.cc address->assign(text.substr(start, len)); len 70 content/common/gpu/media/exynos_v4l2_video_device.cc unsigned int len, len 74 content/common/gpu/media/exynos_v4l2_video_device.cc return mmap(addr, len, prot, flags, device_fd_, offset); len 77 content/common/gpu/media/exynos_v4l2_video_device.cc void ExynosV4L2Device::Munmap(void* addr, unsigned int len) { len 78 content/common/gpu/media/exynos_v4l2_video_device.cc munmap(addr, len); len 26 content/common/gpu/media/exynos_v4l2_video_device.h unsigned int len, len 30 content/common/gpu/media/exynos_v4l2_video_device.h virtual void Munmap(void* addr, unsigned int len) OVERRIDE; len 116 content/common/gpu/media/tegra_v4l2_video_device.cc unsigned int len, len 120 content/common/gpu/media/tegra_v4l2_video_device.cc return TegraV4L2_Mmap(addr, len, prot, flags, device_fd_, offset); len 123 content/common/gpu/media/tegra_v4l2_video_device.cc void TegraV4L2Device::Munmap(void* addr, unsigned int len) { len 124 content/common/gpu/media/tegra_v4l2_video_device.cc TegraV4L2_Munmap(addr, len); len 29 content/common/gpu/media/tegra_v4l2_video_device.h unsigned int len, len 33 content/common/gpu/media/tegra_v4l2_video_device.h virtual void Munmap(void* addr, unsigned int len) OVERRIDE; len 51 content/common/gpu/media/v4l2_video_device.h unsigned int len, len 55 content/common/gpu/media/v4l2_video_device.h virtual void Munmap(void* addr, unsigned int len) = 0; len 166 content/common/page_state_serialization.cc SerializeObject(const char* data, int len) len 167 content/common/page_state_serialization.cc : pickle(data, len), len 77 content/common/resource_messages.cc int len; len 78 content/common/resource_messages.cc if (!m->ReadData(iter, &data, &len)) len 80 content/common/resource_messages.cc r->SetToBytes(data, len); len 314 content/plugin/webplugin_proxy.cc unsigned int len, len 338 content/plugin/webplugin_proxy.cc if (len) { len 339 content/plugin/webplugin_proxy.cc params.buffer.resize(len); len 340 content/plugin/webplugin_proxy.cc memcpy(¶ms.buffer.front(), buf, len); len 77 content/plugin/webplugin_proxy.h unsigned int len, len 62 content/public/child/request_peer.h virtual void OnDownloadedData(int len, int encoded_data_length) = 0; len 75 content/public/child/request_peer.h virtual void OnReceivedCachedMetadata(const char* data, int len) {} len 1126 content/renderer/npapi/webplugin_delegate_proxy.cc unsigned int len, len 1139 content/renderer/npapi/webplugin_delegate_proxy.cc if (len) { len 1140 content/renderer/npapi/webplugin_delegate_proxy.cc params.post_data.resize(len); len 1141 content/renderer/npapi/webplugin_delegate_proxy.cc memcpy(¶ms.post_data.front(), buf, len); len 136 content/renderer/npapi/webplugin_delegate_proxy.h unsigned int len, len 696 content/renderer/npapi/webplugin_impl.cc unsigned int len, len 750 content/renderer/npapi/webplugin_impl.cc if (len > 0) { len 751 content/renderer/npapi/webplugin_impl.cc if (!SetPostData(&request, buf, len)) { len 1157 content/renderer/npapi/webplugin_impl.cc unsigned int len, len 1164 content/renderer/npapi/webplugin_impl.cc url, method, target, buf, len, notify_id, popups_allowed, PLUGIN_SRC, len 1172 content/renderer/npapi/webplugin_impl.cc unsigned int len, len 1188 content/renderer/npapi/webplugin_impl.cc url, is_javascript_url, popups_allowed, method, target, buf, len, len 1252 content/renderer/npapi/webplugin_impl.cc first_party_for_cookies, method, buf, len, referrer, len 1262 content/renderer/npapi/webplugin_impl.cc len, NULL, referrer_flag, notify_redirects, len 119 content/renderer/npapi/webplugin_impl.h unsigned int len, len 178 content/renderer/npapi/webplugin_impl.h unsigned int len, len 193 content/renderer/npapi/webplugin_impl.h int len, len 247 content/renderer/npapi/webplugin_impl.h unsigned int len, len 41 content/renderer/shared_worker/embedded_shared_worker_stub.cc virtual void didReceiveDataForMainResource(const char* data, int len) {} len 795 content/shell/renderer/test_runner/web_ax_object_proxy.cc int len = end - start; len 800 content/shell/renderer/test_runner/web_ax_object_proxy.cc for (int i = 1; i < len; i++) { len 1423 content/shell/tools/plugin/PluginObject.cpp int len = strlen(object->firstUrl) + 2 + strlen(object->firstHeaders) + 1 + len 1425 content/shell/tools/plugin/PluginObject.cpp strHdr = (char*)malloc(len + 1); len 1427 content/shell/tools/plugin/PluginObject.cpp len + 1, len 1433 content/shell/tools/plugin/PluginObject.cpp STRINGN_TO_NPVARIANT(strHdr, len, args[1]); len 112 content/shell/tools/plugin/PluginTest.cpp int32_t len, len 114 content/shell/tools/plugin/PluginTest.cpp return len; len 93 content/shell/tools/plugin/PluginTest.h int32_t len, len 107 content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp virtual int32_t NPP_Write(NPStream* stream, int32_t offset, int32_t len, void* buffer) OVERRIDE len 112 content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp m_data.insert(m_data.end(), static_cast<char*>(buffer), static_cast<char*>(buffer) + len); len 113 content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp return len; len 465 content/shell/tools/plugin/main.cpp int32_t NPP_Write(NPP instance, NPStream *stream, int32_t offset, int32_t len, void *buffer) len 472 content/shell/tools/plugin/main.cpp return obj->pluginTest->NPP_Write(stream, offset, len, buffer); len 176 content/test/plugin/plugin_client.cc int32 len, void *buffer) { len 183 content/test/plugin/plugin_client.cc return plugin->Write(stream, offset, len, buffer); len 28 content/test/plugin/plugin_execute_stream_javascript.cc int32 ExecuteStreamJavaScript::Write(NPStream *stream, int32 offset, int32 len, len 34 content/test/plugin/plugin_execute_stream_javascript.cc if (len < 0 || len > kMaxLength) { len 40 content/test/plugin/plugin_execute_stream_javascript.cc javascript.append(static_cast<char*>(buffer), len); len 57 content/test/plugin/plugin_execute_stream_javascript.cc return len; len 25 content/test/plugin/plugin_execute_stream_javascript.h virtual int32 Write(NPStream *stream, int32 offset, int32 len, len 64 content/test/plugin/plugin_get_javascript_url2_test.cc int32 ExecuteGetJavascriptUrl2Test::Write(NPStream *stream, int32 offset, int32 len, len 70 content/test/plugin/plugin_get_javascript_url2_test.cc if (len < 0 || len > STREAM_CHUNK) { len 80 content/test/plugin/plugin_get_javascript_url2_test.cc self_url_.append(static_cast<char*>(buffer), len); len 87 content/test/plugin/plugin_get_javascript_url2_test.cc return len; len 27 content/test/plugin/plugin_get_javascript_url2_test.h virtual int32 Write(NPStream *stream, int32 offset, int32 len, len 134 content/test/plugin/plugin_get_javascript_url_test.cc int32 len, void *buffer) { len 139 content/test/plugin/plugin_get_javascript_url_test.cc if (len < 0 || len > STREAM_CHUNK) { len 146 content/test/plugin/plugin_get_javascript_url_test.cc return len; len 154 content/test/plugin/plugin_get_javascript_url_test.cc self_url_.append(static_cast<char*>(buffer), len); len 161 content/test/plugin/plugin_get_javascript_url_test.cc return len; len 26 content/test/plugin/plugin_get_javascript_url_test.h virtual int32 Write(NPStream *stream, int32 offset, int32 len, len 255 content/test/plugin/plugin_geturl_test.cc int32 PluginGetURLTest::Write(NPStream *stream, int32 offset, int32 len, len 258 content/test/plugin/plugin_geturl_test.cc return PluginTest::Write(stream, offset, len, buffer); len 267 content/test/plugin/plugin_geturl_test.cc return len; len 274 content/test/plugin/plugin_geturl_test.cc if (len < 0 || len > STREAM_CHUNK) { len 285 content/test/plugin/plugin_geturl_test.cc self_url_.append(static_cast<char*>(buffer), len); len 291 content/test/plugin/plugin_geturl_test.cc static_cast<int32>(fread(read_buffer, 1, len, test_file_)); len 294 content/test/plugin/plugin_geturl_test.cc if (bytes != len) len 296 content/test/plugin/plugin_geturl_test.cc if (memcmp(read_buffer, buffer, len)) len 310 content/test/plugin/plugin_geturl_test.cc return len; len 36 content/test/plugin/plugin_geturl_test.h virtual int32 Write(NPStream *stream, int32 offset, int32 len, len 70 content/test/plugin/plugin_request_read_test.cc int32 PluginRequestReadTest::Write(NPStream* stream, int32 offset, int32 len, len 83 content/test/plugin/plugin_request_read_test.cc return len; len 86 content/test/plugin/plugin_request_read_test.cc it->offset += len; len 87 content/test/plugin/plugin_request_read_test.cc if (static_cast<int32>(it->length) < len) len 90 content/test/plugin/plugin_request_read_test.cc it->length -= len; len 96 content/test/plugin/plugin_request_read_test.cc for (int32 i = 0; i < len; ++i) { len 107 content/test/plugin/plugin_request_read_test.cc return len; len 33 content/test/plugin/plugin_request_read_test.h virtual int32 Write(NPStream* stream, int32 offset, int32 len, len 170 content/test/plugin/plugin_test.cc int32 PluginTest::Write(NPStream *stream, int32 offset, int32 len, len 173 content/test/plugin/plugin_test.cc return len; len 38 content/test/plugin/plugin_test.h virtual int32 Write(NPStream *stream, int32 offset, int32 len, len 24 content/worker/worker_webapplicationcachehost_impl.h virtual void didReceiveDataForMainResource(const char* data, int len); len 127 content/zygote/zygote_linux.cc const ssize_t len = UnixDomainSocket::RecvMsg(fd, buf, sizeof(buf), &fds); len 129 content/zygote/zygote_linux.cc if (len == 0 || (len == -1 && errno == ECONNRESET)) { len 135 content/zygote/zygote_linux.cc if (len == -1) { len 140 content/zygote/zygote_linux.cc Pickle pickle(buf, len); len 93 courgette/assembly_program.cc BytesInstruction(const uint8* values, uint32 len) len 96 courgette/assembly_program.cc len_(len) {} len 182 courgette/assembly_program.cc uint32 len) { len 183 courgette/assembly_program.cc return Emit(new(std::nothrow) BytesInstruction(values, len)); len 424 courgette/assembly_program.cc uint32 len = static_cast<BytesInstruction*>(instruction)->len(); len 426 courgette/assembly_program.cc if (!encoded->AddCopy(len, byte_values)) len 90 courgette/assembly_program.h CheckBool EmitBytesInstruction(const uint8* value, uint32 len) len 415 courgette/disassembler_elf_32.cc const ptrdiff_t len = end - start; // Works because vars are byte pointers len 417 courgette/disassembler_elf_32.cc if (!program->EmitBytesInstruction(start, len)) len 53 courgette/third_party/bsdiff_create.cc split(PagedArray<int>& I,PagedArray<int>& V,int start,int len,int h) len 57 courgette/third_party/bsdiff_create.cc if(len<16) { len 58 courgette/third_party/bsdiff_create.cc for(k=start;k<start+len;k+=j) { len 60 courgette/third_party/bsdiff_create.cc for(i=1;k+i<start+len;i++) { len 76 courgette/third_party/bsdiff_create.cc x=V[I[start+len/2]+h]; len 78 courgette/third_party/bsdiff_create.cc for(i=start;i<start+len;i++) { len 111 courgette/third_party/bsdiff_create.cc if(start+len>kk) split(I,V,kk,start+len-kk,h); len 118 courgette/third_party/bsdiff_create.cc int i,h,len; len 134 courgette/third_party/bsdiff_create.cc len=0; len 137 courgette/third_party/bsdiff_create.cc len-=I[i]; len 140 courgette/third_party/bsdiff_create.cc if(len) I[i-len]=-len; len 141 courgette/third_party/bsdiff_create.cc len=V[I[i]]+1-i; len 142 courgette/third_party/bsdiff_create.cc split(I,V,i,len,h); len 143 courgette/third_party/bsdiff_create.cc i+=len; len 144 courgette/third_party/bsdiff_create.cc len=0; len 147 courgette/third_party/bsdiff_create.cc if(len) I[i-len]=-len; len 68 crypto/ec_private_key_nss.cc output->assign(item.data, item.data + item.len); len 251 crypto/ec_private_key_nss.cc output->assign(der_key.data, der_key.data + der_key.len); len 263 crypto/ec_private_key_nss.cc output->assign(der_pubkey->data, der_pubkey->data + der_pubkey->len); len 296 crypto/ec_private_key_nss.cc DCHECK_LE(oid_data->oid.len, 127U); len 297 crypto/ec_private_key_nss.cc std::vector<unsigned char> parameters_buf(2 + oid_data->oid.len); len 304 crypto/ec_private_key_nss.cc ec_parameters.data[1] = oid_data->oid.len; len 305 crypto/ec_private_key_nss.cc memcpy(ec_parameters.data + 2, oid_data->oid.data, oid_data->oid.len); len 42 crypto/ec_private_key_openssl.cc long len = BIO_get_mem_data(bio.get(), &data); len 43 crypto/ec_private_key_openssl.cc if (!data || len < 0) len 46 crypto/ec_private_key_openssl.cc output->assign(data, data + len); len 38 crypto/ec_signature_creator_nss.cc hash_type, &hash_data[0], input->data, input->len); len 53 crypto/ec_signature_creator_nss.cc *out_signature_len = sig.len; len 56 crypto/ec_signature_creator_nss.cc return DSAU_EncodeDerSigWithLen(result, &sig, sig.len); len 75 crypto/ec_signature_creator_nss.cc secret.len = data_len; len 81 crypto/ec_signature_creator_nss.cc result.len = 0; len 93 crypto/ec_signature_creator_nss.cc signature->assign(result.data, result.data + result.len); len 103 crypto/ec_signature_creator_nss.cc der_sig_item.len = der_sig.size(); len 109 crypto/ec_signature_creator_nss.cc out_raw_sig->assign(raw_sig->data, raw_sig->data + raw_sig->len); len 62 crypto/encryptor_nss.cc iv_item.len = iv.size(); len 240 crypto/encryptor_unittest.cc size_t len = kTestDecryptSizes[i]; len 242 crypto/encryptor_unittest.cc encryptor.Decrypt(ciphertext_str.substr(offset, len), &decrypted)); len 243 crypto/encryptor_unittest.cc EXPECT_EQ(len, decrypted.size()); len 244 crypto/encryptor_unittest.cc EXPECT_EQ(0, memcmp(decrypted.data(), plaintext + offset, len)); len 245 crypto/encryptor_unittest.cc offset += len; len 102 crypto/ghash.cc void GaloisHash::Finish(void* output, size_t len) { len 122 crypto/ghash.cc if (len >= 16) { len 131 crypto/ghash.cc if (len < 16) len 132 crypto/ghash.cc memcpy(output, result_tmp, len); len 46 crypto/ghash.h void Finish(void* output, size_t len); len 60 crypto/hmac_nss.cc key_item.len = key_length; len 107 crypto/hmac_nss.cc unsigned int len = 0; len 109 crypto/hmac_nss.cc digest, &len, digest_length) != SECSuccess) { len 159 crypto/openpgp_symmetric_encryption.cc key_item.len = key_len; len 99 crypto/openssl_util.cc int OpenSSLErrorCallback(const char* str, size_t len, void* context) { len 100 crypto/openssl_util.cc DVLOG(1) << "\t" << base::StringPiece(str, len); len 36 crypto/rsa_private_key_nss.cc output->assign(item.data, item.data + item.len); len 123 crypto/rsa_private_key_nss.cc key_der.len = input.size(); len 207 crypto/rsa_private_key_nss.cc output->assign(der_pubkey->data, der_pubkey->data + der_pubkey->len); len 254 crypto/rsa_private_key_nss.cc der_private_key_info.len = input.size(); len 39 crypto/rsa_private_key_openssl.cc long len = BIO_get_mem_data(bio.get(), &data); len 40 crypto/rsa_private_key_openssl.cc if (!data || len < 0) len 43 crypto/rsa_private_key_openssl.cc output->assign(data, data + len); len 27 crypto/secure_hash.h virtual void Update(const void* input, size_t len) = 0; len 28 crypto/secure_hash.h virtual void Finish(void* output, size_t len) = 0; len 31 crypto/secure_hash_default.cc virtual void Update(const void* input, size_t len) OVERRIDE { len 32 crypto/secure_hash_default.cc SHA256_Update(&ctx_, static_cast<const unsigned char*>(input), len); len 35 crypto/secure_hash_default.cc virtual void Finish(void* output, size_t len) OVERRIDE { len 37 crypto/secure_hash_default.cc static_cast<unsigned int>(len)); len 33 crypto/secure_hash_openssl.cc virtual void Update(const void* input, size_t len) OVERRIDE { len 34 crypto/secure_hash_openssl.cc SHA256_Update(&ctx_, static_cast<const unsigned char*>(input), len); len 37 crypto/secure_hash_openssl.cc virtual void Finish(void* output, size_t len) OVERRIDE { len 39 crypto/secure_hash_openssl.cc static_cast<unsigned char*>(output), len); len 13 crypto/sha2.cc void SHA256HashString(const base::StringPiece& str, void* output, size_t len) { len 16 crypto/sha2.cc ctx->Finish(output, len); len 25 crypto/sha2.h void* output, size_t len); len 54 crypto/signature_creator_nss.cc data_item.len = data_len; len 64 crypto/signature_creator_nss.cc signature_item.data + signature_item.len); len 86 crypto/signature_creator_nss.cc signature_item.data + signature_item.len); len 38 crypto/signature_creator_openssl.cc unsigned int len = 0; len 40 crypto/signature_creator_openssl.cc &len, rsa_key); len 45 crypto/signature_creator_openssl.cc signature->resize(len); len 67 crypto/signature_creator_openssl.cc unsigned int len = 0; len 68 crypto/signature_creator_openssl.cc int rv = EVP_SignFinal(sign_context_, vector_as_array(signature), &len, key); len 73 crypto/signature_creator_openssl.cc signature->resize(len); len 101 crypto/signature_verifier_nss.cc sig_alg_der.len = signature_algorithm_len; len 116 crypto/signature_verifier_nss.cc sig.len = signature_len; len 201 crypto/signature_verifier_nss.cc spki_der.len = public_key_info_len; len 52 crypto/symmetric_key_nss.cc password_item.len = password.size(); len 58 crypto/symmetric_key_nss.cc salt_item.len = salt.size(); len 94 crypto/symmetric_key_nss.cc key_item.len = raw_key.size(); len 120 crypto/symmetric_key_nss.cc raw_key->assign(reinterpret_cast<char*>(key_item->data), key_item->len); len 60 crypto/third_party/nss/secsign.cc return SEC_DerSignData(arena, result, input->data, input->len, key, len 93 crypto/third_party/nss/secsign.cc hash_type, &hash_data[0], input->data, input->len); len 112 crypto/third_party/nss/secsign.cc sd.data.len = input->len; len 120 crypto/third_party/nss/secsign.cc rv = DSAU_EncodeDerSigWithLen(&sd.signature, &sig, sig.len); len 123 crypto/third_party/nss/secsign.cc sd.signature.len <<= 3; // Convert to bit string. len 56 crypto/third_party/nss/sha512.cc #define PORT_ZFree(ptr, len) do { memset(ptr, 0, len); free(ptr); } while (0) len 24 device/hid/hid_connection_linux.cc #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x06, len) len 27 device/hid/hid_connection_linux.cc #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE | _IOC_READ, 'H', 0x07, len) len 198 gin/modules/module_registry.cc size_t len = pending->dependencies.size(); len 199 gin/modules/module_registry.cc for (size_t i = 0; i < len; ++i) { len 37 gin/try_catch.cc int len = trace->GetFrameCount(); len 38 gin/try_catch.cc for (int i = 0; i < len; ++i) { len 34 google_apis/cup/client_update_protocol_nss.cc spki_item.len = static_cast<unsigned int>(public_key.size()); len 87 gpu/command_buffer/service/gles2_cmd_decoder.cc khronos_uint64_t CityHashForAngle(const char* name, unsigned int len) { len 89 gpu/command_buffer/service/gles2_cmd_decoder.cc CityHash64(name, static_cast<size_t>(len))); len 267 gpu/command_buffer/service/program_manager.cc GLint len = 0; len 268 gpu/command_buffer/service/program_manager.cc glGetProgramInfoLog(service_id_, max_len, &len, temp.get()); len 269 gpu/command_buffer/service/program_manager.cc DCHECK(max_len == 0 || len < max_len); len 270 gpu/command_buffer/service/program_manager.cc DCHECK(len == 0 || temp[len] == '\0'); len 271 gpu/command_buffer/service/program_manager.cc std::string log(temp.get(), len); len 550 gpu/command_buffer/service/program_manager.cc GLint len = 0; len 552 gpu/command_buffer/service/program_manager.cc shader->service_id(), max_len, &len, temp.get()); len 553 gpu/command_buffer/service/program_manager.cc DCHECK(max_len == 0 || len < max_len); len 554 gpu/command_buffer/service/program_manager.cc DCHECK(len == 0 || temp[len] == '\0'); len 569 gpu/command_buffer/service/program_manager.cc GLint len = 0; len 570 gpu/command_buffer/service/program_manager.cc glGetShaderInfoLog(shader->service_id(), max_len, &len, temp.get()); len 571 gpu/command_buffer/service/program_manager.cc DCHECK(max_len == 0 || len < max_len); len 572 gpu/command_buffer/service/program_manager.cc DCHECK(len == 0 || temp[len] == '\0'); len 573 gpu/command_buffer/service/program_manager.cc shader->SetStatus(false, std::string(temp.get(), len).c_str(), NULL); len 65 gpu/command_buffer/service/shader_translator.cc ANGLEGetInfoType len = 0; len 72 gpu/command_buffer/service/shader_translator.cc &len, &size, &type, &precision, &static_use, len 79 gpu/command_buffer/service/shader_translator.cc std::string name_string(name.get(), std::min(len, name_len - 1)); len 476 gpu/command_buffer/service/test_helper.cc size_t len = strlen(attribs[ii].name) + 1; len 477 gpu/command_buffer/service/test_helper.cc max_attrib_len = std::max(max_attrib_len, len); len 509 gpu/command_buffer/service/test_helper.cc size_t len = strlen(uniforms[ii].name) + 1; len 510 gpu/command_buffer/service/test_helper.cc max_uniform_len = std::max(max_uniform_len, len); len 146 gpu/config/gpu_test_expectations_parser.cc size_t len = ref.length(); len 147 gpu/config/gpu_test_expectations_parser.cc if (len == 0) len 149 gpu/config/gpu_test_expectations_parser.cc if (ref[len - 1] == '*') { len 150 gpu/config/gpu_test_expectations_parser.cc if (test_name.length() > len -1 && len 151 gpu/config/gpu_test_expectations_parser.cc ref.compare(0, len - 1, test_name, 0, len - 1) == 0) len 77 ipc/ipc_channel_reader.cc int len = static_cast<int>(message_tail - p); len 78 ipc/ipc_channel_reader.cc Message m(p, len); len 38 jingle/glue/channel_socket_adapter_unittest.cc size_t len, len 214 jingle/glue/chrome_async_socket.cc bool ChromeAsyncSocket::Read(char* data, size_t len, size_t* len_read) { len 239 jingle/glue/chrome_async_socket.cc *len_read = std::min(len, read_end_ - read_start_); len 256 jingle/glue/chrome_async_socket.cc bool ChromeAsyncSocket::Write(const char* data, size_t len) { len 264 jingle/glue/chrome_async_socket.cc if ((static_cast<size_t>(write_buf_->size()) - write_end_) < len) { len 265 jingle/glue/chrome_async_socket.cc LOG(DFATAL) << "queueing " << len << " bytes would exceed the " len 267 jingle/glue/chrome_async_socket.cc << " by " << (len - write_buf_->size()) << " bytes"; len 271 jingle/glue/chrome_async_socket.cc std::memcpy(write_buf_->data() + write_end_, data, len); len 272 jingle/glue/chrome_async_socket.cc write_end_ += len; len 88 jingle/glue/chrome_async_socket.h virtual bool Read(char* data, size_t len, size_t* len_read) OVERRIDE; len 107 jingle/glue/chrome_async_socket.h virtual bool Write(const char* data, size_t len) OVERRIDE; len 48 jingle/glue/pseudotcp_adapter.cc const char* buffer, size_t len) OVERRIDE; len 347 jingle/glue/pseudotcp_adapter.cc size_t len) { len 356 jingle/glue/pseudotcp_adapter.cc scoped_refptr<net::IOBuffer> write_buffer = new net::IOBuffer(len); len 357 jingle/glue/pseudotcp_adapter.cc memcpy(write_buffer->data(), buffer, len); len 365 jingle/glue/pseudotcp_adapter.cc len, len 23 jingle/glue/utils.cc socklen_t len = sizeof(addr); len 24 jingle/glue/utils.cc return ip_endpoint.ToSockAddr(reinterpret_cast<sockaddr*>(&addr), &len) && len 130 jingle/notifier/base/xmpp_connection.cc void XmppConnection::OnInputLog(const char* data, int len) { len 132 jingle/notifier/base/xmpp_connection.cc VLOG(2) << "XMPP Input: " << base::StringPiece(data, len); len 135 jingle/notifier/base/xmpp_connection.cc void XmppConnection::OnOutputLog(const char* data, int len) { len 137 jingle/notifier/base/xmpp_connection.cc VLOG(2) << "XMPP Output: " << base::StringPiece(data, len); len 84 jingle/notifier/base/xmpp_connection.h void OnInputLog(const char* data, int len); len 85 jingle/notifier/base/xmpp_connection.h void OnOutputLog(const char* data, int len); len 93 media/audio/android/audio_manager_android.cc jsize len = env->GetArrayLength(j_device_array.obj()); len 95 media/audio/android/audio_manager_android.cc for (jsize i = 0; i < len; ++i) { len 35 media/audio/pulse/pulse_output.cc void PulseAudioOutputStream::StreamRequestCallback(pa_stream* s, size_t len, len 38 media/audio/pulse/pulse_output.cc static_cast<PulseAudioOutputStream*>(p_this)->FulfillWriteRequest(len); len 60 media/audio/pulse/pulse_output.h static void StreamRequestCallback(pa_stream* s, size_t len, void* p_this); len 196 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java int len; len 197 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java while ((len = decoder.read(buffer)) != -1) { len 198 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java fos.write(buffer, 0, len); len 126 media/base/android/media_codec_bridge.cc jsize len = env->GetArrayLength(j_codec_info_array.obj()); len 127 media/base/android/media_codec_bridge.cc for (jsize i = 0; i < len; ++i) { len 7 media/base/djb2.cc uint32 DJB2Hash(const void* buf, size_t len, uint32 seed) { len 10 media/base/djb2.cc for (size_t i = 0; i < len; ++i) { len 38 media/base/djb2.h MEDIA_EXPORT uint32 DJB2Hash(const void* buf, size_t len, uint32 seed); len 14 media/base/simd/vector_math_sse.cc void FMUL_SSE(const float src[], float scale, int len, float dest[]) { len 15 media/base/simd/vector_math_sse.cc const int rem = len % 4; len 16 media/base/simd/vector_math_sse.cc const int last_index = len - rem; len 22 media/base/simd/vector_math_sse.cc for (int i = last_index; i < len; ++i) len 26 media/base/simd/vector_math_sse.cc void FMAC_SSE(const float src[], float scale, int len, float dest[]) { len 27 media/base/simd/vector_math_sse.cc const int rem = len % 4; len 28 media/base/simd/vector_math_sse.cc const int last_index = len - rem; len 36 media/base/simd/vector_math_sse.cc for (int i = last_index; i < len; ++i) len 49 media/base/simd/vector_math_sse.cc float initial_value, const float src[], int len, float smoothing_factor) { len 62 media/base/simd/vector_math_sse.cc const int rem = len % 4; len 63 media/base/simd/vector_math_sse.cc const int last_index = len - rem; len 106 media/base/simd/vector_math_sse.cc for (; i < len; ++i) { len 37 media/base/vector_math.cc typedef void (*MathProc)(const float src[], float scale, int len, float dest[]); len 41 media/base/vector_math.cc float initial_value, const float src[], int len, float smoothing_factor); len 67 media/base/vector_math.cc void FMAC(const float src[], float scale, int len, float dest[]) { len 71 media/base/vector_math.cc return FMAC_FUNC(src, scale, len, dest); len 74 media/base/vector_math.cc void FMAC_C(const float src[], float scale, int len, float dest[]) { len 75 media/base/vector_math.cc for (int i = 0; i < len; ++i) len 79 media/base/vector_math.cc void FMUL(const float src[], float scale, int len, float dest[]) { len 83 media/base/vector_math.cc return FMUL_FUNC(src, scale, len, dest); len 86 media/base/vector_math.cc void FMUL_C(const float src[], float scale, int len, float dest[]) { len 87 media/base/vector_math.cc for (int i = 0; i < len; ++i) len 91 media/base/vector_math.cc void Crossfade(const float src[], int len, float dest[]) { len 93 media/base/vector_math.cc const float cf_increment = 1.0f / len; len 94 media/base/vector_math.cc for (int i = 0; i < len; ++i, cf_ratio += cf_increment) len 99 media/base/vector_math.cc float initial_value, const float src[], int len, float smoothing_factor) { len 102 media/base/vector_math.cc return EWMAAndMaxPower_FUNC(initial_value, src, len, smoothing_factor); len 106 media/base/vector_math.cc float initial_value, const float src[], int len, float smoothing_factor) { len 109 media/base/vector_math.cc for (int i = 0; i < len; ++i) { len 120 media/base/vector_math.cc void FMAC_NEON(const float src[], float scale, int len, float dest[]) { len 121 media/base/vector_math.cc const int rem = len % 4; len 122 media/base/vector_math.cc const int last_index = len - rem; len 130 media/base/vector_math.cc for (int i = last_index; i < len; ++i) len 134 media/base/vector_math.cc void FMUL_NEON(const float src[], float scale, int len, float dest[]) { len 135 media/base/vector_math.cc const int rem = len % 4; len 136 media/base/vector_math.cc const int last_index = len - rem; len 142 media/base/vector_math.cc for (int i = last_index; i < len; ++i) len 147 media/base/vector_math.cc float initial_value, const float src[], int len, float smoothing_factor) { len 160 media/base/vector_math.cc const int rem = len % 4; len 161 media/base/vector_math.cc const int last_index = len - rem; len 200 media/base/vector_math.cc for (; i < len; ++i) { len 25 media/base/vector_math.h MEDIA_EXPORT void FMAC(const float src[], float scale, int len, float dest[]); len 29 media/base/vector_math.h MEDIA_EXPORT void FMUL(const float src[], float scale, int len, float dest[]); len 39 media/base/vector_math.h float initial_value, const float src[], int len, float smoothing_factor); len 41 media/base/vector_math.h MEDIA_EXPORT void Crossfade(const float src[], int len, float dest[]); len 59 media/base/vector_math_perftest.cc int len, len 64 media/base/vector_math_perftest.cc fn(0.5f, input_vector_.get(), len, 0.1f); len 17 media/base/vector_math_testing.h MEDIA_EXPORT void FMAC_C(const float src[], float scale, int len, float dest[]); len 18 media/base/vector_math_testing.h MEDIA_EXPORT void FMUL_C(const float src[], float scale, int len, float dest[]); len 20 media/base/vector_math_testing.h float initial_value, const float src[], int len, float smoothing_factor); len 23 media/base/vector_math_testing.h MEDIA_EXPORT void FMAC_SSE(const float src[], float scale, int len, len 25 media/base/vector_math_testing.h MEDIA_EXPORT void FMUL_SSE(const float src[], float scale, int len, len 28 media/base/vector_math_testing.h float initial_value, const float src[], int len, float smoothing_factor); len 32 media/base/vector_math_testing.h MEDIA_EXPORT void FMAC_NEON(const float src[], float scale, int len, len 34 media/base/vector_math_testing.h MEDIA_EXPORT void FMUL_NEON(const float src[], float scale, int len, len 37 media/base/vector_math_testing.h float initial_value, const float src[], int len, float smoothing_factor); len 153 media/base/vector_math_unittest.cc EWMATestScenario(float initial_value, const float src[], int len, len 157 media/base/vector_math_unittest.cc len == 0 ? NULL : len 158 media/base/vector_math_unittest.cc base::AlignedAlloc(len * sizeof(float), len 160 media/base/vector_math_unittest.cc data_len_(len), len 165 media/base/vector_math_unittest.cc memcpy(data_.get(), src, len * sizeof(float)); len 88 media/cast/audio_receiver/audio_decoder.cc virtual scoped_ptr<AudioBus> Decode(uint8* data, int len) = 0; len 140 media/cast/audio_receiver/audio_decoder.cc virtual scoped_ptr<AudioBus> Decode(uint8* data, int len) OVERRIDE { len 143 media/cast/audio_receiver/audio_decoder.cc opus_decoder_, data, len, buffer_.get(), max_samples_per_frame_, 0); len 191 media/cast/audio_receiver/audio_decoder.cc virtual scoped_ptr<AudioBus> Decode(uint8* data, int len) OVERRIDE { len 193 media/cast/audio_receiver/audio_decoder.cc const int num_samples = len / sizeof(int16) / num_channels_; len 458 media/cast/rtcp/rtcp_utility.cc uint8 len; len 459 media/cast/rtcp/rtcp_utility.cc big_endian_reader.ReadU8(&len); len 463 media/cast/rtcp/rtcp_utility.cc if (big_endian_reader.remaining() < len) { len 469 media/cast/rtcp/rtcp_utility.cc for (; i < len; ++i) { len 485 media/cast/rtcp/rtcp_utility.cc big_endian_reader.Skip(len); len 56 media/cast/test/utility/audio_utility.cc int CountZeroCrossings(const float* samples, int len) { len 64 media/cast/test/utility/audio_utility.cc for (; i < len && fabsf(last) < kAmplitudeThreshold; ++i) len 66 media/cast/test/utility/audio_utility.cc for (; i < len; ++i) { len 59 media/cast/test/utility/audio_utility.h int CountZeroCrossings(const float* samples, int len); len 450 media/cast/test/utility/udp_proxy.cc int len) { len 451 media/cast/test/utility/udp_proxy.cc DCHECK_NE(len, net::ERR_IO_PENDING); len 452 media/cast/test/utility/udp_proxy.cc VLOG(1) << "Got packet, len = " << len; len 453 media/cast/test/utility/udp_proxy.cc if (len < 0) { len 454 media/cast/test/utility/udp_proxy.cc LOG(WARNING) << "Socket read error: " << len; len 457 media/cast/test/utility/udp_proxy.cc packet_->resize(len); len 468 media/cast/test/utility/udp_proxy.cc int len) { len 469 media/cast/test/utility/udp_proxy.cc ProcessPacket(recv_buf, len); len 478 media/cast/test/utility/udp_proxy.cc int len = socket_->RecvFrom( len 485 media/cast/test/utility/udp_proxy.cc if (len == net::ERR_IO_PENDING) len 487 media/cast/test/utility/udp_proxy.cc ProcessPacket(recv_buf, len); len 291 media/cdm/ppapi/cdm_adapter.cc PP_DCHECK(0 < url_components.host.len); len 195 media/cdm/ppapi/cdm_file_io_impl.cc file_id_.append(url, components.scheme.begin, components.scheme.len); len 197 media/cdm/ppapi/cdm_file_io_impl.cc file_id_.append(url, components.host.begin, components.host.len); len 199 media/cdm/ppapi/cdm_file_io_impl.cc file_id_.append(url, components.port.begin, components.port.len); len 235 media/filters/chunk_demuxer_unittest.cc const int len = strlen(str); len 236 media/filters/chunk_demuxer_unittest.cc DCHECK_EQ(len, 32); len 238 media/filters/chunk_demuxer_unittest.cc text_track_entry = DecoderBuffer::CopyFrom(buf, len); len 22 media/formats/webm/chromeos/ebml_writer.cc unsigned long len) { len 23 media/formats/webm/chromeos/ebml_writer.cc glob->write_cb.Run(buffer, len); len 29 media/formats/webm/chromeos/ebml_writer.cc unsigned long len) { len 30 media/formats/webm/chromeos/ebml_writer.cc glob->serialize_cb.Run(buffer, buffer_size, len); len 16 media/formats/webm/chromeos/ebml_writer.h base::Callback<void(const void* buffer, unsigned long len)> write_cb; len 17 media/formats/webm/chromeos/ebml_writer.h base::Callback<void(const void* buffer, int buffer_size, unsigned long len)> len 287 media/formats/webm/chromeos/webm_encoder.cc unsigned long len) { len 288 media/formats/webm/chromeos/webm_encoder.cc if (fwrite(buffer, 1, len, output_) != len) { len 295 media/formats/webm/chromeos/webm_encoder.cc void WebmEncoder::EbmlSerializeHelper(const T* buffer, unsigned long len) { len 296 media/formats/webm/chromeos/webm_encoder.cc for (int i = len - 1; i >= 0; i--) { len 304 media/formats/webm/chromeos/webm_encoder.cc unsigned long len) { len 307 media/formats/webm/chromeos/webm_encoder.cc return EbmlSerializeHelper(static_cast<const int8_t*>(buffer), len); len 309 media/formats/webm/chromeos/webm_encoder.cc return EbmlSerializeHelper(static_cast<const int16_t*>(buffer), len); len 311 media/formats/webm/chromeos/webm_encoder.cc return EbmlSerializeHelper(static_cast<const int32_t*>(buffer), len); len 313 media/formats/webm/chromeos/webm_encoder.cc return EbmlSerializeHelper(static_cast<const int64_t*>(buffer), len); len 315 media/formats/webm/chromeos/webm_encoder.cc NOTREACHED() << "Invalid EbmlSerialize length: " << len; len 66 media/formats/webm/chromeos/webm_encoder.h void EbmlWrite(const void* buffer, unsigned long len); len 67 media/formats/webm/chromeos/webm_encoder.h void EbmlSerialize(const void* buffer, int buffer_size, unsigned long len); len 70 media/formats/webm/chromeos/webm_encoder.h void EbmlSerializeHelper(const T* buffer, unsigned long len); len 301 media/midi/midi_manager_win.cc const size_t len = GetMidiMessageLength(status_byte); len 302 media/midi/midi_manager_win.cc if (len == 0 || port_index() == kInvalidPortIndex) len 305 media/midi/midi_manager_win.cc DCHECK_LE(len, arraysize(kData)); len 306 media/midi/midi_manager_win.cc OnMessageReceived(kData, len, elapsed_ms); len 185 media/tools/player_x11/gl_video_renderer.cc int len = 0; len 186 media/tools/player_x11/gl_video_renderer.cc glGetShaderInfoLog(vertex_shader, kErrorSize - 1, &len, log); len 202 media/tools/player_x11/gl_video_renderer.cc int len = 0; len 203 media/tools/player_x11/gl_video_renderer.cc glGetShaderInfoLog(fragment_shader, kErrorSize - 1, &len, log); len 215 media/tools/player_x11/gl_video_renderer.cc int len = 0; len 216 media/tools/player_x11/gl_video_renderer.cc glGetProgramInfoLog(program, kErrorSize - 1, &len, log); len 102 native_client_sdk/src/examples/demo/flock/flock.cc size_t len; len 112 native_client_sdk/src/examples/demo/flock/flock.cc len = fmt.width * fmt.height * fmt.channels; len 113 native_client_sdk/src/examples/demo/flock/flock.cc buffer = new uint32_t[len]; len 114 native_client_sdk/src/examples/demo/flock/flock.cc fread(buffer, 1, len, fp); len 10 native_client_sdk/src/examples/tutorial/dlopen/reverse.cc size_t len = strlen(s); len 11 native_client_sdk/src/examples/tutorial/dlopen/reverse.cc char* reversed = static_cast<char*>(malloc(len + 1)); len 12 native_client_sdk/src/examples/tutorial/dlopen/reverse.cc for (int i = len - 1; i >= 0; --i) len 13 native_client_sdk/src/examples/tutorial/dlopen/reverse.cc reversed[len - i - 1] = s[i]; len 14 native_client_sdk/src/examples/tutorial/dlopen/reverse.cc reversed[len] = 0; len 23 native_client_sdk/src/libraries/error_handling/string_stream.c int len; len 27 native_client_sdk/src/libraries/error_handling/string_stream.c len = vsnprintf(NULL, 0, format, args); len 29 native_client_sdk/src/libraries/error_handling/string_stream.c outstr = malloc(stream->length + len + 1); len 37 native_client_sdk/src/libraries/error_handling/string_stream.c stream->length += len; len 39 native_client_sdk/src/libraries/error_handling/string_stream.c return len; len 27 native_client_sdk/src/libraries/nacl_io/dbgprint.c int len = vsnprintf(NULL, 0, format, args); len 29 native_client_sdk/src/libraries/nacl_io/dbgprint.c output = alloca(len + 1); len 32 native_client_sdk/src/libraries/nacl_io/dbgprint.c vsnprintf(output, len + 1, format, args); len 182 native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc uint32_t len = static_cast<uint32_t>(count); len 183 native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc struct PP_Var val = var_intr->VarFromUtf8(var_data, len); len 16 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.cc size_t TtyEventEmitter::Read_Locked(char* data, size_t len) { len 17 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.cc size_t out_len = fifo_.Read(data, len); len 23 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.cc size_t TtyEventEmitter::Write_Locked(const char* data, size_t len) { len 24 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.cc size_t out_len = fifo_.Write(data, len); len 28 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.h size_t Read_Locked(char* data, size_t len); len 29 native_client_sdk/src/libraries/nacl_io/devfs/tty_event_emitter.h size_t Write_Locked(const char* data, size_t len); len 35 native_client_sdk/src/libraries/nacl_io/fifo_char.cc bool FIFOChar::Resize(size_t len) { len 37 native_client_sdk/src/libraries/nacl_io/fifo_char.cc if (len < avail_) len 41 native_client_sdk/src/libraries/nacl_io/fifo_char.cc char* data = new char[len]; len 47 native_client_sdk/src/libraries/nacl_io/fifo_char.cc size_ = len; len 59 native_client_sdk/src/libraries/nacl_io/fifo_char.cc size_t FIFOChar::Peek(void* buf, size_t len) { len 63 native_client_sdk/src/libraries/nacl_io/fifo_char.cc len = std::min(len, avail_); len 66 native_client_sdk/src/libraries/nacl_io/fifo_char.cc while (len > 0) { len 67 native_client_sdk/src/libraries/nacl_io/fifo_char.cc size_t read_len = std::min(len, size_ - offs); len 77 native_client_sdk/src/libraries/nacl_io/fifo_char.cc len -= read_len; len 83 native_client_sdk/src/libraries/nacl_io/fifo_char.cc size_t FIFOChar::Read(void* buf, size_t len) { len 84 native_client_sdk/src/libraries/nacl_io/fifo_char.cc size_t read_len = Peek(buf, len); len 92 native_client_sdk/src/libraries/nacl_io/fifo_char.cc size_t FIFOChar::Write(const void* buf, size_t len) { len 96 native_client_sdk/src/libraries/nacl_io/fifo_char.cc len = std::min(len, room); len 99 native_client_sdk/src/libraries/nacl_io/fifo_char.cc while (len > 0) { len 100 native_client_sdk/src/libraries/nacl_io/fifo_char.cc size_t write_len = std::min(len, size_ - offs); len 109 native_client_sdk/src/libraries/nacl_io/fifo_char.cc len -= write_len; len 26 native_client_sdk/src/libraries/nacl_io/fifo_char.h virtual bool Resize(size_t len); len 33 native_client_sdk/src/libraries/nacl_io/fifo_char.h size_t Peek(void* buf, size_t len); len 37 native_client_sdk/src/libraries/nacl_io/fifo_char.h size_t Read(void* buf, size_t len); len 41 native_client_sdk/src/libraries/nacl_io/fifo_char.h size_t Write(const void* buf, size_t len); len 24 native_client_sdk/src/libraries/nacl_io/fifo_interface.h virtual bool Resize(size_t len) = 0; len 332 native_client_sdk/src/libraries/nacl_io/host_resolver.cc uint32_t len = 0; len 333 native_client_sdk/src/libraries/nacl_io/host_resolver.cc const char* tmp = var_interface->VarToUtf8(name_var, &len); len 337 native_client_sdk/src/libraries/nacl_io/host_resolver.cc if (len > 0) { len 339 native_client_sdk/src/libraries/nacl_io/host_resolver.cc canon_name = static_cast<char*>(malloc(len+1)); len 340 native_client_sdk/src/libraries/nacl_io/host_resolver.cc strncpy(canon_name, tmp, len); len 341 native_client_sdk/src/libraries/nacl_io/host_resolver.cc canon_name[len] = '\0'; len 399 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc int len; len 400 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc error = manifest_node->Read(HandleAttr(), text, size, &len); len 404 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc text[len] = 0; len 157 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc socklen_t* len) { len 163 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc return sock->Accept(handle_attr_, new_sock, addr, len); len 166 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc Error KernelHandle::Connect(const struct sockaddr* addr, socklen_t len) { len 172 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc return sock->Connect(handle_attr_, addr, len); len 175 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc Error KernelHandle::Recv(void* buf, size_t len, int flags, int* out_len) { len 183 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc return sock->Recv(handle_attr_, buf, len, flags, out_len); len 187 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc size_t len, len 199 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc return sock->RecvFrom(handle_attr_, buf, len, flags, src_addr, addrlen, len 204 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc size_t len, len 214 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc return sock->Send(handle_attr_, buf, len, flags, out_len); len 218 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc size_t len, len 230 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc return sock->SendTo(handle_attr_, buf, len, flags, dest_addr, addrlen, len 50 native_client_sdk/src/libraries/nacl_io/kernel_handle.h Error Accept(PP_Resource* new_sock, struct sockaddr* addr, socklen_t* len); len 51 native_client_sdk/src/libraries/nacl_io/kernel_handle.h Error Connect(const struct sockaddr* addr, socklen_t len); len 56 native_client_sdk/src/libraries/nacl_io/kernel_handle.h Error Recv(void* buf, size_t len, int flags, int* out_len); len 58 native_client_sdk/src/libraries/nacl_io/kernel_handle.h size_t len, len 65 native_client_sdk/src/libraries/nacl_io/kernel_handle.h Error Send(const void* buf, size_t len, int flags, int* out_len); len 67 native_client_sdk/src/libraries/nacl_io/kernel_handle.h size_t len, len 426 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc int ki_accept(int fd, struct sockaddr* addr, socklen_t* len) { len 428 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->accept(fd, addr, len); len 431 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc int ki_bind(int fd, const struct sockaddr* addr, socklen_t len) { len 433 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->bind(fd, addr, len); len 436 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc int ki_connect(int fd, const struct sockaddr* addr, socklen_t len) { len 438 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->connect(fd, addr, len); len 457 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc int ki_getpeername(int fd, struct sockaddr* addr, socklen_t* len) { len 459 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->getpeername(fd, addr, len); len 462 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc int ki_getsockname(int fd, struct sockaddr* addr, socklen_t* len) { len 464 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->getsockname(fd, addr, len); len 467 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc int ki_getsockopt(int fd, int lvl, int optname, void* optval, socklen_t* len) { len 469 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->getsockopt(fd, lvl, optname, optval, len); len 477 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc ssize_t ki_recv(int fd, void* buf, size_t len, int flags) { len 479 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->recv(fd, buf, len, flags); len 482 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc ssize_t ki_recvfrom(int fd, void* buf, size_t len, int flags, len 485 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->recvfrom(fd, buf, len, flags, addr, addrlen); len 493 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc ssize_t ki_send(int fd, const void* buf, size_t len, int flags) { len 495 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->send(fd, buf, len, flags); len 498 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc ssize_t ki_sendto(int fd, const void* buf, size_t len, int flags, len 501 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->sendto(fd, buf, len, flags, addr, addrlen); len 510 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc socklen_t len) { len 512 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->setsockopt(fd, lvl, optname, optval, len); len 138 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h int ki_accept(int fd, struct sockaddr* addr, socklen_t* len); len 139 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h int ki_bind(int fd, const struct sockaddr* addr, socklen_t len); len 140 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h int ki_connect(int fd, const struct sockaddr* addr, socklen_t len); len 146 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h int ki_getpeername(int fd, struct sockaddr* addr, socklen_t* len); len 147 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h int ki_getsockname(int fd, struct sockaddr* addr, socklen_t* len); len 148 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h int ki_getsockopt(int fd, int lvl, int optname, void* optval, socklen_t* len); len 150 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h ssize_t ki_recv(int fd, void* buf, size_t len, int flags); len 151 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h ssize_t ki_recvfrom(int fd, void* buf, size_t len, int flags, len 154 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h ssize_t ki_send(int fd, const void* buf, size_t len, int flags); len 155 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h ssize_t ki_sendto(int fd, const void* buf, size_t len, int flags, len 159 native_client_sdk/src/libraries/nacl_io/kernel_intercept.h socklen_t len); len 73 native_client_sdk/src/libraries/nacl_io/kernel_object.cc for (size_t len = 0; len < abs_parts.Size(); len++) { len 74 native_client_sdk/src/libraries/nacl_io/kernel_object.cc FsMap_t::iterator it = filesystems_.find(abs_parts.Range(0, max - len)); len 77 native_client_sdk/src/libraries/nacl_io/kernel_object.cc rel_parts->Append(abs_parts.Range(max - len, max)); len 660 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int KernelProxy::truncate(const char* path, off_t len) { len 665 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int result = ftruncate(fd, len); len 1199 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int KernelProxy::accept(int fd, struct sockaddr* addr, socklen_t* len) { len 1200 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc if (NULL == addr || NULL == len) { len 1213 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc error = handle->Accept(&new_sock, addr, len); len 1241 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int KernelProxy::bind(int fd, const struct sockaddr* addr, socklen_t len) { len 1251 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc Error err = handle->socket_node()->Bind(addr, len); len 1260 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int KernelProxy::connect(int fd, const struct sockaddr* addr, socklen_t len) { len 1273 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc error = handle->Connect(addr, len); len 1296 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int KernelProxy::getpeername(int fd, struct sockaddr* addr, socklen_t* len) { len 1297 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc if (NULL == addr || NULL == len) { len 1306 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc Error err = handle->socket_node()->GetPeerName(addr, len); len 1315 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int KernelProxy::getsockname(int fd, struct sockaddr* addr, socklen_t* len) { len 1316 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc if (NULL == addr || NULL == len) { len 1325 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc Error err = handle->socket_node()->GetSockName(addr, len); len 1338 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc socklen_t* len) { len 1339 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc if (NULL == optval || NULL == len) { len 1348 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc Error err = handle->socket_node()->GetSockOpt(lvl, optname, optval, len); len 1373 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc size_t len, len 1388 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc error = handle->Recv(buf, len, flags, &out_len); len 1399 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc size_t len, len 1405 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc return recv(fd, buf, len, flags); len 1421 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc error = handle->RecvFrom(buf, len, flags, addr, addrlen, &out_len); len 1444 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc ssize_t KernelProxy::send(int fd, const void* buf, size_t len, int flags) { len 1458 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc error = handle->Send(buf, len, flags, &out_len); len 1469 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc size_t len, len 1475 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc return send(fd, buf, len, flags); len 1491 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc error = handle->SendTo(buf, len, flags, addr, addrlen, &out_len); len 1518 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc socklen_t len) { len 1528 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc Error err = handle->socket_node()->SetSockOpt(lvl, optname, optval, len); len 130 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual int truncate(const char* path, off_t len); len 164 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual int accept(int fd, struct sockaddr* addr, socklen_t* len); len 165 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual int bind(int fd, const struct sockaddr* addr, socklen_t len); len 166 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual int connect(int fd, const struct sockaddr* addr, socklen_t len); len 172 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual int getpeername(int fd, struct sockaddr* addr, socklen_t* len); len 173 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual int getsockname(int fd, struct sockaddr* addr, socklen_t* len); len 178 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h socklen_t* len); len 182 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h size_t len, len 186 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h size_t len, len 191 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual ssize_t send(int fd, const void* buf, size_t len, int flags); len 194 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h size_t len, len 203 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h socklen_t len); len 109 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h int accept(int fd, struct sockaddr* addr, socklen_t* len); len 110 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h int bind(int fd, const struct sockaddr* addr, socklen_t len); len 111 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h int connect(int fd, const struct sockaddr* addr, socklen_t len); len 113 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h int getpeername(int fd, struct sockaddr* addr, socklen_t* len); len 114 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h int getsockname(int fd, struct sockaddr* addr, socklen_t* len); len 115 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h int getsockopt(int fd, int lvl, int optname, void* optval, socklen_t* len); len 117 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h ssize_t recv(int fd, void* buf, size_t len, int flags); len 118 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h ssize_t recvfrom(int fd, void* buf, size_t len, int flags, len 121 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h ssize_t send(int fd, const void* buf, size_t len, int flags); len 122 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h ssize_t sendto(int fd, const void* buf, size_t len, int flags, len 126 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h socklen_t len); len 326 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int WRAP(truncate)(const char *name, int64_t len) { len 327 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc return (ki_truncate(name, len)) ? errno : 0; len 492 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int _real_truncate(const char* pathname, int64_t len) { len 494 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc return REAL(truncate)(pathname, len); len 206 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc int WRAP(getcwd)(char* pathname, size_t len) { len 207 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc char* rtn = ki_getcwd(pathname, len); len 16 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.cc size_t PipeEventEmitter::Read_Locked(char* data, size_t len) { len 17 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.cc size_t out_len = fifo_.Read(data, len); len 23 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.cc size_t PipeEventEmitter::Write_Locked(const char* data, size_t len) { len 24 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.cc size_t out_len = fifo_.Write(data, len); len 27 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.h size_t Read_Locked(char* data, size_t len); len 28 native_client_sdk/src/libraries/nacl_io/pipe/pipe_event_emitter.h size_t Write_Locked(const char* data, size_t len); len 25 native_client_sdk/src/libraries/nacl_io/socket/fifo_packet.cc bool FIFOPacket::Resize(size_t len) { len 26 native_client_sdk/src/libraries/nacl_io/socket/fifo_packet.cc max_bytes_ = len; len 55 native_client_sdk/src/libraries/nacl_io/socket/fifo_packet.cc cur_bytes_ -= out->len(); len 60 native_client_sdk/src/libraries/nacl_io/socket/fifo_packet.cc cur_bytes_ += packet->len(); len 35 native_client_sdk/src/libraries/nacl_io/socket/fifo_packet.h virtual bool Resize(size_t len); len 22 native_client_sdk/src/libraries/nacl_io/socket/packet.cc void Packet::Take(const void* buffer, size_t len, PP_Resource addr) { len 24 native_client_sdk/src/libraries/nacl_io/socket/packet.cc len_ = len; len 28 native_client_sdk/src/libraries/nacl_io/socket/packet.cc void Packet::Copy(const void* buffer, size_t len, PP_Resource addr) { len 30 native_client_sdk/src/libraries/nacl_io/socket/packet.cc len_ = len; len 31 native_client_sdk/src/libraries/nacl_io/socket/packet.cc buffer_ = new char[len]; len 33 native_client_sdk/src/libraries/nacl_io/socket/packet.cc memcpy(buffer_, buffer, len); len 25 native_client_sdk/src/libraries/nacl_io/socket/packet.h void Copy(const void* buffer, size_t len, PP_Resource addr); len 28 native_client_sdk/src/libraries/nacl_io/socket/packet.h void Take(const void* buffer, size_t len, PP_Resource addr); len 32 native_client_sdk/src/libraries/nacl_io/socket/packet.h size_t len() { return len_; } len 108 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc socklen_t len) { len 116 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc if (len != sizeof(sockaddr_in)) len 132 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc if (len != sizeof(sockaddr_in6)) len 147 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc socklen_t len, len 160 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc memcpy(out_addr, &addr4, len); len 171 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc memcpy(out_addr, &addr6, len); len 202 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc socklen_t* len) { len 208 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc socklen_t len) { len 209 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc if (len < 1) len 223 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc socklen_t* len) { len 259 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc int copy_bytes = std::min(value_len, *len); len 261 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc *len = value_len; len 268 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc socklen_t len) { len 269 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc size_t buflen = static_cast<size_t>(len); len 314 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc Error SocketNode::Bind(const struct sockaddr* addr, socklen_t len) { len 320 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc size_t len, len 323 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc return RecvFrom(attr, buf, len, flags, NULL, 0, out_len); len 328 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc size_t len, len 334 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc Error err = RecvHelper(attr, buf, len, flags, &addr, out_len); len 347 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc size_t len, len 370 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc err = Recv_Locked(buf, len, addr, out_len); len 380 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc size_t len, len 383 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc return SendHelper(attr, buf, len, flags, remote_addr_, out_len); len 388 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc size_t len, len 400 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc Error err = SendHelper(attr, buf, len, flags, addr, out_len); len 407 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc size_t len, len 431 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc err = Send_Locked(buf, len, addr, out_len); len 447 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc Error SocketNode::GetPeerName(struct sockaddr* addr, socklen_t* len) { len 448 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc if (NULL == addr || NULL == len) len 453 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc *len = ResourceToSockAddr(remote_addr_, *len, addr); len 460 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc Error SocketNode::GetSockName(struct sockaddr* addr, socklen_t* len) { len 461 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc if (NULL == addr || NULL == len) len 468 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc memset(addr, 0, *len); len 472 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc *len = ResourceToSockAddr(local_addr_, *len, addr); len 50 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h virtual Error GetSockOpt(int lvl, int optname, void* optval, socklen_t* len); len 54 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h socklen_t len); len 68 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h socklen_t* len); len 69 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h virtual Error Bind(const struct sockaddr* addr, socklen_t len); len 72 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h socklen_t len); len 76 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h size_t len, len 81 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h size_t len, len 88 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h size_t len, len 93 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h size_t len, len 101 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h virtual Error GetPeerName(struct sockaddr* addr, socklen_t* len); len 102 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h virtual Error GetSockName(struct sockaddr* addr, socklen_t* len); len 117 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h size_t len, len 125 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h size_t len, len 132 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h size_t len, len 137 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h size_t len, len 145 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h PP_Resource SockAddrToResource(const struct sockaddr* addr, socklen_t len); len 147 native_client_sdk/src/libraries/nacl_io/socket/socket_node.h socklen_t len, len 23 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t TcpEventEmitter::ReadIn_Locked(char* data, uint32_t len) { len 24 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t count = in_fifo_.Read(data, len); len 49 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t TcpEventEmitter::WriteIn_Locked(const char* data, uint32_t len) { len 50 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t count = in_fifo_.Write(data, len); len 56 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t TcpEventEmitter::ReadOut_Locked(char* data, uint32_t len) { len 57 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t count = out_fifo_.Read(data, len); len 63 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t TcpEventEmitter::WriteOut_Locked(const char* data, uint32_t len) { len 64 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.cc uint32_t count = out_fifo_.Write(data, len); len 27 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.h uint32_t ReadIn_Locked(char* buffer, uint32_t len); len 28 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.h uint32_t WriteIn_Locked(const char* buffer, uint32_t len); len 30 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.h uint32_t ReadOut_Locked(char* buffer, uint32_t len); len 31 native_client_sdk/src/libraries/nacl_io/socket/tcp_event_emitter.h uint32_t WriteOut_Locked(const char* buffer, uint32_t len); len 317 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc Error TcpNode::GetSockOpt(int lvl, int optname, void* optval, socklen_t* len) { len 322 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc int copy_bytes = std::min(value_len, *len); len 324 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc *len = value_len; len 328 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc return SocketNode::GetSockOpt(lvl, optname, optval, len); len 346 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc socklen_t len) { len 348 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc if (static_cast<size_t>(len) < sizeof(int)) len 355 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc return SocketNode::SetSockOpt(lvl, optname, optval, len); len 390 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc socklen_t* len) { len 414 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc *len = ResourceToSockAddr(remote_addr, *len, addr); len 425 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc Error TcpNode::Bind(const struct sockaddr* addr, socklen_t len) { len 432 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc local_addr_ = SockAddrToResource(addr, len); len 448 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc socklen_t len) { len 457 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc remote_addr_ = SockAddrToResource(addr, len); len 531 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc size_t len, len 535 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc *out_len = emitter_->ReadIn_Locked((char*)buf, len); len 545 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc size_t len, len 551 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc *out_len = emitter_->WriteOut_Locked((char*)buf, len); len 40 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.h socklen_t* len); len 41 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.h virtual Error Bind(const struct sockaddr* addr, socklen_t len); len 44 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.h socklen_t len); len 45 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.h virtual Error GetSockOpt(int lvl, int optname, void* optval, socklen_t* len); len 50 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.h socklen_t len); len 60 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.h size_t len, len 65 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.h size_t len, len 61 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc packet_->len(), len 197 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc Error UdpNode::Bind(const struct sockaddr* addr, socklen_t len) { len 205 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc PP_Resource out_addr = SockAddrToResource(addr, len); len 230 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc socklen_t len) { len 240 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc remote_addr_ = SockAddrToResource(addr, len); len 248 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc size_t len, len 256 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc int capped_len = static_cast<int32_t>(std::min<int>(len, packet->len())); len 275 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc size_t len, len 291 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc int capped_len = static_cast<int32_t>(std::min<int>(len, kMaxPacketSize)); len 33 native_client_sdk/src/libraries/nacl_io/socket/udp_node.h virtual Error Bind(const struct sockaddr* addr, socklen_t len); len 36 native_client_sdk/src/libraries/nacl_io/socket/udp_node.h socklen_t len); len 40 native_client_sdk/src/libraries/nacl_io/socket/udp_node.h size_t len, len 45 native_client_sdk/src/libraries/nacl_io/socket/udp_node.h size_t len, len 10 native_client_sdk/src/libraries/nacl_io/syscalls/accept.c int accept(int fd, struct sockaddr* addr, socklen_t* len) { len 11 native_client_sdk/src/libraries/nacl_io/syscalls/accept.c return ki_accept(fd, addr, len); len 10 native_client_sdk/src/libraries/nacl_io/syscalls/bind.c int bind(int fd, const struct sockaddr* addr, socklen_t len) { len 11 native_client_sdk/src/libraries/nacl_io/syscalls/bind.c return ki_bind(fd, addr, len); len 10 native_client_sdk/src/libraries/nacl_io/syscalls/connect.c int connect(int fd, const struct sockaddr* addr, socklen_t len) { len 11 native_client_sdk/src/libraries/nacl_io/syscalls/connect.c return ki_connect(fd, addr, len); len 10 native_client_sdk/src/libraries/nacl_io/syscalls/getpeername.c int getpeername(int fd, struct sockaddr* addr, socklen_t* len) { len 11 native_client_sdk/src/libraries/nacl_io/syscalls/getpeername.c return ki_getpeername(fd, addr, len); len 10 native_client_sdk/src/libraries/nacl_io/syscalls/getsockname.c int getsockname(int fd, struct sockaddr* addr, socklen_t* len) { len 11 native_client_sdk/src/libraries/nacl_io/syscalls/getsockname.c return ki_getsockname(fd, addr, len); len 10 native_client_sdk/src/libraries/nacl_io/syscalls/getsockopt.c int getsockopt(int fd, int lvl, int optname, void* optval, socklen_t* len) { len 11 native_client_sdk/src/libraries/nacl_io/syscalls/getsockopt.c return ki_getsockopt(fd, lvl, optname, optval, len); len 12 native_client_sdk/src/libraries/nacl_io/syscalls/readlink.c int readlink(const char* pathname, char* buf, int len) { len 13 native_client_sdk/src/libraries/nacl_io/syscalls/readlink.c return ki_readlink(pathname, buf, len); len 10 native_client_sdk/src/libraries/nacl_io/syscalls/recv.c ssize_t recv(int fd, void* buf, size_t len, int flags) { len 11 native_client_sdk/src/libraries/nacl_io/syscalls/recv.c return ki_recv(fd, buf, len, flags); len 10 native_client_sdk/src/libraries/nacl_io/syscalls/recvfrom.c ssize_t recvfrom(int fd, void* buf, size_t len, int flags, len 12 native_client_sdk/src/libraries/nacl_io/syscalls/recvfrom.c return ki_recvfrom(fd, buf, len, flags, addr, addrlen); len 10 native_client_sdk/src/libraries/nacl_io/syscalls/send.c ssize_t send(int fd, const void* buf, size_t len, int flags) { len 11 native_client_sdk/src/libraries/nacl_io/syscalls/send.c return ki_send(fd, buf, len, flags); len 10 native_client_sdk/src/libraries/nacl_io/syscalls/sendto.c ssize_t sendto(int fd, const void* buf, size_t len, int flags, len 12 native_client_sdk/src/libraries/nacl_io/syscalls/sendto.c return ki_sendto(fd, buf, len, flags, addr, addrlen); len 11 native_client_sdk/src/libraries/nacl_io/syscalls/setsockopt.c socklen_t len) { len 12 native_client_sdk/src/libraries/nacl_io/syscalls/setsockopt.c return ki_setsockopt(fd, lvl, optname, optval, len); len 438 native_client_sdk/src/libraries/xray/xray.c int len = strlen(dst); len 439 native_client_sdk/src/libraries/xray/xray.c se->annotation_index += len; len 470 native_client_sdk/src/libraries/xray/xray.c int len = strlen(dst); len 471 native_client_sdk/src/libraries/xray/xray.c se->annotation_index += len; len 317 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc int len = ki_sendto(sock1_, outbuf, sizeof(outbuf), MSG_DONTWAIT, len 320 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc if (len <= 0) { len 321 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc EXPECT_EQ(-1, len); len 326 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc if (len >= 0) { len 327 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc EXPECT_EQ(sizeof(outbuf), len); len 328 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc total += len; len 399 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc socklen_t len = sizeof(socket_error); len 404 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc &socket_error, &len)); len 406 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(sizeof(socket_error), len); len 409 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(-1, ki_getsockopt(sock1_, SOL_SOCKET, -1, &socket_error, &len)); len 419 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc socklen_t len = sizeof(socket_error); len 421 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc &socket_error, len)); len 427 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc socklen_t len = sizeof(option); len 430 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(-1, ki_setsockopt(sock1_, IPPROTO_TCP, TCP_NODELAY, &option, len)); len 432 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(-1, ki_getsockopt(sock1_, IPPROTO_TCP, TCP_NODELAY, &option, &len)); len 437 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_getsockopt(sock2_, IPPROTO_TCP, TCP_NODELAY, &option, &len)); len 439 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(sizeof(option), len); len 442 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc len = sizeof(option); len 443 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_setsockopt(sock2_, IPPROTO_TCP, TCP_NODELAY, &option, len)) len 455 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc socklen_t len = sizeof(value); len 456 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_getsockopt(sock1_, SOL_SOCKET, SO_KEEPALIVE, &value, &len)); len 458 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(sizeof(int), len); len 470 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc socklen_t len = sizeof(linger); len 471 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_getsockopt(sock1_, SOL_SOCKET, SO_LINGER, &linger, &len)); len 474 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(sizeof(struct linger), len); len 475 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_getsockopt(sock2_, SOL_SOCKET, SO_LINGER, &linger, &len)); len 478 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(sizeof(struct linger), len); len 482 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc len = sizeof(linger); len 483 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_setsockopt(sock1_, SOL_SOCKET, SO_LINGER, &linger, len)); len 486 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_setsockopt(sock2_, SOL_SOCKET, SO_LINGER, &linger, len)); len 488 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc len = sizeof(linger); len 489 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_getsockopt(sock1_, SOL_SOCKET, SO_LINGER, &linger, &len)); len 492 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(sizeof(struct linger), len); len 493 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_getsockopt(sock2_, SOL_SOCKET, SO_LINGER, &linger, &len)); len 496 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(sizeof(struct linger), len); len 501 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc socklen_t len = sizeof(value); len 505 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_setsockopt(sock1_, SOL_SOCKET, SO_REUSEADDR, &value, len)); len 508 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc len = sizeof(value); len 509 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_getsockopt(sock1_, SOL_SOCKET, SO_REUSEADDR, &value, &len)); len 511 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(sizeof(int), len); len 411 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc uint32_t len; len 412 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc const char* url = var_interface_->VarToUtf8(value, &len); len 424 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc uint32_t len; len 425 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc const char* url = var_interface_->VarToUtf8(value, &len); len 437 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc uint32_t len; len 438 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc const char* url = var_interface_->VarToUtf8(value, &len); len 12 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_interface.cc PP_Var FakeVarInterface::VarFromUtf8(const char* data, uint32_t len) { len 15 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_interface.cc var_data->string_value.assign(data, len); len 21 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_var_interface.h virtual PP_Var VarFromUtf8(const char* data, uint32_t len); len 78 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc int len; len 79 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(0, root->GetDents(0, dirs, sizeof(dirs), &len)); len 81 native_client_sdk/src/tests/nacl_io_test/filesystem_test.cc EXPECT_EQ(3 * sizeof(struct dirent), len); len 119 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc uint32_t len = 0; len 120 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc const char* item0_string = var_iface->VarToUtf8(item0, &len); len 121 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc ASSERT_STREQ("jspipe1", std::string(item0_string, len).c_str()); len 161 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc uint32_t len = 0; len 162 native_client_sdk/src/tests/nacl_io_test/jspipe_test.cc ASSERT_STREQ("jspipe1", var_iface->VarToUtf8(item0, &len)); len 345 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc int len; len 386 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc len = ki_read(fd3, text, sizeof(text)); len 387 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc ASSERT_EQ(5, len); len 388 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc text[len] = 0; len 397 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc len = ki_read(fd3, text, sizeof(text)); len 398 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc ASSERT_EQ(5, len); len 399 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc text[len] = 0; len 404 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc len = ki_read(fd2, text, sizeof(text)); len 405 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc if (len > 0) len 406 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc text[len] = 0; len 407 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_EQ(10, len); len 580 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc socklen_t len; len 581 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, accept(kDummyInt, &addr, &len)) len 583 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(kDummyInt2, accept(kDummyInt, &addr, &len)); len 608 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc socklen_t len; len 609 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, getpeername(kDummyInt, &addr, &len)) len 611 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(kDummyInt2, getpeername(kDummyInt, &addr, &len)); len 616 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc socklen_t len; len 617 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, getsockname(kDummyInt, &addr, &len)) len 619 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(kDummyInt2, getsockname(kDummyInt, &addr, &len)); len 625 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc socklen_t len; len 627 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc mock, getsockopt(kDummyInt, kDummyInt2, kDummyInt3, dummy_void_ptr, &len)) len 631 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc getsockopt(kDummyInt, kDummyInt2, kDummyInt3, dummy_void_ptr, &len)); len 652 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc socklen_t len; len 655 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc recvfrom(kDummyInt, dummy_void_ptr, kDummyInt2, kDummyInt3, &addr, &len)) len 659 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc recvfrom(kDummyInt, dummy_void_ptr, kDummyInt2, kDummyInt3, &addr, &len)); len 17 native_client_sdk/src/tests/nacl_io_test/signal_test.cc EXPECT_LT(ki_kill(123, NULL, &len), 0); len 51 native_client_sdk/src/tests/nacl_io_test/socket_test.cc socklen_t len = 0; len 53 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_accept(123, NULL, &len), 0); len 59 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_accept(-1, &addr, &len), 0); len 61 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_accept(0, &addr, &len), 0); len 67 native_client_sdk/src/tests/nacl_io_test/socket_test.cc socklen_t len = 0; len 69 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_bind(123, NULL, len), 0); len 71 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_bind(-1, &const_addr, len), 0); len 73 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_bind(0, &const_addr, len), 0); len 79 native_client_sdk/src/tests/nacl_io_test/socket_test.cc socklen_t len = 0; len 81 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_connect(123, NULL, len), 0); len 83 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_connect(-1, &const_addr, len), 0); len 85 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_connect(0, &const_addr, len), 0); len 91 native_client_sdk/src/tests/nacl_io_test/socket_test.cc socklen_t len = 0; len 93 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_getpeername(123, NULL, &len), 0); len 99 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_getpeername(-1, &addr, &len), 0); len 101 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_getpeername(0, &addr, &len), 0); len 107 native_client_sdk/src/tests/nacl_io_test/socket_test.cc socklen_t len = 0; len 109 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_getsockname(123, NULL, &len), 0); len 115 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_getsockname(-1, &addr, &len), 0); len 117 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_getsockname(0, &addr, &len), 0); len 122 native_client_sdk/src/tests/nacl_io_test/socket_test.cc socklen_t len = 10; len 123 native_client_sdk/src/tests/nacl_io_test/socket_test.cc char optval[len]; len 127 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_getsockopt(123, SOL_SOCKET, SO_ACCEPTCONN, NULL, &len), 0); len 131 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_getsockopt(-1, SOL_SOCKET, SO_ACCEPTCONN, optval, &len), 0); len 133 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_getsockopt(0, SOL_SOCKET, SO_ACCEPTCONN, optval, &len), 0); len 145 native_client_sdk/src/tests/nacl_io_test/socket_test.cc size_t len = 10; len 146 native_client_sdk/src/tests/nacl_io_test/socket_test.cc char buf[len]; len 148 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_recv(123, NULL, len, 0), 0); len 150 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_recv(-1, buf, len, 0), 0); len 152 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_recv(0, buf, len, 0), 0); len 157 native_client_sdk/src/tests/nacl_io_test/socket_test.cc size_t len = 10; len 158 native_client_sdk/src/tests/nacl_io_test/socket_test.cc char buf[len]; len 162 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_recvfrom(123, NULL, len, 0, &addr, &addrlen), 0); len 164 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_recvfrom(123, buf, len, 0, &addr, NULL), 0); len 166 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_recvfrom(-1, buf, len, 0, &addr, &addrlen), 0); len 168 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_recvfrom(0, buf, len, 0, &addr, &addrlen), 0); len 184 native_client_sdk/src/tests/nacl_io_test/socket_test.cc size_t len = 10; len 185 native_client_sdk/src/tests/nacl_io_test/socket_test.cc char buf[len]; len 187 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_send(123, NULL, len, 0), 0); len 189 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_send(-1, buf, len, 0), 0); len 191 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_send(0, buf, len, 0), 0); len 196 native_client_sdk/src/tests/nacl_io_test/socket_test.cc size_t len = 10; len 197 native_client_sdk/src/tests/nacl_io_test/socket_test.cc char buf[len]; len 201 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_sendto(123, NULL, len, 0, &addr, addrlen), 0); len 203 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_sendto(-1, buf, len, 0, &addr, addrlen), 0); len 205 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_LT(ki_sendto(0, buf, len, 0, &addr, addrlen), 0); len 221 native_client_sdk/src/tests/nacl_io_test/socket_test.cc socklen_t len = 10; len 222 native_client_sdk/src/tests/nacl_io_test/socket_test.cc char optval[len]; len 225 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_EQ(-1, ki_setsockopt(123, SOL_SOCKET, SO_ACCEPTCONN, NULL, len)); len 229 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_EQ(-1, ki_setsockopt(-1, SOL_SOCKET, SO_ACCEPTCONN, optval, len)); len 233 native_client_sdk/src/tests/nacl_io_test/socket_test.cc EXPECT_EQ(-1, ki_setsockopt(0, SOL_SOCKET, SO_ACCEPTCONN, optval, len)); len 335 net/android/keystore_openssl.cc int len = static_cast<int>(encoded.size()); len 336 net/android/keystore_openssl.cc sys_pkey = d2i_AutoPrivateKey(NULL, &p, len); len 150 net/android/keystore_unittest.cc int len = i2d_PKCS8_PRIV_KEY_INFO(p8_info.get(), NULL); len 151 net/android/keystore_unittest.cc unsigned char* p = OpenSSLWriteInto(pkcs8, static_cast<size_t>(len)); len 53 net/android/network_library.cc void AddTestRootCertificate(const uint8* cert, size_t len) { len 55 net/android/network_library.cc ScopedJavaLocalRef<jbyteArray> cert_array = ToJavaByteArray(env, cert, len); len 33 net/android/network_library.h void AddTestRootCertificate(const uint8* cert, size_t len); len 85 net/base/dns_util.cc size_t len = host_trimmed.length(); len 86 net/base/dns_util.cc if (len > 1 && host_trimmed[len - 1] == '.') { len 304 net/base/mime_sniffer.cc static bool MagicCmp(const char* magic_entry, const char* content, size_t len) { len 305 net/base/mime_sniffer.cc while (len) { len 310 net/base/mime_sniffer.cc --len; len 319 net/base/mime_sniffer.cc size_t len, len 321 net/base/mime_sniffer.cc while (len) { len 327 net/base/mime_sniffer.cc --len; len 336 net/base/mime_sniffer.cc const size_t len = magic_entry.magic_len; len 339 net/base/mime_sniffer.cc DCHECK_LE(len, kBytesRequiredForMagic); len 350 net/base/mime_sniffer.cc if (content_strlen >= len) { len 352 net/base/mime_sniffer.cc match = (base::strncasecmp(magic_entry.magic, content, len) == 0); len 355 net/base/mime_sniffer.cc if (size >= len) { len 357 net/base/mime_sniffer.cc match = MagicCmp(magic_entry.magic, content, len); len 359 net/base/mime_sniffer.cc match = MagicMaskCmp(magic_entry.magic, content, len, magic_entry.mask); len 651 net/base/net_util.cc new_parsed->scheme.len += kViewSourceLength; len 654 net/base/net_util.cc new_parsed->scheme.len = kViewSourceLength - 1; len 733 net/base/net_util.cc static_cast<size_t>(original_component.len)); len 751 net/base/net_util.cc output_component->len = len 1086 net/base/net_util.cc DCHECK_EQ(host_info->out_host.len, static_cast<int>(canon_host.length())); len 1442 net/base/net_util.cc if (port_component.len == 0) len 1446 net/base/net_util.cc host->assign(auth_begin + hostname_component.begin, hostname_component.len); len 1491 net/base/net_util.cc host_info.out_host.len), len 1777 net/base/net_util.cc static_cast<size_t>(parsed.username.len + parsed.password.len + 2), len 1786 net/base/net_util.cc static_cast<size_t>(nonempty_component->len + 1), 0)); len 1816 net/base/net_util.cc new_parsed->port.len = url_string.length() - new_parsed->port.begin; len 1830 net/base/net_util.cc url_string.length(), parsed.path.len, 0)); len 1859 net/base/net_util.cc int delta = -(new_parsed->scheme.len + 3); // +3 for ://. len 2660 net/base/net_util_unittest.cc formatted.substr(parsed.username.begin, parsed.username.len)); len 2662 net/base/net_util_unittest.cc formatted.substr(parsed.password.begin, parsed.password.len)); len 2664 net/base/net_util_unittest.cc formatted.substr(parsed.host.begin, parsed.host.len)); len 2666 net/base/net_util_unittest.cc formatted.substr(parsed.port.begin, parsed.port.len)); len 2668 net/base/net_util_unittest.cc formatted.substr(parsed.path.begin, parsed.path.len)); len 2670 net/base/net_util_unittest.cc formatted.substr(parsed.query.begin, parsed.query.len)); len 2672 net/base/net_util_unittest.cc formatted.substr(parsed.ref.begin, parsed.ref.len)); len 2683 net/base/net_util_unittest.cc formatted.substr(parsed.username.begin, parsed.username.len)); len 2685 net/base/net_util_unittest.cc formatted.substr(parsed.password.begin, parsed.password.len)); len 2687 net/base/net_util_unittest.cc formatted.substr(parsed.host.begin, parsed.host.len)); len 2689 net/base/net_util_unittest.cc formatted.substr(parsed.port.begin, parsed.port.len)); len 2691 net/base/net_util_unittest.cc formatted.substr(parsed.path.begin, parsed.path.len)); len 2693 net/base/net_util_unittest.cc formatted.substr(parsed.query.begin, parsed.query.len)); len 2695 net/base/net_util_unittest.cc formatted.substr(parsed.ref.begin, parsed.ref.len)); len 2708 net/base/net_util_unittest.cc formatted.substr(parsed.host.begin, parsed.host.len)); len 2710 net/base/net_util_unittest.cc formatted.substr(parsed.port.begin, parsed.port.len)); len 2712 net/base/net_util_unittest.cc formatted.substr(parsed.path.begin, parsed.path.len)); len 2714 net/base/net_util_unittest.cc formatted.substr(parsed.query.begin, parsed.query.len)); len 2716 net/base/net_util_unittest.cc formatted.substr(parsed.ref.begin, parsed.ref.len)); len 2730 net/base/net_util_unittest.cc formatted.substr(parsed.scheme.begin, parsed.scheme.len)); len 2734 net/base/net_util_unittest.cc formatted.substr(parsed.host.begin, parsed.host.len)); len 2736 net/base/net_util_unittest.cc formatted.substr(parsed.port.begin, parsed.port.len)); len 2738 net/base/net_util_unittest.cc formatted.substr(parsed.path.begin, parsed.path.len)); len 2740 net/base/net_util_unittest.cc formatted.substr(parsed.query.begin, parsed.query.len)); len 2742 net/base/net_util_unittest.cc formatted.substr(parsed.ref.begin, parsed.ref.len)); len 2757 net/base/net_util_unittest.cc formatted.substr(parsed.host.begin, parsed.host.len)); len 2759 net/base/net_util_unittest.cc formatted.substr(parsed.port.begin, parsed.port.len)); len 2761 net/base/net_util_unittest.cc formatted.substr(parsed.path.begin, parsed.path.len)); len 2763 net/base/net_util_unittest.cc formatted.substr(parsed.query.begin, parsed.query.len)); len 2765 net/base/net_util_unittest.cc formatted.substr(parsed.ref.begin, parsed.ref.len)); len 2780 net/base/net_util_unittest.cc formatted.substr(parsed.scheme.begin, parsed.scheme.len)); len 2782 net/base/net_util_unittest.cc formatted.substr(parsed.host.begin, parsed.host.len)); len 2784 net/base/net_util_unittest.cc formatted.substr(parsed.port.begin, parsed.port.len)); len 2786 net/base/net_util_unittest.cc formatted.substr(parsed.path.begin, parsed.path.len)); len 2788 net/base/net_util_unittest.cc formatted.substr(parsed.query.begin, parsed.query.len)); len 2790 net/base/net_util_unittest.cc formatted.substr(parsed.ref.begin, parsed.ref.len)); len 2809 net/base/net_util_unittest.cc formatted.substr(parsed.host.begin, parsed.host.len)); len 2811 net/base/net_util_unittest.cc formatted.substr(parsed.path.begin, parsed.path.len)); len 145 net/base/net_util_win.cc ULONG len = 0; len 148 net/base/net_util_win.cc ULONG result = GetAdaptersAddresses(AF_UNSPEC, flags, NULL, NULL, &len); len 153 net/base/net_util_win.cc scoped_ptr<char[]> buf(new char[len]); len 156 net/base/net_util_win.cc result = GetAdaptersAddresses(AF_UNSPEC, flags, NULL, adapters, &len); len 130 net/base/nss_memio.c int len; len 134 net/base/nss_memio.c len = PR_MIN(n, memio_buffer_unused_contiguous(mb)); len 135 net/base/nss_memio.c if (len > 0) { len 137 net/base/nss_memio.c memcpy(&mb->buf[mb->tail], buf, len); len 138 net/base/nss_memio.c mb->tail += len; len 141 net/base/nss_memio.c n -= len; len 142 net/base/nss_memio.c buf += len; len 143 net/base/nss_memio.c transferred += len; len 146 net/base/nss_memio.c len = PR_MIN(n, memio_buffer_unused_contiguous(mb)); len 147 net/base/nss_memio.c if (len > 0) { len 149 net/base/nss_memio.c memcpy(&mb->buf[mb->tail], buf, len); len 150 net/base/nss_memio.c mb->tail += len; len 153 net/base/nss_memio.c transferred += len; len 164 net/base/nss_memio.c int len; len 168 net/base/nss_memio.c len = PR_MIN(n, memio_buffer_used_contiguous(mb)); len 169 net/base/nss_memio.c if (len) { len 170 net/base/nss_memio.c memcpy(buf, &mb->buf[mb->head], len); len 171 net/base/nss_memio.c mb->head += len; len 174 net/base/nss_memio.c n -= len; len 175 net/base/nss_memio.c buf += len; len 176 net/base/nss_memio.c transferred += len; len 179 net/base/nss_memio.c len = PR_MIN(n, memio_buffer_used_contiguous(mb)); len 180 net/base/nss_memio.c if (len) { len 181 net/base/nss_memio.c memcpy(buf, &mb->buf[mb->head], len); len 182 net/base/nss_memio.c mb->head += len; len 185 net/base/nss_memio.c transferred += len; len 214 net/base/nss_memio.c static int PR_CALLBACK memio_Recv(PRFileDesc *fd, void *buf, PRInt32 len, len 229 net/base/nss_memio.c rv = memio_buffer_get(mb, buf, len); len 231 net/base/nss_memio.c secret->read_requested = len; len 252 net/base/nss_memio.c static int PR_CALLBACK memio_Read(PRFileDesc *fd, void *buf, PRInt32 len) len 255 net/base/nss_memio.c return memio_Recv(fd, buf, len, 0, PR_INTERVAL_NO_TIMEOUT); len 258 net/base/nss_memio.c static int PR_CALLBACK memio_Send(PRFileDesc *fd, const void *buf, PRInt32 len, len 278 net/base/nss_memio.c rv = memio_buffer_put(mb, buf, len); len 286 net/base/nss_memio.c static int PR_CALLBACK memio_Write(PRFileDesc *fd, const void *buf, PRInt32 len) len 289 net/base/nss_memio.c return memio_Send(fd, buf, len, 0, PR_INTERVAL_NO_TIMEOUT); len 55 net/base/registry_controlled_domains/effective_tld_names.cc static inline unsigned int hash (const char *str, unsigned int len); len 57 net/base/registry_controlled_domains/effective_tld_names.cc static const struct DomainRule *FindDomain (const char *str, unsigned int len); len 61 net/base/registry_controlled_domains/effective_tld_names.cc Perfect_Hash::hash (register const char *str, register unsigned int len) len 95 net/base/registry_controlled_domains/effective_tld_names.cc register int hval = len; len 13284 net/base/registry_controlled_domains/effective_tld_names.cc Perfect_Hash::FindDomain (register const char *str, register unsigned int len) len 54256 net/base/registry_controlled_domains/effective_tld_names.cc if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) len 54258 net/base/registry_controlled_domains/effective_tld_names.cc register int key = hash (str, len); len 54268 net/base/registry_controlled_domains/effective_tld_names.cc if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') len 56 net/base/registry_controlled_domains/effective_tld_names_unittest1.cc static inline unsigned int hash (const char *str, unsigned int len); len 58 net/base/registry_controlled_domains/effective_tld_names_unittest1.cc static const struct DomainRule *FindDomain (const char *str, unsigned int len); len 62 net/base/registry_controlled_domains/effective_tld_names_unittest1.cc Perfect_Hash_Test1::hash (register const char *str, register unsigned int len) len 93 net/base/registry_controlled_domains/effective_tld_names_unittest1.cc register int hval = len; len 164 net/base/registry_controlled_domains/effective_tld_names_unittest1.cc Perfect_Hash_Test1::FindDomain (register const char *str, register unsigned int len) len 198 net/base/registry_controlled_domains/effective_tld_names_unittest1.cc if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) len 200 net/base/registry_controlled_domains/effective_tld_names_unittest1.cc register int key = hash (str, len); len 210 net/base/registry_controlled_domains/effective_tld_names_unittest1.cc if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') len 51 net/base/registry_controlled_domains/effective_tld_names_unittest2.cc static inline unsigned int hash (const char *str, unsigned int len); len 53 net/base/registry_controlled_domains/effective_tld_names_unittest2.cc static const struct DomainRule *FindDomain (const char *str, unsigned int len); len 57 net/base/registry_controlled_domains/effective_tld_names_unittest2.cc Perfect_Hash_Test2::hash (register const char *str, register unsigned int len) len 88 net/base/registry_controlled_domains/effective_tld_names_unittest2.cc register int hval = len; len 126 net/base/registry_controlled_domains/effective_tld_names_unittest2.cc Perfect_Hash_Test2::FindDomain (register const char *str, register unsigned int len) len 141 net/base/registry_controlled_domains/effective_tld_names_unittest2.cc if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) len 143 net/base/registry_controlled_domains/effective_tld_names_unittest2.cc register int key = hash (str, len); len 153 net/base/registry_controlled_domains/effective_tld_names_unittest2.cc if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0') len 199 net/base/registry_controlled_domains/registry_controlled_domain.cc if ((host.len <= 0) || gurl.HostIsIPAddress()) len 202 net/base/registry_controlled_domains/registry_controlled_domain.cc gurl.possibly_invalid_spec().data() + host.begin, host.len), filter); len 231 net/base/registry_controlled_domains/registry_controlled_domain.cc if ((host1.len <= 0) || (host1.len != host2.len)) len 235 net/base/registry_controlled_domains/registry_controlled_domain.cc host1.len); len 244 net/base/registry_controlled_domains/registry_controlled_domain.cc if (host.len <= 0) len 249 net/base/registry_controlled_domains/registry_controlled_domain.cc std::string(gurl.possibly_invalid_spec().data() + host.begin, host.len), len 45 net/base/url_util.cc input.data() + key_range.begin, key_range.len); len 47 net/base/url_util.cc input.data() + value_range.begin, value_range.len); len 89 net/base/url_util.cc return url_.spec().substr(key_.begin, key_.len); len 96 net/base/url_util.cc return url_.spec().substr(value_.begin, value_.len); len 44 net/cert/asn1_util.cc size_t len = 0; len 49 net/cert/asn1_util.cc len = static_cast<size_t>(data[1]) + 2; len 57 net/cert/asn1_util.cc len = data[2]; len 59 net/cert/asn1_util.cc if (len == 0) { len 63 net/cert/asn1_util.cc len <<= 8; len 64 net/cert/asn1_util.cc len += data[3]; len 66 net/cert/asn1_util.cc if (len < 128) { len 73 net/cert/asn1_util.cc len += 2 + num_bytes; len 76 net/cert/asn1_util.cc if (in->size() < len) len 79 net/cert/asn1_util.cc *out = base::StringPiece(in->data(), len); len 80 net/cert/asn1_util.cc in->remove_prefix(len); len 286 net/cert/cert_verify_proc_nss.cc cert->derCert.len); len 298 net/cert/cert_verify_proc_nss.cc cert->serialNumber.len); len 576 net/cert/cert_verify_proc_nss.cc od.oid.len = policy_info->policyID.len; len 591 net/cert/cert_verify_proc_nss.cc CC_SHA1(cert->derPublicKey.data, cert->derPublicKey.len, hash.data()); len 594 net/cert/cert_verify_proc_nss.cc cert->derPublicKey.data, cert->derPublicKey.len); len 603 net/cert/cert_verify_proc_nss.cc CC_SHA256(cert->derPublicKey.data, cert->derPublicKey.len, hash.data()); len 606 net/cert/cert_verify_proc_nss.cc cert->derPublicKey.data, cert->derPublicKey.len); len 487 net/cert/crl_set.cc size_t len = 2 /* header len */ + header.size(); len 490 net/cert/crl_set.cc len += i->first.size() + 4 /* num serials */; len 493 net/cert/crl_set.cc len += 1 /* serial length */ + j->size(); len 498 net/cert/crl_set.cc char* out = WriteInto(&ret, len + 1 /* to include final NUL */); len 520 net/cert/crl_set.cc CHECK_EQ(off, len); len 79 net/cert/ct_log_verifier_nss.cc key_data.len = public_key.size(); len 131 net/cert/ct_log_verifier_nss.cc sig_data.len = signature.size(); len 53 net/cert/ct_objects_extractor_nss.cc der_cert.len = der_data.size(); len 113 net/cert/ct_objects_extractor_nss.cc oid_data.oid.len = oid_len; len 151 net/cert/ct_objects_extractor_nss.cc extension.len); len 201 net/cert/ct_objects_extractor_nss.cc contents.len); len 240 net/cert/ct_objects_extractor_nss.cc tbs_data.len = 0; len 249 net/cert/ct_objects_extractor_nss.cc to_be_signed->assign(reinterpret_cast<char*>(tbs_data.data), tbs_data.len); len 400 net/cert/ct_objects_extractor_nss.cc if (value1.size() != value2.len) len 402 net/cert/ct_objects_extractor_nss.cc return memcmp(value1.data(), value2.data, value2.len) == 0; len 493 net/cert/ct_objects_extractor_nss.cc encoded_issuer_pubKey->len), len 483 net/cert/ev_root_ca_metadata.cc oid_item.len = sizeof(buf); len 490 net/cert/ev_root_ca_metadata.cc od.oid.len = oid_item.len; len 29 net/cert/jwk_serializer_nss.cc if (spki->subjectPublicKey.len != (kPrime256v1PublicKeyLength + 1) * 8 || len 63 net/cert/jwk_serializer_nss.cc if (spki->algorithm.parameters.len == sizeof(kPrime256v1) && len 93 net/cert/jwk_serializer_nss.cc sec_item.len = spki_der.size(); len 107 net/cert/jwk_serializer_nss.cc if (spki->algorithm.algorithm.len == sizeof(kIdEcPublicKey) && len 144 net/cert/x509_certificate_nss.cc if (!cert_handle->derCert.len) len 147 net/cert/x509_certificate_nss.cc cert_handle->derCert.len); len 157 net/cert/x509_certificate_nss.cc return a->derCert.len == b->derCert.len && len 158 net/cert/x509_certificate_nss.cc memcmp(a->derCert.data, b->derCert.data, a->derCert.len) == 0; len 183 net/cert/x509_certificate_nss.cc der_cert.len = length; len 218 net/cert/x509_certificate_nss.cc DCHECK_NE(0U, cert->derCert.len); len 221 net/cert/x509_certificate_nss.cc cert->derCert.data, cert->derCert.len); len 239 net/cert/x509_certificate_nss.cc HASH_Update(sha1_ctx, ca_cert->derCert.data, ca_cert->derCert.len); len 259 net/cert/x509_certificate_nss.cc cert_handle->derCert.len); len 484 net/cert/x509_certificate_openssl.cc long len = static_cast<long>(it->length()); len 485 net/cert/x509_certificate_openssl.cc X509_NAME* ca_name = d2i_X509_NAME(NULL, &p, len); len 38 net/cert/x509_util_ios.cc der_cert.len = length; len 60 net/cert/x509_util_ios.cc nss_cert_handle->derCert.len); len 92 net/cert/x509_util_ios.cc DCHECK_NE(0U, cert->derCert.len); len 95 net/cert/x509_util_ios.cc CC_SHA1(cert->derCert.data, cert->derCert.len, sha1.data); len 71 net/cert/x509_util_nss.cc oid_data.oid.len = sizeof(kObCertOID); len 170 net/cert/x509_util_nss.cc cert->version.len = 1; len 209 net/cert/x509_util_nss.cc reinterpret_cast<char*>(certs[i]->data), certs[i]->len); len 235 net/cert/x509_util_nss.cc item.len = static_cast<unsigned int>(data.length()); len 276 net/cert/x509_util_nss.cc cert->derCert.len); len 362 net/cert/x509_util_nss.cc DCHECK(cert->derCert.len); len 366 net/cert/x509_util_nss.cc cert->derCert.len); len 410 net/cert/x509_util_nss.cc decode_item->len); len 444 net/cert/x509_util_nss.cc certificate->serialNumber.len); len 477 net/cert/x509_util_nss.cc name->name.other.len)); len 481 net/cert/x509_util_nss.cc name->name.other.len)); len 26 net/cert/x509_util_nss_unittest.cc der_cert.len = length; len 64 net/cert/x509_util_nss_unittest.cc signature_algorithm->len, len 66 net/cert/x509_util_nss_unittest.cc sd.signature.len / 8, // Signature is a BIT STRING, convert to bytes. len 72 net/cert/x509_util_nss_unittest.cc sd.data.len); len 309 net/cert/x509_util_openssl.cc int len = ASN1_STRING_to_UTF8(&buf, data); len 310 net/cert/x509_util_openssl.cc if (len <= 0) len 313 net/cert/x509_util_openssl.cc value->assign(reinterpret_cast<const char*>(buf), len); len 292 net/cookies/canonical_cookie.cc canon_path_component.len); len 514 net/cookies/cookie_monster_unittest.cc size_t len = it->length(); len 515 net/cookies/cookie_monster_unittest.cc DCHECK_NE(len, 0U); len 517 net/cookies/cookie_monster_unittest.cc CookiePriority priority = CharToPriority((*it)[len - 1]); len 140 net/disk_cache/blockfile/bitmap.cc int len = std::min(end - begin, kIntBits - start_offset); len 141 net/disk_cache/blockfile/bitmap.cc SetWordBits(begin, len, value); len 142 net/disk_cache/blockfile/bitmap.cc begin += len; len 293 net/disk_cache/blockfile/bitmap.cc void Bitmap::SetWordBits(int start, int len, bool value) { len 294 net/disk_cache/blockfile/bitmap.cc DCHECK_LT(len, kIntBits); len 295 net/disk_cache/blockfile/bitmap.cc DCHECK_GE(len, 0); len 296 net/disk_cache/blockfile/bitmap.cc if (!len) len 302 net/disk_cache/blockfile/bitmap.cc uint32 to_add = 0xffffffff << len; len 124 net/disk_cache/blockfile/bitmap.h void SetWordBits(int start, int len, bool value); len 107 net/disk_cache/blockfile/entry_impl.cc bool PreWrite(int offset, int len); len 113 net/disk_cache/blockfile/entry_impl.cc void Write(int offset, IOBuffer* buf, int len); len 119 net/disk_cache/blockfile/entry_impl.cc bool PreRead(int eof, int offset, int* len); len 122 net/disk_cache/blockfile/entry_impl.cc int Read(int offset, IOBuffer* buf, int len); len 143 net/disk_cache/blockfile/entry_impl.cc bool EntryImpl::UserBuffer::PreWrite(int offset, int len) { len 145 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(len, 0); len 146 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(offset + len, 0); len 153 net/disk_cache/blockfile/entry_impl.cc if (offset + len <= capacity()) len 159 net/disk_cache/blockfile/entry_impl.cc return GrowBuffer(len, kMaxBufferSize); len 161 net/disk_cache/blockfile/entry_impl.cc int required = offset - offset_ + len; len 175 net/disk_cache/blockfile/entry_impl.cc void EntryImpl::UserBuffer::Write(int offset, IOBuffer* buf, int len) { len 177 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(len, 0); len 178 net/disk_cache/blockfile/entry_impl.cc DCHECK_GE(offset + len, 0); len 190 net/disk_cache/blockfile/entry_impl.cc if (!len) len 195 net/disk_cache/blockfile/entry_impl.cc int copy_len = std::min(valid_len, len); len 198 net/disk_cache/blockfile/entry_impl.cc len -= copy_len; len 201 net/disk_cache/blockfile/entry_impl.cc if (!len) len 204 net/disk_cache/blockfile/entry_impl.cc buffer_.insert(buffer_.end(), buffer, buffer + len); len 207 net/disk_cache/blockfile/entry_impl.cc bool EntryImpl::UserBuffer::PreRead(int eof, int offset, int* len) { len 209 net/disk_cache/blockfile/entry_impl.cc DCHECK_GT(*len, 0); len 218 net/disk_cache/blockfile/entry_impl.cc *len = std::min(*len, offset_ - offset); len 219 net/disk_cache/blockfile/entry_impl.cc *len = std::min(*len, eof - offset); len 232 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::UserBuffer::Read(int offset, IOBuffer* buf, int len) { len 234 net/disk_cache/blockfile/entry_impl.cc DCHECK_GT(len, 0); len 240 net/disk_cache/blockfile/entry_impl.cc clean_bytes = std::min(offset_ - offset, len); len 242 net/disk_cache/blockfile/entry_impl.cc if (len == clean_bytes) len 243 net/disk_cache/blockfile/entry_impl.cc return len; len 245 net/disk_cache/blockfile/entry_impl.cc len -= clean_bytes; len 252 net/disk_cache/blockfile/entry_impl.cc len = std::min(len, available); len 253 net/disk_cache/blockfile/entry_impl.cc memcpy(buf->data() + clean_bytes, &buffer_[start], len); len 254 net/disk_cache/blockfile/entry_impl.cc return len + clean_bytes; len 382 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::GetAvailableRangeImpl(int64 offset, int len, int64* start) { len 387 net/disk_cache/blockfile/entry_impl.cc return sparse_->GetAvailableRange(offset, len, start); len 879 net/disk_cache/blockfile/entry_impl.cc int EntryImpl::GetAvailableRange(int64 offset, int len, int64* start, len 884 net/disk_cache/blockfile/entry_impl.cc background_queue_->GetAvailableRange(this, offset, len, start, callback); len 1365 net/disk_cache/blockfile/entry_impl.cc int len = std::min(entry_.Data()->data_size[index], kMaxBlockSize); len 1367 net/disk_cache/blockfile/entry_impl.cc user_buffers_[index]->Write(len, NULL, 0); len 1376 net/disk_cache/blockfile/entry_impl.cc !file->Read(user_buffers_[index]->Data(), len, offset, NULL, NULL)) { len 1393 net/disk_cache/blockfile/entry_impl.cc int len = entry_.Data()->data_size[index]; len 1394 net/disk_cache/blockfile/entry_impl.cc backend_->ModifyStorageSize(len - unreported_size_[index], 0); len 1395 net/disk_cache/blockfile/entry_impl.cc unreported_size_[index] = len; len 1458 net/disk_cache/blockfile/entry_impl.cc int len = user_buffers_[index]->Size(); len 1460 net/disk_cache/blockfile/entry_impl.cc if (!len && !offset) len 1464 net/disk_cache/blockfile/entry_impl.cc DCHECK_EQ(len, entry_.Data()->data_size[index]); len 1473 net/disk_cache/blockfile/entry_impl.cc if (!file->Write(user_buffers_[index]->Data(), len, offset, NULL, NULL)) len 53 net/disk_cache/blockfile/entry_impl.h int GetAvailableRangeImpl(int64 offset, int len, int64* start); len 165 net/disk_cache/blockfile/entry_impl.h virtual int GetAvailableRange(int64 offset, int len, int64* start, len 56 net/disk_cache/blockfile/entry_impl_v3.cc bool PreWrite(int offset, int len); len 62 net/disk_cache/blockfile/entry_impl_v3.cc void Write(int offset, IOBuffer* buf, int len); len 68 net/disk_cache/blockfile/entry_impl_v3.cc bool PreRead(int eof, int offset, int* len); len 71 net/disk_cache/blockfile/entry_impl_v3.cc int Read(int offset, IOBuffer* buf, int len); len 92 net/disk_cache/blockfile/entry_impl_v3.cc bool EntryImplV3::UserBuffer::PreWrite(int offset, int len) { len 94 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(len, 0); len 95 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(offset + len, 0); len 102 net/disk_cache/blockfile/entry_impl_v3.cc if (offset + len <= capacity()) len 108 net/disk_cache/blockfile/entry_impl_v3.cc return GrowBuffer(len, kMaxBufferSize); len 110 net/disk_cache/blockfile/entry_impl_v3.cc int required = offset - offset_ + len; len 124 net/disk_cache/blockfile/entry_impl_v3.cc void EntryImplV3::UserBuffer::Write(int offset, IOBuffer* buf, int len) { len 126 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(len, 0); len 127 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GE(offset + len, 0); len 139 net/disk_cache/blockfile/entry_impl_v3.cc if (!len) len 144 net/disk_cache/blockfile/entry_impl_v3.cc int copy_len = std::min(valid_len, len); len 147 net/disk_cache/blockfile/entry_impl_v3.cc len -= copy_len; len 150 net/disk_cache/blockfile/entry_impl_v3.cc if (!len) len 153 net/disk_cache/blockfile/entry_impl_v3.cc buffer_.insert(buffer_.end(), buffer, buffer + len); len 156 net/disk_cache/blockfile/entry_impl_v3.cc bool EntryImplV3::UserBuffer::PreRead(int eof, int offset, int* len) { len 158 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GT(*len, 0); len 167 net/disk_cache/blockfile/entry_impl_v3.cc *len = std::min(*len, offset_ - offset); len 168 net/disk_cache/blockfile/entry_impl_v3.cc *len = std::min(*len, eof - offset); len 181 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::UserBuffer::Read(int offset, IOBuffer* buf, int len) { len 183 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_GT(len, 0); len 189 net/disk_cache/blockfile/entry_impl_v3.cc clean_bytes = std::min(offset_ - offset, len); len 191 net/disk_cache/blockfile/entry_impl_v3.cc if (len == clean_bytes) len 192 net/disk_cache/blockfile/entry_impl_v3.cc return len; len 194 net/disk_cache/blockfile/entry_impl_v3.cc len -= clean_bytes; len 201 net/disk_cache/blockfile/entry_impl_v3.cc len = std::min(len, available); len 202 net/disk_cache/blockfile/entry_impl_v3.cc memcpy(buf->data() + clean_bytes, &buffer_[start], len); len 203 net/disk_cache/blockfile/entry_impl_v3.cc return len + clean_bytes; len 658 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::GetAvailableRange(int64 offset, int len, int64* start, len 663 net/disk_cache/blockfile/entry_impl_v3.cc background_queue_->GetAvailableRange(this, offset, len, start, callback); len 667 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImpl::GetAvailableRangeImpl(int64 offset, int len, int64* start) { len 672 net/disk_cache/blockfile/entry_impl_v3.cc return sparse_->GetAvailableRange(offset, len, start); len 1187 net/disk_cache/blockfile/entry_impl_v3.cc int len = std::min(entry_.Data()->data_size[index], kMaxBlockSize); len 1189 net/disk_cache/blockfile/entry_impl_v3.cc user_buffers_[index]->Write(len, NULL, 0); len 1198 net/disk_cache/blockfile/entry_impl_v3.cc !file->Read(user_buffers_[index]->Data(), len, offset, NULL, NULL)) { len 1215 net/disk_cache/blockfile/entry_impl_v3.cc int len = entry_.Data()->data_size[index]; len 1216 net/disk_cache/blockfile/entry_impl_v3.cc backend_->ModifyStorageSize(len - unreported_size_[index], 0); len 1217 net/disk_cache/blockfile/entry_impl_v3.cc unreported_size_[index] = len; len 1280 net/disk_cache/blockfile/entry_impl_v3.cc int len = user_buffers_[index]->Size(); len 1282 net/disk_cache/blockfile/entry_impl_v3.cc if (!len && !offset) len 1286 net/disk_cache/blockfile/entry_impl_v3.cc DCHECK_EQ(len, entry_.Data()->data_size[index]); len 1295 net/disk_cache/blockfile/entry_impl_v3.cc if (!file->Write(user_buffers_[index]->Data(), len, offset, NULL, NULL)) len 1443 net/disk_cache/blockfile/entry_impl_v3.cc int EntryImplV3::GetAvailableRange(int64 offset, int len, int64* start, len 95 net/disk_cache/blockfile/entry_impl_v3.h virtual int GetAvailableRange(int64 offset, int len, int64* start, len 255 net/disk_cache/blockfile/file_ios.cc int64 len = base_file_.GetLength(); len 257 net/disk_cache/blockfile/file_ios.cc if (len > static_cast<int64>(kuint32max)) len 260 net/disk_cache/blockfile/file_ios.cc return static_cast<size_t>(len); len 136 net/disk_cache/blockfile/file_posix.cc int64 len = base_file_.GetLength(); len 138 net/disk_cache/blockfile/file_posix.cc if (len > static_cast<int64>(kuint32max)) len 141 net/disk_cache/blockfile/file_posix.cc return static_cast<size_t>(len); len 198 net/disk_cache/blockfile/in_flight_backend_io.cc void BackendIO::GetAvailableRange(EntryImpl* entry, int64 offset, int len, len 203 net/disk_cache/blockfile/in_flight_backend_io.cc buf_len_ = len; len 481 net/disk_cache/blockfile/in_flight_backend_io.cc EntryImpl* entry, int64 offset, int len, int64* start, len 484 net/disk_cache/blockfile/in_flight_backend_io.cc operation->GetAvailableRange(entry, offset, len, start); len 73 net/disk_cache/blockfile/in_flight_backend_io.h void GetAvailableRange(EntryImpl* entry, int64 offset, int len, int64* start); len 187 net/disk_cache/blockfile/in_flight_backend_io.h void GetAvailableRange(EntryImpl* entry, int64 offset, int len, int64* start, len 63 net/disk_cache/blockfile/sparse_control.cc void Start(char* buffer, int len); len 64 net/disk_cache/blockfile/sparse_control.cc void ReadData(disk_cache::Addr address, int len); len 86 net/disk_cache/blockfile/sparse_control.cc void ChildrenDeleter::Start(char* buffer, int len) { len 88 net/disk_cache/blockfile/sparse_control.cc if (len < static_cast<int>(sizeof(disk_cache::SparseData))) len 97 net/disk_cache/blockfile/sparse_control.cc int num_bits = (len - sizeof(disk_cache::SparseHeader)) * 8; len 105 net/disk_cache/blockfile/sparse_control.cc void ChildrenDeleter::ReadData(disk_cache::Addr address, int len) { len 117 net/disk_cache/blockfile/sparse_control.cc buffer_.reset(new char[len]); len 119 net/disk_cache/blockfile/sparse_control.cc if (!file->Read(buffer_.get(), len, file_offset, this, &completed)) len 123 net/disk_cache/blockfile/sparse_control.cc OnFileIOComplete(len); len 296 net/disk_cache/blockfile/sparse_control.cc int SparseControl::GetAvailableRange(int64 offset, int len, int64* start) { len 306 net/disk_cache/blockfile/sparse_control.cc kGetRangeOperation, offset, NULL, len, CompletionCallback()); len 569 net/disk_cache/blockfile/sparse_control.cc int len = children_map_.ArraySize() * 4; len 571 net/disk_cache/blockfile/sparse_control.cc len, CompletionCallback(), false); len 572 net/disk_cache/blockfile/sparse_control.cc if (rv != len) { len 66 net/disk_cache/blockfile/sparse_control.h int GetAvailableRange(int64 offset, int len, int64* start); len 63 net/disk_cache/blockfile/sparse_control_v3.cc void Start(char* buffer, int len); len 64 net/disk_cache/blockfile/sparse_control_v3.cc void ReadData(disk_cache::Addr address, int len); len 86 net/disk_cache/blockfile/sparse_control_v3.cc void ChildrenDeleter::Start(char* buffer, int len) { len 88 net/disk_cache/blockfile/sparse_control_v3.cc if (len < static_cast<int>(sizeof(disk_cache::SparseData))) len 97 net/disk_cache/blockfile/sparse_control_v3.cc int num_bits = (len - sizeof(disk_cache::SparseHeader)) * 8; len 105 net/disk_cache/blockfile/sparse_control_v3.cc void ChildrenDeleter::ReadData(disk_cache::Addr address, int len) { len 117 net/disk_cache/blockfile/sparse_control_v3.cc buffer_.reset(new char[len]); len 119 net/disk_cache/blockfile/sparse_control_v3.cc if (!file->Read(buffer_.get(), len, file_offset, this, &completed)) len 123 net/disk_cache/blockfile/sparse_control_v3.cc OnFileIOComplete(len); len 275 net/disk_cache/blockfile/sparse_control_v3.cc int SparseControl::GetAvailableRange(int64 offset, int len, int64* start) { len 285 net/disk_cache/blockfile/sparse_control_v3.cc kGetRangeOperation, offset, NULL, len, CompletionCallback()); len 536 net/disk_cache/blockfile/sparse_control_v3.cc int len = children_map_.ArraySize() * 4; len 538 net/disk_cache/blockfile/sparse_control_v3.cc len, CompletionCallback(), false); len 539 net/disk_cache/blockfile/sparse_control_v3.cc if (rv != len) { len 61 net/disk_cache/blockfile/sparse_control_v3.h int GetAvailableRange(int64 offset, int len, int64* start); len 242 net/disk_cache/blockfile/stress_cache.cc size_t len = std::min(str.length() - message_start, kMaxMessageLen - 1); len 244 net/disk_cache/blockfile/stress_cache.cc memcpy(message, str.c_str() + message_start, len); len 245 net/disk_cache/blockfile/stress_cache.cc message[len] = '\0'; len 275 net/disk_cache/disk_cache.h virtual int GetAvailableRange(int64 offset, int len, int64* start, len 182 net/disk_cache/disk_cache_test_base.cc int offset, net::IOBuffer* buf, int len) { len 184 net/disk_cache/disk_cache_test_base.cc int rv = entry->ReadData(index, offset, buf, len, cb.callback()); len 189 net/disk_cache/disk_cache_test_base.cc int offset, net::IOBuffer* buf, int len, len 192 net/disk_cache/disk_cache_test_base.cc int rv = entry->WriteData(index, offset, buf, len, cb.callback(), truncate); len 198 net/disk_cache/disk_cache_test_base.cc int len) { len 200 net/disk_cache/disk_cache_test_base.cc int rv = entry->ReadSparseData(offset, buf, len, cb.callback()); len 206 net/disk_cache/disk_cache_test_base.cc net::IOBuffer* buf, int len) { len 208 net/disk_cache/disk_cache_test_base.cc int rv = entry->WriteSparseData(offset, buf, len, cb.callback()); len 124 net/disk_cache/disk_cache_test_base.h net::IOBuffer* buf, int len); len 126 net/disk_cache/disk_cache_test_base.h net::IOBuffer* buf, int len, bool truncate); len 128 net/disk_cache/disk_cache_test_base.h int len); len 130 net/disk_cache/disk_cache_test_base.h net::IOBuffer* buf, int len); len 28 net/disk_cache/disk_cache_test_util.cc void CacheTestFillBuffer(char* buffer, size_t len, bool no_nulls) { len 36 net/disk_cache/disk_cache_test_util.cc for (size_t i = 0; i < len; i++) { len 41 net/disk_cache/disk_cache_test_util.cc if (len && !buffer[0]) len 23 net/disk_cache/disk_cache_test_util.h void CacheTestFillBuffer(char* buffer, size_t len, bool no_nulls); len 248 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::GetAvailableRange(int64 offset, int len, int64* start, len 253 net/disk_cache/memory/mem_entry_impl.cc CreateNetLogSparseOperationCallback(offset, len)); len 255 net/disk_cache/memory/mem_entry_impl.cc int result = GetAvailableRange(offset, len, start); len 470 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::GetAvailableRange(int64 offset, int len, int64* start) { len 477 net/disk_cache/memory/mem_entry_impl.cc if (offset < 0 || len < 0 || !start) len 483 net/disk_cache/memory/mem_entry_impl.cc int empty = FindNextChild(offset, len, ¤t_child); len 486 net/disk_cache/memory/mem_entry_impl.cc len -= empty; len 492 net/disk_cache/memory/mem_entry_impl.cc while (len && current_child) { len 496 net/disk_cache/memory/mem_entry_impl.cc if (data_size > len) len 497 net/disk_cache/memory/mem_entry_impl.cc data_size = len; len 502 net/disk_cache/memory/mem_entry_impl.cc len -= data_size; len 505 net/disk_cache/memory/mem_entry_impl.cc if (FindNextChild(*start + continuous, len, ¤t_child)) len 595 net/disk_cache/memory/mem_entry_impl.cc int MemEntryImpl::FindNextChild(int64 offset, int len, MemEntryImpl** child) { len 601 net/disk_cache/memory/mem_entry_impl.cc while (scanned_len < len) { len 105 net/disk_cache/memory/mem_entry_impl.h virtual int GetAvailableRange(int64 offset, int len, int64* start, len 129 net/disk_cache/memory/mem_entry_impl.h int GetAvailableRange(int64 offset, int len, int64* start); len 155 net/disk_cache/memory/mem_entry_impl.h int FindNextChild(int64 offset, int len, MemEntryImpl** child); len 491 net/disk_cache/simple/simple_entry_impl.cc int len, len 498 net/disk_cache/simple/simple_entry_impl.cc this, offset, len, start, callback)); len 1053 net/disk_cache/simple/simple_entry_impl.cc int len, len 1066 net/disk_cache/simple/simple_entry_impl.cc sparse_offset, len), len 100 net/disk_cache/simple/simple_entry_impl.h int len, len 202 net/disk_cache/simple/simple_entry_impl.h int len, len 565 net/disk_cache/simple/simple_synchronous_entry.cc int len = in_entry_op.buf_len; len 572 net/disk_cache/simple/simple_synchronous_entry.cc if (it != sparse_ranges_.end() && it->second.offset < offset + len) len 585 net/disk_cache/simple/simple_synchronous_entry.cc while (start + avail_so_far < offset + len && len 592 net/disk_cache/simple/simple_synchronous_entry.cc int len_from_start = len - (start - offset); len 1321 net/disk_cache/simple/simple_synchronous_entry.cc int offset, int len, char* buf) { len 1325 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_GE(range->length, offset + len); len 1327 net/disk_cache/simple/simple_synchronous_entry.cc int bytes_read = sparse_file_.Read(range->file_offset + offset, buf, len); len 1328 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_read < len) { len 1334 net/disk_cache/simple/simple_synchronous_entry.cc if (offset == 0 && len == range->length && range->data_crc32 != 0) { len 1337 net/disk_cache/simple/simple_synchronous_entry.cc len); len 1349 net/disk_cache/simple/simple_synchronous_entry.cc int offset, int len, len 1354 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_GE(range->length, offset + len); len 1357 net/disk_cache/simple/simple_synchronous_entry.cc if (offset == 0 && len == range->length) { len 1360 net/disk_cache/simple/simple_synchronous_entry.cc len); len 1381 net/disk_cache/simple/simple_synchronous_entry.cc int bytes_written = sparse_file_.Write(range->file_offset + offset, buf, len); len 1382 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_written < len) { len 1391 net/disk_cache/simple/simple_synchronous_entry.cc int len, len 1394 net/disk_cache/simple/simple_synchronous_entry.cc DCHECK_LT(0, len); len 1399 net/disk_cache/simple/simple_synchronous_entry.cc len); len 1404 net/disk_cache/simple/simple_synchronous_entry.cc header.length = len; len 1416 net/disk_cache/simple/simple_synchronous_entry.cc bytes_written = sparse_file_.Write(sparse_tail_offset_, buf, len); len 1417 net/disk_cache/simple/simple_synchronous_entry.cc if (bytes_written < len) { len 1426 net/disk_cache/simple/simple_synchronous_entry.cc range.length = len; len 287 net/disk_cache/simple/simple_synchronous_entry.h int offset, int len, char* buf); len 292 net/disk_cache/simple/simple_synchronous_entry.h int offset, int len, const char* buf); len 295 net/disk_cache/simple/simple_synchronous_entry.h bool AppendSparseRange(int64 offset, int len, const char* buf); len 32 net/disk_cache/tracing/tracing_cache_backend.cc virtual int GetAvailableRange(int64 offset, int len, int64* start, len 142 net/disk_cache/tracing/tracing_cache_backend.cc int EntryProxy::GetAvailableRange(int64 offset, int len, int64* start, len 144 net/disk_cache/tracing/tracing_cache_backend.cc return entry_->GetAvailableRange(offset, len, start, callback); len 120 net/dns/dns_config_service_win.cc ULONG len = 15000; // As recommended by MSDN for GetAdaptersAddresses. len 125 net/dns/dns_config_service_win.cc out.reset(static_cast<PIP_ADAPTER_ADDRESSES>(malloc(len))); len 126 net/dns/dns_config_service_win.cc rv = GetAdaptersAddresses(AF_UNSPEC, flags, NULL, out.get(), &len); len 351 net/filter/gzip_filter_unittest.cc int len = corrupt_data_len - pos - 1; len 352 net/filter/gzip_filter_unittest.cc memmove(&corrupt_data[pos], &corrupt_data[pos+1], len); len 122 net/http/des.cc key_item.len = 8; len 121 net/http/http_auth_cache.cc size_t len = 0; len 122 net/http/http_auth_cache.cc if (it->origin() == origin && it->HasEnclosingPath(parent_dir, &len) && len 123 net/http/http_auth_cache.cc (!best_match || len > best_match_length)) { len 125 net/http/http_auth_cache.cc best_match_length = len; len 317 net/http/http_auth_gssapi_posix.cc int len = output_name_buffer.length; len 320 net/http/http_auth_gssapi_posix.cc len, len 281 net/http/http_auth_handler_ntlm_portable.cc uint32 len = password.length(); len 284 net/http/http_auth_handler_ntlm_portable.cc passbuf = static_cast<uint8*>(malloc(len * 2)); len 285 net/http/http_auth_handler_ntlm_portable.cc WriteUnicodeLE(passbuf, password.data(), len); len 286 net/http/http_auth_handler_ntlm_portable.cc weak_crypto::MD4Sum(passbuf, len * 2, hash); len 288 net/http/http_auth_handler_ntlm_portable.cc ZapBuf(passbuf, len * 2); len 385 net/http/http_cache.cc bool HttpCache::ParseResponseInfo(const char* data, int len, len 388 net/http/http_cache.cc Pickle pickle(data, len); len 159 net/http/http_cache.h static bool ParseResponseInfo(const char* data, int len, len 390 net/http/http_cache_unittest.cc int len = end - start + 1; len 392 net/http/http_cache_unittest.cc len); len 461 net/http/http_cache_unittest.cc int len = static_cast<int>(base::strlcpy(buf->data(), len 464 net/http/http_cache_unittest.cc int rv = entry->WriteData(1, 0, buf.get(), len, cb.callback(), true); len 465 net/http/http_cache_unittest.cc EXPECT_EQ(len, cb.GetResult(rv)); len 4028 net/http/http_cache_unittest.cc int len = static_cast<int>(base::strlcpy(buf->data(), len 4031 net/http/http_cache_unittest.cc int rv = entry->WriteData(1, 0, buf.get(), len, cb.callback(), true); len 4032 net/http/http_cache_unittest.cc EXPECT_EQ(len, cb.GetResult(rv)); len 4076 net/http/http_cache_unittest.cc int len = static_cast<int>(base::strlcpy(buf->data(), len 4079 net/http/http_cache_unittest.cc int rv = entry->WriteData(1, 0, buf.get(), len, cb.callback(), true); len 4080 net/http/http_cache_unittest.cc EXPECT_EQ(len, cb.GetResult(rv)); len 4118 net/http/http_cache_unittest.cc int len = static_cast<int>(base::strlcpy(buf->data(), len 4121 net/http/http_cache_unittest.cc int rv = entry->WriteData(1, 0, buf.get(), len, cb.callback(), true); len 4122 net/http/http_cache_unittest.cc EXPECT_EQ(len, cb.GetResult(rv)); len 192 net/http/http_chunked_decoder.cc bool HttpChunkedDecoder::ParseChunkSize(const char* start, int len, int* out) { len 193 net/http/http_chunked_decoder.cc DCHECK_GE(len, 0); len 196 net/http/http_chunked_decoder.cc while (len && start[len - 1] == ' ') len 197 net/http/http_chunked_decoder.cc len--; len 201 net/http/http_chunked_decoder.cc base::StringPiece chunk_size(start, len); len 108 net/http/http_chunked_decoder.h static bool ParseChunkSize(const char* start, int len, int* out); len 77 net/http/md4.cc static void w2b(Uint8 *out, const Uint32 *in, Uint32 len) len 83 net/http/md4.cc wpend = wp + (len >> 2); len 95 net/http/md4.cc static void b2w(Uint32 *out, const Uint8 *in, Uint32 len) len 101 net/http/md4.cc bpend = in + len; len 201 net/http/mock_http_cache.cc int MockDiskEntry::GetAvailableRange(int64 offset, int len, int64* start, len 218 net/http/mock_http_cache.cc int num = std::min(static_cast<int>(data_[1].size()) - real_offset, len); len 545 net/http/mock_http_cache.cc int len = static_cast<int>(pickle.size()); len 547 net/http/mock_http_cache.cc int rv = disk_entry->WriteData(0, 0, data.get(), len, cb.callback(), true); len 549 net/http/mock_http_cache.cc return (rv == len); len 45 net/http/mock_http_cache.h int64 offset, int len, int64* start, len 42 net/http/partial_data.cc int GetAvailableRange(disk_cache::Entry* entry, int64 offset, int len, len 79 net/http/partial_data.cc int len, int64* start) { len 81 net/http/partial_data.cc offset, len, &start_, base::Bind(&PartialData::Core::OnIOComplete, len 164 net/http/partial_data.cc int len = GetNextRangeLen(); len 165 net/http/partial_data.cc if (!len) len 168 net/http/partial_data.cc DVLOG(3) << "ShouldValidateCache len: " << len; len 173 net/http/partial_data.cc cached_min_len_ = core->GetAvailableRange(entry, current_range_start_, len, len 185 net/http/partial_data.cc len = 0; len 187 net/http/partial_data.cc cached_min_len_ = len; len 203 net/http/partial_data.cc int len = GetNextRangeLen(); len 204 net/http/partial_data.cc DCHECK_NE(0, len); len 213 net/http/partial_data.cc byte_range_.HasLastBytePosition() ? current_range_start_ + len : 0; len 219 net/http/partial_data.cc if (len == cached_min_len_) len 1275 net/proxy/proxy_config_service_linux.cc CHECK_LE(event->name + event->len, event_buf + r); len 1279 net/proxy/proxy_config_service_linux.cc event_ptr = event->name + event->len; len 139 net/proxy/proxy_resolver_v8.cc int len = s->Length(); len 141 net/proxy/proxy_resolver_v8.cc if (len > 0) len 142 net/proxy/proxy_resolver_v8.cc s->WriteUtf8(WriteInto(&result, len + 1)); len 148 net/proxy/proxy_resolver_v8.cc int len = s->Length(); len 152 net/proxy/proxy_resolver_v8.cc if (len > 0) len 153 net/proxy/proxy_resolver_v8.cc s->Write(reinterpret_cast<uint16_t*>(WriteInto(&result, len + 1)), 0, len); len 69 net/proxy/proxy_server.cc const std::string::size_type len = host.size(); len 70 net/proxy/proxy_server.cc if (len >= 2 && host[0] == '[' && host[len - 1] == ']') len 71 net/proxy/proxy_server.cc return host.substr(1, len - 2); len 65 net/quic/crypto/aead_base_decrypter.h unsigned int len; len 70 net/quic/crypto/aead_base_decrypter_nss.cc key_item.len = key_size_; len 100 net/quic/crypto/aead_base_decrypter_nss.cc param.len = aead_params.len; len 89 net/quic/crypto/aead_base_decrypter_openssl.cc ssize_t len = EVP_AEAD_CTX_open( len 96 net/quic/crypto/aead_base_decrypter_openssl.cc if (len < 0) { len 103 net/quic/crypto/aead_base_decrypter_openssl.cc *output_length = len; len 68 net/quic/crypto/aead_base_encrypter.h unsigned int len; len 64 net/quic/crypto/aead_base_encrypter_nss.cc key_item.len = key_size_; len 94 net/quic/crypto/aead_base_encrypter_nss.cc param.len = aead_params.len; len 84 net/quic/crypto/aead_base_encrypter_openssl.cc ssize_t len = EVP_AEAD_CTX_seal( len 91 net/quic/crypto/aead_base_encrypter_openssl.cc if (len < 0) { len 94 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc DCHECK_EQ(param->len, sizeof(CK_GCM_PARAMS)); len 143 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc my_param.len = sizeof(ctr_params); len 225 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc aead_params->len = sizeof(aead_params->data.gcm_params); len 94 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc DCHECK_EQ(param->len, sizeof(CK_GCM_PARAMS)); len 149 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc my_param.len = sizeof(ctr_params); len 224 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc aead_params->len = sizeof(aead_params->data.gcm_params); len 67 net/quic/crypto/chacha20_poly1305_decrypter_nss.cc aead_params->len = sizeof(aead_params->data.nss_aead_params); len 67 net/quic/crypto/chacha20_poly1305_encrypter_nss.cc aead_params->len = sizeof(aead_params->data.nss_aead_params); len 43 net/quic/crypto/channel_id_nss.cc public_key.u.ec.DEREncodedParams.len = sizeof(p256_oid); len 50 net/quic/crypto/channel_id_nss.cc public_key.u.ec.publicValue.len = sizeof(key_buf); len 76 net/quic/crypto/channel_id_nss.cc HASH_End(sha256, hash_buf, &hash_item.len, sizeof(hash_buf)); len 50 net/quic/crypto/common_cert_set.cc size_t len = a.size(); len 51 net/quic/crypto/common_cert_set.cc if (len > b_len) { len 52 net/quic/crypto/common_cert_set.cc len = b_len; len 54 net/quic/crypto/common_cert_set.cc int n = memcmp(a.data(), b, len); len 92 net/quic/crypto/crypto_framer.cc size_t len = message.size(); len 93 net/quic/crypto/crypto_framer.cc if (len < message.minimum_size()) { len 98 net/quic/crypto/crypto_framer.cc size_t delta = message.minimum_size() - len; len 103 net/quic/crypto/crypto_framer.cc len += overhead + pad_length; len 111 net/quic/crypto/crypto_framer.cc QuicDataWriter writer(len); len 185 net/quic/crypto/crypto_framer.cc return new QuicData(writer.take(), len, true); len 214 net/quic/crypto/crypto_handshake_message.cc QuicTag tag, void* out, size_t len) const { len 220 net/quic/crypto/crypto_handshake_message.cc } else if (it->second.size() != len) { len 225 net/quic/crypto/crypto_handshake_message.cc memset(out, 0, len); len 229 net/quic/crypto/crypto_handshake_message.cc memcpy(out, it->second.data(), len); len 119 net/quic/crypto/crypto_handshake_message.h QuicErrorCode GetPOD(QuicTag tag, void* out, size_t len) const; len 36 net/quic/crypto/crypto_secret_boxer.cc const size_t len = kBoxNonceSize + plaintext.size() + crypto::kSHA256Length; len 37 net/quic/crypto/crypto_secret_boxer.cc ret.resize(len); len 27 net/quic/crypto/null_decrypter_test.cc size_t len = arraysize(expected); len 30 net/quic/crypto/null_decrypter_test.cc decrypter.DecryptPacket(0, "hello world!", StringPiece(data, len))); len 46 net/quic/crypto/null_decrypter_test.cc size_t len = arraysize(expected); len 49 net/quic/crypto/null_decrypter_test.cc decrypter.DecryptPacket(0, "hello world!", StringPiece(data, len))); len 61 net/quic/crypto/null_decrypter_test.cc size_t len = arraysize(expected); len 64 net/quic/crypto/null_decrypter_test.cc decrypter.DecryptPacket(0, "hello world!", StringPiece(data, len))); len 41 net/quic/crypto/null_encrypter.cc const size_t len = plaintext.size() + GetHashLength(); len 42 net/quic/crypto/null_encrypter.cc uint8* buffer = new uint8[len]; len 44 net/quic/crypto/null_encrypter.cc return new QuicData(reinterpret_cast<char*>(buffer), len, true); len 80 net/quic/crypto/p256_key_exchange_nss.cc public_key->u.ec.publicValue.len != kUncompressedP256PointBytes || len 94 net/quic/crypto/p256_key_exchange_nss.cc if (public_key->u.ec.DEREncodedParams.len != oid_data->oid.len + 2 || len 97 net/quic/crypto/p256_key_exchange_nss.cc public_key->u.ec.DEREncodedParams.data[1] != oid_data->oid.len || len 99 net/quic/crypto/p256_key_exchange_nss.cc oid_data->oid.data, oid_data->oid.len) != 0) { len 174 net/quic/crypto/p256_key_exchange_nss.cc peer_public_key.u.ec.DEREncodedParams.len = len 175 net/quic/crypto/p256_key_exchange_nss.cc key_pair_->public_key()->u.ec.DEREncodedParams.len; len 182 net/quic/crypto/p256_key_exchange_nss.cc peer_public_key.u.ec.publicValue.len = peer_public_value.size(); len 216 net/quic/crypto/p256_key_exchange_nss.cc if (!key_data || !key_data->data || key_data->len != kP256FieldBytes) { len 221 net/quic/crypto/p256_key_exchange_nss.cc out_result->assign(reinterpret_cast<char*>(key_data->data), key_data->len); len 20 net/quic/crypto/quic_random.cc virtual void RandBytes(void* data, size_t len) OVERRIDE; len 37 net/quic/crypto/quic_random.cc void DefaultRandom::RandBytes(void* data, size_t len) { len 38 net/quic/crypto/quic_random.cc crypto::RandBytes(data, len); len 25 net/quic/crypto/quic_random.h virtual void RandBytes(void* data, size_t len) = 0; len 1587 net/quic/quic_connection.cc size_t len = group->Revive(&revived_header, revived_payload, kMaxPacketSize); len 1600 net/quic/quic_connection.cc StringPiece(revived_payload, len)); len 1605 net/quic/quic_connection.cc StringPiece(revived_payload, len)); len 118 net/quic/quic_connection_test.cc const size_t len = plaintext.size() + kTagSize; len 119 net/quic/quic_connection_test.cc uint8* buffer = new uint8[len]; len 121 net/quic/quic_connection_test.cc return new QuicData(reinterpret_cast<char*>(buffer), len, true); len 188 net/quic/quic_connection_test.cc const size_t len = ciphertext.size() - kTagSize; len 189 net/quic/quic_connection_test.cc uint8* buf = new uint8[len]; len 190 net/quic/quic_connection_test.cc memcpy(buf, ciphertext.data(), len); len 191 net/quic/quic_connection_test.cc return new QuicData(reinterpret_cast<char*>(buf), len, len 148 net/quic/quic_crypto_server_stream.cc size_t len = output->size(); len 149 net/quic/quic_crypto_server_stream.cc if (len >= 2) { len 150 net/quic/quic_crypto_server_stream.cc if ((*output)[len - 1] == '=') { len 151 net/quic/quic_crypto_server_stream.cc len--; len 152 net/quic/quic_crypto_server_stream.cc if ((*output)[len - 1] == '=') { len 153 net/quic/quic_crypto_server_stream.cc len--; len 155 net/quic/quic_crypto_server_stream.cc output->resize(len); len 14 net/quic/quic_data_reader.cc QuicDataReader::QuicDataReader(const char* data, const size_t len) len 16 net/quic/quic_data_reader.cc len_(len), len 32 net/quic/quic_data_reader.h QuicDataReader(const char* data, const size_t len); len 80 net/quic/quic_data_reader.h bool ReadStringPiece(base::StringPiece* result, size_t len); len 106 net/quic/quic_fec_group_test.cc size_t len = group.Revive(&header, recovered, arraysize(recovered)); len 107 net/quic/quic_fec_group_test.cc ASSERT_NE(0u, len) len 115 net/quic/quic_fec_group_test.cc ASSERT_GE(len, strlen(kData[lost_packet])) << "Incorrect length"; len 463 net/quic/quic_framer.cc const size_t len = writer.length(); len 466 net/quic/quic_framer.cc DCHECK_LE(len, packet_size); len 468 net/quic/quic_framer.cc writer.take(), len, true, header.public_header.connection_id_length, len 486 net/quic/quic_framer.cc size_t len = GetPacketHeaderSize(header); len 487 net/quic/quic_framer.cc len += fec.redundancy.length(); len 489 net/quic/quic_framer.cc QuicDataWriter writer(len); len 505 net/quic/quic_framer.cc QuicPacket::NewFecPacket(writer.take(), len, true, len 532 net/quic/quic_framer.cc size_t len = len 534 net/quic/quic_framer.cc QuicDataWriter writer(len); len 550 net/quic/quic_framer.cc return new QuicEncryptedPacket(writer.take(), len, true); len 557 net/quic/quic_framer.cc size_t len = GetVersionNegotiationPacketSize(supported_versions.size()); len 558 net/quic/quic_framer.cc QuicDataWriter writer(len); len 576 net/quic/quic_framer.cc return new QuicEncryptedPacket(writer.take(), len, true); len 1779 net/quic/quic_framer.cc size_t len = header_data.length() + out->length(); len 1780 net/quic/quic_framer.cc char* buffer = new char[len]; len 1784 net/quic/quic_framer.cc return new QuicEncryptedPacket(buffer, len, true); len 1889 net/quic/quic_framer.cc size_t len = kQuicFrameTypeSize; len 1892 net/quic/quic_framer.cc len += 1; // Congestion feedback type. len 1899 net/quic/quic_framer.cc len += 2; // Accumulated number of lost packets. len 1901 net/quic/quic_framer.cc len += 1; // Number received packets. len 1903 net/quic/quic_framer.cc len += PACKET_6BYTE_SEQUENCE_NUMBER; // Smallest received. len 1904 net/quic/quic_framer.cc len += 8; // Time. len 1906 net/quic/quic_framer.cc len += PACKET_6BYTE_SEQUENCE_NUMBER * len 1912 net/quic/quic_framer.cc len += 4; // Bitrate. len 1916 net/quic/quic_framer.cc len += 2; // Accumulated number of lost packets. len 1918 net/quic/quic_framer.cc len += 2; // Receive window. len 1925 net/quic/quic_framer.cc return len; len 446 net/quic/quic_framer_test.cc size_t len, len 449 net/quic/quic_framer_test.cc QuicEncryptedPacket encrypted(AsChars(packet), len, false); len 450 net/quic/quic_framer_test.cc EXPECT_FALSE(framer_.ProcessPacket(encrypted)) << "len: " << len; len 451 net/quic/quic_framer_test.cc EXPECT_EQ(expected_error, framer_.detailed_error()) << "len: " << len; len 452 net/quic/quic_framer_test.cc EXPECT_EQ(error_code, framer_.error()) << "len: " << len; len 61 net/quic/quic_headers_stream.cc size_t len) OVERRIDE { len 65 net/quic/quic_headers_stream.cc stream_->OnControlFrameHeaderData(stream_id, header_data, len); len 71 net/quic/quic_headers_stream.cc size_t len, len 73 net/quic/quic_headers_stream.cc if (fin && len == 0) { len 243 net/quic/quic_headers_stream.cc size_t len) { len 245 net/quic/quic_headers_stream.cc if (len == 0) { len 254 net/quic/quic_headers_stream.cc session()->OnStreamHeaders(stream_id_, StringPiece(header_data, len)); len 64 net/quic/quic_headers_stream.h size_t len); len 35 net/quic/quic_headers_stream_test.cc size_t len, len 39 net/quic/quic_headers_stream_test.cc size_t len)); len 59 net/quic/quic_headers_stream_test.cc size_t len)); len 98 net/quic/quic_headers_stream_test.cc bool SaveHeaderData(const char* data, int len) { len 99 net/quic/quic_headers_stream_test.cc saved_header_data_.append(data, len); len 482 net/quic/quic_http_stream.cc int len = request_body_buf_->BytesRemaining(); len 483 net/quic/quic_http_stream.cc if (len > 0 || eof) { len 485 net/quic/quic_http_stream.cc base::StringPiece data(request_body_buf_->data(), len); len 515 net/quic/quic_http_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), len 518 net/quic/quic_http_stream.cc if (len == 0) { len 523 net/quic/quic_http_stream.cc size_t delta = read_buf_len - len; len 525 net/quic/quic_http_stream.cc BufferResponseBody(data + len, delta); len 209 net/quic/quic_packet_generator_test.cc IOVector CreateData(size_t len) { len 210 net/quic/quic_packet_generator_test.cc data_array_.reset(new char[len]); len 211 net/quic/quic_packet_generator_test.cc memset(data_array_.get(), '?', len); len 213 net/quic/quic_packet_generator_test.cc data.Append(data_array_.get(), len); len 81 net/quic/quic_socket_address_coder_test.cc size_t len = serialized.length(); len 82 net/quic/quic_socket_address_coder_test.cc for (size_t i = 0; i < len; i++) { len 505 net/quic/quic_stream_sequencer_test.cc int MaybeProcessMaybeBuffer(const char* data, uint32 len) { len 506 net/quic/quic_stream_sequencer_test.cc int to_process = len; len 508 net/quic/quic_stream_sequencer_test.cc to_process = base::RandInt(0, len); len 24 net/quic/quic_utils.cc uint64 QuicUtils::FNV1a_64_Hash(const char* data, int len) { len 32 net/quic/quic_utils.cc for (int i = 0; i < len; ++i) { len 41 net/quic/quic_utils.cc uint128 QuicUtils::FNV1a_128_Hash(const char* data, int len) { len 54 net/quic/quic_utils.cc for (int i = 0; i < len; ++i) { len 25 net/quic/quic_utils.h static uint64 FNV1a_64_Hash(const char* data, int len); len 29 net/quic/quic_utils.h static uint128 FNV1a_128_Hash(const char* data, int len); len 421 net/quic/test_tools/crypto_test_utils.cc const size_t len = strlen(tagstr); len 422 net/quic/test_tools/crypto_test_utils.cc CHECK_NE(0u, len); len 427 net/quic/test_tools/crypto_test_utils.cc CHECK_EQ(static_cast<size_t>(1 + 2*4), len); len 441 net/quic/test_tools/crypto_test_utils.cc CHECK_LE(len, 4u); len 444 net/quic/test_tools/crypto_test_utils.cc if (i < len) { len 490 net/quic/test_tools/crypto_test_utils.cc size_t len = strlen(valuestr); len 491 net/quic/test_tools/crypto_test_utils.cc if (len > 0 && valuestr[0] == '#') { len 493 net/quic/test_tools/crypto_test_utils.cc len--; len 495 net/quic/test_tools/crypto_test_utils.cc CHECK_EQ(0u, len % 2); len 496 net/quic/test_tools/crypto_test_utils.cc scoped_ptr<uint8[]> buf(new uint8[len/2]); len 498 net/quic/test_tools/crypto_test_utils.cc for (size_t i = 0; i < len/2; i++) { len 507 net/quic/test_tools/crypto_test_utils.cc tag, StringPiece(reinterpret_cast<char*>(buf.get()), len/2)); len 67 net/quic/test_tools/crypto_test_utils_nss.cc HASH_End(sha256, hash_buf, &hash_item.len, sizeof(hash_buf)); len 119 net/quic/test_tools/crypto_test_utils_nss.cc const unsigned int len = public_key->u.ec.publicValue.len; len 120 net/quic/test_tools/crypto_test_utils_nss.cc if (len != kExpectedKeyLength || data[0] != 0x04) { len 153 net/quic/test_tools/crypto_test_utils_openssl.cc int len = i2d_PublicKey(key, NULL); len 154 net/quic/test_tools/crypto_test_utils_openssl.cc if (len != kExpectedKeyLength) { len 19 net/quic/test_tools/mock_random.cc void MockRandom::RandBytes(void* data, size_t len) { len 20 net/quic/test_tools/mock_random.cc memset(data, 'r' + increment_, len); len 21 net/quic/test_tools/mock_random.h virtual void RandBytes(void* data, size_t len) OVERRIDE; len 22 net/server/http_connection.cc void HttpConnection::Send(const char* bytes, int len) { len 25 net/server/http_connection.cc socket_->Send(bytes, len); len 26 net/server/http_connection.h void Send(const char* bytes, int len); len 107 net/server/http_server.cc int len) { len 113 net/server/http_server.cc connection->recv_data_.append(data, len); len 71 net/server/http_server.h int len) OVERRIDE; len 132 net/socket/client_socket_pool_base_unittest.cc IOBuffer* /* buf */, int len, len 134 net/socket/client_socket_pool_base_unittest.cc if (has_unread_data_ && len > 0) { len 143 net/socket/client_socket_pool_base_unittest.cc IOBuffer* /* buf */, int len, len 146 net/socket/client_socket_pool_base_unittest.cc return len; len 34 net/socket/deterministic_socket_data_unittest.cc void ReentrantReadCallback(int len, int rv); len 35 net/socket/deterministic_socket_data_unittest.cc void ReentrantWriteCallback(const char* data, int len, int rv); len 41 net/socket/deterministic_socket_data_unittest.cc void AssertSyncReadEquals(const char* data, int len); len 42 net/socket/deterministic_socket_data_unittest.cc void AssertAsyncReadEquals(const char* data, int len); len 43 net/socket/deterministic_socket_data_unittest.cc void AssertReadReturns(const char* data, int len, int rv); len 44 net/socket/deterministic_socket_data_unittest.cc void AssertReadBufferEquals(const char* data, int len); len 46 net/socket/deterministic_socket_data_unittest.cc void AssertSyncWriteEquals(const char* data, int len); len 47 net/socket/deterministic_socket_data_unittest.cc void AssertAsyncWriteEquals(const char* data, int len); len 48 net/socket/deterministic_socket_data_unittest.cc void AssertWriteReturns(const char* data, int len, int rv); len 108 net/socket/deterministic_socket_data_unittest.cc int len) { len 110 net/socket/deterministic_socket_data_unittest.cc AssertReadReturns(data, len, len); len 111 net/socket/deterministic_socket_data_unittest.cc AssertReadBufferEquals(data, len); len 115 net/socket/deterministic_socket_data_unittest.cc int len) { len 117 net/socket/deterministic_socket_data_unittest.cc AssertReadReturns(data, len, ERR_IO_PENDING); len 124 net/socket/deterministic_socket_data_unittest.cc ASSERT_EQ(len, read_callback_.WaitForResult()); len 125 net/socket/deterministic_socket_data_unittest.cc AssertReadBufferEquals(data, len); len 129 net/socket/deterministic_socket_data_unittest.cc int len, int rv) { len 130 net/socket/deterministic_socket_data_unittest.cc read_buf_ = new IOBuffer(len); len 131 net/socket/deterministic_socket_data_unittest.cc ASSERT_EQ(rv, sock_->Read(read_buf_.get(), len, read_callback_.callback())); len 135 net/socket/deterministic_socket_data_unittest.cc int len) { len 136 net/socket/deterministic_socket_data_unittest.cc ASSERT_EQ(std::string(data, len), std::string(read_buf_->data(), len)); len 140 net/socket/deterministic_socket_data_unittest.cc int len) { len 141 net/socket/deterministic_socket_data_unittest.cc scoped_refptr<IOBuffer> buf(new IOBuffer(len)); len 142 net/socket/deterministic_socket_data_unittest.cc memcpy(buf->data(), data, len); len 145 net/socket/deterministic_socket_data_unittest.cc ASSERT_EQ(len, sock_->Write(buf.get(), len, write_callback_.callback())); len 149 net/socket/deterministic_socket_data_unittest.cc int len) { len 151 net/socket/deterministic_socket_data_unittest.cc AssertWriteReturns(data, len, ERR_IO_PENDING); len 157 net/socket/deterministic_socket_data_unittest.cc ASSERT_EQ(len, write_callback_.WaitForResult()); len 161 net/socket/deterministic_socket_data_unittest.cc int len, int rv) { len 162 net/socket/deterministic_socket_data_unittest.cc scoped_refptr<IOBuffer> buf(new IOBuffer(len)); len 163 net/socket/deterministic_socket_data_unittest.cc memcpy(buf->data(), data, len); len 166 net/socket/deterministic_socket_data_unittest.cc ASSERT_EQ(rv, sock_->Write(buf.get(), len, write_callback_.callback())); len 169 net/socket/deterministic_socket_data_unittest.cc void DeterministicSocketDataTest::ReentrantReadCallback(int len, int rv) { len 170 net/socket/deterministic_socket_data_unittest.cc scoped_refptr<IOBuffer> read_buf(new IOBuffer(len)); len 171 net/socket/deterministic_socket_data_unittest.cc EXPECT_EQ(len, len 174 net/socket/deterministic_socket_data_unittest.cc len, len 177 net/socket/deterministic_socket_data_unittest.cc len))); len 181 net/socket/deterministic_socket_data_unittest.cc const char* data, int len, int rv) { len 182 net/socket/deterministic_socket_data_unittest.cc scoped_refptr<IOBuffer> write_buf(new IOBuffer(len)); len 183 net/socket/deterministic_socket_data_unittest.cc memcpy(write_buf->data(), data, len); len 184 net/socket/deterministic_socket_data_unittest.cc EXPECT_EQ(len, len 187 net/socket/deterministic_socket_data_unittest.cc len, len 191 net/socket/deterministic_socket_data_unittest.cc len))); len 90 net/socket/ssl_client_socket.cc const size_t len = protos[i]; len 91 net/socket/ssl_client_socket.cc std::string proto_str(&protos[i + 1], len); len 93 net/socket/ssl_client_socket.cc i += len + 1; len 305 net/socket/ssl_client_socket_nss.cc int len, IOBuffer* buffer) { len 308 net/socket/ssl_client_socket_nss.cc net_log->AddByteTransferEvent(event_type, len, buffer->data()); len 391 net/socket/ssl_client_socket_nss.cc certs_[i]->derCert.len); len 782 net/socket/ssl_client_socket_nss.cc int DoBufferRecv(IOBuffer* buffer, int len); len 783 net/socket/ssl_client_socket_nss.cc int DoBufferSend(IOBuffer* buffer, int len); len 1287 net/socket/ssl_client_socket_nss.cc if (new_cert->derCert.len != old_cert->derCert.len || len 1289 net/socket/ssl_client_socket_nss.cc new_cert->derCert.len) != 0) { len 1345 net/socket/ssl_client_socket_nss.cc der_cert.len = cert_context->cbCertEncoded; len 1366 net/socket/ssl_client_socket_nss.cc der_cert.len = (*it)->cbCertEncoded; len 1402 net/socket/ssl_client_socket_nss.cc issuer_list[i].cbData = ca_names->names[i].len; len 1406 net/socket/ssl_client_socket_nss.cc static_cast<size_t>(ca_names->names[i].len))); len 1456 net/socket/ssl_client_socket_nss.cc der_cert.len = cert_data.Length; len 1499 net/socket/ssl_client_socket_nss.cc static_cast<size_t>(ca_names->names[i].len))); len 1595 net/socket/ssl_client_socket_nss.cc static_cast<size_t>(ca_names->names[i].len))); len 2147 net/socket/ssl_client_socket_nss.cc const unsigned int len = len1 + len2; len 2150 net/socket/ssl_client_socket_nss.cc if (len) { len 2151 net/socket/ssl_client_socket_nss.cc scoped_refptr<IOBuffer> send_buffer(new IOBuffer(len)); len 2156 net/socket/ssl_client_socket_nss.cc rv = DoBufferSend(send_buffer.get(), len); len 2161 net/socket/ssl_client_socket_nss.cc len)); len 2352 net/socket/ssl_client_socket_nss.cc cert_item.len = domain_bound_cert_.size(); len 2403 net/socket/ssl_client_socket_nss.cc if (!signed_cert_timestamps || !signed_cert_timestamps->len) len 2408 net/socket/ssl_client_socket_nss.cc signed_cert_timestamps->len); len 2416 net/socket/ssl_client_socket_nss.cc bool ocsp_responses_present = ocsp_responses && ocsp_responses->len; len 2424 net/socket/ssl_client_socket_nss.cc ocsp_responses->items[0].len); len 2432 net/socket/ssl_client_socket_nss.cc ocsp_response_blob.cbData = ocsp_responses->items[0].len; len 2591 net/socket/ssl_client_socket_nss.cc int SSLClientSocketNSS::Core::DoBufferRecv(IOBuffer* read_buffer, int len) { len 2593 net/socket/ssl_client_socket_nss.cc DCHECK_GT(len, 0); len 2599 net/socket/ssl_client_socket_nss.cc read_buffer, len, len 2613 net/socket/ssl_client_socket_nss.cc int SSLClientSocketNSS::Core::DoBufferSend(IOBuffer* send_buffer, int len) { len 2615 net/socket/ssl_client_socket_nss.cc DCHECK_GT(len, 0); len 2621 net/socket/ssl_client_socket_nss.cc send_buffer, len, len 2916 net/socket/ssl_client_socket_nss.cc unsigned int len; len 2919 net/socket/ssl_client_socket_nss.cc buf, &len, arraysize(buf)); len 2924 net/socket/ssl_client_socket_nss.cc out->assign(reinterpret_cast<char*>(buf), len); len 3271 net/socket/ssl_client_socket_nss.cc size_t len = std::min(static_cast<size_t>(storage.addr_len), len 3273 net/socket/ssl_client_socket_nss.cc memcpy(&peername, storage.addr, len); len 3396 net/socket/ssl_client_socket_nss.cc core_->state().server_cert_chain[0]->derCert.len); len 377 net/socket/ssl_client_socket_unittest.cc int len, len 434 net/socket/ssl_client_socket_unittest.cc int len, len 444 net/socket/ssl_client_socket_unittest.cc int rv = wrapped_function_.Run(buf, len, transport_callback); len 179 net/socket/ssl_server_socket_nss.cc unsigned int len; len 182 net/socket/ssl_server_socket_nss.cc buf, &len, arraysize(buf)); len 187 net/socket/ssl_server_socket_nss.cc out->assign(reinterpret_cast<char*>(buf), len); len 426 net/socket/ssl_server_socket_nss.cc der_cert.len = der_string.length(); len 454 net/socket/ssl_server_socket_nss.cc der_private_key_info.len = key_vector.size(); len 550 net/socket/ssl_server_socket_nss.cc const unsigned int len = len1 + len2; len 553 net/socket/ssl_server_socket_nss.cc if (len) { len 554 net/socket/ssl_server_socket_nss.cc scoped_refptr<IOBuffer> send_buffer(new IOBuffer(len)); len 559 net/socket/ssl_server_socket_nss.cc len, len 77 net/socket/stream_listen_socket.cc void StreamListenSocket::Send(const char* bytes, int len, len 79 net/socket/stream_listen_socket.cc SendInternal(bytes, len); len 129 net/socket/stream_listen_socket.cc void StreamListenSocket::SendInternal(const char* bytes, int len) { len 131 net/socket/stream_listen_socket.cc int len_left = len; len 173 net/socket/stream_listen_socket.cc int len; len 175 net/socket/stream_listen_socket.cc len = HANDLE_EINTR(recv(socket_, buf, kReadBufSize, 0)); len 176 net/socket/stream_listen_socket.cc if (len == kSocketError) { len 188 net/socket/stream_listen_socket.cc } else if (len == 0) { len 196 net/socket/stream_listen_socket.cc DCHECK_GT(len, 0); len 197 net/socket/stream_listen_socket.cc DCHECK_LE(len, kReadBufSize); len 198 net/socket/stream_listen_socket.cc buf[len] = 0; // Already create a buffer with +1 length. len 199 net/socket/stream_listen_socket.cc socket_delegate_->DidRead(this, buf, len); len 201 net/socket/stream_listen_socket.cc } while (len == kReadBufSize); len 63 net/socket/stream_listen_socket.h int len) = 0; len 71 net/socket/stream_listen_socket.h void Send(const char* bytes, int len, bool append_linefeed = false); len 108 net/socket/stream_listen_socket.h void SendInternal(const char* bytes, int len); len 109 net/socket/tcp_listen_socket_unittest.cc int len = HANDLE_EINTR(recv(test_socket_, buf, kReadBufSize, 0)); len 110 net/socket/tcp_listen_socket_unittest.cc if (len == StreamListenSocket::kSocketError || len == 0) { len 113 net/socket/tcp_listen_socket_unittest.cc len_ret += len; len 163 net/socket/tcp_listen_socket_unittest.cc size_t len = last_data.length(); len 164 net/socket/tcp_listen_socket_unittest.cc if (long_string.compare(read_len, len, last_data)) { len 165 net/socket/tcp_listen_socket_unittest.cc ASSERT_EQ(long_string.compare(read_len, len, last_data), 0); len 226 net/socket/tcp_listen_socket_unittest.cc int len = static_cast<int>(str.length()); len 227 net/socket/tcp_listen_socket_unittest.cc int send_len = HANDLE_EINTR(send(sock, str.data(), len, 0)); len 231 net/socket/tcp_listen_socket_unittest.cc } else if (send_len != len) { len 246 net/socket/tcp_listen_socket_unittest.cc int len) { len 247 net/socket/tcp_listen_socket_unittest.cc std::string str(data, len); len 96 net/socket/tcp_listen_socket_unittest.h int len) OVERRIDE; len 783 net/socket/tcp_socket_libevent.cc socklen_t len = sizeof(os_error); len 784 net/socket/tcp_socket_libevent.cc if (getsockopt(socket_, SOL_SOCKET, SO_ERROR, &os_error, &len) < 0) len 490 net/socket/tcp_socket_win.cc write_buffer.len = buf_len; len 55 net/socket/transport_client_socket_unittest.cc virtual void DidRead(StreamListenSocket*, const char* str, int len) OVERRIDE { len 37 net/socket/unix_domain_socket_posix.cc socklen_t len = sizeof(user_cred); len 38 net/socket/unix_domain_socket_posix.cc if (getsockopt(socket, SOL_SOCKET, SO_PEERCRED, &user_cred, &len) == -1) len 113 net/socket/unix_domain_socket_posix_unittest.cc int len) OVERRIDE { len 116 net/socket/unix_domain_socket_posix_unittest.cc DCHECK(len); len 117 net/socket/unix_domain_socket_posix_unittest.cc data_.assign(data, len - 1); len 209 net/socket_stream/socket_stream.cc bool SocketStream::SendData(const char* data, int len) { len 214 net/socket_stream/socket_stream.cc DCHECK_GT(len, 0); len 221 net/socket_stream/socket_stream.cc int total_buffered_bytes = len; len 237 net/socket_stream/socket_stream.cc new IOBufferWithSize(len))); len 238 net/socket_stream/socket_stream.cc memcpy(pending_write_bufs_.back()->data(), data, len); len 405 net/socket_stream/socket_stream.cc int len = result; len 406 net/socket_stream/socket_stream.cc metrics_->OnRead(len); len 409 net/socket_stream/socket_stream.cc delegate_->OnReceivedData(this, read_buf_->data(), len); len 80 net/socket_stream/socket_stream.h const char* data, int len) = 0; len 149 net/socket_stream/socket_stream.h virtual bool SendData(const char* data, int len); len 60 net/socket_stream/socket_stream_job.cc bool SocketStreamJob::SendData(const char* data, int len) { len 61 net/socket_stream/socket_stream_job.cc return socket_->SendData(data, len); len 66 net/socket_stream/socket_stream_job.h virtual bool SendData(const char* data, int len); len 50 net/socket_stream/socket_stream_metrics.cc void SocketStreamMetrics::OnRead(int len) { len 51 net/socket_stream/socket_stream_metrics.cc received_bytes_ += len; len 55 net/socket_stream/socket_stream_metrics.cc void SocketStreamMetrics::OnWrite(int len) { len 56 net/socket_stream/socket_stream_metrics.cc sent_bytes_ += len; len 50 net/socket_stream/socket_stream_metrics.h void OnRead(int len); len 51 net/socket_stream/socket_stream_metrics.h void OnWrite(int len); len 120 net/socket_stream/socket_stream_unittest.cc const char* data, int len) OVERRIDE { len 122 net/socket_stream/socket_stream_unittest.cc SocketStreamEvent(SocketStreamEvent::EVENT_RECEIVED_DATA, socket, len, len 123 net/socket_stream/socket_stream_unittest.cc std::string(data, len), NULL, OK)); len 224 net/socket_stream/socket_stream_unittest.cc virtual void OnReceivedData(SocketStream* socket, const char* data, int len) len 107 net/spdy/buffered_spdy_framer.cc size_t len) { len 110 net/spdy/buffered_spdy_framer.cc if (len == 0) { len 154 net/spdy/buffered_spdy_framer.cc if (len > available) { len 160 net/spdy/buffered_spdy_framer.cc memcpy(header_buffer_ + header_buffer_used_, header_data, len); len 161 net/spdy/buffered_spdy_framer.cc header_buffer_used_ += len; len 175 net/spdy/buffered_spdy_framer.cc size_t len, len 177 net/spdy/buffered_spdy_framer.cc visitor_->OnStreamFrameData(stream_id, data, len, fin); len 230 net/spdy/buffered_spdy_framer.cc size_t BufferedSpdyFramer::ProcessInput(const char* data, size_t len) { len 231 net/spdy/buffered_spdy_framer.cc return spdy_framer_.ProcessInput(data, len); len 350 net/spdy/buffered_spdy_framer.cc uint32 len, len 353 net/spdy/buffered_spdy_framer.cc base::StringPiece(data, len)); len 69 net/spdy/buffered_spdy_framer.h size_t len, len 141 net/spdy/buffered_spdy_framer.h size_t len) OVERRIDE; len 144 net/spdy/buffered_spdy_framer.h size_t len, len 167 net/spdy/buffered_spdy_framer.h size_t ProcessInput(const char* data, size_t len); len 197 net/spdy/buffered_spdy_framer.h uint32 len, len 77 net/spdy/buffered_spdy_framer_unittest.cc size_t len, len 25 net/spdy/mock_spdy_framer_visitor.h size_t len, len 29 net/spdy/mock_spdy_framer_visitor.h size_t len)); len 13 net/spdy/spdy_frame_reader.cc SpdyFrameReader::SpdyFrameReader(const char* data, const size_t len) len 15 net/spdy/spdy_frame_reader.cc len_(len), len 31 net/spdy/spdy_frame_reader.h SpdyFrameReader(const char* data, const size_t len); len 116 net/spdy/spdy_framer.cc size_t len) { len 122 net/spdy/spdy_framer.cc size_t len) { len 479 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessInput(const char* data, size_t len) { len 483 net/spdy/spdy_framer.cc size_t original_len = len; len 493 net/spdy/spdy_framer.cc if (len > 0) { len 499 net/spdy/spdy_framer.cc size_t bytes_read = ProcessCommonHeader(data, len); len 500 net/spdy/spdy_framer.cc len -= bytes_read; len 519 net/spdy/spdy_framer.cc int bytes_read = ProcessControlFrameBeforeHeaderBlock(data, len); len 520 net/spdy/spdy_framer.cc len -= bytes_read; len 526 net/spdy/spdy_framer.cc int bytes_read = ProcessSettingsFramePayload(data, len); len 527 net/spdy/spdy_framer.cc len -= bytes_read; len 534 net/spdy/spdy_framer.cc data, len, protocol_version() > SPDY3); len 535 net/spdy/spdy_framer.cc len -= bytes_read; len 541 net/spdy/spdy_framer.cc size_t bytes_read = ProcessRstStreamFramePayload(data, len); len 542 net/spdy/spdy_framer.cc len -= bytes_read; len 548 net/spdy/spdy_framer.cc size_t bytes_read = ProcessGoAwayFramePayload(data, len); len 549 net/spdy/spdy_framer.cc len -= bytes_read; len 555 net/spdy/spdy_framer.cc size_t bytes_read = ProcessControlFramePayload(data, len); len 556 net/spdy/spdy_framer.cc len -= bytes_read; len 562 net/spdy/spdy_framer.cc size_t bytes_read = ProcessFramePaddingLength(data, len); len 563 net/spdy/spdy_framer.cc len -= bytes_read; len 569 net/spdy/spdy_framer.cc size_t bytes_read = ProcessFramePadding(data, len); len 570 net/spdy/spdy_framer.cc len -= bytes_read; len 579 net/spdy/spdy_framer.cc size_t bytes_read = ProcessDataFramePayload(data, len); len 580 net/spdy/spdy_framer.cc len -= bytes_read; len 594 net/spdy/spdy_framer.cc DCHECK(len == 0 || state_ == SPDY_ERROR); len 602 net/spdy/spdy_framer.cc return original_len - len; len 605 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessCommonHeader(const char* data, size_t len) { len 610 net/spdy/spdy_framer.cc size_t original_len = len; len 616 net/spdy/spdy_framer.cc UpdateCurrentFrameBuffer(&data, &len, bytes_desired); len 621 net/spdy/spdy_framer.cc return original_len - len; len 702 net/spdy/spdy_framer.cc return original_len - len; len 769 net/spdy/spdy_framer.cc return original_len - len; len 1030 net/spdy/spdy_framer.cc size_t SpdyFramer::UpdateCurrentFrameBuffer(const char** data, size_t* len, len 1032 net/spdy/spdy_framer.cc size_t bytes_to_read = std::min(*len, max_bytes); len 1041 net/spdy/spdy_framer.cc *len -= bytes_to_read; len 1253 net/spdy/spdy_framer.cc size_t len) { len 1255 net/spdy/spdy_framer.cc const size_t original_len = len; len 1258 net/spdy/spdy_framer.cc size_t bytes_read = UpdateCurrentFrameBuffer(&data, &len, len 1453 net/spdy/spdy_framer.cc return original_len - len; len 1661 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessControlFramePayload(const char* data, size_t len) { len 1662 net/spdy/spdy_framer.cc size_t original_len = len; len 1663 net/spdy/spdy_framer.cc size_t bytes_read = UpdateCurrentFrameBuffer(&data, &len, len 1717 net/spdy/spdy_framer.cc return original_len - len; len 1720 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessGoAwayFramePayload(const char* data, size_t len) { len 1721 net/spdy/spdy_framer.cc if (len == 0) { len 1725 net/spdy/spdy_framer.cc if (len > remaining_data_length_) { len 1726 net/spdy/spdy_framer.cc len = remaining_data_length_; len 1728 net/spdy/spdy_framer.cc size_t original_len = len; len 1736 net/spdy/spdy_framer.cc UpdateCurrentFrameBuffer(&data, &len, unread_header_bytes); len 1771 net/spdy/spdy_framer.cc if (len > 0) { len 1772 net/spdy/spdy_framer.cc processed_successfully = visitor_->OnGoAwayFrameData(data, len); len 1785 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessRstStreamFramePayload(const char* data, size_t len) { len 1786 net/spdy/spdy_framer.cc if (len == 0) { len 1790 net/spdy/spdy_framer.cc if (len > remaining_data_length_) { len 1791 net/spdy/spdy_framer.cc len = remaining_data_length_; len 1793 net/spdy/spdy_framer.cc size_t original_len = len; len 1802 net/spdy/spdy_framer.cc UpdateCurrentFrameBuffer(&data, &len, unread_header_bytes); len 1836 net/spdy/spdy_framer.cc if (len > 0) { len 1837 net/spdy/spdy_framer.cc processed_successfully = visitor_->OnRstStreamFrameData(data, len); len 1850 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessFramePaddingLength(const char* data, size_t len) { len 1853 net/spdy/spdy_framer.cc size_t original_len = len; len 1874 net/spdy/spdy_framer.cc while (len != 0 && remaining_padding_length_fields_ != 0) { len 1879 net/spdy/spdy_framer.cc --len; len 1891 net/spdy/spdy_framer.cc return original_len - len; len 1894 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessFramePadding(const char* data, size_t len) { len 1897 net/spdy/spdy_framer.cc size_t original_len = len; len 1900 net/spdy/spdy_framer.cc size_t amount_to_discard = std::min(remaining_padding_payload_length_, len); len 1909 net/spdy/spdy_framer.cc len -= amount_to_discard; len 1923 net/spdy/spdy_framer.cc return original_len - len; len 1926 net/spdy/spdy_framer.cc size_t SpdyFramer::ProcessDataFramePayload(const char* data, size_t len) { len 1927 net/spdy/spdy_framer.cc size_t original_len = len; len 1930 net/spdy/spdy_framer.cc remaining_data_length_ - remaining_padding_payload_length_, len); len 1939 net/spdy/spdy_framer.cc len -= amount_to_forward; len 1952 net/spdy/spdy_framer.cc return original_len - len; len 2672 net/spdy/spdy_framer.cc size_t len) { len 2685 net/spdy/spdy_framer.cc decomp->avail_in = len; len 2730 net/spdy/spdy_framer.cc DLOG(WARNING) << "inflate failure: " << rv << " " << len; len 2739 net/spdy/spdy_framer.cc SpdyStreamId stream_id, const char* data, size_t len) { len 2741 net/spdy/spdy_framer.cc while (read_successfully && len > 0) { len 2742 net/spdy/spdy_framer.cc size_t bytes_to_deliver = std::min(len, kHeaderDataChunkMaxSize); len 2746 net/spdy/spdy_framer.cc len -= bytes_to_deliver; len 147 net/spdy/spdy_framer.h size_t len, len 161 net/spdy/spdy_framer.h size_t len) = 0; len 218 net/spdy/spdy_framer.h virtual bool OnGoAwayFrameData(const char* goaway_data, size_t len); len 228 net/spdy/spdy_framer.h virtual bool OnRstStreamFrameData(const char* rst_stream_data, size_t len); len 353 net/spdy/spdy_framer.h size_t ProcessInput(const char* data, size_t len); len 509 net/spdy/spdy_framer.h size_t len); len 543 net/spdy/spdy_framer.h size_t ProcessCommonHeader(const char* data, size_t len); len 544 net/spdy/spdy_framer.h size_t ProcessControlFramePayload(const char* data, size_t len); len 545 net/spdy/spdy_framer.h size_t ProcessControlFrameBeforeHeaderBlock(const char* data, size_t len); len 550 net/spdy/spdy_framer.h size_t len, len 552 net/spdy/spdy_framer.h size_t ProcessFramePaddingLength(const char* data, size_t len); len 553 net/spdy/spdy_framer.h size_t ProcessFramePadding(const char* data, size_t len); len 554 net/spdy/spdy_framer.h size_t ProcessDataFramePayload(const char* data, size_t len); len 555 net/spdy/spdy_framer.h size_t ProcessGoAwayFramePayload(const char* data, size_t len); len 556 net/spdy/spdy_framer.h size_t ProcessRstStreamFramePayload(const char* data, size_t len); len 557 net/spdy/spdy_framer.h size_t ProcessSettingsFramePayload(const char* data, size_t len); len 585 net/spdy/spdy_framer.h size_t len); len 593 net/spdy/spdy_framer.h size_t UpdateCurrentFrameBuffer(const char** data, size_t* len, len 92 net/spdy/spdy_framer_test.cc size_t len, len 99 net/spdy/spdy_framer_test.cc size_t len) OVERRIDE { len 101 net/spdy/spdy_framer_test.cc CHECK_GE(kMaxDecompressedSize, size_ + len); len 103 net/spdy/spdy_framer_test.cc if (len != 0) { len 104 net/spdy/spdy_framer_test.cc memcpy(buffer_.get() + size_, header_data, len); len 105 net/spdy/spdy_framer_test.cc size_ += len; len 275 net/spdy/spdy_framer_test.cc size_t len, len 278 net/spdy/spdy_framer_test.cc if (len == 0) len 281 net/spdy/spdy_framer_test.cc data_bytes_ += len; len 283 net/spdy/spdy_framer_test.cc if (len > 0) { len 284 net/spdy/spdy_framer_test.cc for (size_t i = 0 ; i < len; ++i) { len 288 net/spdy/spdy_framer_test.cc std::cerr << "\", " << len << ")\n"; len 293 net/spdy/spdy_framer_test.cc size_t len) OVERRIDE { len 296 net/spdy/spdy_framer_test.cc if (len == 0) { len 307 net/spdy/spdy_framer_test.cc if (len > available) { len 311 net/spdy/spdy_framer_test.cc memcpy(header_buffer_.get() + header_buffer_length_, header_data, len); len 312 net/spdy/spdy_framer_test.cc header_buffer_length_ += len; len 342 net/spdy/spdy_framer_test.cc size_t len) OVERRIDE { len 343 net/spdy/spdy_framer_test.cc if ((rst_stream_data != NULL) && (len > 0)) { len 344 net/spdy/spdy_framer_test.cc fin_opaque_data_ += std::string(rst_stream_data, len); len 65 net/spdy/spdy_headers_block_parser.h size_t len); len 83 net/spdy/spdy_headers_block_parser_test.cc string EncodeLength(uint32_t len) { len 86 net/spdy/spdy_headers_block_parser_test.cc uint32_t net_order_len = htonl(len); len 89 net/spdy/spdy_headers_block_parser_test.cc uint16_t net_order_len = htons(len); len 221 net/spdy/spdy_proxy_client_socket.cc size_t SpdyProxyClientSocket::PopulateUserReadBuffer(char* data, size_t len) { len 222 net/spdy/spdy_proxy_client_socket.cc return read_buffer_queue_.Dequeue(data, len); len 127 net/spdy/spdy_proxy_client_socket.h size_t PopulateUserReadBuffer(char* out, size_t len); len 85 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertSyncReadEquals(const char* data, int len); len 86 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertAsyncReadEquals(const char* data, int len); len 87 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertReadStarts(const char* data, int len); len 88 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertReadReturns(const char* data, int len); len 89 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertAsyncWriteSucceeds(const char* data, int len); len 90 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertWriteReturns(const char* data, int len, int rv); len 91 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertWriteLength(int len); len 92 net/spdy/spdy_proxy_client_socket_unittest.cc void AssertAsyncWriteWithReadsSucceeds(const char* data, int len, len 237 net/spdy/spdy_proxy_client_socket_unittest.cc int len) { len 238 net/spdy/spdy_proxy_client_socket_unittest.cc scoped_refptr<IOBuffer> buf(new IOBuffer(len)); len 239 net/spdy/spdy_proxy_client_socket_unittest.cc ASSERT_EQ(len, sock_->Read(buf.get(), len, CompletionCallback())); len 240 net/spdy/spdy_proxy_client_socket_unittest.cc ASSERT_EQ(std::string(data, len), std::string(buf->data(), len)); len 245 net/spdy/spdy_proxy_client_socket_unittest.cc int len) { len 248 net/spdy/spdy_proxy_client_socket_unittest.cc scoped_refptr<IOBuffer> buf(new IOBuffer(len)); len 250 net/spdy/spdy_proxy_client_socket_unittest.cc sock_->Read(buf.get(), len, read_callback_.callback())); len 257 net/spdy/spdy_proxy_client_socket_unittest.cc EXPECT_EQ(len, read_callback_.WaitForResult()); len 258 net/spdy/spdy_proxy_client_socket_unittest.cc ASSERT_EQ(std::string(data, len), std::string(buf->data(), len)); len 262 net/spdy/spdy_proxy_client_socket_unittest.cc int len) { len 265 net/spdy/spdy_proxy_client_socket_unittest.cc read_buf_ = new IOBuffer(len); len 267 net/spdy/spdy_proxy_client_socket_unittest.cc sock_->Read(read_buf_.get(), len, read_callback_.callback())); len 272 net/spdy/spdy_proxy_client_socket_unittest.cc int len) { len 276 net/spdy/spdy_proxy_client_socket_unittest.cc EXPECT_EQ(len, read_callback_.WaitForResult()); len 277 net/spdy/spdy_proxy_client_socket_unittest.cc ASSERT_EQ(std::string(data, len), std::string(read_buf_->data(), len)); len 281 net/spdy/spdy_proxy_client_socket_unittest.cc int len) { len 282 net/spdy/spdy_proxy_client_socket_unittest.cc AssertWriteReturns(data, len, ERR_IO_PENDING); len 284 net/spdy/spdy_proxy_client_socket_unittest.cc AssertWriteLength(len); len 288 net/spdy/spdy_proxy_client_socket_unittest.cc int len, len 290 net/spdy/spdy_proxy_client_socket_unittest.cc scoped_refptr<IOBufferWithSize> buf(CreateBuffer(data, len)); len 295 net/spdy/spdy_proxy_client_socket_unittest.cc void SpdyProxyClientSocketTest::AssertWriteLength(int len) { len 296 net/spdy/spdy_proxy_client_socket_unittest.cc EXPECT_EQ(len, write_callback_.WaitForResult()); len 300 net/spdy/spdy_proxy_client_socket_unittest.cc const char* data, int len, int num_reads) { len 301 net/spdy/spdy_proxy_client_socket_unittest.cc scoped_refptr<IOBufferWithSize> buf(CreateBuffer(data, len)); len 34 net/spdy/spdy_read_queue.cc size_t SpdyReadQueue::Dequeue(char* out, size_t len) { len 35 net/spdy/spdy_read_queue.cc DCHECK_GT(len, 0u); len 37 net/spdy/spdy_read_queue.cc while (!queue_.empty() && bytes_copied < len) { len 40 net/spdy/spdy_read_queue.cc std::min(len - bytes_copied, buffer->GetRemainingSize()); len 37 net/spdy/spdy_read_queue.h size_t Dequeue(char* out, size_t len); len 906 net/spdy/spdy_session.cc int len, len 918 net/spdy/spdy_session.cc if (len < 0) { len 923 net/spdy/spdy_session.cc int effective_len = std::min(len, kMaxSpdyFrameChunkSize); len 997 net/spdy/spdy_session.cc if (effective_len < len) len 1908 net/spdy/spdy_session.cc size_t len, len 1915 net/spdy/spdy_session.cc if (data == NULL && len != 0) { len 1922 net/spdy/spdy_session.cc DCHECK_LT(len, 1u << 24); len 1926 net/spdy/spdy_session.cc base::Bind(&NetLogSpdyDataCallback, stream_id, len, fin)); len 1936 net/spdy/spdy_session.cc DCHECK_GT(len, 0u); len 1937 net/spdy/spdy_session.cc CHECK_LE(len, static_cast<size_t>(kReadBufferSize)); len 1938 net/spdy/spdy_session.cc buffer.reset(new SpdyBuffer(data, len)); len 1941 net/spdy/spdy_session.cc DecreaseRecvWindowSize(static_cast<int32>(len)); len 1947 net/spdy/spdy_session.cc DCHECK_EQ(len, 0u); len 1959 net/spdy/spdy_session.cc stream->IncrementRawReceivedBytes(len); len 301 net/spdy/spdy_session.h int len, len 798 net/spdy/spdy_session.h size_t len, len 87 net/spdy/spdy_stream_test_util.cc size_t len = received_data_queue_.GetTotalSize(); len 88 net/spdy/spdy_stream_test_util.cc std::string received_data(len, '\0'); len 89 net/spdy/spdy_stream_test_util.cc if (len > 0) { len 91 net/spdy/spdy_stream_test_util.cc len, len 92 net/spdy/spdy_stream_test_util.cc received_data_queue_.Dequeue(string_as_array(&received_data), len)); len 195 net/spdy/spdy_test_util_common.cc int len = frames[i]->size(); len 196 net/spdy/spdy_test_util_common.cc memcpy(ptr, frames[i]->data(), len); len 197 net/spdy/spdy_test_util_common.cc ptr += len; len 235 net/spdy/spdy_test_util_common.cc size_t len, len 1163 net/spdy/spdy_test_util_common.cc uint32 len, len 1166 net/spdy/spdy_test_util_common.cc SpdyDataIR data_ir(stream_id, base::StringPiece(data, len)); len 503 net/spdy/spdy_test_util_common.h uint32 len, bool fin); len 135 net/spdy/spdy_websocket_test_util.cc int len, len 144 net/spdy/spdy_websocket_test_util.cc len, len 60 net/spdy/spdy_websocket_test_util.h int len, len 74 net/ssl/client_cert_store_nss.cc ca_names_items[i].len = static_cast<unsigned int>(authority.size()); len 230 net/test/openssl_helper.cc unsigned len, expected_len; len 231 net/test/openssl_helper.cc SSL_get0_next_proto_negotiated(server, &data, &len); len 239 net/test/openssl_helper.cc if (len != expected_len || memcmp(data, expected_data, len) != 0) { len 240 net/test/openssl_helper.cc fprintf(stderr, "Bad NPN: %d\n", len); len 198 net/third_party/mozilla_security_manager/nsKeygenHandler.cpp pkac.challenge.len = challenge.length(); len 209 net/third_party/mozilla_security_manager/nsKeygenHandler.cpp sec_rv = SEC_DerSignData(arena, &signedItem, pkacItem.data, pkacItem.len, len 219 net/third_party/mozilla_security_manager/nsKeygenHandler.cpp std::string(reinterpret_cast<char*>(signedItem.data), signedItem.len), len 63 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp int len = 0; len 64 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp while (uni[len++] != 0); len 65 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp SECITEM_AllocItem(NULL, item, sizeof(PRUnichar) * len); len 68 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp for (i=0; i<len; i++) { len 73 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp memcpy(item->data, uni, item->len); len 79 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp void write_export_data(void* arg, const char* buf, unsigned long len) { len 81 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp dest->append(buf, len); len 107 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp if(old_nick && old_nick->data && old_nick->len && len 108 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp PORT_Strlen(nick) == old_nick->len && len 109 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp !PORT_Strncmp((char *)old_nick->data, nick, old_nick->len)) { len 123 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp ret_nick->len = PORT_Strlen(nick); len 168 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp unicodePw.len = 0; len 201 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp attribute_value.len = sizeof(attribute_data); len 314 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp if ((value.len == 1) && (value.data != NULL)) len 401 net/third_party/mozilla_security_manager/nsPKCS12Blob.cpp unicodePw.len = 0; len 23 net/third_party/nss/ssl/bodge/secitem_array.c unsigned int len; len 28 net/third_party/nss/ssl/bodge/secitem_array.c SECITEM_AllocArray(PLArenaPool *arena, SECItemArray *array, unsigned int len) len 51 net/third_party/nss/ssl/bodge/secitem_array.c result->len = len; len 52 net/third_party/nss/ssl/bodge/secitem_array.c if (len) { len 54 net/third_party/nss/ssl/bodge/secitem_array.c result->items = PORT_ArenaZNewArray(arena, SECItem, len); len 56 net/third_party/nss/ssl/bodge/secitem_array.c result->items = PORT_ZNewArray(SECItem, len); len 77 net/third_party/nss/ssl/bodge/secitem_array.c array->len = 0; len 96 net/third_party/nss/ssl/bodge/secitem_array.c if (!array || !array->len || !array->items) len 99 net/third_party/nss/ssl/bodge/secitem_array.c for (i=0; i<array->len; ++i) { len 112 net/third_party/nss/ssl/bodge/secitem_array.c array->len = 0; len 134 net/third_party/nss/ssl/bodge/secitem_array.c if (!from || !from->items || !from->len) len 137 net/third_party/nss/ssl/bodge/secitem_array.c result = SECITEM_AllocArray(arena, NULL, from->len); len 141 net/third_party/nss/ssl/bodge/secitem_array.c for (i=0; i<from->len; ++i) { len 54 net/third_party/nss/ssl/cmpcert.c compatIssuerName.len = issuerName.len - headerlen; len 57 net/third_party/nss/ssl/cmpcert.c compatIssuerName.len = 0; len 34 net/third_party/nss/ssl/derive.c result->len = keyLen; len 42 net/third_party/nss/ssl/derive.c (result)->len = keyLen; \ len 104 net/third_party/nss/ssl/derive.c pwSpec->msItem.len != SSL3_MASTER_SECRET_LENGTH) { len 110 net/third_party/nss/ssl/derive.c pwSpec->msItem.len)); len 139 net/third_party/nss/ssl/derive.c srcr.len = sizeof srcrdata; len 146 net/third_party/nss/ssl/derive.c crsr.len = sizeof crsrdata; len 149 net/third_party/nss/ssl/derive.c PRINT_BUF(100, (NULL, "Key & MAC CRSR", crsr.data, crsr.len)); len 159 net/third_party/nss/ssl/derive.c keyblk.len = block_needed; len 171 net/third_party/nss/ssl/derive.c block_bytes = keyblk.len; len 189 net/third_party/nss/ssl/derive.c SHA1_Update(shaCtx, pwSpec->msItem.data, pwSpec->msItem.len); len 190 net/third_party/nss/ssl/derive.c SHA1_Update(shaCtx, srcr.data, srcr.len); len 195 net/third_party/nss/ssl/derive.c MD5_Update(md5Ctx, pwSpec->msItem.data, pwSpec->msItem.len); len 296 net/third_party/nss/ssl/derive.c MD5_Update(md5Ctx, crsr.data, crsr.len); len 310 net/third_party/nss/ssl/derive.c MD5_Update(md5Ctx, srcr.data, srcr.len); len 324 net/third_party/nss/ssl/derive.c MD5_Update(md5Ctx, crsr.data, crsr.len); len 335 net/third_party/nss/ssl/derive.c MD5_Update(md5Ctx, srcr.data, srcr.len); len 359 net/third_party/nss/ssl/derive.c secret.len = effKeySize; len 362 net/third_party/nss/ssl/derive.c keyblk.len = keySize; len 378 net/third_party/nss/ssl/derive.c secret.len = effKeySize; len 381 net/third_party/nss/ssl/derive.c keyblk.len = keySize; len 397 net/third_party/nss/ssl/derive.c secret.len = 0; len 399 net/third_party/nss/ssl/derive.c keyblk.len = 2 * IVSize; len 458 net/third_party/nss/ssl/derive.c PORT_Assert(pms->len == SSL3_RSA_PMS_LENGTH); len 459 net/third_party/nss/ssl/derive.c if (pms->len != SSL3_RSA_PMS_LENGTH) { len 469 net/third_party/nss/ssl/derive.c crsr.len = sizeof crsrdata; len 472 net/third_party/nss/ssl/derive.c PRINT_BUF(100, (NULL, "Master Secret CRSR", crsr.data, crsr.len)); len 479 net/third_party/nss/ssl/derive.c master.len = SSL3_MASTER_SECRET_LENGTH; len 499 net/third_party/nss/ssl/derive.c SHA1_Update(shaCtx, pms->data, pms->len); len 500 net/third_party/nss/ssl/derive.c SHA1_Update(shaCtx, crsr.data, crsr.len); len 505 net/third_party/nss/ssl/derive.c MD5_Update(md5Ctx, pms->data, pms->len); len 517 net/third_party/nss/ssl/derive.c pwSpec->msItem.len = SSL3_MASTER_SECRET_LENGTH; len 519 net/third_party/nss/ssl/derive.c pwSpec->msItem.len)); len 560 net/third_party/nss/ssl/derive.c params.len = sizeof master_params; len 714 net/third_party/nss/ssl/derive.c param.len = sizeof version; len 720 net/third_party/nss/ssl/derive.c enc_pms.len = SECKEY_PublicKeyStrength(srvPubkey); len 721 net/third_party/nss/ssl/derive.c enc_pms.data = (unsigned char*)PORT_Alloc(enc_pms.len); len 735 net/third_party/nss/ssl/derive.c enc_pms.len); len 783 net/third_party/nss/ssl/derive.c serverKeyStrengthInBits = srvPubkey->u.rsa.modulus.len; len 104 net/third_party/nss/ssl/dtlscon.c const unsigned char *data, PRUint32 len) len 112 net/third_party/nss/ssl/dtlscon.c msg->data = PORT_Alloc(len); len 117 net/third_party/nss/ssl/dtlscon.c PORT_Memcpy(msg->data, data, len); len 119 net/third_party/nss/ssl/dtlscon.c msg->len = len; len 137 net/third_party/nss/ssl/dtlscon.c PORT_ZFree(msg->data, msg->len); len 192 net/third_party/nss/ssl/dtlscon.c while (buf.len > 0) { len 200 net/third_party/nss/ssl/dtlscon.c if (buf.len < 12) { len 222 net/third_party/nss/ssl/dtlscon.c buf.len -= 12; len 225 net/third_party/nss/ssl/dtlscon.c if (buf.len < fragment_length) { len 436 net/third_party/nss/ssl/dtlscon.c buf.len -= fragment_length; len 439 net/third_party/nss/ssl/dtlscon.c origBuf->len = 0; /* So ssl3_GatherAppDataRecord will keep looping. */ len 492 net/third_party/nss/ssl/dtlscon.c if (!ss->sec.ci.sendBuf.buf || !ss->sec.ci.sendBuf.len) len 496 net/third_party/nss/ssl/dtlscon.c ss->sec.ci.sendBuf.buf, ss->sec.ci.sendBuf.len); len 499 net/third_party/nss/ssl/dtlscon.c ss->sec.ci.sendBuf.len = 0; len 592 net/third_party/nss/ssl/dtlscon.c PORT_Assert(!ss->pendingBuf.len); len 608 net/third_party/nss/ssl/dtlscon.c if ((msg->len + SSL3_BUFFER_FUDGE) > room_left) { len 617 net/third_party/nss/ssl/dtlscon.c if ((msg->len + SSL3_BUFFER_FUDGE) <= room_left) { len 621 net/third_party/nss/ssl/dtlscon.c msg->data, msg->len, len 624 net/third_party/nss/ssl/dtlscon.c if (sent != msg->len) { len 632 net/third_party/nss/ssl/dtlscon.c room_left = ss->ssl3.mtu - ss->pendingBuf.len; len 654 net/third_party/nss/ssl/dtlscon.c PORT_Assert(msg->len >= 12); len 656 net/third_party/nss/ssl/dtlscon.c while ((fragment_offset + 12) < msg->len) { len 659 net/third_party/nss/ssl/dtlscon.c PRUint32 content_len = msg->len - 12; len 747 net/third_party/nss/ssl/dtlscon.c if (ss->pendingBuf.len > 0) { len 989 net/third_party/nss/ssl/dtlscon.c if (cookie.len > DTLS_COOKIE_BYTES) { len 994 net/third_party/nss/ssl/dtlscon.c PORT_Memcpy(ss->ssl3.hs.cookie, cookie.data, cookie.len); len 995 net/third_party/nss/ssl/dtlscon.c ss->ssl3.hs.cookieLen = cookie.len; len 74 net/third_party/nss/ssl/preenc.h unsigned char len [2]; len 295 net/third_party/nss/ssl/ssl.h unsigned int len); len 1010 net/third_party/nss/ssl/ssl.h PRUintn len); len 1012 net/third_party/nss/ssl/ssl.h SSLCipherSuiteInfo *info, PRUintn len); len 950 net/third_party/nss/ssl/ssl3con.c hashItem.len = hash->len; len 958 net/third_party/nss/ssl/ssl3con.c hashItem.len = sizeof(hash->u.s.sha); len 961 net/third_party/nss/ssl/ssl3con.c hashItem.len = hash->len; len 971 net/third_party/nss/ssl/ssl3con.c hashItem.len = sizeof(hash->u.s.sha); len 974 net/third_party/nss/ssl/ssl3con.c hashItem.len = hash->len; len 982 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "hash(es) to be signed", hashItem.data, hashItem.len)); len 991 net/third_party/nss/ssl/ssl3con.c buf->len = (unsigned)signatureLen; len 1006 net/third_party/nss/ssl/ssl3con.c rv = DSAU_EncodeDerSigWithLen(&derSig, buf, buf->len); len 1015 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "signed hashes", (unsigned char*)buf->data, buf->len)); len 1038 net/third_party/nss/ssl/ssl3con.c buf->data, buf->len)); len 1051 net/third_party/nss/ssl/ssl3con.c hashItem.len = hash->len; len 1059 net/third_party/nss/ssl/ssl3con.c hashItem.len = sizeof(hash->u.s.sha); len 1062 net/third_party/nss/ssl/ssl3con.c hashItem.len = hash->len; len 1065 net/third_party/nss/ssl/ssl3con.c if (isTLS || buf->len != SECKEY_SignatureLen(key)) { len 1087 net/third_party/nss/ssl/ssl3con.c hashItem.len = sizeof(hash->u.s.sha); len 1090 net/third_party/nss/ssl/ssl3con.c hashItem.len = hash->len; len 1102 net/third_party/nss/ssl/ssl3con.c hashItem.data, hashItem.len)); len 1146 net/third_party/nss/ssl/ssl3con.c hashes->len = MD5_LENGTH + SHA1_LENGTH; len 1149 net/third_party/nss/ssl/ssl3con.c hashes->len = SHA1_LENGTH; len 1152 net/third_party/nss/ssl/ssl3con.c hashes->len = SHA256_LENGTH; len 1155 net/third_party/nss/ssl/ssl3con.c hashes->len = SHA384_LENGTH; len 1158 net/third_party/nss/ssl/ssl3con.c hashes->len = SHA512_LENGTH; len 1179 net/third_party/nss/ssl/ssl3con.c hashes->len = MD5_LENGTH + SHA1_LENGTH; len 1181 net/third_party/nss/ssl/ssl3con.c hashes->len = HASH_ResultLenByOidTag(hashAlg); len 1182 net/third_party/nss/ssl/ssl3con.c if (hashes->len > sizeof(hashes->u.raw)) { len 1216 net/third_party/nss/ssl/ssl3con.c bufLen = 2*SSL3_RANDOM_LENGTH + 2 + modulus.len + 2 + publicExponent.len; len 1230 net/third_party/nss/ssl/ssl3con.c pBuf[0] = (PRUint8)(modulus.len >> 8); len 1231 net/third_party/nss/ssl/ssl3con.c pBuf[1] = (PRUint8)(modulus.len); len 1233 net/third_party/nss/ssl/ssl3con.c memcpy(pBuf, modulus.data, modulus.len); len 1234 net/third_party/nss/ssl/ssl3con.c pBuf += modulus.len; len 1235 net/third_party/nss/ssl/ssl3con.c pBuf[0] = (PRUint8)(publicExponent.len >> 8); len 1236 net/third_party/nss/ssl/ssl3con.c pBuf[1] = (PRUint8)(publicExponent.len); len 1238 net/third_party/nss/ssl/ssl3con.c memcpy(pBuf, publicExponent.data, publicExponent.len); len 1239 net/third_party/nss/ssl/ssl3con.c pBuf += publicExponent.len; len 1253 net/third_party/nss/ssl/ssl3con.c hashes->u.raw, hashes->len)); len 1275 net/third_party/nss/ssl/ssl3con.c bufLen = 2*SSL3_RANDOM_LENGTH + 2 + dh_p.len + 2 + dh_g.len + 2 + dh_Ys.len; len 1289 net/third_party/nss/ssl/ssl3con.c pBuf[0] = (PRUint8)(dh_p.len >> 8); len 1290 net/third_party/nss/ssl/ssl3con.c pBuf[1] = (PRUint8)(dh_p.len); len 1292 net/third_party/nss/ssl/ssl3con.c memcpy(pBuf, dh_p.data, dh_p.len); len 1293 net/third_party/nss/ssl/ssl3con.c pBuf += dh_p.len; len 1294 net/third_party/nss/ssl/ssl3con.c pBuf[0] = (PRUint8)(dh_g.len >> 8); len 1295 net/third_party/nss/ssl/ssl3con.c pBuf[1] = (PRUint8)(dh_g.len); len 1297 net/third_party/nss/ssl/ssl3con.c memcpy(pBuf, dh_g.data, dh_g.len); len 1298 net/third_party/nss/ssl/ssl3con.c pBuf += dh_g.len; len 1299 net/third_party/nss/ssl/ssl3con.c pBuf[0] = (PRUint8)(dh_Ys.len >> 8); len 1300 net/third_party/nss/ssl/ssl3con.c pBuf[1] = (PRUint8)(dh_Ys.len); len 1302 net/third_party/nss/ssl/ssl3con.c memcpy(pBuf, dh_Ys.data, dh_Ys.len); len 1303 net/third_party/nss/ssl/ssl3con.c pBuf += dh_Ys.len; len 1317 net/third_party/nss/ssl/ssl3con.c hashes->u.raw, hashes->len)); len 1383 net/third_party/nss/ssl/ssl3con.c spec->msItem.len = 0; len 1741 net/third_party/nss/ssl/ssl3con.c pwSpec->server.write_key_item.len, len 1773 net/third_party/nss/ssl/ssl3con.c pwSpec->client.write_key_item.len, len 1802 net/third_party/nss/ssl/ssl3con.c if (param && param->data && param->len >= sizeof(CK_RC2_PARAMS)) { len 1977 net/third_party/nss/ssl/ssl3con.c param.len = sizeof(gcmParams); len 2019 net/third_party/nss/ssl/ssl3con.c PORT_Assert(keys->write_iv_item.len == 4); len 2020 net/third_party/nss/ssl/ssl3con.c if (keys->write_iv_item.len != 4) { len 2051 net/third_party/nss/ssl/ssl3con.c keys->write_key_item.len, len 2088 net/third_party/nss/ssl/ssl3con.c param.len = sizeof(aeadParams); len 2163 net/third_party/nss/ssl/ssl3con.c mac_param.len = sizeof(macLength); len 2196 net/third_party/nss/ssl/ssl3con.c iv.len = cipher_def->iv_size; len 2205 net/third_party/nss/ssl/ssl3con.c iv.data = PK11_IVFromParam(mechanism, param, (int *)&iv.len); len 2207 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(pwSpec->server.write_iv, iv.data, iv.len); len 2218 net/third_party/nss/ssl/ssl3con.c iv.len = cipher_def->iv_size; len 2228 net/third_party/nss/ssl/ssl3con.c iv.data = PK11_IVFromParam(mechanism, param, (int *)&iv.len); len 2230 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(pwSpec->client.write_iv, iv.data, iv.len); len 2293 net/third_party/nss/ssl/ssl3con.c if (pms || (!pwSpec->msItem.len && !pwSpec->master_secret)) { len 2300 net/third_party/nss/ssl/ssl3con.c if (ss->opt.bypassPKCS11 && pwSpec->msItem.len && pwSpec->msItem.data) { len 2454 net/third_party/nss/ssl/ssl3con.c spec->server.write_mac_key_item.len); len 2458 net/third_party/nss/ssl/ssl3con.c spec->client.write_mac_key_item.len); len 2469 net/third_party/nss/ssl/ssl3con.c spec->server.write_mac_key_item.len); len 2473 net/third_party/nss/ssl/ssl3con.c spec->client.write_mac_key_item.len); len 2483 net/third_party/nss/ssl/ssl3con.c spec->server.write_mac_key_item.len, PR_FALSE); len 2487 net/third_party/nss/ssl/ssl3con.c spec->client.write_mac_key_item.len, PR_FALSE); len 2570 net/third_party/nss/ssl/ssl3con.c param.len = sizeof(params); len 2574 net/third_party/nss/ssl/ssl3con.c inputItem.len = inputLen; len 2578 net/third_party/nss/ssl/ssl3con.c outputItem.len = *outLen; len 2598 net/third_party/nss/ssl/ssl3con.c PORT_Assert(outputItem.len == (unsigned)spec->mac_size); len 2599 net/third_party/nss/ssl/ssl3con.c *outLen = outputItem.len; len 2820 net/third_party/nss/ssl/ssl3con.c wrBuf->len = cipherBytes + headerLen; len 2979 net/third_party/nss/ssl/ssl3con.c wrBuf->buf, wrBuf->len)); len 2981 net/third_party/nss/ssl/ssl3con.c secondRecord.buf = wrBuf->buf + wrBuf->len; len 2982 net/third_party/nss/ssl/ssl3con.c secondRecord.len = 0; len 2983 net/third_party/nss/ssl/ssl3con.c secondRecord.space = wrBuf->space - wrBuf->len; len 2992 net/third_party/nss/ssl/ssl3con.c secondRecord.buf, secondRecord.len)); len 2993 net/third_party/nss/ssl/ssl3con.c wrBuf->len += secondRecord.len; len 3012 net/third_party/nss/ssl/ssl3con.c wrBuf->buf, wrBuf->len)); len 3030 net/third_party/nss/ssl/ssl3con.c if ((ss->pendingBuf.len > 0) || len 3033 net/third_party/nss/ssl/ssl3con.c rv = ssl_SaveWriteData(ss, wrBuf->buf, wrBuf->len); len 3038 net/third_party/nss/ssl/ssl3con.c wrBuf->len = 0; /* All cipher text is saved away. */ len 3048 net/third_party/nss/ssl/ssl3con.c if (ss->pendingBuf.len) { len 3052 net/third_party/nss/ssl/ssl3con.c } else if (wrBuf->len > 0) { len 3055 net/third_party/nss/ssl/ssl3con.c sent = ssl_DefSend(ss, wrBuf->buf, wrBuf->len, len 3065 net/third_party/nss/ssl/ssl3con.c wrBuf->len -= sent; len 3066 net/third_party/nss/ssl/ssl3con.c if (wrBuf->len) { len 3075 net/third_party/nss/ssl/ssl3con.c rv = ssl_SaveWriteData(ss, wrBuf->buf + sent, wrBuf->len); len 3094 net/third_party/nss/ssl/ssl3con.c PRInt32 len, PRInt32 flags) len 3103 net/third_party/nss/ssl/ssl3con.c if (len < 0 || !in) { len 3108 net/third_party/nss/ssl/ssl3con.c if (ss->pendingBuf.len > SSL3_PENDING_HIGH_WATER && len 3115 net/third_party/nss/ssl/ssl3con.c if (ss->appDataBuffered && len) { len 3122 net/third_party/nss/ssl/ssl3con.c len--; len 3125 net/third_party/nss/ssl/ssl3con.c while (len > totalSent) { len 3139 net/third_party/nss/ssl/ssl3con.c toSend = PR_MIN(len - totalSent, MAX_FRAGMENT_LENGTH); len 3154 net/third_party/nss/ssl/ssl3con.c if (ss->pendingBuf.len) { len 3161 net/third_party/nss/ssl/ssl3con.c if (ss->pendingBuf.len) { len 3219 net/third_party/nss/ssl/ssl3con.c if (!ss->sec.ci.sendBuf.buf || !ss->sec.ci.sendBuf.len) len 3229 net/third_party/nss/ssl/ssl3con.c ss->sec.ci.sendBuf.len, flags); len 3237 net/third_party/nss/ssl/ssl3con.c } else if (rv < ss->sec.ci.sendBuf.len) { len 3239 net/third_party/nss/ssl/ssl3con.c PORT_Assert(rv >= ss->sec.ci.sendBuf.len); len 3247 net/third_party/nss/ssl/ssl3con.c ss->sec.ci.sendBuf.len = 0; len 3443 net/third_party/nss/ssl/ssl3con.c if (buf->len != 2) { len 3450 net/third_party/nss/ssl/ssl3con.c buf->len = 0; len 3629 net/third_party/nss/ssl/ssl3con.c if(buf->len != 1) { len 3641 net/third_party/nss/ssl/ssl3con.c buf->len = 0; len 3727 net/third_party/nss/ssl/ssl3con.c params.len = sizeof master_params; len 3736 net/third_party/nss/ssl/ssl3con.c if (keyData && keyData->data && keyData->len) { len 3738 net/third_party/nss/ssl/ssl3con.c keyData->data, keyData->len); len 3811 net/third_party/nss/ssl/ssl3con.c if (keydata && keydata->len <= sizeof pwSpec->raw_master_secret) { len 3812 net/third_party/nss/ssl/ssl3con.c memcpy(pwSpec->raw_master_secret, keydata->data, keydata->len); len 3814 net/third_party/nss/ssl/ssl3con.c pwSpec->msItem.len = keydata->len; len 3912 net/third_party/nss/ssl/ssl3con.c params.len = sizeof(key_material_params); len 4073 net/third_party/nss/ssl/ssl3con.c if (ss->ssl3.hs.messages.len > 0) { len 4075 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.messages.len) != len 4081 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.messages.len = 0; len 4096 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.messages.len = 0; len 4186 net/third_party/nss/ssl/ssl3con.c int room = ss->sec.ci.sendBuf.space - ss->sec.ci.sendBuf.len; len 4195 net/third_party/nss/ssl/ssl3con.c PR_MIN(MAX_SEND_BUF_LENGTH, ss->sec.ci.sendBuf.len + bytes))); len 4198 net/third_party/nss/ssl/ssl3con.c room = ss->sec.ci.sendBuf.space - ss->sec.ci.sendBuf.len; len 4208 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(ss->sec.ci.sendBuf.buf + ss->sec.ci.sendBuf.len, src, len 4210 net/third_party/nss/ssl/ssl3con.c ss->sec.ci.sendBuf.len += room; len 4218 net/third_party/nss/ssl/ssl3con.c PORT_Assert(ss->sec.ci.sendBuf.len == 0); len 4220 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(ss->sec.ci.sendBuf.buf + ss->sec.ci.sendBuf.len, src, bytes); len 4221 net/third_party/nss/ssl/ssl3con.c ss->sec.ci.sendBuf.len += bytes; len 4427 net/third_party/nss/ssl/ssl3con.c i->len = 0; len 4438 net/third_party/nss/ssl/ssl3con.c i->len = count; len 4626 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.sha_obj->end(sha_cx, hashes->u.raw, &hashes->len, len 4629 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "SHA-256: result", hashes->u.raw, hashes->len)); len 4668 net/third_party/nss/ssl/ssl3con.c MD5_Update(md5cx, spec->msItem.data, spec->msItem.len); len 4682 net/third_party/nss/ssl/ssl3con.c SHA1_Update(shacx, spec->msItem.data, spec->msItem.len); len 4692 net/third_party/nss/ssl/ssl3con.c MD5_Update(md5cx, spec->msItem.data, spec->msItem.len); len 4706 net/third_party/nss/ssl/ssl3con.c SHA1_Update(shacx, spec->msItem.data, spec->msItem.len); len 4714 net/third_party/nss/ssl/ssl3con.c hashes->len = MD5_LENGTH + SHA1_LENGTH; len 4739 net/third_party/nss/ssl/ssl3con.c rv |= PK11_DigestFinal(h, hashes->u.raw, &hashes->len, len 4880 net/third_party/nss/ssl/ssl3con.c hashes->len = MD5_LENGTH + SHA1_LENGTH; len 4920 net/third_party/nss/ssl/ssl3con.c rv = PK11_DigestFinal(ss->ssl3.hs.backupHash, hashes->u.raw, &hashes->len, len 5584 net/third_party/nss/ssl/ssl3con.c wrappedKey.len = pWswk->wrappedSymKeyLen; len 5585 net/third_party/nss/ssl/ssl3con.c PORT_Assert(wrappedKey.len <= sizeof pWswk->wrappedSymmetricWrappingkey); len 5621 net/third_party/nss/ssl/ssl3con.c pubWrapKey.u.ec.DEREncodedParams.len = ecWrapped->encodedParamLen; len 5623 net/third_party/nss/ssl/ssl3con.c pubWrapKey.u.ec.publicValue.len = ecWrapped->pubValueLen; len 5627 net/third_party/nss/ssl/ssl3con.c wrappedKey.len = ecWrapped->wrappedKeyLen; len 5806 net/third_party/nss/ssl/ssl3con.c wrappedKey.len = SECKEY_PublicKeyStrength(svrPubKey); len 5809 net/third_party/nss/ssl/ssl3con.c PORT_Assert(wrappedKey.len <= sizeof wswk.wrappedSymmetricWrappingkey); len 5810 net/third_party/nss/ssl/ssl3con.c if (wrappedKey.len > sizeof wswk.wrappedSymmetricWrappingkey) len 5854 net/third_party/nss/ssl/ssl3con.c PORT_Assert(pubWrapKey->u.ec.DEREncodedParams.len + len 5855 net/third_party/nss/ssl/ssl3con.c pubWrapKey->u.ec.publicValue.len < MAX_EC_WRAPPED_KEY_BUFLEN); len 5856 net/third_party/nss/ssl/ssl3con.c if (pubWrapKey->u.ec.DEREncodedParams.len + len 5857 net/third_party/nss/ssl/ssl3con.c pubWrapKey->u.ec.publicValue.len >= MAX_EC_WRAPPED_KEY_BUFLEN) { len 5874 net/third_party/nss/ssl/ssl3con.c ecWrapped->encodedParamLen = pubWrapKey->u.ec.DEREncodedParams.len; len 5876 net/third_party/nss/ssl/ssl3con.c pubWrapKey->u.ec.DEREncodedParams.len); len 5878 net/third_party/nss/ssl/ssl3con.c ecWrapped->pubValueLen = pubWrapKey->u.ec.publicValue.len; len 5881 net/third_party/nss/ssl/ssl3con.c pubWrapKey->u.ec.publicValue.len); len 5883 net/third_party/nss/ssl/ssl3con.c wrappedKey.len = MAX_EC_WRAPPED_KEY_BUFLEN - len 5899 net/third_party/nss/ssl/ssl3con.c ecWrapped->wrappedKeyLen = wrappedKey.len; len 5925 net/third_party/nss/ssl/ssl3con.c wswk.wrappedSymKeyLen = wrappedKey.len; len 5994 net/third_party/nss/ssl/ssl3con.c enc_pms.len = SECKEY_PublicKeyStrength(svrPubKey); len 5995 net/third_party/nss/ssl/ssl3con.c enc_pms.data = (unsigned char*)PORT_Alloc(enc_pms.len); len 6011 net/third_party/nss/ssl/ssl3con.c if (keyData && keyData->data && keyData->len) { len 6015 net/third_party/nss/ssl/ssl3con.c keyData->data, keyData->len); len 6018 net/third_party/nss/ssl/ssl3con.c if (ssl_keylog_iob && enc_pms.len >= 8 && keyData->len == 48) { len 6048 net/third_party/nss/ssl/ssl3con.c isTLS ? enc_pms.len + 2 : enc_pms.len); len 6053 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeVariable(ss, enc_pms.data, enc_pms.len, 2); len 6055 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshake(ss, enc_pms.data, enc_pms.len); len 6099 net/third_party/nss/ssl/ssl3con.c dhParam.prime.len = svrPubKey->u.dh.prime.len; len 6101 net/third_party/nss/ssl/ssl3con.c dhParam.base.len = svrPubKey->u.dh.base.len; len 6112 net/third_party/nss/ssl/ssl3con.c pubKey->u.dh.publicValue.len)); len 6139 net/third_party/nss/ssl/ssl3con.c pubKey->u.dh.publicValue.len + 2); len 6145 net/third_party/nss/ssl/ssl3con.c pubKey->u.dh.publicValue.len, 2); len 6252 net/third_party/nss/ssl/ssl3con.c unsigned int len; len 6310 net/third_party/nss/ssl/ssl3con.c len = buf.len + 2 + (isTLS12 ? 2 : 0); len 6312 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeHeader(ss, certificate_verify, len); len 6329 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeVariable(ss, buf.data, buf.len, 2); len 6449 net/third_party/nss/ssl/ssl3con.c if (sidBytes.len > SSL3_SESSIONID_BYTES) { len 6534 net/third_party/nss/ssl/ssl3con.c &extensions.len); len 6564 net/third_party/nss/ssl/ssl3con.c sid_match = (PRBool)(sidBytes.len > 0 && len 6565 net/third_party/nss/ssl/ssl3con.c sidBytes.len == sid->u.ssl3.sessionIDLength && len 6566 net/third_party/nss/ssl/ssl3con.c !PORT_Memcmp(sid->u.ssl3.sessionID, sidBytes.data, sidBytes.len)); len 6622 net/third_party/nss/ssl/ssl3con.c wrappedMS.len = sid->u.ssl3.keys.wrapped_master_secret_len; len 6636 net/third_party/nss/ssl/ssl3con.c wrappedMS.len = sid->u.ssl3.keys.wrapped_master_secret_len; len 6637 net/third_party/nss/ssl/ssl3con.c memcpy(pwSpec->raw_master_secret, wrappedMS.data, wrappedMS.len); len 6639 net/third_party/nss/ssl/ssl3con.c pwSpec->msItem.len = wrappedMS.len; len 6646 net/third_party/nss/ssl/ssl3con.c wrappedMS.len = sid->u.ssl3.keys.wrapped_master_secret_len; len 6703 net/third_party/nss/ssl/ssl3con.c sid->u.ssl3.sessionIDLength = sidBytes.len; len 6704 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(sid->u.ssl3.sessionID, sidBytes.data, sidBytes.len); len 6720 net/third_party/nss/ssl/ssl3con.c ss->xtnData.signedCertTimestamps.len = 0; len 6749 net/third_party/nss/ssl/ssl3con.c ss->xtnData.signedCertTimestamps.len = 0; len 6761 net/third_party/nss/ssl/ssl3con.c for (i = 0; i < mpint->len; i++) { len 6775 net/third_party/nss/ssl/ssl3con.c return (i < mpint->len - 1); len 6917 net/third_party/nss/ssl/ssl3con.c if (dh_p.len < 512/8) { len 6925 net/third_party/nss/ssl/ssl3con.c if (dh_g.len > dh_p.len || !ssl3_BigIntGreaterThanOne(&dh_g)) len 6931 net/third_party/nss/ssl/ssl3con.c if (dh_Ys.len > dh_p.len || !ssl3_BigIntGreaterThanOne(&dh_Ys)) len 6955 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "Server DH p", dh_p.data, dh_p.len)); len 6956 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "Server DH g", dh_g.data, dh_g.len)); len 6957 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(60, (NULL, "Server DH Ys", dh_Ys.data, dh_Ys.len)); len 7124 net/third_party/nss/ssl/ssl3con.c for (i = 0; i < algorithms->len; i += 2) { len 7211 net/third_party/nss/ssl/ssl3con.c if (algorithms.len == 0 || (algorithms.len & 1) != 0) len 7231 net/third_party/nss/ssl/ssl3con.c PRInt32 len; len 7236 net/third_party/nss/ssl/ssl3con.c node->name.len = len = ssl3_ConsumeHandshakeNumber(ss, 2, &b, &length); len 7237 net/third_party/nss/ssl/ssl3con.c if (len <= 0) len 7241 net/third_party/nss/ssl/ssl3con.c if (remaining < len) len 7245 net/third_party/nss/ssl/ssl3con.c b += len; len 7246 net/third_party/nss/ssl/ssl3con.c length -= len; len 7247 net/third_party/nss/ssl/ssl3con.c remaining -= len; len 7768 net/third_party/nss/ssl/ssl3con.c PORT_Assert(originalHandshakeHash->len == 0); len 7769 net/third_party/nss/ssl/ssl3con.c originalHandshakeHash->data = PORT_Alloc(hashes.len); len 7772 net/third_party/nss/ssl/ssl3con.c originalHandshakeHash->len = hashes.len; len 7773 net/third_party/nss/ssl/ssl3con.c memcpy(originalHandshakeHash->data, hashes.u.raw, hashes.len); len 7857 net/third_party/nss/ssl/ssl3con.c if (srvName->len && srvName->data) { len 8111 net/third_party/nss/ssl/ssl3con.c for (i = 0; i + 1 < suites.len; i += 2) { len 8157 net/third_party/nss/ssl/ssl3con.c for (i = 0; i + 1 < suites.len; i += 2) { len 8191 net/third_party/nss/ssl/ssl3con.c if (sidBytes.len > 0 && !ss->opt.noCache) { len 8199 net/third_party/nss/ssl/ssl3con.c sidBytes.len, ss->dbHandle); len 8212 net/third_party/nss/ssl/ssl3con.c if (sidBytes.len > 0 && sidBytes.len <= SSL3_SESSIONID_BYTES) { len 8213 net/third_party/nss/ssl/ssl3con.c sid->u.ssl3.sessionIDLength = sidBytes.len; len 8215 net/third_party/nss/ssl/ssl3con.c sidBytes.len); len 8216 net/third_party/nss/ssl/ssl3con.c sid->u.ssl3.sessionIDLength = sidBytes.len; len 8296 net/third_party/nss/ssl/ssl3con.c for (i = 0; i < comps.len; i++) { len 8300 net/third_party/nss/ssl/ssl3con.c if (i == comps.len) len 8325 net/third_party/nss/ssl/ssl3con.c for (i = 0; i + 1 < suites.len; i += 2) { len 8370 net/third_party/nss/ssl/ssl3con.c for (i = 0; i + 1 < suites.len; i += 2) { len 8385 net/third_party/nss/ssl/ssl3con.c for (i = 0; i < comps.len; i++) { len 8458 net/third_party/nss/ssl/ssl3con.c wrappedMS.len = sid->u.ssl3.keys.wrapped_master_secret_len; len 8472 net/third_party/nss/ssl/ssl3con.c wrappedMS.len = sid->u.ssl3.keys.wrapped_master_secret_len; len 8473 net/third_party/nss/ssl/ssl3con.c memcpy(pwSpec->raw_master_secret, wrappedMS.data, wrappedMS.len); len 8475 net/third_party/nss/ssl/ssl3con.c pwSpec->msItem.len = wrappedMS.len; len 8482 net/third_party/nss/ssl/ssl3con.c wrappedMS.len = sid->u.ssl3.keys.wrapped_master_secret_len; len 8525 net/third_party/nss/ssl/ssl3con.c sid->u.ssl3.srvName.len && sid->u.ssl3.srvName.data) { len 9233 net/third_party/nss/ssl/ssl3con.c length = 2 + sdPub->u.rsa.modulus.len + len 9234 net/third_party/nss/ssl/ssl3con.c 2 + sdPub->u.rsa.publicExponent.len + len 9235 net/third_party/nss/ssl/ssl3con.c 2 + signed_hash.len; len 9243 net/third_party/nss/ssl/ssl3con.c sdPub->u.rsa.modulus.len, 2); len 9250 net/third_party/nss/ssl/ssl3con.c sdPub->u.rsa.publicExponent.len, 2); len 9263 net/third_party/nss/ssl/ssl3con.c signed_hash.len, 2); len 9327 net/third_party/nss/ssl/ssl3con.c calen += 2 + name->len; len 9359 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeVariable(ss, name->data, name->len, 2); len 9537 net/third_party/nss/ssl/ssl3con.c param.len = sizeof version; len 9584 net/third_party/nss/ssl/ssl3con.c enc_pms.len = length; len 9586 net/third_party/nss/ssl/ssl3con.c pmsItem.len = sizeof rsaPmsBuf; len 9590 net/third_party/nss/ssl/ssl3con.c kLen = ssl3_ConsumeHandshakeNumber(ss, 2, &enc_pms.data, &enc_pms.len); len 9595 net/third_party/nss/ssl/ssl3con.c if ((unsigned)kLen < enc_pms.len) { len 9596 net/third_party/nss/ssl/ssl3con.c enc_pms.len = kLen; len 9614 net/third_party/nss/ssl/ssl3con.c sizeof rsaPmsBuf, enc_pms.data, enc_pms.len); len 9636 net/third_party/nss/ssl/ssl3con.c pwSpec->msItem.len = SSL3_MASTER_SECRET_LENGTH; len 9637 net/third_party/nss/ssl/ssl3con.c PK11_GenerateRandom(pwSpec->msItem.data, pwSpec->msItem.len); len 9657 net/third_party/nss/ssl/ssl3con.c PK11_GetKeyData(pms)->len)); len 9945 net/third_party/nss/ssl/ssl3con.c int len = 0; len 9993 net/third_party/nss/ssl/ssl3con.c for (i = 0; i < certChain->len; i++) { len 9995 net/third_party/nss/ssl/ssl3con.c if (fakeCert.len > 0 && i == ndex) { len 9996 net/third_party/nss/ssl/ssl3con.c len += fakeCert.len + 3; len 9998 net/third_party/nss/ssl/ssl3con.c len += certChain->certs[i].len + 3; len 10001 net/third_party/nss/ssl/ssl3con.c len += certChain->certs[i].len + 3; len 10006 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeHeader(ss, certificate, len + 3); len 10010 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeNumber(ss, len, 3); len 10015 net/third_party/nss/ssl/ssl3con.c for (i = 0; i < certChain->len; i++) { len 10017 net/third_party/nss/ssl/ssl3con.c if (fakeCert.len > 0 && i == ndex) { len 10019 net/third_party/nss/ssl/ssl3con.c fakeCert.len, 3); len 10023 net/third_party/nss/ssl/ssl3con.c certChain->certs[i].len, 3); len 10027 net/third_party/nss/ssl/ssl3con.c certChain->certs[i].len, 3); len 10046 net/third_party/nss/ssl/ssl3con.c int len = 0; len 10067 net/third_party/nss/ssl/ssl3con.c if (ss->certStatusArray[certIndex] && ss->certStatusArray[certIndex]->len) { len 10074 net/third_party/nss/ssl/ssl3con.c len = 1 + statusToSend->items[0].len + 3; len 10076 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeHeader(ss, certificate_status, len); len 10086 net/third_party/nss/ssl/ssl3con.c statusToSend->items[0].len, len 10158 net/third_party/nss/ssl/ssl3con.c PRInt32 status, len; len 10174 net/third_party/nss/ssl/ssl3con.c len = ssl3_ConsumeHandshakeNumber(ss, 3, &b, &length); len 10175 net/third_party/nss/ssl/ssl3con.c if (len != length) { len 10197 net/third_party/nss/ssl/ssl3con.c ss->sec.ci.sid->peerCertStatus.items[0].len = length; len 10294 net/third_party/nss/ssl/ssl3con.c certItem.len = size; len 10322 net/third_party/nss/ssl/ssl3con.c certItem.len = size; len 10461 net/third_party/nss/ssl/ssl3con.c ss->sec.authKeyBits = cert->signatureWrap.signature.len; len 10591 net/third_party/nss/ssl/ssl3con.c unsigned int len; len 10595 net/third_party/nss/ssl/ssl3con.c len = 15; len 10597 net/third_party/nss/ssl/ssl3con.c rv = ssl3_TLSPRFWithMasterSecret(spec, label, len, hashes->u.raw, len 10598 net/third_party/nss/ssl/ssl3con.c hashes->len, tlsFinished->verify_data, len 10648 net/third_party/nss/ssl/ssl3con.c inData.len = valLen; len 10650 net/third_party/nss/ssl/ssl3con.c outData.len = outLen; len 10657 net/third_party/nss/ssl/ssl3con.c PORT_Assert(rv != SECSuccess || outData.len == outLen); len 10673 net/third_party/nss/ssl/ssl3con.c if (ss->ssl3.nextProto.len == 0 || len 10681 net/third_party/nss/ssl/ssl3con.c padding_len = 32 - ((ss->ssl3.nextProto.len + 2) % 32); len 10683 net/third_party/nss/ssl/ssl3con.c rv = ssl3_AppendHandshakeHeader(ss, next_proto, ss->ssl3.nextProto.len + len 10689 net/third_party/nss/ssl/ssl3con.c ss->ssl3.nextProto.len, 1); len 10729 net/third_party/nss/ssl/ssl3con.c if (!keyData || !keyData->data || keyData->len != 48) { len 10836 net/third_party/nss/ssl/ssl3con.c if (spki->len != sizeof(P256_SPKI_PREFIX) + CHANNEL_ID_PUBLIC_KEY_LENGTH || len 10852 net/third_party/nss/ssl/ssl3con.c PORT_Assert(originalHandshakeHash->len > 0); len 10858 net/third_party/nss/ssl/ssl3con.c originalHandshakeHash->len); len 10859 net/third_party/nss/ssl/ssl3con.c signed_data_len += originalHandshakeHash->len; len 10861 net/third_party/nss/ssl/ssl3con.c memcpy(signed_data + signed_data_len, hashes.u.raw, hashes.len); len 10862 net/third_party/nss/ssl/ssl3con.c signed_data_len += hashes.len; len 10869 net/third_party/nss/ssl/ssl3con.c digest_item.len = sizeof(digest); len 10872 net/third_party/nss/ssl/ssl3con.c signature_item.len = sizeof(signature); len 10986 net/third_party/nss/ssl/ssl3con.c PORT_Assert(hashes.len == sizeof hashes.u.s); len 11081 net/third_party/nss/ssl/ssl3con.c wmsItem.len = sizeof sid->u.ssl3.keys.wrapped_master_secret; len 11085 net/third_party/nss/ssl/ssl3con.c sid->u.ssl3.keys.wrapped_master_secret_len = wmsItem.len; len 11150 net/third_party/nss/ssl/ssl3con.c PORT_Assert(hashes->len == sizeof hashes->u.s); len 11252 net/third_party/nss/ssl/ssl3con.c if (ss->ssl3.crSpec->msItem.len && ss->ssl3.crSpec->msItem.data) { len 11254 net/third_party/nss/ssl/ssl3con.c ss->ssl3.crSpec->msItem.len; len 11256 net/third_party/nss/ssl/ssl3con.c ss->ssl3.crSpec->msItem.data, ss->ssl3.crSpec->msItem.len); len 11573 net/third_party/nss/ssl/ssl3con.c while (buf->len > 0) { len 11577 net/third_party/nss/ssl/ssl3con.c buf->len--; len 11605 net/third_party/nss/ssl/ssl3con.c if (ss->ssl3.hs.msg_body.len == 0 && buf->len >= ss->ssl3.hs.msg_len) { len 11616 net/third_party/nss/ssl/ssl3con.c buf->len -= ss->ssl3.hs.msg_len; len 11626 net/third_party/nss/ssl/ssl3con.c PORT_Assert(ss->ssl3.hs.msg_body.len < ss->ssl3.hs.msg_len); len 11627 net/third_party/nss/ssl/ssl3con.c bytes = PR_MIN(buf->len, ss->ssl3.hs.msg_len - ss->ssl3.hs.msg_body.len); len 11636 net/third_party/nss/ssl/ssl3con.c PORT_Memcpy(ss->ssl3.hs.msg_body.buf + ss->ssl3.hs.msg_body.len, len 11638 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.msg_body.len += bytes; len 11640 net/third_party/nss/ssl/ssl3con.c buf->len -= bytes; len 11642 net/third_party/nss/ssl/ssl3con.c PORT_Assert(ss->ssl3.hs.msg_body.len <= ss->ssl3.hs.msg_len); len 11645 net/third_party/nss/ssl/ssl3con.c if (ss->ssl3.hs.msg_body.len == ss->ssl3.hs.msg_len) { len 11655 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.msg_body.len = 0; len 11662 net/third_party/nss/ssl/ssl3con.c PORT_Assert(buf->len == 0); len 11668 net/third_party/nss/ssl/ssl3con.c origBuf->len = 0; /* So ssl3_GatherAppDataRecord will keep looping. */ len 11720 net/third_party/nss/ssl/ssl3con.c if (overhead > plaintext->len) { len 11724 net/third_party/nss/ssl/ssl3con.c paddingLength = plaintext->buf[plaintext->len-1]; len 11726 net/third_party/nss/ssl/ssl3con.c t = plaintext->len; len 11733 net/third_party/nss/ssl/ssl3con.c plaintext->len -= good & (paddingLength+1); len 11745 net/third_party/nss/ssl/ssl3con.c if (overhead > plaintext->len) { len 11749 net/third_party/nss/ssl/ssl3con.c paddingLength = plaintext->buf[plaintext->len-1]; len 11750 net/third_party/nss/ssl/ssl3con.c t = plaintext->len; len 11765 net/third_party/nss/ssl/ssl3con.c if (toCheck > plaintext->len-1) { len 11766 net/third_party/nss/ssl/ssl3con.c toCheck = plaintext->len-1; len 11774 net/third_party/nss/ssl/ssl3con.c unsigned char b = plaintext->buf[plaintext->len-1-i]; len 11790 net/third_party/nss/ssl/ssl3con.c plaintext->len -= good & (paddingLength+1); len 11808 net/third_party/nss/ssl/ssl3con.c unsigned macEnd = plaintext->len; len 11946 net/third_party/nss/ssl/ssl3con.c databuf->len = 0; /* Needed to ensure data not left around */ len 11958 net/third_party/nss/ssl/ssl3con.c databuf->len = 0; /* Needed to ensure data not left around */ len 11978 net/third_party/nss/ssl/ssl3con.c if (cText->buf->len < minLength) { len 12022 net/third_party/nss/ssl/ssl3con.c plaintext->len = 0; /* filled in by decode call below. */ len 12036 net/third_party/nss/ssl/ssl3con.c cText->buf->len - ivLen)); len 12040 net/third_party/nss/ssl/ssl3con.c if (isTLS && cText->buf->len - ivLen > (MAX_FRAGMENT_LENGTH + 2048)) { len 12054 net/third_party/nss/ssl/ssl3con.c cText->buf->len - cipher_def->explicit_nonce_size - len 12064 net/third_party/nss/ssl/ssl3con.c (int*) &plaintext->len, /* outlen */ len 12067 net/third_party/nss/ssl/ssl3con.c cText->buf->len, /* inlen */ len 12074 net/third_party/nss/ssl/ssl3con.c ((cText->buf->len - ivLen) % cipher_def->block_size) != 0) { len 12080 net/third_party/nss/ssl/ssl3con.c crSpec->decodeContext, plaintext->buf, (int *)&plaintext->len, len 12081 net/third_party/nss/ssl/ssl3con.c plaintext->space, cText->buf->buf + ivLen, cText->buf->len - ivLen); len 12086 net/third_party/nss/ssl/ssl3con.c PRINT_BUF(80, (ss, "cleartext:", plaintext->buf, plaintext->len)); len 12088 net/third_party/nss/ssl/ssl3con.c originalLen = plaintext->len; len 12108 net/third_party/nss/ssl/ssl3con.c plaintext->len - crSpec->mac_size); len 12113 net/third_party/nss/ssl/ssl3con.c plaintext->buf, plaintext->len, originalLen, len 12124 net/third_party/nss/ssl/ssl3con.c plaintext->len -= crSpec->mac_size; len 12127 net/third_party/nss/ssl/ssl3con.c plaintext->len -= crSpec->mac_size; len 12131 net/third_party/nss/ssl/ssl3con.c plaintext->buf, plaintext->len, hash, &hashBytes); len 12135 net/third_party/nss/ssl/ssl3con.c givenHash = plaintext->buf + plaintext->len; len 12161 net/third_party/nss/ssl/ssl3con.c databuf->len = 0; /* Needed to ensure data not left around */ len 12182 net/third_party/nss/ssl/ssl3con.c if (databuf->space < plaintext->len + SSL3_COMPRESSION_MAX_EXPANSION) { len 12184 net/third_party/nss/ssl/ssl3con.c databuf, plaintext->len + SSL3_COMPRESSION_MAX_EXPANSION); len 12188 net/third_party/nss/ssl/ssl3con.c plaintext->len + SSL3_COMPRESSION_MAX_EXPANSION)); len 12198 net/third_party/nss/ssl/ssl3con.c (int*) &databuf->len, len 12201 net/third_party/nss/ssl/ssl3con.c plaintext->len); len 12218 net/third_party/nss/ssl/ssl3con.c if (plaintext->len >= 4) { len 12219 net/third_party/nss/ssl/ssl3con.c unsigned int len = ((unsigned int) plaintext->buf[1] << 16) | len 12222 net/third_party/nss/ssl/ssl3con.c if (len == plaintext->len - 4) { len 12239 net/third_party/nss/ssl/ssl3con.c if (isTLS && databuf->len > (MAX_FRAGMENT_LENGTH + 1024)) { len 12322 net/third_party/nss/ssl/ssl3con.c spec->msItem.len = 0; len 12578 net/third_party/nss/ssl/ssl3con.c ssl3_CipherOrderSet(sslSocket *ss, const ssl3CipherSuite *ciphers, unsigned int len) len 12584 net/third_party/nss/ssl/ssl3con.c for (i = done = 0; i < len; i++) { len 12631 net/third_party/nss/ssl/ssl3con.c unsigned int len; len 12645 net/third_party/nss/ssl/ssl3con.c len = ss->ssl3.hs.finishedBytes; len 12649 net/third_party/nss/ssl/ssl3con.c if (len == 0) { len 12667 net/third_party/nss/ssl/ssl3con.c *outLen = len; len 12668 net/third_party/nss/ssl/ssl3con.c if (outLenMax < len) { len 12674 net/third_party/nss/ssl/ssl3con.c memcpy(out, &ss->ssl3.hs.finishedMsgs.tFinished[index], len); len 12676 net/third_party/nss/ssl/ssl3con.c memcpy(out, &ss->ssl3.hs.finishedMsgs.sFinished[index], len); len 12824 net/third_party/nss/ssl/ssl3con.c ss->ssl3.hs.messages.len = 0; len 177 net/third_party/nss/ssl/ssl3ecc.c SECITEM_AllocItem(arena, params, (2 + oidData->oid.len)); len 184 net/third_party/nss/ssl/ssl3ecc.c params->data[1] = oidData->oid.len; len 185 net/third_party/nss/ssl/ssl3ecc.c memcpy(params->data + 2, oidData->oid.data, oidData->oid.len); len 203 net/third_party/nss/ssl/ssl3ecc.c oid.len = params->len - 2; len 233 net/third_party/nss/ssl/ssl3ecc.c bufLen = 2*SSL3_RANDOM_LENGTH + ec_params.len + 1 + server_ecpoint.len; len 247 net/third_party/nss/ssl/ssl3ecc.c memcpy(pBuf, ec_params.data, ec_params.len); len 248 net/third_party/nss/ssl/ssl3ecc.c pBuf += ec_params.len; len 249 net/third_party/nss/ssl/ssl3ecc.c pBuf[0] = (PRUint8)(server_ecpoint.len); len 251 net/third_party/nss/ssl/ssl3ecc.c memcpy(pBuf, server_ecpoint.data, server_ecpoint.len); len 252 net/third_party/nss/ssl/ssl3ecc.c pBuf += server_ecpoint.len; len 302 net/third_party/nss/ssl/ssl3ecc.c pubKey->u.ec.publicValue.len)); len 336 net/third_party/nss/ssl/ssl3ecc.c pubKey->u.ec.publicValue.len + 1); len 343 net/third_party/nss/ssl/ssl3ecc.c pubKey->u.ec.publicValue.len, 1); len 380 net/third_party/nss/ssl/ssl3ecc.c clntPubKey.u.ec.DEREncodedParams.len = len 381 net/third_party/nss/ssl/ssl3ecc.c srvrPubKey->u.ec.DEREncodedParams.len; len 470 net/third_party/nss/ssl/ssl3ecc.c serverKeyStrengthInBits = svrPublicKey->u.rsa.modulus.len; len 617 net/third_party/nss/ssl/ssl3ecc.c ec_params.len = sizeof paramBuf; len 619 net/third_party/nss/ssl/ssl3ecc.c rv = ssl3_ConsumeHandshake(ss, ec_params.data, ec_params.len, &b, &length); len 669 net/third_party/nss/ssl/ssl3ecc.c ec_params.len)); len 670 net/third_party/nss/ssl/ssl3ecc.c PRINT_BUF(60, (NULL, "Server EC point", ec_point.data, ec_point.len)); len 779 net/third_party/nss/ssl/ssl3ecc.c ec_params.len = sizeof paramBuf; len 825 net/third_party/nss/ssl/ssl3ecc.c length = ec_params.len + len 826 net/third_party/nss/ssl/ssl3ecc.c 1 + ecdhePub->u.ec.publicValue.len + len 827 net/third_party/nss/ssl/ssl3ecc.c (isTLS12 ? 2 : 0) + 2 + signed_hash.len; len 834 net/third_party/nss/ssl/ssl3ecc.c rv = ssl3_AppendHandshake(ss, ec_params.data, ec_params.len); len 840 net/third_party/nss/ssl/ssl3ecc.c ecdhePub->u.ec.publicValue.len, 1); len 853 net/third_party/nss/ssl/ssl3ecc.c signed_hash.len, 2); len 1183 net/third_party/nss/ssl/ssl3ecc.c if (data->len < 2 || data->len > 255 || !data->data || len 1184 net/third_party/nss/ssl/ssl3ecc.c data->len != (unsigned int)data->data[0] + 1) { len 1188 net/third_party/nss/ssl/ssl3ecc.c for (i = data->len; --i > 0; ) { len 1232 net/third_party/nss/ssl/ssl3ecc.c if (!data->data || data->len < 4 || data->len > 65535) len 1235 net/third_party/nss/ssl/ssl3ecc.c list_len = ssl3_ConsumeHandshakeNumber(ss, 2, &data->data, &data->len); len 1236 net/third_party/nss/ssl/ssl3ecc.c if (list_len < 0 || data->len != list_len || (data->len % 2) != 0) { len 1241 net/third_party/nss/ssl/ssl3ecc.c while (data->len) { len 1243 net/third_party/nss/ssl/ssl3ecc.c ssl3_ConsumeHandshakeNumber(ss, 2, &data->data, &data->len); len 99 net/third_party/nss/ssl/ssl3ext.c if (bytes > item->len) len 104 net/third_party/nss/ssl/ssl3ext.c item->len -= bytes; len 311 net/third_party/nss/ssl/ssl3ext.c arrayContainsExtension(const PRUint16 *array, PRUint32 len, PRUint16 ex_type) len 314 net/third_party/nss/ssl/ssl3ext.c for (i = 0; i < len; i++) { len 347 net/third_party/nss/ssl/ssl3ext.c PRUint32 len; len 358 net/third_party/nss/ssl/ssl3ext.c len = PORT_Strlen(ss->url); len 359 net/third_party/nss/ssl/ssl3ext.c if (append && maxBytes >= len + 9) { len 364 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendHandshakeNumber(ss, len + 5, 2); len 367 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendHandshakeNumber(ss, len + 3, 2); len 373 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendHandshakeVariable(ss, (PRUint8 *)ss->url, len, 2); len 381 net/third_party/nss/ssl/ssl3ext.c return len + 9; len 406 net/third_party/nss/ssl/ssl3ext.c if (data->data || data->len || len 420 net/third_party/nss/ssl/ssl3ext.c listLenBytes = ssl3_ConsumeHandshakeNumber(ss, 2, &data->data, &data->len); len 421 net/third_party/nss/ssl/ssl3ext.c if (listLenBytes == 0 || listLenBytes != data->len) { len 431 net/third_party/nss/ssl/ssl3ext.c type = ssl3_ConsumeHandshakeNumber(ss, 1, &ldata.data, &ldata.len); len 432 net/third_party/nss/ssl/ssl3ext.c if (!ldata.len) { len 435 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_ConsumeHandshakeVariable(ss, &litem, 2, &ldata.data, &ldata.len); len 440 net/third_party/nss/ssl/ssl3ext.c listLenBytes -= litem.len + 3; len 441 net/third_party/nss/ssl/ssl3ext.c if (listLenBytes > 0 && !ldata.len) { len 459 net/third_party/nss/ssl/ssl3ext.c type = ssl3_ConsumeHandshakeNumber(ss, 1, &data->data, &data->len); len 469 net/third_party/nss/ssl/ssl3ext.c &data->data, &data->len); len 531 net/third_party/nss/ssl/ssl3ext.c extension_length += session_ticket->ticket.len; len 536 net/third_party/nss/ssl/ssl3ext.c extension_length += session_ticket->ticket.len; len 551 net/third_party/nss/ssl/ssl3ext.c session_ticket->ticket.len, 2); len 580 net/third_party/nss/ssl/ssl3ext.c if (ss->firstHsDone || data->len != 0) { len 643 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_ValidateNextProtoNego(data->data, data->len); len 659 net/third_party/nss/ssl/ssl3ext.c rv = ss->nextProtoCallback(ss->nextProtoArg, ss->fd, data->data, data->len, len 660 net/third_party/nss/ssl/ssl3ext.c result.data, &result.len, sizeof resultBuffer); len 665 net/third_party/nss/ssl/ssl3ext.c if (result.len > sizeof resultBuffer) { len 692 net/third_party/nss/ssl/ssl3ext.c if (data->len < 4 || data->len > 2 + 1 + 255) { len 699 net/third_party/nss/ssl/ssl3ext.c if (name_list_len != data->len - 2 || d[2] != data->len - 3) { len 705 net/third_party/nss/ssl/ssl3ext.c protocol_name.len = data->len - 3; len 759 net/third_party/nss/ssl/ssl3ext.c ss->opt.nextProtoNego.len; len 767 net/third_party/nss/ssl/ssl3ext.c const unsigned int len = ss->opt.nextProtoNego.len; len 769 net/third_party/nss/ssl/ssl3ext.c alpn_protos = PORT_Alloc(len); len 773 net/third_party/nss/ssl/ssl3ext.c if (len > 0) { len 776 net/third_party/nss/ssl/ssl3ext.c if (i <= len) { len 777 net/third_party/nss/ssl/ssl3ext.c memcpy(alpn_protos, &ss->opt.nextProtoNego.data[i], len - i); len 778 net/third_party/nss/ssl/ssl3ext.c memcpy(alpn_protos + len - i, ss->opt.nextProtoNego.data, i); len 781 net/third_party/nss/ssl/ssl3ext.c memcpy(alpn_protos, ss->opt.nextProtoNego.data, len); len 793 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendHandshakeVariable(ss, alpn_protos, len, 2); len 820 net/third_party/nss/ssl/ssl3ext.c if (data->len) { len 843 net/third_party/nss/ssl/ssl3ext.c ss->sec.ci.sid->u.ssl3.originalHandshakeHash.len == 0) { len 874 net/third_party/nss/ssl/ssl3ext.c if (data->len != 0) len 900 net/third_party/nss/ssl/ssl3ext.c if (ss->certStatusArray[i] && ss->certStatusArray[i]->len) { len 1034 net/third_party/nss/ssl/ssl3ext.c 3 + ss->sec.ci.sid->peerCert->derCert.len : 0; len 1038 net/third_party/nss/ssl/ssl3ext.c ivItem.len = sizeof(iv); len 1054 net/third_party/nss/ssl/ssl3ext.c if (ss->ssl3.pwSpec->msItem.len && ss->ssl3.pwSpec->msItem.data) { len 1057 net/third_party/nss/ssl/ssl3ext.c ms_item.len = ss->ssl3.pwSpec->msItem.len; len 1078 net/third_party/nss/ssl/ssl3ext.c ms_item.len = sid.u.ssl3.keys.wrapped_master_secret_len; len 1088 net/third_party/nss/ssl/ssl3ext.c if (srvName->data && srvName->len) { len 1089 net/third_party/nss/ssl/ssl3ext.c srvNameLen = 2 + srvName->len; /* len bytes + name len */ len 1102 net/third_party/nss/ssl/ssl3ext.c + ms_item.len /* master_secret */ len 1162 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendNumberToItem(&plaintext, ms_item.len, 2); len 1164 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendToItem(&plaintext, ms_item.data, ms_item.len); len 1172 net/third_party/nss/ssl/ssl3ext.c ss->sec.ci.sid->peerCert->derCert.len, 3); len 1176 net/third_party/nss/ssl/ssl3ext.c ss->sec.ci.sid->peerCert->derCert.len); len 1194 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendNumberToItem(&plaintext, srvName->len, 2); len 1196 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendToItem(&plaintext, srvName->data, srvName->len); len 1205 net/third_party/nss/ssl/ssl3ext.c PORT_Assert(plaintext.len == padding_length); len 1222 net/third_party/nss/ssl/ssl3ext.c rv = AES_Encrypt(aes_ctx, ciphertext.data, &ciphertext.len, len 1223 net/third_party/nss/ssl/ssl3ext.c ciphertext.len, plaintext_item.data, len 1224 net/third_party/nss/ssl/ssl3ext.c plaintext_item.len); len 1235 net/third_party/nss/ssl/ssl3ext.c (int *)&ciphertext.len, ciphertext.len, len 1236 net/third_party/nss/ssl/ssl3ext.c plaintext_item.data, plaintext_item.len); len 1243 net/third_party/nss/ssl/ssl3ext.c length_buf[0] = (ciphertext.len >> 8) & 0xff; len 1244 net/third_party/nss/ssl/ssl3ext.c length_buf[1] = (ciphertext.len ) & 0xff; len 1259 net/third_party/nss/ssl/ssl3ext.c HMAC_Update(hmac_ctx, ciphertext.data, ciphertext.len); len 1267 net/third_party/nss/ssl/ssl3ext.c macParam.len = 0; len 1278 net/third_party/nss/ssl/ssl3ext.c rv = PK11_DigestOp(hmac_ctx_pkcs11, ciphertext.data, ciphertext.len); len 1303 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendHandshakeVariable(ss, ciphertext.data, ciphertext.len, 2); len 1325 net/third_party/nss/ssl/ssl3ext.c if (data->len != 0) len 1354 net/third_party/nss/ssl/ssl3ext.c if (data->len == 0) { len 1400 net/third_party/nss/ssl/ssl3ext.c extension_data.len = data->len; len 1445 net/third_party/nss/ssl/ssl3ext.c extension_data.len - TLS_EX_SESS_TICKET_MAC_LENGTH); len 1454 net/third_party/nss/ssl/ssl3ext.c macParam.len = 0; len 1467 net/third_party/nss/ssl/ssl3ext.c extension_data.len - TLS_EX_SESS_TICKET_MAC_LENGTH); len 1493 net/third_party/nss/ssl/ssl3ext.c enc_session_ticket.encrypted_state.len); len 1508 net/third_party/nss/ssl/ssl3ext.c &decrypted_state->len, decrypted_state->len, len 1510 net/third_party/nss/ssl/ssl3ext.c enc_session_ticket.encrypted_state.len); len 1518 net/third_party/nss/ssl/ssl3ext.c ivItem.len = AES_BLOCK_SIZE; len 1528 net/third_party/nss/ssl/ssl3ext.c (int *)&decrypted_state->len, decrypted_state->len, len 1530 net/third_party/nss/ssl/ssl3ext.c enc_session_ticket.encrypted_state.len); len 1539 net/third_party/nss/ssl/ssl3ext.c (PRUint32)decrypted_state->data[decrypted_state->len - 1]; len 1543 net/third_party/nss/ssl/ssl3ext.c padding = &decrypted_state->data[decrypted_state->len - padding_length]; len 1551 net/third_party/nss/ssl/ssl3ext.c buffer_len = decrypted_state->len; len 1768 net/third_party/nss/ssl/ssl3ext.c if (bytes > item->len) len 1773 net/third_party/nss/ssl/ssl3ext.c item->len -= bytes; len 1788 net/third_party/nss/ssl/ssl3ext.c 2, &data->data, &data->len) != SECSuccess) len 1793 net/third_party/nss/ssl/ssl3ext.c if (data->len != 0) /* Make sure that we have consumed all bytes. */ len 1926 net/third_party/nss/ssl/ssl3ext.c PRInt32 len, needed; len 1934 net/third_party/nss/ssl/ssl3ext.c len = !ss->firstHsDone ? 0 : len 1937 net/third_party/nss/ssl/ssl3ext.c needed = 5 + len; len 1944 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_AppendHandshakeNumber(ss, len + 1, 2); len 1948 net/third_party/nss/ssl/ssl3ext.c ss->ssl3.hs.finishedMsgs.data, len, 1); len 1979 net/third_party/nss/ssl/ssl3ext.c PRUint32 len = 0; len 1982 net/third_party/nss/ssl/ssl3ext.c len = ss->sec.isServer ? ss->ssl3.hs.finishedBytes len 1985 net/third_party/nss/ssl/ssl3ext.c if (data->len != 1 + len || len 1986 net/third_party/nss/ssl/ssl3ext.c data->data[0] != len || (len && len 1988 net/third_party/nss/ssl/ssl3ext.c data->data + 1, len))) { len 2085 net/third_party/nss/ssl/ssl3ext.c if (!data->data || !data->len) { len 2092 net/third_party/nss/ssl/ssl3ext.c &data->data, &data->len); len 2097 net/third_party/nss/ssl/ssl3ext.c if (ciphers.len != 2) { len 2118 net/third_party/nss/ssl/ssl3ext.c &data->data, &data->len); len 2135 net/third_party/nss/ssl/ssl3ext.c if (litem.len != 0) { len 2139 net/third_party/nss/ssl/ssl3ext.c if (data->len != 0) { len 2157 net/third_party/nss/ssl/ssl3ext.c if (!data->data || data->len < 5) { len 2164 net/third_party/nss/ssl/ssl3ext.c &data->data, &data->len); len 2169 net/third_party/nss/ssl/ssl3ext.c if (ciphers.len % 2) { len 2176 net/third_party/nss/ssl/ssl3ext.c for (j = 0; j + 1 < ciphers.len; j += 2) { len 2186 net/third_party/nss/ssl/ssl3ext.c rv = ssl3_ConsumeHandshakeVariable(ss, &litem, 1, &data->data, &data->len); len 2191 net/third_party/nss/ssl/ssl3ext.c if (data->len != 0) { len 2229 net/third_party/nss/ssl/ssl3ext.c &data->len); len 2234 net/third_party/nss/ssl/ssl3ext.c if (data->len != 0 || algorithms.len == 0 || (algorithms.len & 1) != 0) { len 2239 net/third_party/nss/ssl/ssl3ext.c numAlgorithms = algorithms.len/2; len 2439 net/third_party/nss/ssl/ssl3ext.c PORT_Assert(!scts->data && !scts->len); len 2441 net/third_party/nss/ssl/ssl3ext.c if (!data->len) { len 50 net/third_party/nss/ssl/ssl3gthr.c gs->inbuf.len = 0; len 85 net/third_party/nss/ssl/ssl3gthr.c gs->inbuf.len += nb; len 114 net/third_party/nss/ssl/ssl3gthr.c gs->inbuf.len = 0; len 173 net/third_party/nss/ssl/ssl3gthr.c if (gs->dtlsPacketOffset == gs->dtlsPacket.len) { /* No data left */ len 175 net/third_party/nss/ssl/ssl3gthr.c gs->dtlsPacket.len = 0; len 208 net/third_party/nss/ssl/ssl3gthr.c gs->dtlsPacket.len = nb; len 214 net/third_party/nss/ssl/ssl3gthr.c if ((gs->dtlsPacket.len - gs->dtlsPacketOffset) < 13) { len 219 net/third_party/nss/ssl/ssl3gthr.c gs->dtlsPacket.len = 0; len 229 net/third_party/nss/ssl/ssl3gthr.c if ((gs->dtlsPacket.len - gs->dtlsPacketOffset) < gs->remainder) { len 234 net/third_party/nss/ssl/ssl3gthr.c gs->dtlsPacket.len = 0; len 249 net/third_party/nss/ssl/ssl3gthr.c gs->inbuf.len = gs->remainder; len 310 net/third_party/nss/ssl/ssl3gthr.c if (ss->ssl3.hs.msgState.len == 0) { len 383 net/third_party/nss/ssl/ssl3gthr.c if (ss->gs.buf.len > 0) { len 426 net/third_party/nss/ssl/ssl3gthr.c ss->gs.writeOffset = ss->gs.buf.len; len 452 net/third_party/nss/ssl/ssl3gthr.c } while (rv > 0 && ss->gs.buf.len == 0); len 252 net/third_party/nss/ssl/ssl3prot.h unsigned int len; len 301 net/third_party/nss/ssl/sslauth.c if (certStatusArray->len) { len 460 net/third_party/nss/ssl/sslcon.c ssl2_GetSendBuffer(sslSocket *ss, unsigned int len) len 466 net/third_party/nss/ssl/sslcon.c if (len < 128) { len 467 net/third_party/nss/ssl/sslcon.c len = 128; len 469 net/third_party/nss/ssl/sslcon.c if (len > ss->sec.ci.sendBuf.space) { len 470 net/third_party/nss/ssl/sslcon.c rv = sslBuffer_Grow(&ss->sec.ci.sendBuf, len); len 473 net/third_party/nss/ssl/sslcon.c SSL_GETPID(), ss->fd, len)); len 748 net/third_party/nss/ssl/sslcon.c sendLen = SSL_HL_CLIENT_CERTIFICATE_HBYTES + encCode->len + cert->len; len 759 net/third_party/nss/ssl/sslcon.c msg[2] = MSB(cert->len); len 760 net/third_party/nss/ssl/sslcon.c msg[3] = LSB(cert->len); len 761 net/third_party/nss/ssl/sslcon.c msg[4] = MSB(encCode->len); len 762 net/third_party/nss/ssl/sslcon.c msg[5] = LSB(encCode->len); len 763 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(msg + SSL_HL_CLIENT_CERTIFICATE_HBYTES, cert->data, cert->len); len 764 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(msg + SSL_HL_CLIENT_CERTIFICATE_HBYTES + cert->len, len 765 net/third_party/nss/ssl/sslcon.c encCode->data, encCode->len); len 795 net/third_party/nss/ssl/sslcon.c unsigned int secretLen = sec->sendSecret.len; len 849 net/third_party/nss/ssl/sslcon.c ssl2_SendClear(sslSocket *ss, const PRUint8 *in, PRInt32 len, PRInt32 flags) len 859 net/third_party/nss/ssl/sslcon.c SSL_GETPID(), ss->fd, len)); len 860 net/third_party/nss/ssl/sslcon.c PRINT_BUF(50, (ss, "clear data:", (PRUint8*) in, len)); len 862 net/third_party/nss/ssl/sslcon.c while (len) { len 863 net/third_party/nss/ssl/sslcon.c amount = PR_MIN( len, MAX_STREAM_CYPHER_LEN ); len 908 net/third_party/nss/ssl/sslcon.c len -= amount; len 920 net/third_party/nss/ssl/sslcon.c ssl2_SendStream(sslSocket *ss, const PRUint8 *in, PRInt32 len, PRInt32 flags) len 934 net/third_party/nss/ssl/sslcon.c SSL_GETPID(), ss->fd, len)); len 935 net/third_party/nss/ssl/sslcon.c PRINT_BUF(50, (ss, "clear data:", (PRUint8*) in, len)); len 937 net/third_party/nss/ssl/sslcon.c while (len) { len 941 net/third_party/nss/ssl/sslcon.c amount = PR_MIN( len, MAX_STREAM_CYPHER_LEN ); len 1004 net/third_party/nss/ssl/sslcon.c len -= amount; len 1021 net/third_party/nss/ssl/sslcon.c ssl2_SendBlock(sslSocket *ss, const PRUint8 *in, PRInt32 len, PRInt32 flags) len 1038 net/third_party/nss/ssl/sslcon.c SSL_GETPID(), ss->fd, len)); len 1039 net/third_party/nss/ssl/sslcon.c PRINT_BUF(50, (ss, "clear data:", in, len)); len 1041 net/third_party/nss/ssl/sslcon.c while (len) { len 1046 net/third_party/nss/ssl/sslcon.c amount = PR_MIN( len, MAX_BLOCK_CYPHER_LEN ); len 1132 net/third_party/nss/ssl/sslcon.c len -= amount; len 1289 net/third_party/nss/ssl/sslcon.c sid->u.ssl2.masterKey.len = keyLen; len 1304 net/third_party/nss/ssl/sslcon.c sid->u.ssl2.cipherArg.len = caLen; len 1353 net/third_party/nss/ssl/sslcon.c readKey->len = nkd; len 1358 net/third_party/nss/ssl/sslcon.c writeKey->len = nkd; len 1364 net/third_party/nss/ssl/sslcon.c rv |= PK11_DigestOp(cx, masterKey->data, masterKey->len); len 1442 net/third_party/nss/ssl/sslcon.c PRINT_BUF(7, (ss, "Session read-key: ", rk->data, rk->len)); len 1443 net/third_party/nss/ssl/sslcon.c PRINT_BUF(7, (ss, "Session write-key: ", wk->data, wk->len)); len 1445 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(ss->sec.ci.readKey, readKey.data, readKey.len); len 1446 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(ss->sec.ci.writeKey, writeKey.data, writeKey.len); len 1447 net/third_party/nss/ssl/sslcon.c ss->sec.ci.keySize = readKey.len; len 1907 net/third_party/nss/ssl/sslcon.c certItem.len = certLen; len 1960 net/third_party/nss/ssl/sslcon.c if (modulusLen < data->len + (3 + RSA_BLOCK_MIN_PAD_LEN)) { len 1982 net/third_party/nss/ssl/sslcon.c padLen = modulusLen - data->len - 3; len 1995 net/third_party/nss/ssl/sslcon.c PORT_Memcpy (bp, data->data, data->len); len 2113 net/third_party/nss/ssl/sslcon.c rek.len = keyLen - ckLen; len 2121 net/third_party/nss/ssl/sslcon.c PORT_Assert((modulusLen - rek.len) > 12); len 2122 net/third_party/nss/ssl/sslcon.c PORT_Memset(eblock + modulusLen - rek.len - 8 - 1, 0x03, 8); len 2244 net/third_party/nss/ssl/sslcon.c unsigned int len; len 2250 net/third_party/nss/ssl/sslcon.c len = ss->sec.ci.serverChallengeLen; len 2265 net/third_party/nss/ssl/sslcon.c rv = SGN_Update(sgn, challenge, len); len 2269 net/third_party/nss/ssl/sslcon.c ss->sec.peerCert->derCert.len); len 2416 net/third_party/nss/ssl/sslcon.c certItem.len = cdLen; len 2434 net/third_party/nss/ssl/sslcon.c rep.len = responseLen; len 2456 net/third_party/nss/ssl/sslcon.c rv = VFY_Update(vfy, derCert->data, derCert->len); len 2495 net/third_party/nss/ssl/sslcon.c unsigned len, certType, certLen, responseLen; len 2521 net/third_party/nss/ssl/sslcon.c len = ss->gs.recordLen - 1; len 2523 net/third_party/nss/ssl/sslcon.c if ((len != sizeof(ss->sec.ci.connectionID)) || len 2524 net/third_party/nss/ssl/sslcon.c (PORT_Memcmp(ss->sec.ci.connectionID, cid, len) != 0)) { len 2529 net/third_party/nss/ssl/sslcon.c PRINT_BUF(5, (ss, "rcvd connection-id", cid, len)); len 2559 net/third_party/nss/ssl/sslcon.c len = ss->gs.recordLen - 2; len 2560 net/third_party/nss/ssl/sslcon.c if ((len < SSL_MIN_CHALLENGE_BYTES) || len 2561 net/third_party/nss/ssl/sslcon.c (len > SSL_MAX_CHALLENGE_BYTES)) { len 2564 net/third_party/nss/ssl/sslcon.c SSL_GETPID(), ss->fd, len)); len 2570 net/third_party/nss/ssl/sslcon.c ss->sec.ci.serverChallengeLen = len; len 2571 net/third_party/nss/ssl/sslcon.c PORT_Memcpy(ss->sec.ci.serverChallenge, data + 2, len); len 3511 net/third_party/nss/ssl/sslcon.c certLen = derCert->len; len 56 net/third_party/nss/ssl/ssldef.c int ssl_DefRecv(sslSocket *ss, unsigned char *buf, int len, int flags) len 61 net/third_party/nss/ssl/ssldef.c rv = lower->methods->recv(lower, (void *)buf, len, flags, ss->rTimeout); len 65 net/third_party/nss/ssl/ssldef.c } else if (rv > len) { len 66 net/third_party/nss/ssl/ssldef.c PORT_Assert(rv <= len); len 79 net/third_party/nss/ssl/ssldef.c int ssl_DefSend(sslSocket *ss, const unsigned char *buf, int len, int flags) len 95 net/third_party/nss/ssl/ssldef.c len - sent, flags, ss->wTimeout); len 109 net/third_party/nss/ssl/ssldef.c if (IS_DTLS(ss) && (len > sent)) { len 113 net/third_party/nss/ssl/ssldef.c } while (len > sent); len 118 net/third_party/nss/ssl/ssldef.c int ssl_DefRead(sslSocket *ss, unsigned char *buf, int len) len 123 net/third_party/nss/ssl/ssldef.c rv = lower->methods->read(lower, (void *)buf, len); len 131 net/third_party/nss/ssl/ssldef.c int ssl_DefWrite(sslSocket *ss, const unsigned char *buf, int len) len 138 net/third_party/nss/ssl/ssldef.c len - sent); len 151 net/third_party/nss/ssl/ssldef.c } while (len > sent); len 268 net/third_party/nss/ssl/sslgathr.c ss->sec.rcvSecret.len); len 405 net/third_party/nss/ssl/sslgathr.c gs->dtlsPacket.len = 0; len 281 net/third_party/nss/ssl/sslimpl.h unsigned int len; len 861 net/third_party/nss/ssl/sslimpl.h PRUint16 len; /* The data length */ len 1391 net/third_party/nss/ssl/sslimpl.h unsigned int len); len 1408 net/third_party/nss/ssl/sslimpl.h extern int ssl_DefRecv(sslSocket *ss, unsigned char *buf, int len, int flags); len 1410 net/third_party/nss/ssl/sslimpl.h int len, int flags); len 1411 net/third_party/nss/ssl/sslimpl.h extern int ssl_DefRead(sslSocket *ss, unsigned char *buf, int len); len 1412 net/third_party/nss/ssl/sslimpl.h extern int ssl_DefWrite(sslSocket *ss, const unsigned char *buf, int len); len 1426 net/third_party/nss/ssl/sslimpl.h extern int ssl_SocksRecv(sslSocket *ss, unsigned char *buf, int len, int flags); len 1428 net/third_party/nss/ssl/sslimpl.h int len, int flags); len 1429 net/third_party/nss/ssl/sslimpl.h extern int ssl_SocksRead(sslSocket *ss, unsigned char *buf, int len); len 1430 net/third_party/nss/ssl/sslimpl.h extern int ssl_SocksWrite(sslSocket *ss, const unsigned char *buf, int len); len 1436 net/third_party/nss/ssl/sslimpl.h int len, int flags); len 1438 net/third_party/nss/ssl/sslimpl.h int len, int flags); len 1439 net/third_party/nss/ssl/sslimpl.h extern int ssl_SecureRead(sslSocket *ss, unsigned char *buf, int len); len 1440 net/third_party/nss/ssl/sslimpl.h extern int ssl_SecureWrite(sslSocket *ss, const unsigned char *buf, int len); len 1467 net/third_party/nss/ssl/sslimpl.h extern void ssl_PrintBuf(sslSocket *ss, const char *msg, const void *cp, int len); len 1468 net/third_party/nss/ssl/sslimpl.h extern void ssl_DumpMsg(sslSocket *ss, unsigned char *bp, unsigned len); len 1479 net/third_party/nss/ssl/sslimpl.h unsigned int len); len 1490 net/third_party/nss/ssl/sslimpl.h int len, int flags); len 1748 net/third_party/nss/ssl/sslimpl.h unsigned int len); len 24 net/third_party/nss/ssl/sslinfo.c SSL_GetChannelInfo(PRFileDesc *fd, SSLChannelInfo *info, PRUintn len) len 30 net/third_party/nss/ssl/sslinfo.c if (!info || len < sizeof inf.length) { len 43 net/third_party/nss/ssl/sslinfo.c inf.length = PR_MIN(sizeof inf, len); len 222 net/third_party/nss/ssl/sslinfo.c SSLCipherSuiteInfo *info, PRUintn len) len 226 net/third_party/nss/ssl/sslinfo.c len = PR_MIN(len, sizeof suiteInfo[0]); len 227 net/third_party/nss/ssl/sslinfo.c if (!info || len < sizeof suiteInfo[0].length) { len 233 net/third_party/nss/ssl/sslinfo.c memcpy(info, &suiteInfo[i], len); len 234 net/third_party/nss/ssl/sslinfo.c info->length = len; len 332 net/third_party/nss/ssl/sslinfo.c sniName->len = PORT_Strlen(name); len 396 net/third_party/nss/ssl/sslinfo.c if (!ss->ssl3.cwSpec->master_secret && !ss->ssl3.cwSpec->msItem.len) { len 290 net/third_party/nss/ssl/sslnonce.c sid->u.ssl2.masterKey.data, sid->u.ssl2.masterKey.len)); len 292 net/third_party/nss/ssl/sslnonce.c sid->u.ssl2.cipherArg.data, sid->u.ssl2.cipherArg.len)); len 360 net/third_party/nss/ssl/sslnonce.c zap->u.ssl2.masterKey.data, zap->u.ssl2.masterKey.len)); len 362 net/third_party/nss/ssl/sslnonce.c zap->u.ssl2.cipherArg.data, zap->u.ssl2.cipherArg.len)); len 467 net/third_party/nss/ssl/sslnonce.c newSessionTicket->ticket.len = 0; len 64 net/third_party/nss/ssl/sslplatf.c int len; len 73 net/third_party/nss/ssl/sslplatf.c for (len = 0, node = CERT_LIST_HEAD(list); !CERT_LIST_END(node, list); len 74 net/third_party/nss/ssl/sslplatf.c len++, node = CERT_LIST_NEXT(node)) { len 81 net/third_party/nss/ssl/sslplatf.c chain->certs = PORT_ArenaNewArray(arena, SECItem, len); len 84 net/third_party/nss/ssl/sslplatf.c chain->len = len; len 86 net/third_party/nss/ssl/sslplatf.c for (len = 0, node = CERT_LIST_HEAD(list); !CERT_LIST_END(node, list); len 87 net/third_party/nss/ssl/sslplatf.c len++, node = CERT_LIST_NEXT(node)) { len 92 net/third_party/nss/ssl/sslplatf.c if (len > 0 && (len == chain->len - 1) && node->cert->isRoot) { len 93 net/third_party/nss/ssl/sslplatf.c chain->len = len; len 96 net/third_party/nss/ssl/sslplatf.c SECITEM_CopyItem(arena, &chain->certs[len], &node->cert->derCert); len 251 net/third_party/nss/ssl/sslplatf.c hashItem.len = hash->len; len 264 net/third_party/nss/ssl/sslplatf.c hashItem.len = sizeof(hash->u.s.sha); len 267 net/third_party/nss/ssl/sslplatf.c hashItem.len = hash->len; len 274 net/third_party/nss/ssl/sslplatf.c PRINT_BUF(60, (NULL, "hash(es) to be signed", hashItem.data, hashItem.len)); len 277 net/third_party/nss/ssl/sslplatf.c (PBYTE)hashItem.data, hashItem.len, len 290 net/third_party/nss/ssl/sslplatf.c (PBYTE)hashItem.data, hashItem.len, len 298 net/third_party/nss/ssl/sslplatf.c buf->len = signatureLen; len 304 net/third_party/nss/ssl/sslplatf.c rv = DSAU_EncodeDerSigWithLen(&derSig, buf, buf->len); len 315 net/third_party/nss/ssl/sslplatf.c PRINT_BUF(60, (NULL, "signed hashes", buf->data, buf->len)); len 321 net/third_party/nss/ssl/sslplatf.c buf->len = 0; len 370 net/third_party/nss/ssl/sslplatf.c hashItem.len = hash->len; len 382 net/third_party/nss/ssl/sslplatf.c hashItem.len = sizeof(hash->u.s.sha); len 385 net/third_party/nss/ssl/sslplatf.c hashItem.len = hash->len; len 392 net/third_party/nss/ssl/sslplatf.c PRINT_BUF(60, (NULL, "hash(es) to be signed", hashItem.data, hashItem.len)); len 403 net/third_party/nss/ssl/sslplatf.c if (hashLen != hashItem.len) { len 425 net/third_party/nss/ssl/sslplatf.c buf->len = signatureLen; len 428 net/third_party/nss/ssl/sslplatf.c for (i = 0; i < buf->len / 2; ++i) { len 430 net/third_party/nss/ssl/sslplatf.c buf->data[i] = buf->data[buf->len - 1 - i]; len 431 net/third_party/nss/ssl/sslplatf.c buf->data[buf->len - 1 - i] = tmp; len 437 net/third_party/nss/ssl/sslplatf.c rv = DSAU_EncodeDerSigWithLen(&derSig, buf, buf->len); len 448 net/third_party/nss/ssl/sslplatf.c PRINT_BUF(60, (NULL, "signed hashes", buf->data, buf->len)); len 624 net/third_party/nss/ssl/sslplatf.c if (prefixLen + hash->len > sizeof(prefixAndHash)) { len 629 net/third_party/nss/ssl/sslplatf.c memcpy(prefixAndHash + prefixLen, hash->u.raw, hash->len); len 631 net/third_party/nss/ssl/sslplatf.c hashData.Length = prefixLen + hash->len; len 663 net/third_party/nss/ssl/sslplatf.c hashData.Length = hash->len; len 722 net/third_party/nss/ssl/sslplatf.c buf->len = signatureData.Length; len 736 net/third_party/nss/ssl/sslplatf.c PRINT_BUF(60, (NULL, "signed hashes", buf->data, buf->len)); len 439 net/third_party/nss/ssl/sslsecur.c if (ss->pendingBuf.len != 0) { len 520 net/third_party/nss/ssl/sslsecur.c sslBuffer_Append(sslBuffer *b, const void * data, unsigned int len) len 522 net/third_party/nss/ssl/sslsecur.c unsigned int newLen = b->len + len; len 528 net/third_party/nss/ssl/sslsecur.c PORT_Memcpy(b->buf + b->len, data, len); len 529 net/third_party/nss/ssl/sslsecur.c b->len += len; len 540 net/third_party/nss/ssl/sslsecur.c ssl_SaveWriteData(sslSocket *ss, const void *data, unsigned int len) len 545 net/third_party/nss/ssl/sslsecur.c rv = sslBuffer_Append(&ss->pendingBuf, data, len); len 547 net/third_party/nss/ssl/sslsecur.c SSL_GETPID(), ss->fd, len, ss->pendingBuf.len)); len 563 net/third_party/nss/ssl/sslsecur.c if (ss->pendingBuf.len != 0) { len 565 net/third_party/nss/ssl/sslsecur.c SSL_GETPID(), ss->fd, ss->pendingBuf.len)); len 566 net/third_party/nss/ssl/sslsecur.c rv = ssl_DefSend(ss, ss->pendingBuf.buf, ss->pendingBuf.len, 0); len 570 net/third_party/nss/ssl/sslsecur.c ss->pendingBuf.len -= rv; len 571 net/third_party/nss/ssl/sslsecur.c if (ss->pendingBuf.len > 0 && rv > 0) { len 574 net/third_party/nss/ssl/sslsecur.c ss->pendingBuf.len); len 597 net/third_party/nss/ssl/sslsecur.c DoRecv(sslSocket *ss, unsigned char *out, int len, int flags) len 658 net/third_party/nss/ssl/sslsecur.c amount = PR_MIN(len, available); len 1180 net/third_party/nss/ssl/sslsecur.c ssl_SecureRecv(sslSocket *ss, unsigned char *buf, int len, int flags) len 1198 net/third_party/nss/ssl/sslsecur.c if (ss->pendingBuf.len != 0) { len 1221 net/third_party/nss/ssl/sslsecur.c if (len == 0) return 0; len 1223 net/third_party/nss/ssl/sslsecur.c rv = DoRecv(ss, (unsigned char*) buf, len, flags); len 1230 net/third_party/nss/ssl/sslsecur.c ssl_SecureRead(sslSocket *ss, unsigned char *buf, int len) len 1232 net/third_party/nss/ssl/sslsecur.c return ssl_SecureRecv(ss, buf, len, 0); len 1237 net/third_party/nss/ssl/sslsecur.c ssl_SecureSend(sslSocket *ss, const unsigned char *buf, int len, int flags) len 1242 net/third_party/nss/ssl/sslsecur.c SSL_GETPID(), ss->fd, len)); len 1256 net/third_party/nss/ssl/sslsecur.c if (ss->pendingBuf.len != 0) { len 1257 net/third_party/nss/ssl/sslsecur.c PORT_Assert(ss->pendingBuf.len > 0); len 1259 net/third_party/nss/ssl/sslsecur.c if (rv >= 0 && ss->pendingBuf.len != 0) { len 1260 net/third_party/nss/ssl/sslsecur.c PORT_Assert(ss->pendingBuf.len > 0); len 1270 net/third_party/nss/ssl/sslsecur.c if (len > 0) len 1296 net/third_party/nss/ssl/sslsecur.c if (len == 0) { len 1323 net/third_party/nss/ssl/sslsecur.c rv = (*ss->sec.send)(ss, buf, len, flags); len 1338 net/third_party/nss/ssl/sslsecur.c ssl_SecureWrite(sslSocket *ss, const unsigned char *buf, int len) len 1340 net/third_party/nss/ssl/sslsecur.c return ssl_SecureSend(ss, buf, len, 0); len 1531 net/third_party/nss/ssl/sslsecur.c item->len = SSL2_SESSIONID_BYTES; len 1532 net/third_party/nss/ssl/sslsecur.c item->data = (unsigned char*)PORT_Alloc(item->len); len 1533 net/third_party/nss/ssl/sslsecur.c PORT_Memcpy(item->data, sid->u.ssl2.sessionID, item->len); len 1535 net/third_party/nss/ssl/sslsecur.c item->len = sid->u.ssl3.sessionIDLength; len 1536 net/third_party/nss/ssl/sslsecur.c item->data = (unsigned char*)PORT_Alloc(item->len); len 1537 net/third_party/nss/ssl/sslsecur.c PORT_Memcpy(item->data, sid->u.ssl3.sessionID, item->len); len 355 net/third_party/nss/ssl/sslsnce.c if ((cert->derCert.len > SSL_MAX_CACHED_CERT_LEN) || len 356 net/third_party/nss/ssl/sslsnce.c (cert->derCert.len <= 0) || len 365 net/third_party/nss/ssl/sslsnce.c cce.certLength = cert->derCert.len; len 400 net/third_party/nss/ssl/sslsnce.c rvc[ name->len % sizeof(rv) ] ^= name->type; len 414 net/third_party/nss/ssl/sslsnce.c if (!name || name->len <= 0 || len 415 net/third_party/nss/ssl/sslsnce.c name->len > SSL_MAX_DNS_HOST_NAME) { len 421 net/third_party/nss/ssl/sslsnce.c snce.nameLen = name->len; len 424 net/third_party/nss/ssl/sslsnce.c HASH_HashBuf(HASH_AlgSHA256, snce.nameHash, name->data, name->len); len 427 net/third_party/nss/ssl/sslsnce.c name->len); len 467 net/third_party/nss/ssl/sslsnce.c if ((from->u.ssl2.masterKey.len > SSL_MAX_MASTER_KEY_BYTES) || len 468 net/third_party/nss/ssl/sslsnce.c (from->u.ssl2.cipherArg.len > SSL_MAX_CYPHER_ARG_BYTES)) { len 470 net/third_party/nss/ssl/sslsnce.c myPid, from->u.ssl2.masterKey.len, len 471 net/third_party/nss/ssl/sslsnce.c from->u.ssl2.cipherArg.len)); len 477 net/third_party/nss/ssl/sslsnce.c to->u.ssl2.masterKeyLen = from->u.ssl2.masterKey.len; len 478 net/third_party/nss/ssl/sslsnce.c to->u.ssl2.cipherArgLen = from->u.ssl2.cipherArg.len; len 484 net/third_party/nss/ssl/sslsnce.c from->u.ssl2.masterKey.len); len 486 net/third_party/nss/ssl/sslsnce.c from->u.ssl2.cipherArg.len); len 488 net/third_party/nss/ssl/sslsnce.c PORT_Memset(to->u.ssl2.masterKey+from->u.ssl2.masterKey.len, 0, len 489 net/third_party/nss/ssl/sslsnce.c sizeof(to->u.ssl2.masterKey) - from->u.ssl2.masterKey.len); len 490 net/third_party/nss/ssl/sslsnce.c PORT_Memset(to->u.ssl2.cipherArg+from->u.ssl2.cipherArg.len, 0, len 491 net/third_party/nss/ssl/sslsnce.c sizeof(to->u.ssl2.cipherArg) - from->u.ssl2.cipherArg.len); len 559 net/third_party/nss/ssl/sslsnce.c to->u.ssl2.masterKey.len = from->u.ssl2.masterKeyLen; len 560 net/third_party/nss/ssl/sslsnce.c to->u.ssl2.cipherArg.len = from->u.ssl2.cipherArgLen; len 570 net/third_party/nss/ssl/sslsnce.c myPid, to->u.ssl2.masterKey.len, len 571 net/third_party/nss/ssl/sslsnce.c to->u.ssl2.cipherArg.len, to->creationTime, len 588 net/third_party/nss/ssl/sslsnce.c name.len = psnce->nameLen; len 620 net/third_party/nss/ssl/sslsnce.c derCert.len = pcce->certLength; len 878 net/third_party/nss/ssl/sslsnce.c sid->u.ssl2.masterKey.len)); len 880 net/third_party/nss/ssl/sslsnce.c sid->u.ssl2.cipherArg.len)); len 900 net/third_party/nss/ssl/sslsnce.c if (name->len && name->data) { len 959 net/third_party/nss/ssl/sslsnce.c sid->u.ssl2.masterKey.len)); len 961 net/third_party/nss/ssl/sslsnce.c sid->u.ssl2.cipherArg.len)); len 1836 net/third_party/nss/ssl/sslsnce.c wrappedKey.len = SECKEY_PublicKeyStrength(svrPubKey); len 1837 net/third_party/nss/ssl/sslsnce.c PORT_Assert(wrappedKey.len <= sizeof(cacheEntry->bytes)); len 1838 net/third_party/nss/ssl/sslsnce.c if (wrappedKey.len > sizeof(cacheEntry->bytes)) len 1848 net/third_party/nss/ssl/sslsnce.c cacheEntry->length = wrappedKey.len; len 1950 net/third_party/nss/ssl/sslsnce.c wrappedKey.len = cache->ticketEncKey->length; len 1951 net/third_party/nss/ssl/sslsnce.c PORT_Assert(wrappedKey.len <= sizeof(cache->ticketEncKey->bytes)); len 1956 net/third_party/nss/ssl/sslsnce.c wrappedKey.len = cache->ticketMacKey->length; len 1957 net/third_party/nss/ssl/sslsnce.c PORT_Assert(wrappedKey.len <= sizeof(cache->ticketMacKey->bytes)); len 1295 net/third_party/nss/ssl/sslsock.c SSL_CipherOrderSet(PRFileDesc *fd, const PRUint16 *ciphers, unsigned int len) len 1304 net/third_party/nss/ssl/sslsock.c return ssl3_CipherOrderSet(ss, ciphers, len); len 1482 net/third_party/nss/ssl/sslsock.c for (j = 0; j < ss->opt.nextProtoNego.len; ) { len 1560 net/third_party/nss/ssl/sslsock.c if (ss->ssl3.nextProto.len > bufLenMax) { len 1564 net/third_party/nss/ssl/sslsock.c PORT_Memcpy(buf, ss->ssl3.nextProto.data, ss->ssl3.nextProto.len); len 1565 net/third_party/nss/ssl/sslsock.c *bufLen = ss->ssl3.nextProto.len; len 2213 net/third_party/nss/ssl/sslsock.c ssl_Recv(PRFileDesc *fd, void *buf, PRInt32 len, PRIntn flags, len 2228 net/third_party/nss/ssl/sslsock.c rv = (*ss->ops->recv)(ss, (unsigned char*)buf, len, flags); len 2234 net/third_party/nss/ssl/sslsock.c ssl_Send(PRFileDesc *fd, const void *buf, PRInt32 len, PRIntn flags, len 2249 net/third_party/nss/ssl/sslsock.c rv = (*ss->ops->send)(ss, (const unsigned char*)buf, len, flags); len 2255 net/third_party/nss/ssl/sslsock.c ssl_Read(PRFileDesc *fd, void *buf, PRInt32 len) len 2269 net/third_party/nss/ssl/sslsock.c rv = (*ss->ops->read)(ss, (unsigned char*)buf, len); len 2275 net/third_party/nss/ssl/sslsock.c ssl_Write(PRFileDesc *fd, const void *buf, PRInt32 len) len 2289 net/third_party/nss/ssl/sslsock.c rv = (*ss->ops->write)(ss, (const unsigned char*)buf, len); len 2468 net/third_party/nss/ssl/sslsock.c (ss->pendingBuf.len != 0)) { /* write data waiting to be sent */ len 2478 net/third_party/nss/ssl/sslsock.c if (ss->lastWriteBlocked && ss->pendingBuf.len != 0) { len 2587 net/third_party/nss/ssl/sslsock.c #define HANDLE_ERR(rv, len) \ len 2588 net/third_party/nss/ssl/sslsock.c if (rv != len) { \ len 2602 net/third_party/nss/ssl/sslsock.c #define SEND(bfr, len) \ len 2604 net/third_party/nss/ssl/sslsock.c rv = ssl_Send(fd, bfr, len, 0, timeout); \ len 2605 net/third_party/nss/ssl/sslsock.c HANDLE_ERR(rv, len) \ len 2606 net/third_party/nss/ssl/sslsock.c sent += len; \ len 22 net/third_party/nss/ssl/sslt.h unsigned int len; len 36 net/third_party/nss/ssl/ssltrace.c void ssl_PrintBuf(sslSocket *ss, const char *msg, const void *vp, int len) len 45 net/third_party/nss/ssl/ssltrace.c msg, len)); len 47 net/third_party/nss/ssl/ssltrace.c SSL_TRACE(("%d: SSL: %s [Len: %d]", SSL_GETPID(), msg, len)); len 52 net/third_party/nss/ssl/ssltrace.c while (--len >= 0) { len 98 net/third_party/nss/ssl/ssltrace.c static void PrintBuf(sslSocket *ss, char *msg, unsigned char *cp, int len) len 105 net/third_party/nss/ssl/ssltrace.c SSL_GETPID(), ss->fd, msg, len)); len 108 net/third_party/nss/ssl/ssltrace.c SSL_GETPID(), msg, len)); len 111 net/third_party/nss/ssl/ssltrace.c while (--len >= 0) { len 138 net/third_party/nss/ssl/ssltrace.c void ssl_DumpMsg(sslSocket *ss, unsigned char *bp, unsigned len) len 180 net/third_party/nss/ssl/ssltrace.c PrintBuf(ss, "connection-id", bp+1, len-1); len 201 net/third_party/nss/ssl/ssltrace.c PrintBuf(ss, "challenge", bp+1, len-1); len 205 net/third_party/nss/ssl/ssltrace.c PrintBuf(ss, "session-id", bp+1, len-1); len 210 net/third_party/nss/ssl/ssltrace.c PrintBuf(ss, "certificate-challenge", bp+2, len-2); len 223 net/third_party/nss/ssl/ssltrace.c ssl_PrintBuf(ss, "sending *unknown* message type", bp, len); len 164 net/tools/dump_cache/cache_dumper.cc size_t len; len 197 net/tools/dump_cache/cache_dumper.cc len = headers.size(); len 200 net/tools/dump_cache/cache_dumper.cc len = buf_len; len 207 net/tools/dump_cache/cache_dumper.cc if (!WriteFile(entry_, data, len, &bytes, 0)) len 212 net/tools/dump_cache/cache_dumper.cc return fwrite(data, 1, len, entry_); len 115 net/tools/flip_server/http_interface.cc size_t HttpSM::ProcessReadInput(const char* data, size_t len) { len 118 net/tools/flip_server/http_interface.cc return http_framer_->ProcessInput(data, len); len 121 net/tools/flip_server/http_interface.cc size_t HttpSM::ProcessWriteInput(const char* data, size_t len) { len 123 net/tools/flip_server/http_interface.cc << len << ": stream " << stream_id_; len 124 net/tools/flip_server/http_interface.cc char* dataPtr = new char[len]; len 125 net/tools/flip_server/http_interface.cc memcpy(dataPtr, data, len); len 128 net/tools/flip_server/http_interface.cc data_frame->size = len; len 131 net/tools/flip_server/http_interface.cc return len; len 216 net/tools/flip_server/http_interface.cc int64 len, len 219 net/tools/flip_server/http_interface.cc SendDataFrameImpl(stream_id, data, len, flags, compress); len 279 net/tools/flip_server/http_interface.cc int64 len, len 283 net/tools/flip_server/http_interface.cc snprintf(chunk_buf, sizeof(chunk_buf), "%x\r\n", (unsigned int)len); len 286 net/tools/flip_server/http_interface.cc df->size = chunk_description.size() + len + 2; len 291 net/tools/flip_server/http_interface.cc memcpy(buffer + chunk_description.size(), data, len); len 292 net/tools/flip_server/http_interface.cc memcpy(buffer + chunk_description.size() + len, "\r\n", 2); len 85 net/tools/flip_server/http_interface.h virtual size_t ProcessReadInput(const char* data, size_t len) OVERRIDE; len 86 net/tools/flip_server/http_interface.h virtual size_t ProcessWriteInput(const char* data, size_t len) OVERRIDE; len 108 net/tools/flip_server/http_interface.h int64 len, len 120 net/tools/flip_server/http_interface.h int64 len, len 176 net/tools/flip_server/sm_connection.cc int SMConnection::Send(const char* data, int len, int flags) { len 186 net/tools/flip_server/sm_connection.cc while (len > 0) { len 189 net/tools/flip_server/sm_connection.cc int chunksize = std::min(len, kMaxTLSRecordSize); len 207 net/tools/flip_server/sm_connection.cc len -= rv; len 216 net/tools/flip_server/sm_connection.cc rv = send(fd_, data, len, flags); len 82 net/tools/flip_server/sm_connection.h int Send(const char* data, int len, int flags); len 32 net/tools/flip_server/sm_interface.h virtual size_t ProcessReadInput(const char* data, size_t len) = 0; len 33 net/tools/flip_server/sm_interface.h virtual size_t ProcessWriteInput(const char* data, size_t len) = 0; len 60 net/tools/flip_server/sm_interface.h int64 len, len 226 net/tools/flip_server/spdy_interface.cc size_t len, len 229 net/tools/flip_server/spdy_interface.cc << ", [" << len << "])"; len 240 net/tools/flip_server/spdy_interface.cc interface->ProcessWriteInput(data, len); len 299 net/tools/flip_server/spdy_interface.cc size_t SpdySM::ProcessReadInput(const char* data, size_t len) { len 301 net/tools/flip_server/spdy_interface.cc return buffered_spdy_framer_->ProcessInput(data, len); len 304 net/tools/flip_server/spdy_interface.cc size_t SpdySM::ProcessWriteInput(const char* data, size_t len) { return 0; } len 392 net/tools/flip_server/spdy_interface.cc int64 len, len 396 net/tools/flip_server/spdy_interface.cc SendDataFrameImpl(stream_id, data, len, spdy_flags, compress); len 514 net/tools/flip_server/spdy_interface.cc int64 len, len 521 net/tools/flip_server/spdy_interface.cc if (len == 0) { len 523 net/tools/flip_server/spdy_interface.cc buffered_spdy_framer_->CreateDataFrame(stream_id, data, len, flags); len 530 net/tools/flip_server/spdy_interface.cc while (len > 0) { len 531 net/tools/flip_server/spdy_interface.cc int64 size = std::min(len, static_cast<int64>(kSpdySegmentSize)); len 536 net/tools/flip_server/spdy_interface.cc if ((size < len) && (flags & DATA_FLAG_FIN)) len 548 net/tools/flip_server/spdy_interface.cc len -= size; len 100 net/tools/flip_server/spdy_interface.h size_t len, len 133 net/tools/flip_server/spdy_interface.h virtual size_t ProcessReadInput(const char* data, size_t len) OVERRIDE; len 134 net/tools/flip_server/spdy_interface.h virtual size_t ProcessWriteInput(const char* data, size_t len) OVERRIDE; len 162 net/tools/flip_server/spdy_interface.h int64 len, len 189 net/tools/flip_server/spdy_interface.h int64 len, len 24 net/tools/flip_server/spdy_ssl.cc unsigned int* len, len 28 net/tools/flip_server/spdy_ssl.cc *len = strlen(NEXT_PROTO_STRING); len 70 net/tools/flip_server/streamer_interface.cc size_t StreamerSM::ProcessReadInput(const char* data, size_t len) { len 73 net/tools/flip_server/streamer_interface.cc return http_framer_->ProcessInput(data, len); len 75 net/tools/flip_server/streamer_interface.cc return sm_other_interface_->ProcessWriteInput(data, len); len 79 net/tools/flip_server/streamer_interface.cc size_t StreamerSM::ProcessWriteInput(const char* data, size_t len) { len 80 net/tools/flip_server/streamer_interface.cc char* dataPtr = new char[len]; len 81 net/tools/flip_server/streamer_interface.cc memcpy(dataPtr, data, len); len 84 net/tools/flip_server/streamer_interface.cc df->size = len; len 87 net/tools/flip_server/streamer_interface.cc return len; len 44 net/tools/flip_server/streamer_interface.h virtual size_t ProcessReadInput(const char* data, size_t len) OVERRIDE; len 45 net/tools/flip_server/streamer_interface.h virtual size_t ProcessWriteInput(const char* data, size_t len) OVERRIDE; len 67 net/tools/flip_server/streamer_interface.h int64 len, len 88 net/tools/flip_server/streamer_interface.h int64 len, len 32 net/tools/quic/quic_socket_utils.cc int len = 0; len 37 net/tools/quic/quic_socket_utils.cc len = sizeof(addr); len 42 net/tools/quic/quic_socket_utils.cc len = sizeof(addr); len 46 net/tools/quic/quic_socket_utils.cc return IPAddressNumber(addr_data, addr_data + len); len 101 net/tools/quic/quic_spdy_client_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), len 103 net/tools/quic/quic_spdy_client_stream.cc if (len == 0) { len 113 net/tools/quic/quic_spdy_client_stream.cc size_t delta = read_buf_len - len; len 115 net/tools/quic/quic_spdy_client_stream.cc data_.append(data + len, delta); len 118 net/tools/quic/quic_spdy_client_stream.cc return len; len 72 net/tools/quic/quic_spdy_server_stream.cc size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), len 74 net/tools/quic/quic_spdy_server_stream.cc if (len == 0) { len 83 net/tools/quic/quic_spdy_server_stream.cc size_t delta = read_buf_len - len; len 85 net/tools/quic/quic_spdy_server_stream.cc body_.append(data + len, delta); len 89 net/tools/quic/quic_spdy_server_stream.cc return len; len 119 net/tools/tld_cleanup/tld_cleanup_util.cc if (host.len < 0) { len 127 net/tools/tld_cleanup/tld_cleanup_util.cc domain->assign(spec.substr(host.begin, host.len)); len 545 net/udp/udp_socket_win.cc read_buffer.len = buf_len; len 596 net/udp/udp_socket_win.cc write_buffer.len = buf_len; len 172 net/url_request/url_request_unittest.cc void FillBuffer(char* buffer, size_t len) { len 180 net/url_request/url_request_unittest.cc for (size_t i = 0; i < len; i++) { len 50 net/url_request/view_cache_helper_unittest.cc int len = static_cast<int>(pickle.size()); len 53 net/url_request/view_cache_helper_unittest.cc int rv = entry->WriteData(0, 0, buf.get(), len, cb.callback(), true); len 54 net/url_request/view_cache_helper_unittest.cc ASSERT_EQ(len, cb.GetResult(rv)); len 61 net/url_request/view_cache_helper_unittest.cc int len = data.length(); len 62 net/url_request/view_cache_helper_unittest.cc scoped_refptr<IOBuffer> buf(new IOBuffer(len)); len 66 net/url_request/view_cache_helper_unittest.cc int rv = entry->WriteData(index, 0, buf.get(), len, cb.callback(), true); len 67 net/url_request/view_cache_helper_unittest.cc ASSERT_EQ(len, cb.GetResult(rv)); len 219 net/websockets/websocket_basic_stream_test.cc int len = chunk_size; len 222 net/websockets/websocket_basic_stream_test.cc static_cast<int>(data + data_size - start) < len) { len 223 net/websockets/websocket_basic_stream_test.cc len = static_cast<int>(data + data_size - start); len 225 net/websockets/websocket_basic_stream_test.cc reads_[i] = MockRead(mode, start, len); len 226 net/websockets/websocket_basic_stream_test.cc start += len; len 31 net/websockets/websocket_handshake_handler.cc const char* handshake_message, int len, len 34 net/websockets/websocket_handshake_handler.cc size_t i = base::StringPiece(handshake_message, len).find_first_of("\r\n"); len 36 net/websockets/websocket_handshake_handler.cc *request_line = std::string(handshake_message, len); len 43 net/websockets/websocket_handshake_handler.cc int header_len = len - (i + 2) - 2; len 103 net/websockets/websocket_job.cc bool WebSocketJob::SendData(const char* data, int len) { len 109 net/websockets/websocket_job.cc return SendHandshakeRequest(data, len); len 113 net/websockets/websocket_job.cc scoped_refptr<IOBufferWithSize> buffer = new IOBufferWithSize(len); len 114 net/websockets/websocket_job.cc memcpy(buffer->data(), data, len); len 119 net/websockets/websocket_job.cc current_send_buffer_ = new DrainableIOBuffer(buffer.get(), len); len 237 net/websockets/websocket_job.cc SocketStream* socket, const char* data, int len) { len 242 net/websockets/websocket_job.cc OnReceivedHandshakeResponse(socket, data, len); len 246 net/websockets/websocket_job.cc if (delegate_ && len > 0) len 247 net/websockets/websocket_job.cc delegate_->OnReceivedData(socket, data, len); len 356 net/websockets/websocket_job.cc bool WebSocketJob::SendHandshakeRequest(const char* data, int len) { len 360 net/websockets/websocket_job.cc if (!handshake_request_->ParseRequest(data, len)) len 437 net/websockets/websocket_job.cc SocketStream* socket, const char* data, int len) { len 443 net/websockets/websocket_job.cc received_data_after_handshake_.end(), data, data + len); len 447 net/websockets/websocket_job.cc size_t response_length = handshake_response_->ParseRawResponse(data, len); len 457 net/websockets/websocket_job.cc if (len - response_length > 0) { len 460 net/websockets/websocket_job.cc received_data_after_handshake_.assign(data + response_length, data + len); len 58 net/websockets/websocket_job.h virtual bool SendData(const char* data, int len) OVERRIDE; len 71 net/websockets/websocket_job.h int len) OVERRIDE; len 94 net/websockets/websocket_job.h bool SendHandshakeRequest(const char* data, int len); len 102 net/websockets/websocket_job.h SocketStream* socket, const char* data, int len); len 49 net/websockets/websocket_job_test.cc virtual bool SendData(const char* data, int len) OVERRIDE { len 50 net/websockets/websocket_job_test.cc sent_data_ += std::string(data, len); len 118 net/websockets/websocket_job_test.cc const char* data, int len) OVERRIDE { len 119 net/websockets/websocket_job_test.cc received_data_ += std::string(data, len); len 358 net/websockets/websocket_job_test.cc int len) OVERRIDE { len 28 net/websockets/websocket_throttle_test.cc const char* data, int len) OVERRIDE {} len 51 ppapi/c/dev/ppb_url_util_dev.h int32_t len; len 63 ppapi/c/dev/ppb_var_deprecated.h const char* data, uint32_t len); len 78 ppapi/c/dev/ppb_var_deprecated.h const char* (*VarToUtf8)(struct PP_Var var, uint32_t* len); len 231 ppapi/c/ppb_url_request_info.h uint32_t len); len 78 ppapi/c/ppb_var.h struct PP_Var (*VarFromUtf8)(const char* data, uint32_t len); len 97 ppapi/c/ppb_var.h const char* (*VarToUtf8)(struct PP_Var var, uint32_t* len); len 127 ppapi/c/ppb_var.h uint32_t len); len 128 ppapi/c/ppb_var.h const char* (*VarToUtf8)(struct PP_Var var, uint32_t* len); len 134 ppapi/c/ppb_var.h struct PP_Var (*VarFromUtf8)(const char* data, uint32_t len); len 135 ppapi/c/ppb_var.h const char* (*VarToUtf8)(struct PP_Var var, uint32_t* len); len 41 ppapi/cpp/url_request_info.cc bool URLRequestInfo::AppendDataToBody(const void* data, uint32_t len) { len 45 ppapi/cpp/url_request_info.cc pp_resource(), data, len)); len 58 ppapi/cpp/url_request_info.h bool AppendDataToBody(const void* data, uint32_t len); len 47 ppapi/cpp/var.cc PP_Var VarFromUtf8Helper(const char* utf8_str, uint32_t len) { len 49 ppapi/cpp/var.cc return get_interface<PPB_Var_1_2>()->VarFromUtf8(utf8_str, len); len 51 ppapi/cpp/var.cc return get_interface<PPB_Var_1_1>()->VarFromUtf8(utf8_str, len); len 55 ppapi/cpp/var.cc len); len 128 ppapi/cpp/var.cc uint32_t len = utf8_str ? static_cast<uint32_t>(strlen(utf8_str)) : 0; len 129 ppapi/cpp/var.cc var_ = VarFromUtf8Helper(utf8_str, len); len 256 ppapi/cpp/var.cc uint32_t len; len 259 ppapi/cpp/var.cc str = get_interface<PPB_Var_1_2>()->VarToUtf8(var_, &len); len 261 ppapi/cpp/var.cc str = get_interface<PPB_Var_1_1>()->VarToUtf8(var_, &len); len 263 ppapi/cpp/var.cc str = get_interface<PPB_Var_1_0>()->VarToUtf8(var_, &len); len 266 ppapi/cpp/var.cc return std::string(str, len); len 94 ppapi/native_client/src/trusted/plugin/nacl_subprocess.cc size_t len = va_arg(vl, size_t); len 95 ppapi/native_client/src/trusted/plugin/nacl_subprocess.cc char* input = (char *)malloc(len); len 100 ppapi/native_client/src/trusted/plugin/nacl_subprocess.cc memcpy(input, orig_arr, len); len 102 ppapi/native_client/src/trusted/plugin/nacl_subprocess.cc params->ins()[i]->u.count = static_cast<nacl_abi_size_t>(len); len 1508 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M14_PPB_URLRequestInfo_AppendDataToBody(PP_Resource request, const void* data, uint32_t len) { len 1510 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->AppendDataToBody(request, data, len); len 1551 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M14_PPB_Var_VarFromUtf8(struct PP_Var* _struct_result, PP_Module module, const char* data, uint32_t len) { len 1553 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c *_struct_result = iface->VarFromUtf8(module, data, len); len 1556 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static const char* Pnacl_M14_PPB_Var_VarToUtf8(struct PP_Var* var, uint32_t* len) { len 1558 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->VarToUtf8(*var, len); len 1575 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M18_PPB_Var_VarFromUtf8(struct PP_Var* _struct_result, const char* data, uint32_t len) { len 1577 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c *_struct_result = iface->VarFromUtf8(data, len); len 1580 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static const char* Pnacl_M18_PPB_Var_VarToUtf8(struct PP_Var* var, uint32_t* len) { len 1582 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->VarToUtf8(*var, len); len 1599 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M34_PPB_Var_VarFromUtf8(struct PP_Var* _struct_result, const char* data, uint32_t len) { len 1601 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c *_struct_result = iface->VarFromUtf8(data, len); len 1604 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static const char* Pnacl_M34_PPB_Var_VarToUtf8(struct PP_Var* var, uint32_t* len) { len 1606 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->VarToUtf8(*var, len); len 4631 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .AppendDataToBody = (PP_Bool (*)(PP_Resource request, const void* data, uint32_t len))&Pnacl_M14_PPB_URLRequestInfo_AppendDataToBody, len 4644 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .VarFromUtf8 = (struct PP_Var (*)(PP_Module module, const char* data, uint32_t len))&Pnacl_M14_PPB_Var_VarFromUtf8, len 4645 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M14_PPB_Var_VarToUtf8 len 4651 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .VarFromUtf8 = (struct PP_Var (*)(const char* data, uint32_t len))&Pnacl_M18_PPB_Var_VarFromUtf8, len 4652 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M18_PPB_Var_VarToUtf8 len 4658 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .VarFromUtf8 = (struct PP_Var (*)(const char* data, uint32_t len))&Pnacl_M34_PPB_Var_VarFromUtf8, len 4659 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M34_PPB_Var_VarToUtf8, len 217 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc size_t len; len 231 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc len = strlen(reply.c_str()); len 232 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc fprintf(stderr, "posting reply len %d\n", len); len 236 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc write(2, reply.c_str(), len); len 100 ppapi/native_client/tests/nacl_browser/inbrowser_test_runner/test_runner_ppapi.c uint32_t len; len 106 ppapi/native_client/tests/nacl_browser/inbrowser_test_runner/test_runner_ppapi.c data = g_browser_var->VarToUtf8(message, &len); len 107 ppapi/native_client/tests/nacl_browser/inbrowser_test_runner/test_runner_ppapi.c if (len == 0) { len 129 ppapi/native_client/tests/ppapi_test_lib/module_instance.cc uint32_t len = 0; len 130 ppapi/native_client/tests/ppapi_test_lib/module_instance.cc const char* test_name = PPBVar()->VarToUtf8(message, &len); len 190 ppapi/proxy/ppapi_messages.h IPC_STRUCT_TRAITS_MEMBER(len) len 17 ppapi/proxy/ppb_var_unittest.cc uint32_t len = 0; len 18 ppapi/proxy/ppb_var_unittest.cc const char* utf8 = ppb_var->VarToUtf8(var, &len); len 19 ppapi/proxy/ppb_var_unittest.cc return std::string(utf8, len); len 69 ppapi/proxy/ppb_var_unittest.cc uint32_t len = 10; len 70 ppapi/proxy/ppb_var_unittest.cc const char* utf8 = ppb_var_->VarToUtf8(vars_[i], &len); len 72 ppapi/proxy/ppb_var_unittest.cc EXPECT_EQ(0u, len); len 233 ppapi/proxy/ppb_var_unittest.cc uint32_t len = 10; len 234 ppapi/proxy/ppb_var_unittest.cc const char* utf8 = ppb_var_->VarToUtf8(vars_[i], &len); len 236 ppapi/proxy/ppb_var_unittest.cc EXPECT_EQ(0u, len); len 73 ppapi/proxy/url_request_info_resource.cc uint32_t len) { len 74 ppapi/proxy/url_request_info_resource.cc if (len > 0) { len 76 ppapi/proxy/url_request_info_resource.cc std::string(static_cast<const char*>(data), len))); len 32 ppapi/proxy/url_request_info_resource.h virtual PP_Bool AppendDataToBody(const void* data, uint32_t len) OVERRIDE; len 20 ppapi/shared_impl/ppb_url_util_shared.cc output->len = input.len; len 37 ppapi/shared_impl/ppb_var_shared.cc PP_Var VarFromUtf8(const char* data, uint32_t len) { len 39 ppapi/shared_impl/ppb_var_shared.cc return StringVar::StringToPPVar(data, len); len 42 ppapi/shared_impl/ppb_var_shared.cc PP_Var VarFromUtf8_1_0(PP_Module /*module*/, const char* data, uint32_t len) { len 43 ppapi/shared_impl/ppb_var_shared.cc return VarFromUtf8(data, len); len 46 ppapi/shared_impl/ppb_var_shared.cc const char* VarToUtf8(PP_Var var, uint32_t* len) { len 50 ppapi/shared_impl/ppb_var_shared.cc *len = static_cast<uint32_t>(str->value().size()); len 53 ppapi/shared_impl/ppb_var_shared.cc *len = 0; len 135 ppapi/shared_impl/var.cc StringVar::StringVar(const char* str, uint32 len) : value_(str, len) {} len 149 ppapi/shared_impl/var.cc PP_Var StringVar::StringToPPVar(const char* data, uint32 len) { len 150 ppapi/shared_impl/var.cc scoped_refptr<StringVar> str(new StringVar(data, len)); len 104 ppapi/shared_impl/var.h StringVar(const char* str, uint32 len); len 126 ppapi/shared_impl/var.h static PP_Var StringToPPVar(const char* str, uint32 len); len 72 ppapi/tests/test_browser_font.cc int32_t len[kNumChars]; len 73 ppapi/tests/test_browser_font.cc len[0] = font.PixelOffsetForCharacter(run, 0); len 74 ppapi/tests/test_browser_font.cc len[1] = font.PixelOffsetForCharacter(run, 1); len 75 ppapi/tests/test_browser_font.cc len[2] = font.PixelOffsetForCharacter(run, 2); len 76 ppapi/tests/test_browser_font.cc len[3] = font.PixelOffsetForCharacter(run, 3); len 77 ppapi/tests/test_browser_font.cc len[4] = font.PixelOffsetForCharacter(run, 4); len 78 ppapi/tests/test_browser_font.cc len[5] = font.PixelOffsetForCharacter(run, 5); len 81 ppapi/tests/test_browser_font.cc ASSERT_TRUE(len[0] >= 0); len 82 ppapi/tests/test_browser_font.cc ASSERT_TRUE(len[1] > len[0]); len 83 ppapi/tests/test_browser_font.cc ASSERT_TRUE(len[3] > len[1]); len 84 ppapi/tests/test_browser_font.cc ASSERT_TRUE(len[2] > len[3]); len 85 ppapi/tests/test_browser_font.cc ASSERT_TRUE(len[4] > len[2]); len 86 ppapi/tests/test_browser_font.cc ASSERT_TRUE(len[5] > len[4]); len 91 ppapi/tests/test_browser_font.cc len[0] = font.PixelOffsetForCharacter(forced_run, 0); len 92 ppapi/tests/test_browser_font.cc len[1] = font.PixelOffsetForCharacter(forced_run, 1); len 93 ppapi/tests/test_browser_font.cc len[2] = font.PixelOffsetForCharacter(forced_run, 2); len 94 ppapi/tests/test_browser_font.cc len[3] = font.PixelOffsetForCharacter(forced_run, 3); len 95 ppapi/tests/test_browser_font.cc len[4] = font.PixelOffsetForCharacter(forced_run, 4); len 96 ppapi/tests/test_browser_font.cc len[5] = font.PixelOffsetForCharacter(forced_run, 5); len 98 ppapi/tests/test_browser_font.cc ASSERT_TRUE(len[i] > len[i - 1]); len 14 ppapi/tests/test_url_util.cc int begin, int len) { len 15 ppapi/tests/test_url_util.cc return component.begin == begin && component.len == len; len 78 ppapi/tests/test_utils.cc if (components.host.len < 0) len 80 ppapi/tests/test_utils.cc host->assign(url.substr(components.host.begin, components.host.len)); len 82 ppapi/tests/test_utils.cc if (components.port.len <= 0) len 85 ppapi/tests/test_utils.cc int i = atoi(url.substr(components.port.begin, components.port.len).c_str()); len 52 ppapi/tests/test_var.cc uint32_t len = 0; len 53 ppapi/tests/test_var.cc const char* result = var_interface_->VarToUtf8(str, &len); len 54 ppapi/tests/test_var.cc ASSERT_EQ(kStrLen, len); len 59 ppapi/tests/test_var.cc result = var_interface_->VarToUtf8(str, &len); len 60 ppapi/tests/test_var.cc ASSERT_EQ(0, len); len 84 ppapi/tests/test_var.cc uint32_t len = std::numeric_limits<uint32_t>::max(); len 85 ppapi/tests/test_var.cc const char* result = var_interface_->VarToUtf8(invalid_string, &len); len 86 ppapi/tests/test_var.cc ASSERT_EQ(0, len); len 90 ppapi/tests/test_var.cc len = std::numeric_limits<uint32_t>::max(); len 92 ppapi/tests/test_var.cc result = var_interface_->VarToUtf8(int_var.pp_var(), &len); len 93 ppapi/tests/test_var.cc ASSERT_EQ(0, len); len 98 ppapi/tests/test_var.cc len = std::numeric_limits<uint32_t>::max(); len 99 ppapi/tests/test_var.cc result = var_interface_->VarToUtf8(empty_string.pp_var(), &len); len 100 ppapi/tests/test_var.cc ASSERT_EQ(0, len); len 101 ppapi/tests/test_var_deprecated.cc uint32_t len = 0; len 102 ppapi/tests/test_var_deprecated.cc const char* result = var_interface_->VarToUtf8(str, &len); len 103 ppapi/tests/test_var_deprecated.cc ASSERT_EQ(kStrLen, len); len 108 ppapi/tests/test_var_deprecated.cc result = var_interface_->VarToUtf8(str, &len); len 109 ppapi/tests/test_var_deprecated.cc ASSERT_EQ(0, len); len 126 ppapi/tests/test_var_deprecated.cc uint32_t len = std::numeric_limits<uint32_t>::max(); len 127 ppapi/tests/test_var_deprecated.cc const char* result = var_interface_->VarToUtf8(invalid_string, &len); len 128 ppapi/tests/test_var_deprecated.cc ASSERT_EQ(0, len); len 132 ppapi/tests/test_var_deprecated.cc len = std::numeric_limits<uint32_t>::max(); len 134 ppapi/tests/test_var_deprecated.cc result = var_interface_->VarToUtf8(int_var.pp_var(), &len); len 135 ppapi/tests/test_var_deprecated.cc ASSERT_EQ(0, len); len 140 ppapi/tests/test_var_deprecated.cc len = std::numeric_limits<uint32_t>::max(); len 141 ppapi/tests/test_var_deprecated.cc result = var_interface_->VarToUtf8(empty_string.pp_var(), &len); len 142 ppapi/tests/test_var_deprecated.cc ASSERT_EQ(0, len); len 1503 ppapi/tests/test_websocket.cc uint32_t len = 256; len 1504 ppapi/tests/test_websocket.cc std::vector<uint8_t> binary(len); len 1505 ppapi/tests/test_websocket.cc for (uint32_t i = 0; i < len; ++i) len 1507 ppapi/tests/test_websocket.cc pp::VarArrayBuffer message(len); len 23 ppapi/thunk/ppb_url_request_info_api.h virtual PP_Bool AppendDataToBody(const void* data, uint32_t len) = 0; len 43 ppapi/thunk/ppb_url_request_info_thunk.cc PP_Bool AppendDataToBody(PP_Resource request, const void* data, uint32_t len) { len 48 ppapi/thunk/ppb_url_request_info_thunk.cc return enter.object()->AppendDataToBody(data, len); len 1101 remoting/client/plugin/chromoting_instance.cc url_components.scheme.len); len 30 remoting/client/plugin/media_source_video_renderer.cc virtual mkvmuxer::int32 Write(const void* buf, mkvmuxer::uint32 len) OVERRIDE; len 65 remoting/client/plugin/media_source_video_renderer.cc mkvmuxer::uint32 len) { len 68 remoting/client/plugin/media_source_video_renderer.cc reinterpret_cast<const char*>(buf) + len); len 69 remoting/client/plugin/media_source_video_renderer.cc position_ += len; len 225 remoting/host/gnubby_auth_handler_posix.cc int len) { len 232 remoting/host/gnubby_auth_handler_posix.cc gnubby_socket->AddRequestData(data, len); len 53 remoting/host/gnubby_auth_handler_posix.h int len) OVERRIDE; len 102 remoting/host/gnubby_socket.cc int len = response.size(); len 104 remoting/host/gnubby_socket.cc response_len.push_back((len >> 24) & 255); len 105 remoting/host/gnubby_socket.cc response_len.push_back((len >> 16) & 255); len 106 remoting/host/gnubby_socket.cc response_len.push_back((len >> 8) & 255); len 107 remoting/host/gnubby_socket.cc response_len.push_back(len & 255); len 28 remoting/host/plugin/host_plugin_utils.cc size_t len = val.length(); len 30 remoting/host/plugin/host_plugin_utils.cc reinterpret_cast<NPUTF8*>(g_npnetscape_funcs->memalloc(len + 1)); len 33 remoting/host/plugin/host_plugin_utils.cc STRINGN_TO_NPVARIANT(chars, len, variant); len 401 remoting/host/remoting_me2me_host.cc size_t len; len 402 remoting/host/remoting_me2me_host.cc while ((len = fread(buf, 1, sizeof(buf), stdin)) > 0) { len 403 remoting/host/remoting_me2me_host.cc host_config_.append(buf, len); len 16 remoting/host/setup/oauth_helper.cc if (component.len < 0) { len 19 remoting/host/setup/oauth_helper.cc return url.substr(component.begin, component.len); len 16 rlz/lib/crc32_unittest.cc int len; len 30 rlz/lib/crc32_unittest.cc kData[i].len)); len 47 sandbox/linux/seccomp-bpf/demo.cc bool SendFds(int transport, const void *buf, size_t len, ...) { len 50 sandbox/linux/seccomp-bpf/demo.cc va_start(ap, len); len 65 sandbox/linux/seccomp-bpf/demo.cc if (buf && len > 0) { len 67 sandbox/linux/seccomp-bpf/demo.cc iov[1].iov_len = len; len 70 sandbox/linux/seccomp-bpf/demo.cc msg.msg_iovlen = (buf && len > 0) ? 2 : 1; len 77 sandbox/linux/seccomp-bpf/demo.cc va_start(ap, len); len 82 sandbox/linux/seccomp-bpf/demo.cc static_cast<ssize_t>(sizeof(dummy) + ((buf && len > 0) ? len : 0)); len 85 sandbox/linux/seccomp-bpf/demo.cc bool GetFds(int transport, void *buf, size_t *len, ...) { len 88 sandbox/linux/seccomp-bpf/demo.cc va_start(ap, len); len 103 sandbox/linux/seccomp-bpf/demo.cc if (buf && len && *len > 0) { len 105 sandbox/linux/seccomp-bpf/demo.cc iov[1].iov_len = *len; len 108 sandbox/linux/seccomp-bpf/demo.cc msg.msg_iovlen = (buf && len && *len > 0) ? 2 : 1; len 112 sandbox/linux/seccomp-bpf/demo.cc if (len) { len 113 sandbox/linux/seccomp-bpf/demo.cc *len = bytes > static_cast<int>(sizeof(int)) ? bytes - sizeof(int) : 0; len 137 sandbox/linux/seccomp-bpf/demo.cc va_start(ap, len); len 388 sandbox/linux/seccomp-bpf/demo.cc size_t len = 4; len 391 sandbox/linux/seccomp-bpf/demo.cc !GetFds(fds[1], buf, &len, fds+2, fds+3, fds+4, NULL) || len 392 sandbox/linux/seccomp-bpf/demo.cc len != 4 || len 393 sandbox/linux/seccomp-bpf/demo.cc memcmp(buf, "test", len) || len 480 sandbox/linux/seccomp-bpf/demo.cc size_t len = 4; len 483 sandbox/linux/seccomp-bpf/demo.cc !GetFds(fds[1], buf, &len, fds+2, NULL) || len 484 sandbox/linux/seccomp-bpf/demo.cc len != 4 || len 485 sandbox/linux/seccomp-bpf/demo.cc memcmp(buf, "test", len) || len 355 sandbox/linux/seccomp-bpf/sandbox_bpf.cc ssize_t len = HANDLE_EINTR(read(fds[0], buf, sizeof(buf) - 1)); len 356 sandbox/linux/seccomp-bpf/sandbox_bpf.cc if (len > 0) { len 357 sandbox/linux/seccomp-bpf/sandbox_bpf.cc while (len > 1 && buf[len - 1] == '\n') { len 358 sandbox/linux/seccomp-bpf/sandbox_bpf.cc --len; len 360 sandbox/linux/seccomp-bpf/sandbox_bpf.cc buf[len] = '\000'; len 344 sandbox/linux/services/broker_process_unittest.cc ssize_t len = write(tempfile2, test_text, sizeof(test_text)); len 345 sandbox/linux/services/broker_process_unittest.cc ASSERT_EQ(len, static_cast<ssize_t>(sizeof(test_text))); len 350 sandbox/linux/services/broker_process_unittest.cc len = read(tempfile.fd(), buf, sizeof(buf)); len 352 sandbox/linux/services/broker_process_unittest.cc ASSERT_EQ(len, static_cast<ssize_t>(sizeof(test_text))); len 70 sandbox/linux/suid/process_util_linux.c size_t len = strlen(buf); len 72 sandbox/linux/suid/process_util_linux.c ssize_t bytes_written = write(fd, buf, len); len 74 sandbox/linux/suid/process_util_linux.c return (bytes_written == len); len 169 sandbox/linux/tests/unit_tests.cc const size_t len = msg_buf.size(); len 170 sandbox/linux/tests/unit_tests.cc msg_buf.resize(len + kCapacity); len 171 sandbox/linux/tests/unit_tests.cc rc = HANDLE_EINTR(read(fds[0], &msg_buf[len], kCapacity)); len 172 sandbox/linux/tests/unit_tests.cc msg_buf.resize(len + std::max(rc, static_cast<ssize_t>(0))); len 55 sandbox/win/tests/validation_tests/suite.cc DWORD len =::ExpandEnvironmentStringsW(any_path, expand, _countof(expand)); len 56 sandbox/win/tests/validation_tests/suite.cc if (0 == len) return false; len 57 sandbox/win/tests/validation_tests/suite.cc if (len > _countof(expand)) return false; len 193 skia/config/SkUserConfig.h #define bzero(str, len) memset(str, 0, len) len 218 skia/ext/analysis_canvas.cc size_t len, len 247 skia/ext/analysis_canvas.cc size_t len, len 176 skia/ext/pixel_ref_utils.cc size_t len, len 186 skia/ext/pixel_ref_utils.cc paint.measureText(text, len, &bounds); len 223 skia/ext/pixel_ref_utils.cc size_t len, len 232 skia/ext/pixel_ref_utils.cc if (len == 0) len 248 skia/ext/pixel_ref_utils.cc for (size_t i = 0; i < len; ++i) { len 276 skia/ext/pixel_ref_utils.cc size_t len, len 515 skia/ext/vector_platform_device_emf_win.cc size_t len, len 528 skia/ext/vector_platform_device_emf_win.cc const int count = len >> 1; len 556 skia/ext/vector_platform_device_emf_win.cc const char* stop = curr + len; len 569 skia/ext/vector_platform_device_emf_win.cc size_t len, len 59 skia/ext/vector_platform_device_emf_win.h virtual void drawText(const SkDraw& draw, const void* text, size_t len, len 61 skia/ext/vector_platform_device_emf_win.h virtual void drawPosText(const SkDraw& draw, const void* text, size_t len, len 64 skia/ext/vector_platform_device_emf_win.h virtual void drawTextOnPath(const SkDraw& draw, const void* text, size_t len, len 230 sql/statement.cc int len = sqlite3_column_bytes(ref_->stmt(), col); len 233 sql/statement.cc if (str && len > 0) len 234 sql/statement.cc result.assign(str, len); len 265 sql/statement.cc size_t len = ColumnByteLength(col); len 266 sql/statement.cc blob->resize(len); len 267 sql/statement.cc if (blob->size() != len) { len 270 sql/statement.cc blob->assign(reinterpret_cast<const char*>(p), len); len 279 sql/statement.cc size_t len = ColumnByteLength(col) / sizeof(base::char16); len 280 sql/statement.cc val->resize(len); len 281 sql/statement.cc if (val->size() != len) len 283 sql/statement.cc val->assign(reinterpret_cast<const base::char16*>(data), len); len 294 sql/statement.cc int len = sqlite3_column_bytes(ref_->stmt(), col); len 295 sql/statement.cc if (data && len > 0) { len 296 sql/statement.cc val->resize(len); len 297 sql/statement.cc memcpy(&(*val)[0], data, len); len 563 sync/internal_api/public/base/unique_position.cc const size_t len = std::min(static_cast<size_t>(8), str.length() - i); len 564 sync/internal_api/public/base/unique_position.cc output.append(str, i, len); len 565 sync/internal_api/public/base/unique_position.cc i += len; // Jump forward by the amount of input consumed (usually 8). len 75 third_party/ashmem/ashmem-dev.c int ashmem_pin_region(int fd, size_t offset, size_t len) len 77 third_party/ashmem/ashmem-dev.c struct ashmem_pin pin = { offset, len }; len 81 third_party/ashmem/ashmem-dev.c int ashmem_unpin_region(int fd, size_t offset, size_t len) len 83 third_party/ashmem/ashmem-dev.c struct ashmem_pin pin = { offset, len }; len 21 third_party/ashmem/ashmem.h int ashmem_pin_region(int fd, size_t offset, size_t len); len 22 third_party/ashmem/ashmem.h int ashmem_unpin_region(int fd, size_t offset, size_t len); len 76 third_party/bintrees/bintrees/cwalker.c Py_ssize_t len; len 76 third_party/bintrees/bintrees/qavltree.c Py_ssize_t len; len 76 third_party/bintrees/bintrees/qbintree.c Py_ssize_t len; len 76 third_party/bintrees/bintrees/qrbtree.c Py_ssize_t len; len 876 third_party/cld/base/logging.h LogStream(char *buf, int len, int ctr) len 877 third_party/cld/base/logging.h : ostrstream(buf, len), len 1362 third_party/cld/base/logging.h int posix_strerror_r(int err, char *buf, size_t len); len 437 third_party/cld/encodings/compact_lang_det/cldutil.cc int len = kAdvanceOneChar[usrc[0]]; len 445 third_party/cld/encodings/compact_lang_det/cldutil.cc DbgUniTermToStderr(propval, usrc, len); len 451 third_party/cld/encodings/compact_lang_det/cldutil.cc if (FLAGS_dbgscore) {DbgScoreRecordUni((const char*)usrc, propval, len);} len 489 third_party/cld/encodings/compact_lang_det/cldutil.cc int len = src - isrc; len 490 third_party/cld/encodings/compact_lang_det/cldutil.cc DbgScoreTop(src, (len * 2) / advance_by, chunk_tote); len 516 third_party/cld/encodings/compact_lang_det/cldutil.cc int len = kAdvanceOneChar[usrc[0]]; len 517 third_party/cld/encodings/compact_lang_det/cldutil.cc int len2 = kAdvanceOneChar[usrc[len]] + len; len 545 third_party/cld/encodings/compact_lang_det/cldutil.cc usrc += len; // Advance by one char len 586 third_party/cld/encodings/compact_lang_det/cldutil.cc int len = src_end - src; len 589 third_party/cld/encodings/compact_lang_det/cldutil.cc uint32 quadhash = QuadHashV25(src, len); len 597 third_party/cld/encodings/compact_lang_det/cldutil.cc DbgQuadTermToStderr(quadhash, probs, src, len); len 606 third_party/cld/encodings/compact_lang_det/cldutil.cc if (FLAGS_dbgscore) {DbgScoreRecord(src, probs, len);} len 652 third_party/cld/encodings/compact_lang_det/cldutil.cc int len = src - isrc; len 653 third_party/cld/encodings/compact_lang_det/cldutil.cc DbgScoreTop(src, (len * 2) / advance_by, chunk_tote); len 789 third_party/cld/encodings/compact_lang_det/cldutil.cc int cld::ReliabilityMainstream(int topscore, int len, int mean_score) { len 792 third_party/cld/encodings/compact_lang_det/cldutil.cc if (len == 0) {return 0;} // zero len = unreliable len 793 third_party/cld/encodings/compact_lang_det/cldutil.cc int top_kb = (topscore << 10) / len; len 839 third_party/cld/encodings/compact_lang_det/cldutil.cc int cld::GetReliability(int len, UnicodeLScript lscript, len 859 third_party/cld/encodings/compact_lang_det/cldutil.cc len, len 872 third_party/cld/encodings/compact_lang_det/cldutil.cc int srclen = len; len 965 third_party/cld/encodings/compact_lang_det/cldutil.h int ReliabilityMainstream(int topscore, int len, int mean_score); len 1175 third_party/cld/encodings/compact_lang_det/cldutil.h int GetReliability(int len, UnicodeLScript lscript, const Tote* chunk_tote); len 28 third_party/cld/encodings/compact_lang_det/cldutil_dbg.h void DbgScoreInit(const char* src, int len); len 41 third_party/cld/encodings/compact_lang_det/cldutil_dbg.h void DbgScoreRecord(const char* src, uint32 probs, int len); len 43 third_party/cld/encodings/compact_lang_det/cldutil_dbg.h void DbgScoreRecordUni(const char* src, int propval, int len); len 64 third_party/cld/encodings/compact_lang_det/cldutil_dbg.h void DbgUniTermToStderr(int propval, const uint8* usrc, int len); len 67 third_party/cld/encodings/compact_lang_det/cldutil_dbg.h const char* src, int len); len 69 third_party/cld/encodings/compact_lang_det/cldutil_dbg.h const char* src, int len); len 71 third_party/cld/encodings/compact_lang_det/cldutil_dbg.h const char* src, int len); len 29 third_party/cld/encodings/compact_lang_det/cldutil_dbg_empty.cc void DbgScoreInit(const char* src, int len) {}; len 42 third_party/cld/encodings/compact_lang_det/cldutil_dbg_empty.cc void DbgScoreRecord(const char* src, uint32 probs, int len) {}; len 44 third_party/cld/encodings/compact_lang_det/cldutil_dbg_empty.cc void DbgScoreRecordUni(const char* src, int propval, int len) {}; len 65 third_party/cld/encodings/compact_lang_det/cldutil_dbg_empty.cc void DbgUniTermToStderr(int propval, const uint8* usrc, int len) {}; len 68 third_party/cld/encodings/compact_lang_det/cldutil_dbg_empty.cc const char* src, int len) {}; len 70 third_party/cld/encodings/compact_lang_det/cldutil_dbg_empty.cc const char* src, int len) {}; len 72 third_party/cld/encodings/compact_lang_det/cldutil_dbg_empty.cc const char* src, int len) {}; len 989 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int len = cld::minint(chunksize, remaining_bytes); len 993 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc while ((src[len] & 0xc0) == 0x80) len 994 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc ++len; // Move past continuation bytes len 996 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int space_n = CountSpaces4(src, len); len 997 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int predb_n = CountPredictedBytes(src, len, &hash, predict_tbl); len 1021 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int n = ForwardscanToSpace(src, len); len 1024 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc len -= n; len 1028 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc if (len > 0) { len 1029 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc memmove(dst, src, len); len 1030 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc dst += len; len 1033 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc src += len; len 1327 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc void PrintHtmlEscapedText(FILE* f, const char* txt, int len) { len 1328 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc for (int i = 0; i < len; ++i) { len 1378 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int len = chunk_tote->GetByteCount(); len 1379 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int reliability = cld::GetReliability((len * 2) / advance_by, len 1412 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int top_len = ((len * 5) + 4) >> 3; len 1413 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int second_len = len - top_len; len 1433 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc len, chunk_tote->Value(0), reliability); len 1439 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc len); len 1510 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int len = scriptspan->text_bytes; len 1519 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc ScoreChunkIntoDoc(src, len, advance_by, len 1545 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int len = cld::DoUniScoreV3(unigram_obj, len 1551 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc src, len, chunk_tote); len 1553 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc chunk_tote->AddBytes(len); len 1554 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc *initial_word_span -= len; len 1564 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc ScoreChunkIntoDoc(src, len, advance_by, len 1570 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc string temp(src, len); len 1576 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc src += len; len 1613 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc int len = cld::DoQuadScoreV3(quadgram_obj, len 1619 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc src, len, chunk_tote); len 1621 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc chunk_tote->AddBytes(len); len 1622 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc *initial_word_span -= len; len 1631 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc ScoreChunkIntoDoc(src, len, advance_by, len 1634 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc lastscored_src = src + len; len 1638 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc string temp(src, len); len 1644 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc src += len; len 296 third_party/cld/encodings/compact_lang_det/ext_lang_enc.cc size_t len = strlen(src); len 313 third_party/cld/encodings/compact_lang_det/ext_lang_enc.cc if (len >= 3) { len 326 third_party/cld/encodings/compact_lang_det/ext_lang_enc.cc if (len <= 3) { len 328 third_party/cld/encodings/compact_lang_det/ext_lang_enc.cc } else if (len == 7) { len 381 third_party/cld/encodings/compact_lang_det/ext_lang_enc.cc if (memcmp(&src[len - 2], "TW", 2) == 0) {return CHINESE_T;} len 382 third_party/cld/encodings/compact_lang_det/ext_lang_enc.cc if (memcmp(&src[len - 2], "HK", 2) == 0) {return CHINESE_T;} len 386 third_party/cld/encodings/compact_lang_det/ext_lang_enc.cc if (memcmp(&src[len - 2], "BR", 2) == 0) {return PORTUGUESE;} len 390 third_party/cld/encodings/compact_lang_det/ext_lang_enc.cc if (memcmp(&src[len -2], "CA", 2) == 0) {return FRENCH;} len 197 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc int ScanToLetterOrSpecial(const char* src, int len) { len 199 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc cld::UTF8GenericScan(&utf8scannotjustletterspecial_obj, src, len, len 219 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc int ScanToPossibleLetter(const char* isrc, int len) { len 221 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc const uint8* srclimit = src + len; len 238 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc return len; len 287 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc int ScriptScanner::SkipToFrontOfSpan(const char* src, int len, int* script) { len 293 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc while (skip < len) { len 296 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc skip += ScanToLetterOrSpecial(src + skip, len - skip); len 302 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc if (skip >= len) { len 304 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc return len; len 311 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc tlen = ScanToPossibleLetter(src + skip, len - skip); len 322 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc EntityToBuffer(src + skip, len - skip, len 65 third_party/cld/encodings/compact_lang_det/getonescriptspan.h int SkipToFrontOfSpan(const char* src, int len, int* script); len 10 third_party/cld/encodings/compact_lang_det/win/cld_htmlutils.h void EntityToBuffer(const char* src, int len, char* dst, len 19 third_party/cld/encodings/compact_lang_det/win/cld_htmlutils_google3.cc void EntityToBuffer(const char* src, int len, char* dst, len 21 third_party/cld/encodings/compact_lang_det/win/cld_htmlutils_google3.cc char32 entval = HtmlUtils::ReadEntity(src, len, tlen); len 9 third_party/cld/encodings/compact_lang_det/win/cld_htmlutils_windows.cc void EntityToBuffer(const char* src, int len, char* dst, len 134 third_party/cld/encodings/compact_lang_det/win/cld_utf8statetable.cc const int len, len 143 third_party/cld/encodings/compact_lang_det/win/cld_utf8statetable.cc const uint8* srclimit = isrc + len; len 146 third_party/cld/encodings/compact_lang_det/win/cld_utf8statetable.cc if (len == 0) return kExitOK; len 136 third_party/cld/encodings/compact_lang_det/win/cld_utf8statetable.h const int len, len 17 third_party/cld/encodings/compact_lang_det/win/cld_utf8utils.h int len, len 11 third_party/cld/encodings/compact_lang_det/win/cld_utf8utils_windows.cc int UTF8GenericScan(const UTF8ScanObj* st, const char* src, int len, len 13 third_party/cld/encodings/compact_lang_det/win/cld_utf8utils_windows.cc return ::UTF8GenericScan(st, reinterpret_cast<const uint8*>(src), len, len 213 third_party/codesighs/codesighs.c int len = strlen(inString); len 215 third_party/codesighs/codesighs.c while(len) len 217 third_party/codesighs/codesighs.c len--; len 219 third_party/codesighs/codesighs.c if(isspace(*(inString + len))) len 221 third_party/codesighs/codesighs.c *(inString + len) = '\0'; len 335 third_party/codesighs/maptsvdifftool.c int len = strlen(inString); len 337 third_party/codesighs/maptsvdifftool.c while(len) len 339 third_party/codesighs/maptsvdifftool.c len--; len 341 third_party/codesighs/maptsvdifftool.c if(isspace(*(inString + len))) len 343 third_party/codesighs/maptsvdifftool.c *(inString + len) = '\0'; len 187 third_party/codesighs/msdump2symdb.c int len = strlen(inString); len 189 third_party/codesighs/msdump2symdb.c while(len) len 191 third_party/codesighs/msdump2symdb.c len--; len 193 third_party/codesighs/msdump2symdb.c if(isspace(*(inString + len))) len 195 third_party/codesighs/msdump2symdb.c *(inString + len) = '\0'; len 273 third_party/codesighs/msmap2tsv.c int len = strlen(inString); len 275 third_party/codesighs/msmap2tsv.c while(len) len 277 third_party/codesighs/msmap2tsv.c len--; len 279 third_party/codesighs/msmap2tsv.c if(isspace(*(inString + len))) len 281 third_party/codesighs/msmap2tsv.c *(inString + len) = '\0'; len 298 third_party/codesighs/msmap2tsv.c int len = strlen(inString); len 300 third_party/codesighs/msmap2tsv.c while(len) len 302 third_party/codesighs/msmap2tsv.c len--; len 303 third_party/codesighs/msmap2tsv.c if(isspace(*(inString + len))) len 310 third_party/codesighs/msmap2tsv.c return inString + len + mod; len 1129 third_party/codesighs/msmap2tsv.c int len = 0; len 1152 third_party/codesighs/msmap2tsv.c len = strlen(current); len 1171 third_party/codesighs/msmap2tsv.c if(len) len 1296 third_party/codesighs/msmap2tsv.c if(len) len 1392 third_party/codesighs/msmap2tsv.c if(len) len 123 third_party/codesighs/nm2tsv.c int len = strlen(inString); len 125 third_party/codesighs/nm2tsv.c while(len) len 127 third_party/codesighs/nm2tsv.c len--; len 129 third_party/codesighs/nm2tsv.c if(isspace(*(inString + len))) len 131 third_party/codesighs/nm2tsv.c *(inString + len) = '\0'; len 263 third_party/expat/files/lib/expat.h int len); len 293 third_party/expat/files/lib/expat.h int len); len 778 third_party/expat/files/lib/expat.h XML_Parse(XML_Parser parser, const char *s, int len, int isFinal); len 781 third_party/expat/files/lib/expat.h XML_GetBuffer(XML_Parser parser, int len); len 784 third_party/expat/files/lib/expat.h XML_ParseBuffer(XML_Parser parser, int len, int isFinal); len 1500 third_party/expat/files/lib/xmlparse.c XML_Parse(XML_Parser parser, const char *s, int len, int isFinal) len 1518 third_party/expat/files/lib/xmlparse.c if (len == 0) { len 1554 third_party/expat/files/lib/xmlparse.c parseEndByteIndex += len; len 1558 third_party/expat/files/lib/xmlparse.c errorCode = processor(parser, s, parseEndPtr = s + len, &end); len 1583 third_party/expat/files/lib/xmlparse.c nLeftOver = s + len - end; len 1589 third_party/expat/files/lib/xmlparse.c ? (char *)MALLOC(len * 2) len 1590 third_party/expat/files/lib/xmlparse.c : (char *)REALLOC(buffer, len * 2)); len 1598 third_party/expat/files/lib/xmlparse.c bufferLim = buffer + len * 2; len 1612 third_party/expat/files/lib/xmlparse.c void *buff = XML_GetBuffer(parser, len); len 1616 third_party/expat/files/lib/xmlparse.c memcpy(buff, s, len); len 1617 third_party/expat/files/lib/xmlparse.c return XML_ParseBuffer(parser, len, isFinal); len 1623 third_party/expat/files/lib/xmlparse.c XML_ParseBuffer(XML_Parser parser, int len, int isFinal) len 1646 third_party/expat/files/lib/xmlparse.c bufferEnd += len; len 1648 third_party/expat/files/lib/xmlparse.c parseEndByteIndex += len; len 1679 third_party/expat/files/lib/xmlparse.c XML_GetBuffer(XML_Parser parser, int len) len 1691 third_party/expat/files/lib/xmlparse.c if (len > bufferLim - bufferEnd) { len 1693 third_party/expat/files/lib/xmlparse.c int neededSize = len + (int)(bufferEnd - bufferPtr); len 2498 third_party/expat/files/lib/xmlparse.c int len; len 2505 third_party/expat/files/lib/xmlparse.c len = XmlNameLength(enc, rawName); len 2506 third_party/expat/files/lib/xmlparse.c if (len != tag->rawNameLength len 2507 third_party/expat/files/lib/xmlparse.c || memcmp(tag->rawName, rawName, len) != 0) { len 3078 third_party/expat/files/lib/xmlparse.c int len; len 3099 third_party/expat/files/lib/xmlparse.c for (len = 0; uri[len]; len++) { len 3100 third_party/expat/files/lib/xmlparse.c if (isXML && (len > xmlLen || uri[len] != xmlNamespace[len])) len 3104 third_party/expat/files/lib/xmlparse.c && (len > xmlnsLen || uri[len] != xmlnsNamespace[len])) len 3107 third_party/expat/files/lib/xmlparse.c isXML = isXML && len == xmlLen; len 3108 third_party/expat/files/lib/xmlparse.c isXMLNS = isXMLNS && len == xmlnsLen; len 3118 third_party/expat/files/lib/xmlparse.c len++; len 3121 third_party/expat/files/lib/xmlparse.c if (len > b->uriAlloc) { len 3123 third_party/expat/files/lib/xmlparse.c sizeof(XML_Char) * (len + EXPAND_SPARE)); len 3127 third_party/expat/files/lib/xmlparse.c b->uriAlloc = len + EXPAND_SPARE; len 3135 third_party/expat/files/lib/xmlparse.c b->uri = (XML_Char *)MALLOC(sizeof(XML_Char) * (len + EXPAND_SPARE)); len 3140 third_party/expat/files/lib/xmlparse.c b->uriAlloc = len + EXPAND_SPARE; len 3142 third_party/expat/files/lib/xmlparse.c b->uriLen = len; len 3143 third_party/expat/files/lib/xmlparse.c memcpy(b->uri, uri, len * sizeof(XML_Char)); len 3145 third_party/expat/files/lib/xmlparse.c b->uri[len - 1] = namespaceSeparator; len 5501 third_party/expat/files/lib/xmlparse.c int len; len 5504 third_party/expat/files/lib/xmlparse.c len = dtd->defaultPrefix.binding->uriLen; len 5506 third_party/expat/files/lib/xmlparse.c len--; len 5507 third_party/expat/files/lib/xmlparse.c for (i = 0; i < len; i++) len 5516 third_party/expat/files/lib/xmlparse.c int len; len 5530 third_party/expat/files/lib/xmlparse.c len = prefix->binding->uriLen; len 5532 third_party/expat/files/lib/xmlparse.c len--; len 5533 third_party/expat/files/lib/xmlparse.c for (i = 0; i < len; i++) len 50 third_party/fontconfig/include/src/fcobjshash.h FcObjectTypeHash (register const char *str, register unsigned int len) len 81 third_party/fontconfig/include/src/fcobjshash.h return len + asso_values[(unsigned char)str[2]] + asso_values[(unsigned char)str[1]]; len 190 third_party/fontconfig/include/src/fcobjshash.h FcObjectTypeLookup (register const char *str, register unsigned int len) len 300 third_party/fontconfig/include/src/fcobjshash.h if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) len 302 third_party/fontconfig/include/src/fcobjshash.h register int key = FcObjectTypeHash (str, len); len 455 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh if (p < pe && *p == (buffer->len ? ',' : '[')) len 508 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; len 559 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; len 571 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; len 583 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; len 595 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; len 607 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; len 619 third_party/harfbuzz-ng/src/hb-buffer-deserialize-json.hh buffer->pos[buffer->len - 1] = pos; len 332 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh if (p < pe && *p == (buffer->len ? '|' : '[')) len 427 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; len 439 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; len 451 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; len 463 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; len 475 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; len 504 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; len 516 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; len 528 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; len 540 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; len 552 third_party/harfbuzz-ng/src/hb-buffer-deserialize-text.hh buffer->pos[buffer->len - 1] = pos; len 65 third_party/harfbuzz-ng/src/hb-buffer-private.hh unsigned int len; /* Length of ->info and ->pos arrays */ len 106 third_party/harfbuzz-ng/src/hb-buffer-private.hh { return len - idx; } len 161 third_party/harfbuzz-ng/src/hb-buffer-private.hh for (unsigned int j = 0; j < len; j++) len 166 third_party/harfbuzz-ng/src/hb-buffer-private.hh for (unsigned int j = 0; j < len; j++) len 63 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc hb_buffer_serialize_format_from_string (const char *str, int len) len 66 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc return (hb_buffer_serialize_format_t) (hb_tag_from_string (str, len) & ~0x20202020); len 256 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc assert (start <= end && end <= buffer->len); len 263 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc assert ((!buffer->len && buffer->content_type == HB_BUFFER_CONTENT_TYPE_INVALID) || len 296 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - pp)); len 297 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc strncpy (buf, pp, len); len 298 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc buf[len] = '\0'; len 317 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - pp)); len 318 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc strncpy (buf, pp, len); len 319 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc buf[len] = '\0'; len 365 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc assert ((!buffer->len && buffer->content_type == HB_BUFFER_CONTENT_TYPE_INVALID) || len 146 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (!ensure (len + count))) return false; len 148 third_party/harfbuzz-ng/src/hb-buffer.cc memmove (info + idx + count, info + idx, (len - idx) * sizeof (info[0])); len 149 third_party/harfbuzz-ng/src/hb-buffer.cc len += count; len 201 third_party/harfbuzz-ng/src/hb-buffer.cc len = 0; len 219 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (!ensure (len + 1))) return; len 221 third_party/harfbuzz-ng/src/hb-buffer.cc glyph = &info[len]; len 228 third_party/harfbuzz-ng/src/hb-buffer.cc len++; len 234 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (!ensure (len + 1))) return; len 236 third_party/harfbuzz-ng/src/hb-buffer.cc info[len] = glyph_info; len 238 third_party/harfbuzz-ng/src/hb-buffer.cc len++; len 280 third_party/harfbuzz-ng/src/hb-buffer.cc memset (pos, 0, sizeof (pos[0]) * len); len 301 third_party/harfbuzz-ng/src/hb-buffer.cc tmp = len; len 302 third_party/harfbuzz-ng/src/hb-buffer.cc len = out_len; len 367 third_party/harfbuzz-ng/src/hb-buffer.cc assert (i <= len); len 372 third_party/harfbuzz-ng/src/hb-buffer.cc assert (i <= out_len + (len - idx)); len 427 third_party/harfbuzz-ng/src/hb-buffer.cc unsigned int count = len; len 433 third_party/harfbuzz-ng/src/hb-buffer.cc unsigned int count = len; len 470 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (!len)) len 473 third_party/harfbuzz-ng/src/hb-buffer.cc reverse_range (0, len); len 481 third_party/harfbuzz-ng/src/hb-buffer.cc if (unlikely (!len)) len 486 third_party/harfbuzz-ng/src/hb-buffer.cc count = len; len 512 third_party/harfbuzz-ng/src/hb-buffer.cc while (end < len && info[end - 1].cluster == info[end].cluster) len 549 third_party/harfbuzz-ng/src/hb-buffer.cc for (unsigned i = idx; i < len && info[i].cluster == out_info[end - 1].cluster; i++) len 560 third_party/harfbuzz-ng/src/hb-buffer.cc (!len && content_type == HB_BUFFER_CONTENT_TYPE_INVALID)); len 564 third_party/harfbuzz-ng/src/hb-buffer.cc for (unsigned int i = 0; i < len; i++) { len 1144 third_party/harfbuzz-ng/src/hb-buffer.cc if (length > buffer->len) { len 1145 third_party/harfbuzz-ng/src/hb-buffer.cc memset (buffer->info + buffer->len, 0, sizeof (buffer->info[0]) * (length - buffer->len)); len 1147 third_party/harfbuzz-ng/src/hb-buffer.cc memset (buffer->pos + buffer->len, 0, sizeof (buffer->pos[0]) * (length - buffer->len)); len 1150 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->len = length; len 1175 third_party/harfbuzz-ng/src/hb-buffer.cc return buffer->len; len 1195 third_party/harfbuzz-ng/src/hb-buffer.cc *length = buffer->len; len 1220 third_party/harfbuzz-ng/src/hb-buffer.cc *length = buffer->len; len 1294 third_party/harfbuzz-ng/src/hb-buffer.cc (!buffer->len && buffer->content_type == HB_BUFFER_CONTENT_TYPE_INVALID)); len 1305 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->ensure (buffer->len + item_length * sizeof (T) / 4); len 1314 third_party/harfbuzz-ng/src/hb-buffer.cc if (!buffer->len && item_offset > 0) len 1489 third_party/harfbuzz-ng/src/hb-buffer.cc unsigned int count = buffer->len; len 292 third_party/harfbuzz-ng/src/hb-buffer.h hb_buffer_serialize_format_from_string (const char *str, int len); len 70 third_party/harfbuzz-ng/src/hb-common.cc hb_tag_from_string (const char *str, int len) len 75 third_party/harfbuzz-ng/src/hb-common.cc if (!str || !len || !*str) len 78 third_party/harfbuzz-ng/src/hb-common.cc if (len < 0 || len > 4) len 79 third_party/harfbuzz-ng/src/hb-common.cc len = 4; len 80 third_party/harfbuzz-ng/src/hb-common.cc for (i = 0; i < (unsigned) len && str[i]; i++) len 128 third_party/harfbuzz-ng/src/hb-common.cc hb_direction_from_string (const char *str, int len) len 130 third_party/harfbuzz-ng/src/hb-common.cc if (unlikely (!str || !len || !*str)) len 293 third_party/harfbuzz-ng/src/hb-common.cc hb_language_from_string (const char *str, int len) len 297 third_party/harfbuzz-ng/src/hb-common.cc if (!str || !len || !*str) len 300 third_party/harfbuzz-ng/src/hb-common.cc if (len >= 0) len 302 third_party/harfbuzz-ng/src/hb-common.cc len = MIN (len, (int) sizeof (strbuf) - 1); len 303 third_party/harfbuzz-ng/src/hb-common.cc str = (char *) memcpy (strbuf, str, len); len 304 third_party/harfbuzz-ng/src/hb-common.cc strbuf[len] = '\0'; len 411 third_party/harfbuzz-ng/src/hb-common.cc hb_script_from_string (const char *s, int len) len 413 third_party/harfbuzz-ng/src/hb-common.cc return hb_script_from_iso15924_tag (hb_tag_from_string (s, len)); len 101 third_party/harfbuzz-ng/src/hb-common.h hb_tag_from_string (const char *str, int len); len 120 third_party/harfbuzz-ng/src/hb-common.h hb_direction_from_string (const char *str, int len); len 139 third_party/harfbuzz-ng/src/hb-common.h hb_language_from_string (const char *str, int len); len 318 third_party/harfbuzz-ng/src/hb-common.h hb_script_from_string (const char *s, int len); len 499 third_party/harfbuzz-ng/src/hb-coretext.cc for (unsigned int i = 0; i < feature_events.len; i++) len 510 third_party/harfbuzz-ng/src/hb-coretext.cc unsigned int offset = feature_records.len; len 512 third_party/harfbuzz-ng/src/hb-coretext.cc if (active_features.len) len 518 third_party/harfbuzz-ng/src/hb-coretext.cc for (unsigned int j = 0; j < active_features.len; j++) len 580 third_party/harfbuzz-ng/src/hb-coretext.cc if (!range_records.len) /* No active feature found. */ len 598 third_party/harfbuzz-ng/src/hb-coretext.cc #define ALLOCATE_ARRAY(Type, name, len) \ len 601 third_party/harfbuzz-ng/src/hb-coretext.cc unsigned int _consumed = DIV_CEIL ((len) * sizeof (Type), sizeof (*scratch)); \ len 609 third_party/harfbuzz-ng/src/hb-coretext.cc ALLOCATE_ARRAY (UniChar, pchars, buffer->len * 2); len 612 third_party/harfbuzz-ng/src/hb-coretext.cc for (unsigned int i = 0; i < buffer->len; i++) { len 642 third_party/harfbuzz-ng/src/hb-coretext.cc for (unsigned int i = 0; i < buffer->len; i++) len 675 third_party/harfbuzz-ng/src/hb-coretext.cc for (unsigned int i = 0; i < range_records.len; i++) len 686 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->len = 0; len 708 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->ensure (buffer->len + range.length); len 711 third_party/harfbuzz-ng/src/hb-coretext.cc hb_glyph_info_t *info = buffer->info + buffer->len; len 738 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->len++; len 748 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->ensure (buffer->len + num_glyphs); len 783 third_party/harfbuzz-ng/src/hb-coretext.cc hb_glyph_info_t *info = &buffer->info[buffer->len]; len 793 third_party/harfbuzz-ng/src/hb-coretext.cc buffer->len++; len 799 third_party/harfbuzz-ng/src/hb-coretext.cc unsigned int count = buffer->len; len 114 third_party/harfbuzz-ng/src/hb-fallback-shape.cc unsigned int count = buffer->len; len 238 third_party/harfbuzz-ng/src/hb-font-private.hh inline hb_bool_t get_glyph_from_name (const char *name, int len, /* -1 means nul-terminated */ len 242 third_party/harfbuzz-ng/src/hb-font-private.hh if (len == -1) len = strlen (name); len 244 third_party/harfbuzz-ng/src/hb-font-private.hh name, len, len 375 third_party/harfbuzz-ng/src/hb-font-private.hh glyph_from_string (const char *s, int len, /* -1 means nul-terminated */ len 378 third_party/harfbuzz-ng/src/hb-font-private.hh if (get_glyph_from_name (s, len, glyph)) return true; len 380 third_party/harfbuzz-ng/src/hb-font-private.hh if (len == -1) len = strlen (s); len 383 third_party/harfbuzz-ng/src/hb-font-private.hh if (hb_codepoint_parse (s, len, 10, glyph)) len 386 third_party/harfbuzz-ng/src/hb-font-private.hh if (len > 3) len 390 third_party/harfbuzz-ng/src/hb-font-private.hh hb_codepoint_parse (s + 3, len - 3, 10, glyph)) len 396 third_party/harfbuzz-ng/src/hb-font-private.hh hb_codepoint_parse (s + 3, len - 3, 16, &unichar) && len 207 third_party/harfbuzz-ng/src/hb-font.cc const char *name, int len, /* -1 means nul-terminated */ len 212 third_party/harfbuzz-ng/src/hb-font.cc return font->parent->get_glyph_from_name (name, len, glyph); len 632 third_party/harfbuzz-ng/src/hb-font.cc const char *name, int len, /* -1 means nul-terminated */ len 635 third_party/harfbuzz-ng/src/hb-font.cc return font->get_glyph_from_name (name, len, glyph); len 829 third_party/harfbuzz-ng/src/hb-font.cc const char *s, int len, /* -1 means nul-terminated */ len 832 third_party/harfbuzz-ng/src/hb-font.cc return font->glyph_from_string (s, len, glyph); len 135 third_party/harfbuzz-ng/src/hb-font.h const char *name, int len, /* -1 means nul-terminated */ len 365 third_party/harfbuzz-ng/src/hb-font.h const char *name, int len, /* -1 means nul-terminated */ len 418 third_party/harfbuzz-ng/src/hb-font.h const char *s, int len, /* -1 means nul-terminated */ len 246 third_party/harfbuzz-ng/src/hb-ft.cc const char *name, int len, /* -1 means nul-terminated */ len 252 third_party/harfbuzz-ng/src/hb-ft.cc if (len < 0) len 257 third_party/harfbuzz-ng/src/hb-ft.cc len = MIN (len, (int) sizeof (buf) - 1); len 258 third_party/harfbuzz-ng/src/hb-ft.cc strncpy (buf, name, len); len 259 third_party/harfbuzz-ng/src/hb-ft.cc buf[len] = '\0'; len 268 third_party/harfbuzz-ng/src/hb-ft.cc len < 0 ? !strcmp (buf, name) : !strncmp (buf, name, len)) len 255 third_party/harfbuzz-ng/src/hb-glib.cc int len; len 258 third_party/harfbuzz-ng/src/hb-glib.cc len = g_unichar_to_utf8 (a, utf8); len 259 third_party/harfbuzz-ng/src/hb-glib.cc len += g_unichar_to_utf8 (b, utf8 + len); len 260 third_party/harfbuzz-ng/src/hb-glib.cc normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFC); len 261 third_party/harfbuzz-ng/src/hb-glib.cc len = g_utf8_strlen (normalized, -1); len 262 third_party/harfbuzz-ng/src/hb-glib.cc if (unlikely (!len)) len 265 third_party/harfbuzz-ng/src/hb-glib.cc if (len == 1) { len 292 third_party/harfbuzz-ng/src/hb-glib.cc int len; len 295 third_party/harfbuzz-ng/src/hb-glib.cc len = g_unichar_to_utf8 (ab, utf8); len 296 third_party/harfbuzz-ng/src/hb-glib.cc normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFD); len 297 third_party/harfbuzz-ng/src/hb-glib.cc len = g_utf8_strlen (normalized, -1); len 298 third_party/harfbuzz-ng/src/hb-glib.cc if (unlikely (!len)) len 301 third_party/harfbuzz-ng/src/hb-glib.cc if (len == 1) { len 305 third_party/harfbuzz-ng/src/hb-glib.cc } else if (len == 2) { len 322 third_party/harfbuzz-ng/src/hb-glib.cc gchar *end = g_utf8_offset_to_pointer (normalized, len - 1); len 58 third_party/harfbuzz-ng/src/hb-graphite2.cc static const void *hb_graphite2_get_table (const void *data, unsigned int tag, size_t *len) len 91 third_party/harfbuzz-ng/src/hb-graphite2.cc *len = tlen; len 248 third_party/harfbuzz-ng/src/hb-graphite2.cc for (unsigned int i = 0; i < buffer->len; ++i) len 257 third_party/harfbuzz-ng/src/hb-graphite2.cc gr_utf32, chars, buffer->len, len 273 third_party/harfbuzz-ng/src/hb-graphite2.cc while ((DIV_CEIL (sizeof (hb_graphite2_cluster_t) * buffer->len, sizeof (*scratch)) + len 285 third_party/harfbuzz-ng/src/hb-graphite2.cc #define ALLOCATE_ARRAY(Type, name, len) \ len 288 third_party/harfbuzz-ng/src/hb-graphite2.cc unsigned int _consumed = DIV_CEIL ((len) * sizeof (Type), sizeof (*scratch)); \ len 294 third_party/harfbuzz-ng/src/hb-graphite2.cc ALLOCATE_ARRAY (hb_graphite2_cluster_t, clusters, buffer->len); len 299 third_party/harfbuzz-ng/src/hb-graphite2.cc memset (clusters, 0, sizeof (clusters[0]) * buffer->len); len 341 third_party/harfbuzz-ng/src/hb-graphite2.cc buffer->len = glyph_count; len 190 third_party/harfbuzz-ng/src/hb-icu.cc unsigned int len; len 194 third_party/harfbuzz-ng/src/hb-icu.cc len = 0; len 196 third_party/harfbuzz-ng/src/hb-icu.cc U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err); len 198 third_party/harfbuzz-ng/src/hb-icu.cc U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err); len 202 third_party/harfbuzz-ng/src/hb-icu.cc len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); len 205 third_party/harfbuzz-ng/src/hb-icu.cc if (u_countChar32 (normalized, len) == 1) { len 225 third_party/harfbuzz-ng/src/hb-icu.cc int len; len 227 third_party/harfbuzz-ng/src/hb-icu.cc len = unorm2_getRawDecomposition (normalizer, ab, decomposed, len 229 third_party/harfbuzz-ng/src/hb-icu.cc if (U_FAILURE (icu_err) || len < 0) return false; len 231 third_party/harfbuzz-ng/src/hb-icu.cc len = u_countChar32 (decomposed, len); len 232 third_party/harfbuzz-ng/src/hb-icu.cc if (len == 1) { len 236 third_party/harfbuzz-ng/src/hb-icu.cc } else if (len == 2) { len 237 third_party/harfbuzz-ng/src/hb-icu.cc len =0; len 238 third_party/harfbuzz-ng/src/hb-icu.cc U16_NEXT_UNSAFE (decomposed, len, *a); len 239 third_party/harfbuzz-ng/src/hb-icu.cc U16_NEXT_UNSAFE (decomposed, len, *b); len 249 third_party/harfbuzz-ng/src/hb-icu.cc unsigned int len; len 257 third_party/harfbuzz-ng/src/hb-icu.cc len = 0; len 259 third_party/harfbuzz-ng/src/hb-icu.cc U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), ab, err); len 263 third_party/harfbuzz-ng/src/hb-icu.cc len = unorm_normalize (utf16, len, UNORM_NFD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); len 267 third_party/harfbuzz-ng/src/hb-icu.cc len = u_countChar32 (normalized, len); len 269 third_party/harfbuzz-ng/src/hb-icu.cc if (len == 1) { len 273 third_party/harfbuzz-ng/src/hb-icu.cc } else if (len == 2) { len 274 third_party/harfbuzz-ng/src/hb-icu.cc len =0; len 275 third_party/harfbuzz-ng/src/hb-icu.cc U16_NEXT_UNSAFE (normalized, len, *a); len 276 third_party/harfbuzz-ng/src/hb-icu.cc U16_NEXT_UNSAFE (normalized, len, *b); len 283 third_party/harfbuzz-ng/src/hb-icu.cc unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err); len 296 third_party/harfbuzz-ng/src/hb-icu.cc U16_PREV_UNSAFE (normalized, len, *b); /* Changes len in-place. */ len 299 third_party/harfbuzz-ng/src/hb-icu.cc len = unorm_normalize (normalized, len, UNORM_NFC, 0, recomposed, ARRAY_LENGTH (recomposed), &icu_err); len 303 third_party/harfbuzz-ng/src/hb-icu.cc if (unlikely (u_countChar32 (recomposed, len) != 1)) len 319 third_party/harfbuzz-ng/src/hb-icu.cc unsigned int len; len 325 third_party/harfbuzz-ng/src/hb-icu.cc len = 0; len 327 third_party/harfbuzz-ng/src/hb-icu.cc U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), u, err); len 333 third_party/harfbuzz-ng/src/hb-icu.cc len = unorm_normalize (utf16, len, UNORM_NFKD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); len 339 third_party/harfbuzz-ng/src/hb-icu.cc u_strToUTF32 ((UChar32*) decomposed, HB_UNICODE_MAX_DECOMPOSITION_LEN, &utf32_len, normalized, len, &icu_err); len 130 third_party/harfbuzz-ng/src/hb-open-file-private.hh inline unsigned int get_face_count (void) const { return table.len; } len 217 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline bool check_range (const void *base, unsigned int len) const len 224 third_party/harfbuzz-ng/src/hb-open-type-private.hh p, p + len, len, len 227 third_party/harfbuzz-ng/src/hb-open-type-private.hh return TRACE_RETURN (likely (this->start <= p && p <= this->end && (unsigned int) (this->end - p) >= len)); len 230 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline bool check_array (const void *base, unsigned int record_size, unsigned int len) const len 233 third_party/harfbuzz-ng/src/hb-open-type-private.hh bool overflows = _hb_unsigned_int_mul_overflows (len, record_size); len 238 third_party/harfbuzz-ng/src/hb-open-type-private.hh p, p + (record_size * len), record_size, len, (unsigned long) record_size * len, len 241 third_party/harfbuzz-ng/src/hb-open-type-private.hh return TRACE_RETURN (likely (!overflows && this->check_range (base, record_size * len))); len 250 third_party/harfbuzz-ng/src/hb-open-type-private.hh inline bool may_edit (const void *base HB_UNUSED, unsigned int len HB_UNUSED) len 262 third_party/harfbuzz-ng/src/hb-open-type-private.hh p, p + len, len, len 402 third_party/harfbuzz-ng/src/hb-open-type-private.hh unsigned int len = this->head - this->start; len 403 third_party/harfbuzz-ng/src/hb-open-type-private.hh void *p = malloc (len); len 405 third_party/harfbuzz-ng/src/hb-open-type-private.hh memcpy (p, this->start, len); len 480 third_party/harfbuzz-ng/src/hb-open-type-private.hh len = len_; len 484 third_party/harfbuzz-ng/src/hb-open-type-private.hh if (unlikely (i >= len)) return Type (); len 490 third_party/harfbuzz-ng/src/hb-open-type-private.hh if (unlikely (count > len)) len 491 third_party/harfbuzz-ng/src/hb-open-type-private.hh count = len; len 492 third_party/harfbuzz-ng/src/hb-open-type-private.hh len -= count; len 500 third_party/harfbuzz-ng/src/hb-open-type-private.hh unsigned int len; len 761 third_party/harfbuzz-ng/src/hb-open-type-private.hh unsigned int count = len; len 773 third_party/harfbuzz-ng/src/hb-open-type-private.hh if (unlikely (i >= len)) return Null(Type); len 781 third_party/harfbuzz-ng/src/hb-open-type-private.hh { return len.static_size + len * Type::static_size; } len 788 third_party/harfbuzz-ng/src/hb-open-type-private.hh len.set (items_len); /* TODO(serialize) Overflow? */ len 823 third_party/harfbuzz-ng/src/hb-open-type-private.hh unsigned int count = len; len 833 third_party/harfbuzz-ng/src/hb-open-type-private.hh unsigned int count = len; len 843 third_party/harfbuzz-ng/src/hb-open-type-private.hh return TRACE_RETURN (c->check_struct (this) && c->check_array (this, Type::static_size, len)); len 847 third_party/harfbuzz-ng/src/hb-open-type-private.hh LenType len; len 879 third_party/harfbuzz-ng/src/hb-open-type-private.hh if (unlikely (i >= this->len)) return Null(Type); len 902 third_party/harfbuzz-ng/src/hb-open-type-private.hh if (unlikely (i >= len || !i)) return Null(Type); len 906 third_party/harfbuzz-ng/src/hb-open-type-private.hh { return len.static_size + (len ? len - 1 : 0) * Type::static_size; } len 914 third_party/harfbuzz-ng/src/hb-open-type-private.hh len.set (items_len); /* TODO(serialize) Overflow? */ len 925 third_party/harfbuzz-ng/src/hb-open-type-private.hh && c->check_array (this, Type::static_size, len); len 944 third_party/harfbuzz-ng/src/hb-open-type-private.hh USHORT len; len 959 third_party/harfbuzz-ng/src/hb-open-type-private.hh int min = 0, max = (int) this->len - 1; len 89 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh if (unlikely (i >= this->len)) return Null(Tag); len 102 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh return this->len; len 171 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh return this->len; len 184 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh { return featureIndex.len; } len 221 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh { return langSys.len; } len 476 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh { return lookupIndex.len; } len 561 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh inline unsigned int get_subtable_count (void) const { return subTable.len; } len 645 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh glyphArray.len.set (num_glyphs); len 664 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh unsigned int count = glyphArray.len; len 673 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh inline bool more (void) { return i < c->glyphArray.len; } len 720 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh rangeRecord.len.set (num_ranges); len 746 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh unsigned int count = rangeRecord.len; len 761 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh unsigned int count = rangeRecord.len; len 773 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh j = c->rangeRecord.len ? c_.rangeRecord[0].start : 0; len 775 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh inline bool more (void) { return i < c->rangeRecord.len; } len 940 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh if (unlikely ((unsigned int) (glyph_id - startGlyph) < classValue.len)) len 952 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh unsigned int count = classValue.len; len 959 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh unsigned int count = classValue.len; len 1008 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh unsigned int count = rangeRecord.len; len 1015 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh unsigned int count = rangeRecord.len; len 71 third_party/harfbuzz-ng/src/hb-ot-layout-gdef-table.hh return points.len; len 219 third_party/harfbuzz-ng/src/hb-ot-layout-gdef-table.hh return carets.len; len 187 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int len = get_len (); len 196 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh values += len; len 587 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int count = len; len 606 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int count = len; len 637 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh && c->check_array (array, USHORT::static_size * closure->stride, len))) return TRACE_RETURN (false); len 639 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int count = len; len 646 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh USHORT len; /* Number of PairValueRecords */ len 659 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int count = pairSet.len; len 1584 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int count = buffer->len; len 1592 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh unsigned int len; len 1593 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, &len); len 1597 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh for (unsigned int i = 0; i < len; i++) len 1601 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh for (unsigned int i = 0; i < len; i++) len 70 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh return TRACE_RETURN (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); len 146 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh return TRACE_RETURN (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); len 156 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh if (unlikely (index >= substitute.len)) return TRACE_RETURN (false); len 257 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int count = substitute.len; len 265 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int count = substitute.len; len 273 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh if (unlikely (!substitute.len)) return TRACE_RETURN (false); len 277 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int count = substitute.len; len 332 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int count = sequence.len; len 345 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh return TRACE_RETURN (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); len 450 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int count = alt_set.len; len 464 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int count = alt_set.len; len 478 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh return TRACE_RETURN (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); len 491 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh if (unlikely (!alt_set.len)) return TRACE_RETURN (false); len 500 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh if (unlikely (alt_index > alt_set.len || alt_index == 0)) return TRACE_RETURN (false); len 594 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int count = component.len; len 604 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int count = component.len; len 613 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh if (c->len != component.len) len 616 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh for (unsigned int i = 1; i < c->len; i++) len 626 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int count = component.len; len 689 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int num_ligs = ligature.len; len 697 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int num_ligs = ligature.len; len 705 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int num_ligs = ligature.len; len 718 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int num_ligs = ligature.len; len 917 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh count = backtrack.len; len 922 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh count = lookahead.len; len 945 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh count = backtrack.len; len 949 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh count = lookahead.len; len 954 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh count = substitute.len; len 967 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh return TRACE_RETURN (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); len 983 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh backtrack.len, (USHORT *) backtrack.array, len 986 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh lookahead.len, (USHORT *) lookahead.array, len 1181 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh if (unlikely (!c->len)) return TRACE_RETURN (false); len 1324 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh unsigned int count = buffer->len; len 103 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh "%d glyphs", c->len); len 117 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int len; len 127 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh len (len_), len 388 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh end (c->buffer->len) len 702 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh if (count != c->len) len 876 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh for (unsigned int i = buffer->idx; i < buffer->len; i++) { len 1178 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; len 1186 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; len 1194 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; len 1206 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; len 1242 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int count = ruleSet.len; len 1260 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int count = ruleSet.len; len 1330 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int count = ruleSet.len; len 1349 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int count = ruleSet.len; len 1661 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh backtrack.len, backtrack.array, len 1662 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh input.len, input.array, len 1663 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookahead.len, lookahead.array, len 1664 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookup.len, lookup.array, len 1675 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh backtrack.len, backtrack.array, len 1676 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh input.len, input.array, len 1677 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookahead.len, lookahead.array, len 1678 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookup.len, lookup.array, len 1689 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh backtrack.len, backtrack.array, len 1690 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh input.len, input.array, len 1691 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookahead.len, lookahead.array, lookup.len, len 1702 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh backtrack.len, backtrack.array, len 1703 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh input.len, input.array, len 1704 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookahead.len, lookahead.array, lookup.len, len 1742 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; len 1750 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; len 1758 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; len 1769 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; len 1802 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int count = ruleSet.len; len 1820 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int count = ruleSet.len; len 1892 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int count = ruleSet.len; len 1916 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int count = ruleSet.len; len 2014 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh backtrack.len, (const USHORT *) backtrack.array, len 2015 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh input.len, (const USHORT *) input.array + 1, len 2016 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookahead.len, (const USHORT *) lookahead.array, len 2017 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookup.len, lookup.array, len 2035 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh backtrack.len, (const USHORT *) backtrack.array, len 2036 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh input.len, (const USHORT *) input.array + 1, len 2037 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookahead.len, (const USHORT *) lookahead.array, len 2038 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookup.len, lookup.array, len 2054 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh backtrack.len, (const USHORT *) backtrack.array, len 2055 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh input.len, (const USHORT *) input.array + 1, len 2056 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookahead.len, (const USHORT *) lookahead.array, len 2057 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookup.len, lookup.array, lookup_context)); len 2081 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh backtrack.len, (const USHORT *) backtrack.array, len 2082 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh input.len, (const USHORT *) input.array + 1, len 2083 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookahead.len, (const USHORT *) lookahead.array, len 2084 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh lookup.len, lookup.array, lookup_context)); len 2242 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh { return (this+scriptList).len; } len 2255 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh { return (this+featureList).len; } len 2268 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh { return (this+lookupList).len; } len 147 third_party/harfbuzz-ng/src/hb-ot-layout-jstf-table.hh { return langSys.len; } len 197 third_party/harfbuzz-ng/src/hb-ot-layout-jstf-table.hh { return scriptList.len; } len 442 third_party/harfbuzz-ng/src/hb-ot-layout.cc unsigned int offset, len; len 446 third_party/harfbuzz-ng/src/hb-ot-layout.cc len = ARRAY_LENGTH (lookup_indices); len 450 third_party/harfbuzz-ng/src/hb-ot-layout.cc offset, &len, len 453 third_party/harfbuzz-ng/src/hb-ot-layout.cc for (unsigned int i = 0; i < len; i++) len 456 third_party/harfbuzz-ng/src/hb-ot-layout.cc offset += len; len 457 third_party/harfbuzz-ng/src/hb-ot-layout.cc } while (len == ARRAY_LENGTH (lookup_indices)); len 483 third_party/harfbuzz-ng/src/hb-ot-layout.cc unsigned int offset, len; len 487 third_party/harfbuzz-ng/src/hb-ot-layout.cc len = ARRAY_LENGTH (feature_indices); len 492 third_party/harfbuzz-ng/src/hb-ot-layout.cc offset, &len, len 495 third_party/harfbuzz-ng/src/hb-ot-layout.cc for (unsigned int i = 0; i < len; i++) len 501 third_party/harfbuzz-ng/src/hb-ot-layout.cc offset += len; len 502 third_party/harfbuzz-ng/src/hb-ot-layout.cc } while (len == ARRAY_LENGTH (feature_indices)); len 830 third_party/harfbuzz-ng/src/hb-ot-layout.cc if (unlikely (!buffer->len || !c->lookup_mask)) len 842 third_party/harfbuzz-ng/src/hb-ot-layout.cc while (buffer->idx < buffer->len) len 864 third_party/harfbuzz-ng/src/hb-ot-layout.cc buffer->idx = buffer->len - 1; len 892 third_party/harfbuzz-ng/src/hb-ot-layout.cc for (unsigned int stage_index = 0; stage_index < stages[table_index].len; stage_index++) { len 113 third_party/harfbuzz-ng/src/hb-ot-map-private.hh assert (stage <= stages[table_index].len); len 115 third_party/harfbuzz-ng/src/hb-ot-map-private.hh unsigned int end = stage < stages[table_index].len ? stages[table_index][stage].last_lookup : lookups[table_index].len; len 42 third_party/harfbuzz-ng/src/hb-ot-map.cc unsigned int offset, len; len 49 third_party/harfbuzz-ng/src/hb-ot-map.cc len = ARRAY_LENGTH (lookup_indices); len 53 third_party/harfbuzz-ng/src/hb-ot-map.cc offset, &len, len 56 third_party/harfbuzz-ng/src/hb-ot-map.cc for (unsigned int i = 0; i < len; i++) len 68 third_party/harfbuzz-ng/src/hb-ot-map.cc offset += len; len 69 third_party/harfbuzz-ng/src/hb-ot-map.cc } while (len == ARRAY_LENGTH (lookup_indices)); len 103 third_party/harfbuzz-ng/src/hb-ot-map.cc info->seq = feature_infos.len; len 114 third_party/harfbuzz-ng/src/hb-ot-map.cc for (unsigned int i = 0; i < lookups[table_index].len; i++) len 139 third_party/harfbuzz-ng/src/hb-ot-map.cc if (!feature_infos.len) len 146 third_party/harfbuzz-ng/src/hb-ot-map.cc for (unsigned int i = 1; i < feature_infos.len; i++) len 169 third_party/harfbuzz-ng/src/hb-ot-map.cc for (unsigned int i = 0; i < feature_infos.len; i++) { len 244 third_party/harfbuzz-ng/src/hb-ot-map.cc for (unsigned i = 0; i < m.features.len; i++) len 252 third_party/harfbuzz-ng/src/hb-ot-map.cc if (last_num_lookups < m.lookups[table_index].len) len 254 third_party/harfbuzz-ng/src/hb-ot-map.cc m.lookups[table_index].sort (last_num_lookups, m.lookups[table_index].len); len 257 third_party/harfbuzz-ng/src/hb-ot-map.cc for (unsigned int i = j + 1; i < m.lookups[table_index].len; i++) len 268 third_party/harfbuzz-ng/src/hb-ot-map.cc last_num_lookups = m.lookups[table_index].len; len 270 third_party/harfbuzz-ng/src/hb-ot-map.cc if (stage_index < stages[table_index].len && stages[table_index][stage_index].index == stage) { len 251 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc unsigned int count = buffer->len; len 317 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc unsigned int count = buffer->len; len 328 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc unsigned int count = buffer->len; len 180 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc unsigned int count = buffer->len; len 393 third_party/harfbuzz-ng/src/hb-ot-shape-complex-hangul.cc unsigned int count = buffer->len; len 1657 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-machine.hh pe = eof = buffer->len; len 636 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int count = buffer->len; len 674 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int count = buffer->len; len 1224 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int count = buffer->len; len 1247 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc while (buffer->idx < buffer->len) len 1261 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc while (buffer->idx < buffer->len && len 1284 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int count = buffer->len; len 1662 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int count = buffer->len; len 1687 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc unsigned int count = buffer->len; len 300 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar-machine.hh pe = eof = buffer->len; len 287 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc unsigned int count = buffer->len; len 461 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc unsigned int count = buffer->len; len 484 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc while (buffer->idx < buffer->len) len 514 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc unsigned int count = buffer->len; len 533 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc unsigned int count = buffer->len; len 128 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea-machine.hh pe = eof = buffer->len; len 176 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc unsigned int count = buffer->len; len 280 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc unsigned int count = buffer->len; len 303 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc while (buffer->idx < buffer->len) len 333 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc unsigned int count = buffer->len; len 352 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc unsigned int count = buffer->len; len 227 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc unsigned int count = buffer->len; len 317 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc unsigned int count = buffer->len; len 169 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int count = buffer->len; len 416 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int count = buffer->len; len 435 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc unsigned int count = buffer->len; len 178 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc unsigned int len, i; len 182 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc len = c->buffer->unicode->decompose_compatibility (u, decomposed); len 183 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc if (!len) len 186 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc for (i = 0; i < len; i++) len 190 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc for (i = 0; i < len; i++) len 193 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc return len; len 318 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc count = buffer->len; len 333 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc count = buffer->len; len 368 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc count = buffer->len; len 228 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; len 255 third_party/harfbuzz-ng/src/hb-ot-shape.cc while (buffer->idx < buffer->len) len 264 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; len 300 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; len 320 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; len 383 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; len 391 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = c->buffer->len; len 457 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; len 469 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; len 482 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = c->buffer->len; len 503 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = c->buffer->len; len 609 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = c->buffer->len; len 637 third_party/harfbuzz-ng/src/hb-ot-shape.cc c->buffer->len = j; len 733 third_party/harfbuzz-ng/src/hb-ot-shape.cc unsigned int count = buffer->len; len 793 third_party/harfbuzz-ng/src/hb-ot-tag.cc unsigned int len = strlen (spec); len 795 third_party/harfbuzz-ng/src/hb-ot-tag.cc return strncmp (lang_str, spec, len) == 0 && len 796 third_party/harfbuzz-ng/src/hb-ot-tag.cc (lang_str[len] == '\0' || lang_str[len] == '-'); len 282 third_party/harfbuzz-ng/src/hb-private.hh unsigned int len; len 298 third_party/harfbuzz-ng/src/hb-private.hh if (likely (len < allocated)) len 299 third_party/harfbuzz-ng/src/hb-private.hh return &array[len++]; len 308 third_party/harfbuzz-ng/src/hb-private.hh memcpy (new_array, array, len * sizeof (Type)); len 321 third_party/harfbuzz-ng/src/hb-private.hh return &array[len++]; len 326 third_party/harfbuzz-ng/src/hb-private.hh len--; len 331 third_party/harfbuzz-ng/src/hb-private.hh if (unlikely (i >= len)) len 335 third_party/harfbuzz-ng/src/hb-private.hh (len - i - 1) * sizeof (Type)); len 336 third_party/harfbuzz-ng/src/hb-private.hh len--; len 341 third_party/harfbuzz-ng/src/hb-private.hh if (l < len) len 342 third_party/harfbuzz-ng/src/hb-private.hh len = l; len 347 third_party/harfbuzz-ng/src/hb-private.hh for (unsigned int i = 0; i < len; i++) len 354 third_party/harfbuzz-ng/src/hb-private.hh for (unsigned int i = 0; i < len; i++) len 362 third_party/harfbuzz-ng/src/hb-private.hh qsort (array, len, sizeof (Type), (hb_compare_func_t) Type::cmp); len 373 third_party/harfbuzz-ng/src/hb-private.hh return (Type *) ::bsearch (key, array, len, sizeof (Type), (hb_compare_func_t) Type::cmp); len 378 third_party/harfbuzz-ng/src/hb-private.hh return (const Type *) ::bsearch (key, array, len, sizeof (Type), (hb_compare_func_t) Type::cmp); len 386 third_party/harfbuzz-ng/src/hb-private.hh allocated = len = 0; len 439 third_party/harfbuzz-ng/src/hb-private.hh *item = items[items.len - 1]; len 475 third_party/harfbuzz-ng/src/hb-private.hh if (!items.len) { len 481 third_party/harfbuzz-ng/src/hb-private.hh while (items.len) { len 482 third_party/harfbuzz-ng/src/hb-private.hh item_t old = items[items.len - 1]; len 832 third_party/harfbuzz-ng/src/hb-private.hh hb_bubble_sort (T *array, unsigned int len, int(*compar)(const T *, const T *), T2 *array2) len 834 third_party/harfbuzz-ng/src/hb-private.hh if (unlikely (!len)) len 837 third_party/harfbuzz-ng/src/hb-private.hh unsigned int k = len - 1; len 865 third_party/harfbuzz-ng/src/hb-private.hh hb_bubble_sort (T *array, unsigned int len, int(*compar)(const T *, const T *)) len 867 third_party/harfbuzz-ng/src/hb-private.hh hb_bubble_sort (array, len, compar, (int *) NULL); len 871 third_party/harfbuzz-ng/src/hb-private.hh hb_codepoint_parse (const char *s, unsigned int len, int base, hb_codepoint_t *out) len 875 third_party/harfbuzz-ng/src/hb-private.hh len = MIN (ARRAY_LENGTH (buf) - 1, len); len 876 third_party/harfbuzz-ng/src/hb-private.hh strncpy (buf, s, len); len 877 third_party/harfbuzz-ng/src/hb-private.hh buf[len] = '\0'; len 61 third_party/harfbuzz-ng/src/hb-shape.cc unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); len 62 third_party/harfbuzz-ng/src/hb-shape.cc strncpy (buf, *pp, len); len 63 third_party/harfbuzz-ng/src/hb-shape.cc buf[len] = '\0'; len 169 third_party/harfbuzz-ng/src/hb-shape.cc hb_feature_from_string (const char *str, int len, len 172 third_party/harfbuzz-ng/src/hb-shape.cc if (len < 0) len 173 third_party/harfbuzz-ng/src/hb-shape.cc len = strlen (str); len 175 third_party/harfbuzz-ng/src/hb-shape.cc return parse_one_feature (&str, str + len, feature); len 195 third_party/harfbuzz-ng/src/hb-shape.cc unsigned int len = 0; len 197 third_party/harfbuzz-ng/src/hb-shape.cc s[len++] = '-'; len 198 third_party/harfbuzz-ng/src/hb-shape.cc hb_tag_to_string (feature->tag, s + len); len 199 third_party/harfbuzz-ng/src/hb-shape.cc len += 4; len 200 third_party/harfbuzz-ng/src/hb-shape.cc while (len && s[len - 1] == ' ') len 201 third_party/harfbuzz-ng/src/hb-shape.cc len--; len 204 third_party/harfbuzz-ng/src/hb-shape.cc s[len++] = '['; len 206 third_party/harfbuzz-ng/src/hb-shape.cc len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->start)); len 208 third_party/harfbuzz-ng/src/hb-shape.cc s[len++] = ':'; len 210 third_party/harfbuzz-ng/src/hb-shape.cc len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->end)); len 212 third_party/harfbuzz-ng/src/hb-shape.cc s[len++] = ']'; len 216 third_party/harfbuzz-ng/src/hb-shape.cc s[len++] = '='; len 217 third_party/harfbuzz-ng/src/hb-shape.cc len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%d", feature->value)); len 219 third_party/harfbuzz-ng/src/hb-shape.cc assert (len < ARRAY_LENGTH (s)); len 220 third_party/harfbuzz-ng/src/hb-shape.cc len = MIN (len, size - 1); len 221 third_party/harfbuzz-ng/src/hb-shape.cc memcpy (buf, s, len); len 222 third_party/harfbuzz-ng/src/hb-shape.cc buf[len] = '\0'; len 299 third_party/harfbuzz-ng/src/hb-shape.cc if (unlikely (!buffer->len)) len 52 third_party/harfbuzz-ng/src/hb-shape.h hb_feature_from_string (const char *str, int len, len 653 third_party/harfbuzz-ng/src/hb-uniscribe.cc for (unsigned int i = 0; i < feature_events.len; i++) len 664 third_party/harfbuzz-ng/src/hb-uniscribe.cc unsigned int offset = feature_records.len; len 667 third_party/harfbuzz-ng/src/hb-uniscribe.cc for (unsigned int j = 0; j < active_features.len; j++) len 669 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (!j || active_features[j].rec.tagFeature != feature_records[feature_records.len - 1].tagFeature) len 679 third_party/harfbuzz-ng/src/hb-uniscribe.cc feature_records[feature_records.len - 1].lParameter = active_features[j].rec.lParameter; len 686 third_party/harfbuzz-ng/src/hb-uniscribe.cc range->props.cotfRecords = feature_records.len - offset; len 705 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (!range_records.len) /* No active feature found. */ len 709 third_party/harfbuzz-ng/src/hb-uniscribe.cc for (unsigned int i = 0; i < range_records.len; i++) len 734 third_party/harfbuzz-ng/src/hb-uniscribe.cc #define ALLOCATE_ARRAY(Type, name, len) \ len 737 third_party/harfbuzz-ng/src/hb-uniscribe.cc unsigned int _consumed = DIV_CEIL ((len) * sizeof (Type), sizeof (*scratch)); \ len 745 third_party/harfbuzz-ng/src/hb-uniscribe.cc ALLOCATE_ARRAY (WCHAR, pchars, buffer->len * 2); len 748 third_party/harfbuzz-ng/src/hb-uniscribe.cc for (unsigned int i = 0; i < buffer->len; i++) len 769 third_party/harfbuzz-ng/src/hb-uniscribe.cc for (unsigned int i = 0; i < buffer->len; i++) len 858 third_party/harfbuzz-ng/src/hb-uniscribe.cc if (!range_properties.len || len 859 third_party/harfbuzz-ng/src/hb-uniscribe.cc &range->props != range_properties[range_properties.len - 1]) len 874 third_party/harfbuzz-ng/src/hb-uniscribe.cc range_char_counts[range_char_counts.len - 1]++; len 893 third_party/harfbuzz-ng/src/hb-uniscribe.cc range_properties.len, len 935 third_party/harfbuzz-ng/src/hb-uniscribe.cc range_properties.len, len 968 third_party/harfbuzz-ng/src/hb-uniscribe.cc for (unsigned int i = 0; i < buffer->len; i++) { len 985 third_party/harfbuzz-ng/src/hb-uniscribe.cc buffer->len = 0; len 988 third_party/harfbuzz-ng/src/hb-uniscribe.cc hb_glyph_info_t *info = &buffer->info[buffer->len++]; len 48 third_party/harfbuzz-ng/src/hb-utf-private.hh unsigned int len; len 52 third_party/harfbuzz-ng/src/hb-utf-private.hh HB_UTF8_COMPUTE (c, mask, len); len 53 third_party/harfbuzz-ng/src/hb-utf-private.hh if (unlikely (!len || (unsigned int) (end - text) < len)) { len 60 third_party/harfbuzz-ng/src/hb-utf-private.hh for (i = 1; i < len; i++) len 71 third_party/harfbuzz-ng/src/hb-utf-private.hh return text + len; len 85 third_party/harfbuzz-ng/src/hb-utf-private.hh unsigned int len; len 89 third_party/harfbuzz-ng/src/hb-utf-private.hh HB_UTF8_COMPUTE (c, mask, len); len 90 third_party/harfbuzz-ng/src/hb-utf-private.hh if (unlikely (!len || (unsigned int) (end - text) != len)) { len 97 third_party/harfbuzz-ng/src/hb-utf-private.hh for (i = 1; i < len; i++) len 51 third_party/harfbuzz-ng/src/main.cc int len = 0; len 56 third_party/harfbuzz-ng/src/main.cc len = g_mapped_file_get_length (mf); len 60 third_party/harfbuzz-ng/src/main.cc len = ftell (f); len 62 third_party/harfbuzz-ng/src/main.cc font_data = (const char *) malloc (len); len 63 third_party/harfbuzz-ng/src/main.cc len = fread ((char *) font_data, 1, len, f); len 66 third_party/harfbuzz-ng/src/main.cc printf ("Opened font file %s: %d bytes long\n", argv[1], len); len 58 third_party/harfbuzz-ng/src/test-buffer-serialize.cc unsigned int len; len 66 third_party/harfbuzz-ng/src/test-buffer-serialize.cc len = g_mapped_file_get_length (mf); len 73 third_party/harfbuzz-ng/src/test-buffer-serialize.cc len = ftell (f); len 75 third_party/harfbuzz-ng/src/test-buffer-serialize.cc font_data = (const char *) malloc (len); len 76 third_party/harfbuzz-ng/src/test-buffer-serialize.cc if (!font_data) len = 0; len 77 third_party/harfbuzz-ng/src/test-buffer-serialize.cc len = fread ((char *) font_data, 1, len, f); len 84 third_party/harfbuzz-ng/src/test-buffer-serialize.cc blob = hb_blob_create (font_data, len, mm, user_data, destroy); len 56 third_party/harfbuzz-ng/src/test-size-params.cc unsigned int len; len 64 third_party/harfbuzz-ng/src/test-size-params.cc len = g_mapped_file_get_length (mf); len 71 third_party/harfbuzz-ng/src/test-size-params.cc len = ftell (f); len 73 third_party/harfbuzz-ng/src/test-size-params.cc font_data = (const char *) malloc (len); len 74 third_party/harfbuzz-ng/src/test-size-params.cc if (!font_data) len = 0; len 75 third_party/harfbuzz-ng/src/test-size-params.cc len = fread ((char *) font_data, 1, len, f); len 82 third_party/harfbuzz-ng/src/test-size-params.cc blob = hb_blob_create (font_data, len, mm, user_data, destroy); len 60 third_party/harfbuzz-ng/src/test-would-substitute.cc unsigned int len; len 68 third_party/harfbuzz-ng/src/test-would-substitute.cc len = g_mapped_file_get_length (mf); len 75 third_party/harfbuzz-ng/src/test-would-substitute.cc len = ftell (f); len 77 third_party/harfbuzz-ng/src/test-would-substitute.cc font_data = (const char *) malloc (len); len 78 third_party/harfbuzz-ng/src/test-would-substitute.cc if (!font_data) len = 0; len 79 third_party/harfbuzz-ng/src/test-would-substitute.cc len = fread ((char *) font_data, 1, len, f); len 86 third_party/harfbuzz-ng/src/test-would-substitute.cc blob = hb_blob_create (font_data, len, mm, user_data, destroy); len 99 third_party/harfbuzz-ng/src/test-would-substitute.cc unsigned int len = argc - 3; len 105 third_party/harfbuzz-ng/src/test-would-substitute.cc return !hb_ot_layout_lookup_would_substitute (face, strtol (argv[2], NULL, 0), glyphs, len, false); len 59 third_party/harfbuzz-ng/src/test.cc unsigned int len; len 67 third_party/harfbuzz-ng/src/test.cc len = g_mapped_file_get_length (mf); len 74 third_party/harfbuzz-ng/src/test.cc len = ftell (f); len 76 third_party/harfbuzz-ng/src/test.cc font_data = (const char *) malloc (len); len 77 third_party/harfbuzz-ng/src/test.cc if (!font_data) len = 0; len 78 third_party/harfbuzz-ng/src/test.cc len = fread ((char *) font_data, 1, len, f); len 85 third_party/harfbuzz-ng/src/test.cc blob = hb_blob_create (font_data, len, mm, user_data, destroy); len 976 third_party/libXNVCtrl/NVCtrl.c int *len len 1021 third_party/libXNVCtrl/NVCtrl.c if (len) *len = numbytes; len 1033 third_party/libXNVCtrl/NVCtrl.c int *len len 1037 third_party/libXNVCtrl/NVCtrl.c attribute, ptr, len); len 587 third_party/libXNVCtrl/NVCtrlLib.h int *len len 613 third_party/libXNVCtrl/NVCtrlLib.h int *len len 178 third_party/libaddressinput/chromium/cpp/src/util/md5.cc size_t len = data.size(); len 186 third_party/libaddressinput/chromium/cpp/src/util/md5.cc if ((ctx->bits[0] = t + ((uint32)len << 3)) < t) len 188 third_party/libaddressinput/chromium/cpp/src/util/md5.cc ctx->bits[1] += static_cast<uint32>(len >> 29); len 198 third_party/libaddressinput/chromium/cpp/src/util/md5.cc if (len < t) { len 199 third_party/libaddressinput/chromium/cpp/src/util/md5.cc memcpy(p, buf, len); len 206 third_party/libaddressinput/chromium/cpp/src/util/md5.cc len -= t; len 211 third_party/libaddressinput/chromium/cpp/src/util/md5.cc while (len >= 64) { len 216 third_party/libaddressinput/chromium/cpp/src/util/md5.cc len -= 64; len 221 third_party/libaddressinput/chromium/cpp/src/util/md5.cc memcpy(ctx->in, buf, len); len 129 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc int len = 4097; // intentionally not 2^k. len 130 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc if (len > length - total) len 131 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc len = length - total; len 134 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc std::string(reinterpret_cast<char*>(data.get() + total), len)); len 135 third_party/libaddressinput/chromium/cpp/test/util/md5_unittest.cc total += len; len 214 third_party/libevent/buffer.c size_t len = EVBUFFER_LENGTH(buffer); len 218 third_party/libevent/buffer.c for (i = 0; i < len; i++) { len 223 third_party/libevent/buffer.c if (i == len) len 238 third_party/libevent/buffer.c if ( i < len - 1 ) { len 320 third_party/libevent/buffer.c evbuffer_drain(struct evbuffer *buf, size_t len) len 324 third_party/libevent/buffer.c if (len >= buf->off) { len 331 third_party/libevent/buffer.c buf->buffer += len; len 332 third_party/libevent/buffer.c buf->misalign += len; len 334 third_party/libevent/buffer.c buf->off -= len; len 427 third_party/libevent/buffer.c evbuffer_find(struct evbuffer *buffer, const u_char *what, size_t len) len 434 third_party/libevent/buffer.c if (p + len > end) len 436 third_party/libevent/buffer.c if (memcmp(p, what, len) == 0) len 98 third_party/libevent/evbuffer.c size_t len; len 139 third_party/libevent/evbuffer.c len = EVBUFFER_LENGTH(bufev->input); len 140 third_party/libevent/evbuffer.c if (bufev->wm_read.low != 0 && len < bufev->wm_read.low) len 142 third_party/libevent/evbuffer.c if (bufev->wm_read.high != 0 && len >= bufev->wm_read.high) { len 2378 third_party/libevent/evdns.c int len; len 2445 third_party/libevent/evdns.c sdomain->len = domain_len; len 2503 third_party/libevent/evdns.c const int postfix_len = dom->len; len 1134 third_party/libevent/event.h ev_uint32_t len); len 1168 third_party/libevent/event.h void *data, size_t len); len 149 third_party/libevent/event_tagging.c int len = EVBUFFER_LENGTH(evbuf); len 152 third_party/libevent/event_tagging.c while (count++ < len) { len 189 third_party/libevent/event_tagging.c const void *data, ev_uint32_t len) len 192 third_party/libevent/event_tagging.c encode_int(evbuf, len); len 193 third_party/libevent/event_tagging.c evbuffer_add(evbuf, (void *)data, len); len 231 third_party/libevent/event_tagging.c int len = EVBUFFER_LENGTH(evbuf); len 234 third_party/libevent/event_tagging.c if (!len) len 238 third_party/libevent/event_tagging.c if (nibbles > 8 || (nibbles >> 1) + 1 > len) len 240 third_party/libevent/event_tagging.c len = (nibbles >> 1) + 1; len 252 third_party/libevent/event_tagging.c evbuffer_drain(evbuf, len); len 256 third_party/libevent/event_tagging.c return (len); len 275 third_party/libevent/event_tagging.c int res, len; len 277 third_party/libevent/event_tagging.c len = decode_tag_internal(NULL, evbuf, 0 /* dodrain */); len 278 third_party/libevent/event_tagging.c if (len == -1) len 282 third_party/libevent/event_tagging.c tmp.buffer += len; len 283 third_party/libevent/event_tagging.c tmp.off -= len; len 289 third_party/libevent/event_tagging.c *plength += res + len; len 298 third_party/libevent/event_tagging.c int res, len; len 300 third_party/libevent/event_tagging.c len = decode_tag_internal(NULL, evbuf, 0 /* dodrain */); len 301 third_party/libevent/event_tagging.c if (len == -1) len 305 third_party/libevent/event_tagging.c tmp.buffer += len; len 306 third_party/libevent/event_tagging.c tmp.off -= len; len 318 third_party/libevent/event_tagging.c ev_uint32_t len; len 321 third_party/libevent/event_tagging.c if (evtag_decode_int(&len, evbuf) == -1) len 323 third_party/libevent/event_tagging.c evbuffer_drain(evbuf, len); len 333 third_party/libevent/event_tagging.c ev_uint32_t len; len 340 third_party/libevent/event_tagging.c len = integer; len 342 third_party/libevent/event_tagging.c if (EVBUFFER_LENGTH(src) < len) len 345 third_party/libevent/event_tagging.c if (evbuffer_add(dst, EVBUFFER_DATA(src), len) == -1) len 348 third_party/libevent/event_tagging.c evbuffer_drain(src, len); len 350 third_party/libevent/event_tagging.c return (len); len 360 third_party/libevent/event_tagging.c ev_uint32_t len; len 369 third_party/libevent/event_tagging.c len = integer; len 371 third_party/libevent/event_tagging.c if (EVBUFFER_LENGTH(evbuf) < len) len 375 third_party/libevent/event_tagging.c if (evbuffer_add(_buf, EVBUFFER_DATA(evbuf), len) == -1) len 378 third_party/libevent/event_tagging.c evbuffer_drain(evbuf, len); len 387 third_party/libevent/event_tagging.c size_t len) len 398 third_party/libevent/event_tagging.c if (EVBUFFER_LENGTH(_buf) != len) len 401 third_party/libevent/event_tagging.c memcpy(data, EVBUFFER_DATA(_buf), len); len 450 third_party/libevent/http.c char len[12]; len 451 third_party/libevent/http.c evutil_snprintf(len, sizeof(len), "%ld", content_length); len 452 third_party/libevent/http.c evhttp_add_header(headers, "Content-Length", len); len 551 third_party/libevent/http.c int len; len 554 third_party/libevent/http.c len = strlen(HTTP_PREFIX); len 555 third_party/libevent/http.c if (strncasecmp(url, HTTP_PREFIX, len)) len 558 third_party/libevent/http.c url += len; len 786 third_party/libevent/http.c int len; len 788 third_party/libevent/http.c while ((len = EVBUFFER_LENGTH(buf)) > 0) { len 820 third_party/libevent/http.c if (len < req->ntoread) len 915 third_party/libevent/http.c int n, len; len 922 third_party/libevent/http.c len = EVBUFFER_LENGTH(buf); len 135 third_party/libevent/log.c size_t len; len 143 third_party/libevent/log.c len = strlen(buf); len 144 third_party/libevent/log.c if (len < sizeof(buf) - 3) { len 145 third_party/libevent/log.c evutil_snprintf(buf + len, sizeof(buf) - len, ": %s", len 31 third_party/libevent/sample/event-test.c int len; len 43 third_party/libevent/sample/event-test.c len = ReadFile((HANDLE)fd, buf, sizeof(buf) - 1, &dwBytesRead, NULL); len 46 third_party/libevent/sample/event-test.c if(len && dwBytesRead == 0) { len 54 third_party/libevent/sample/event-test.c len = read(fd, buf, sizeof(buf) - 1); len 56 third_party/libevent/sample/event-test.c if (len == -1) { len 59 third_party/libevent/sample/event-test.c } else if (len == 0) { len 64 third_party/libevent/sample/event-test.c buf[len] = '\0'; len 88 third_party/libevent/test/regress.c #define write(fd,buf,len) send((fd),(buf),(len),0) len 89 third_party/libevent/test/regress.c #define read(fd,buf,len) recv((fd),(buf),(len),0) len 96 third_party/libevent/test/regress.c int len; len 101 third_party/libevent/test/regress.c len = read(fd, buf, sizeof(buf)); len 103 third_party/libevent/test/regress.c if (len) { len 117 third_party/libevent/test/regress.c int len; len 122 third_party/libevent/test/regress.c len = write(fd, TEST1, strlen(TEST1) + 1); len 123 third_party/libevent/test/regress.c if (len == -1) len 133 third_party/libevent/test/regress.c int len; len 135 third_party/libevent/test/regress.c len = 128; len 136 third_party/libevent/test/regress.c if (woff + len >= sizeof(wbuf)) len 137 third_party/libevent/test/regress.c len = sizeof(wbuf) - woff; len 139 third_party/libevent/test/regress.c len = write(fd, wbuf + woff, len); len 140 third_party/libevent/test/regress.c if (len == -1) { len 147 third_party/libevent/test/regress.c woff += len; len 166 third_party/libevent/test/regress.c int len; len 168 third_party/libevent/test/regress.c len = read(fd, rbuf + roff, sizeof(rbuf) - roff); len 169 third_party/libevent/test/regress.c if (len == -1) len 171 third_party/libevent/test/regress.c if (len <= 0) { len 177 third_party/libevent/test/regress.c roff += len; len 231 third_party/libevent/test/regress.c int len; len 233 third_party/libevent/test/regress.c len = read(fd, buf, sizeof(buf)); len 234 third_party/libevent/test/regress.c if (len == -1) len 236 third_party/libevent/test/regress.c if (len <= 0) len 239 third_party/libevent/test/regress.c both->nread += len; len 249 third_party/libevent/test/regress.c int len; len 251 third_party/libevent/test/regress.c len = sizeof(buf); len 252 third_party/libevent/test/regress.c if (len > both->nread) len 253 third_party/libevent/test/regress.c len = both->nread; len 255 third_party/libevent/test/regress.c len = write(fd, buf, len); len 256 third_party/libevent/test/regress.c if (len == -1) len 258 third_party/libevent/test/regress.c if (len <= 0) { len 263 third_party/libevent/test/regress.c both->nread -= len; len 1141 third_party/libevent/test/regress.c int len = EVBUFFER_LENGTH(bev->input); len 1144 third_party/libevent/test/regress.c assert(len >= 10 && len <= 20); len 1146 third_party/libevent/test/regress.c evbuffer_drain(bev->input, len); len 1148 third_party/libevent/test/regress.c nread += len; len 1318 third_party/libevent/test/regress.c int len; len 1320 third_party/libevent/test/regress.c len = read(fd, buf, sizeof(buf)); len 1324 third_party/libevent/test/regress.c } else if (len) { len 693 third_party/libevent/test/regress.gen.c run_some_bytes_assign(struct run *msg, const ev_uint8_t * value, ev_uint32_t len) len 697 third_party/libevent/test/regress.gen.c msg->some_bytes_data = malloc(len); len 701 third_party/libevent/test/regress.gen.c msg->some_bytes_length = len; len 702 third_party/libevent/test/regress.gen.c memcpy(msg->some_bytes_data, value, len); len 40 third_party/libevent/test/test-eof.c int len; len 42 third_party/libevent/test/test-eof.c len = recv(fd, buf, sizeof(buf), 0); len 45 third_party/libevent/test/test-eof.c len, len ? "" : " - means EOF"); len 47 third_party/libevent/test/test-eof.c if (len) { len 42 third_party/libevent/test/test-weof.c int len; len 44 third_party/libevent/test/test-weof.c len = send(fd, test, strlen(test) + 1, 0); len 47 third_party/libevent/test/test-weof.c len, len ? "" : " - means EOF"); len 49 third_party/libevent/test/test-weof.c if (len > 0) { len 90 third_party/libjingle/overrides/talk/base/logging.cc if (DWORD len = FormatMessageA( len 94 third_party/libjingle/overrides/talk/base/logging.cc while ((len > 0) && len 95 third_party/libjingle/overrides/talk/base/logging.cc isspace(static_cast<unsigned char>(msgbuf[len-1]))) { len 96 third_party/libjingle/overrides/talk/base/logging.cc msgbuf[--len] = 0; len 163 third_party/libjingle/overrides/talk/base/logging.cc const void* data, size_t len, bool hex_mode, len 187 third_party/libjingle/overrides/talk/base/logging.cc while (len > 0) { len 190 third_party/libjingle/overrides/talk/base/logging.cc size_t line_len = _min(len, LINE_SIZE); len 202 third_party/libjingle/overrides/talk/base/logging.cc len -= line_len; len 209 third_party/libjingle/overrides/talk/base/logging.cc const unsigned char* end = udata + len; len 150 third_party/libjingle/overrides/talk/base/logging.h const void* data, size_t len, bool hex_mode, len 156 third_party/libjpeg/jcparam.c int nsymbols, len; len 169 third_party/libjpeg/jcparam.c for (len = 1; len <= 16; len++) len 170 third_party/libjpeg/jcparam.c nsymbols += bits[len]; len 28 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc int len = in.length(); len 30 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc result.reserve(len); len 32 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc while (i < len) { len 37 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc } else if ((ch & 0xe0) == 0xc0 && i < len) { // U+0080 - U+07FF len 41 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc } else if ((ch & 0xf0) == 0xe0 && i+1 < len) { // U+0800 - U+FFFF len 47 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc } else if ((ch & 0xf8) == 0xf0 && i+2 < len) { // U+10000 - U+1FFFFF len 50 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc } else if ((ch & 0xfc) == 0xf8 && i+3 < len) { // U+200000 - U+3FFFFFF len 53 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc } else if ((ch & 0xfe) == 0xfc && i+4 < len) { // U+4000000 - U+7FFFFFFF len 220 third_party/liblouis/overrides/liblouis/compileTranslationTable.c eqasc2uni (const unsigned char *a, const widechar * b, const int len) len 223 third_party/liblouis/overrides/liblouis/compileTranslationTable.c for (k = 0; k < len; k++) len 33 third_party/libpng/pngrutil.c int len; len 36 third_party/libpng/pngrutil.c len = MultiByteToWideChar(CP_ACP, 0, nptr, -1, NULL, 0); len 37 third_party/libpng/pngrutil.c str = (wchar_t *)png_malloc(png_ptr, len * png_sizeof(wchar_t)); len 40 third_party/libpng/pngrutil.c MultiByteToWideChar(CP_ACP, 0, nptr, -1, str, len); len 42 third_party/libpng/pngrutil.c len = WideCharToMultiByte(CP_ACP, 0, end, -1, NULL, 0, NULL, NULL); len 43 third_party/libpng/pngrutil.c *endptr = (char *)nptr + (png_strlen(nptr) - len + 1); len 459 third_party/libusb/src/libusb/core.c ret->len = 0; len 470 third_party/libusb/src/libusb/core.c size_t len = discdevs->len; len 474 third_party/libusb/src/libusb/core.c if (len < discdevs->capacity) { len 475 third_party/libusb/src/libusb/core.c discdevs->devices[len] = libusb_ref_device(dev); len 476 third_party/libusb/src/libusb/core.c discdevs->len++; len 487 third_party/libusb/src/libusb/core.c discdevs->devices[len] = libusb_ref_device(dev); len 488 third_party/libusb/src/libusb/core.c discdevs->len++; len 498 third_party/libusb/src/libusb/core.c for (i = 0; i < discdevs->len; i++) len 657 third_party/libusb/src/libusb/core.c ssize_t i, len; len 687 third_party/libusb/src/libusb/core.c len = r; len 692 third_party/libusb/src/libusb/core.c len = discdevs->len; len 693 third_party/libusb/src/libusb/core.c ret = calloc(len + 1, sizeof(struct libusb_device *)); len 695 third_party/libusb/src/libusb/core.c len = LIBUSB_ERROR_NO_MEM; len 699 third_party/libusb/src/libusb/core.c ret[len] = NULL; len 700 third_party/libusb/src/libusb/core.c for (i = 0; i < len; i++) { len 708 third_party/libusb/src/libusb/core.c return len; len 107 third_party/libusb/src/libusb/descriptor.c int len; len 169 third_party/libusb/src/libusb/descriptor.c len = (int)(buffer - begin); len 170 third_party/libusb/src/libusb/descriptor.c if (!len) { len 176 third_party/libusb/src/libusb/descriptor.c extra = malloc(len); len 183 third_party/libusb/src/libusb/descriptor.c memcpy(extra, begin, len); len 184 third_party/libusb/src/libusb/descriptor.c endpoint->extra_length = len; len 219 third_party/libusb/src/libusb/descriptor.c int len; len 311 third_party/libusb/src/libusb/descriptor.c len = (int)(buffer - begin); len 312 third_party/libusb/src/libusb/descriptor.c if (len) { len 313 third_party/libusb/src/libusb/descriptor.c ifp->extra = malloc(len); len 318 third_party/libusb/src/libusb/descriptor.c memcpy((unsigned char *) ifp->extra, begin, len); len 319 third_party/libusb/src/libusb/descriptor.c ifp->extra_length = len; len 426 third_party/libusb/src/libusb/descriptor.c int len; len 463 third_party/libusb/src/libusb/descriptor.c len = (int)(buffer - begin); len 464 third_party/libusb/src/libusb/descriptor.c if (len) { len 467 third_party/libusb/src/libusb/descriptor.c config->extra = malloc(len); len 473 third_party/libusb/src/libusb/descriptor.c memcpy((unsigned char *) config->extra, begin, len); len 474 third_party/libusb/src/libusb/descriptor.c config->extra_length = len; len 252 third_party/libusb/src/libusb/hotplug.c int i, len; len 255 third_party/libusb/src/libusb/hotplug.c len = (int) libusb_get_device_list(ctx, &devs); len 256 third_party/libusb/src/libusb/hotplug.c if (len < 0) { len 259 third_party/libusb/src/libusb/hotplug.c return len; len 262 third_party/libusb/src/libusb/hotplug.c for (i = 0; i < len; i++) { len 477 third_party/libusb/src/libusb/libusbi.h size_t len; len 673 third_party/libusb/src/libusb/libusbi.h unsigned char *buffer, size_t len, int *host_endian); len 697 third_party/libusb/src/libusb/libusbi.h uint8_t config_index, unsigned char *buffer, size_t len, len 63 third_party/libusb/src/libusb/os/darwin_usb.c static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian); len 489 third_party/libusb/src/libusb/os/darwin_usb.c static int darwin_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian) { len 500 third_party/libusb/src/libusb/os/darwin_usb.c return darwin_get_config_descriptor (dev, config_index, buffer, len, host_endian); len 503 third_party/libusb/src/libusb/os/darwin_usb.c static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) { len 515 third_party/libusb/src/libusb/os/darwin_usb.c if (libusb_le16_to_cpu(desc->wTotalLength) < len) len 516 third_party/libusb/src/libusb/os/darwin_usb.c len = libusb_le16_to_cpu(desc->wTotalLength); len 518 third_party/libusb/src/libusb/os/darwin_usb.c memmove (buffer, desc, len); len 528 third_party/libusb/src/libusb/os/darwin_usb.c return len; len 180 third_party/libusb/src/libusb/os/linux_netlink.c static const char *netlink_message_parse (const char *buffer, size_t len, const char *key) len 185 third_party/libusb/src/libusb/os/linux_netlink.c for (offset = 0 ; offset < len && '\0' != buffer[offset] ; offset += strlen(buffer + offset) + 1) { len 196 third_party/libusb/src/libusb/os/linux_netlink.c static int linux_netlink_parse(char *buffer, size_t len, int *detached, const char **sys_name, len 208 third_party/libusb/src/libusb/os/linux_netlink.c tmp = netlink_message_parse((const char *) buffer, len, "ACTION"); len 219 third_party/libusb/src/libusb/os/linux_netlink.c tmp = netlink_message_parse(buffer, len, "SUBSYSTEM"); len 225 third_party/libusb/src/libusb/os/linux_netlink.c tmp = netlink_message_parse(buffer, len, "BUSNUM"); len 237 third_party/libusb/src/libusb/os/linux_netlink.c tmp = netlink_message_parse(buffer, len, "DEVNUM"); len 248 third_party/libusb/src/libusb/os/linux_netlink.c tmp = netlink_message_parse(buffer, len, "DEVPATH"); len 273 third_party/libusb/src/libusb/os/linux_netlink.c size_t len; len 277 third_party/libusb/src/libusb/os/linux_netlink.c len = recvmsg(linux_netlink_socket, &meh, 0); len 278 third_party/libusb/src/libusb/os/linux_netlink.c if (len < 32) { len 286 third_party/libusb/src/libusb/os/linux_netlink.c r = linux_netlink_parse(buffer, len, &detached, &sys_name, len 765 third_party/libusb/src/libusb/os/linux_usbfs.c unsigned char *buffer, size_t len, int *host_endian) len 787 third_party/libusb/src/libusb/os/linux_usbfs.c len = MIN(len, r); len 788 third_party/libusb/src/libusb/os/linux_usbfs.c memcpy(buffer, config_desc, len); len 789 third_party/libusb/src/libusb/os/linux_usbfs.c return len; len 793 third_party/libusb/src/libusb/os/linux_usbfs.c uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) len 817 third_party/libusb/src/libusb/os/linux_usbfs.c len = MIN(len, r); len 818 third_party/libusb/src/libusb/os/linux_usbfs.c memcpy(buffer, descriptors, len); len 819 third_party/libusb/src/libusb/os/linux_usbfs.c return len; len 45 third_party/libusb/src/libusb/os/linux_usbfs.h unsigned int len; len 301 third_party/libusb/src/libusb/os/openbsd_usb.c unsigned char *buf, size_t len, int *host_endian) len 306 third_party/libusb/src/libusb/os/openbsd_usb.c len = MIN(len, UGETW(ucd->wTotalLength)); len 308 third_party/libusb/src/libusb/os/openbsd_usb.c usbi_dbg("len %d", len); len 310 third_party/libusb/src/libusb/os/openbsd_usb.c memcpy(buf, dpriv->cdesc, len); len 314 third_party/libusb/src/libusb/os/openbsd_usb.c return (len); len 319 third_party/libusb/src/libusb/os/openbsd_usb.c unsigned char *buf, size_t len, int *host_endian) len 330 third_party/libusb/src/libusb/os/openbsd_usb.c udf.udf_size = len; len 333 third_party/libusb/src/libusb/os/openbsd_usb.c usbi_dbg("index %d, len %d", udf.udf_config_index, len); len 344 third_party/libusb/src/libusb/os/openbsd_usb.c return (len); len 633 third_party/libusb/src/libusb/os/openbsd_usb.c int fd, len, err; len 651 third_party/libusb/src/libusb/os/openbsd_usb.c len = UGETW(udc.udc_desc.wTotalLength); len 652 third_party/libusb/src/libusb/os/openbsd_usb.c buf = malloc(len); len 659 third_party/libusb/src/libusb/os/openbsd_usb.c udf.udf_size = len; len 662 third_party/libusb/src/libusb/os/openbsd_usb.c usbi_dbg("index %d, len %d", udf.udf_config_index, len); len 439 third_party/libusb/src/libusb/os/wince_usb.c unsigned char *buffer, size_t len, int *host_endian) len 442 third_party/libusb/src/libusb/os/wince_usb.c DWORD actualSize = len; len 444 third_party/libusb/src/libusb/os/wince_usb.c if (!UkwGetConfigDescriptor(priv->dev, UKW_ACTIVE_CONFIGURATION, buffer, len, &actualSize)) { len 453 third_party/libusb/src/libusb/os/wince_usb.c unsigned char *buffer, size_t len, int *host_endian) len 456 third_party/libusb/src/libusb/os/wince_usb.c DWORD actualSize = len; len 458 third_party/libusb/src/libusb/os/wince_usb.c if (!UkwGetConfigDescriptor(priv->dev, config_index, buffer, len, &actualSize)) { len 46 third_party/libusb/src/libusb/os/windows_usb.c static int windows_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian); len 696 third_party/libusb/src/libusb/os/windows_usb.c size_t len = safe_strlen(driver); len 698 third_party/libusb/src/libusb/os/windows_usb.c if (len == 0) return SUB_API_NOTSET; len 699 third_party/libusb/src/libusb/os/windows_usb.c tmp_str = (char*) calloc(len+1, 1); len 701 third_party/libusb/src/libusb/os/windows_usb.c memcpy(tmp_str, driver, len+1); len 1749 third_party/libusb/src/libusb/os/windows_usb.c static int windows_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) len 1764 third_party/libusb/src/libusb/os/windows_usb.c size = min(config_header->wTotalLength, len); len 1774 third_party/libusb/src/libusb/os/windows_usb.c static int windows_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian) len 1782 third_party/libusb/src/libusb/os/windows_usb.c return windows_get_config_descriptor(dev, (uint8_t)(priv->active_config-1), buffer, len, host_endian); len 163 third_party/libwebp/dsp/dsp.h uint8_t* top_dst, uint8_t* bottom_dst, int len); len 182 third_party/libwebp/dsp/dsp.h uint8_t* top_dst, uint8_t* bottom_dst, int len); len 194 third_party/libwebp/dsp/dsp.h uint8_t* dst, int len); len 41 third_party/libwebp/dsp/upsampling.c uint8_t* top_dst, uint8_t* bottom_dst, int len) { \ len 43 third_party/libwebp/dsp/upsampling.c const int last_pixel_pair = (len - 1) >> 1; \ len 81 third_party/libwebp/dsp/upsampling.c if (!(len & 1)) { \ len 84 third_party/libwebp/dsp/upsampling.c FUNC(top_y[len - 1], uv0 & 0xff, (uv0 >> 16), \ len 85 third_party/libwebp/dsp/upsampling.c top_dst + (len - 1) * XSTEP); \ len 89 third_party/libwebp/dsp/upsampling.c FUNC(bottom_y[len - 1], uv0 & 0xff, (uv0 >> 16), \ len 90 third_party/libwebp/dsp/upsampling.c bottom_dst + (len - 1) * XSTEP); \ len 115 third_party/libwebp/dsp/upsampling.c uint8_t* top_dst, uint8_t* bottom_dst, int len) { \ len 117 third_party/libwebp/dsp/upsampling.c for (i = 0; i < len - 1; i += 2) { \ len 129 third_party/libwebp/dsp/upsampling.c if (i == len - 1) { /* last one */ \ len 167 third_party/libwebp/dsp/upsampling.c uint8_t* top_dst, uint8_t* bot_dst, int len) { \ len 168 third_party/libwebp/dsp/upsampling.c const int half_len = len >> 1; \ len 176 third_party/libwebp/dsp/upsampling.c if (len & 1) FUNC(top_y[2 * x + 0], top_u[x], top_v[x], top_dst + 8 * x); \ len 183 third_party/libwebp/dsp/upsampling.c if (len & 1) FUNC(bot_y[2 * x + 0], bot_u[x], bot_v[x], bot_dst + 8 * x); \ len 208 third_party/libwebp/dsp/upsampling.c uint8_t* dst, int len) { \ len 210 third_party/libwebp/dsp/upsampling.c for (i = 0; i < len; ++i) FUNC(y[i], u[i], v[i], &dst[i * XSTEP]); \ len 159 third_party/libwebp/dsp/upsampling_neon.c top_dst, bottom_dst, cur_x, len) { \ len 160 third_party/libwebp/dsp/upsampling_neon.c CONVERT8(FMT, XSTEP, len, top_y, uv, top_dst, cur_x) \ len 162 third_party/libwebp/dsp/upsampling_neon.c CONVERT8(FMT, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x) \ len 167 third_party/libwebp/dsp/upsampling_neon.c top_dst, bottom_dst, cur_x, len) { \ len 168 third_party/libwebp/dsp/upsampling_neon.c CONVERT1(FUNC, XSTEP, len, top_y, uv, top_dst, cur_x); \ len 170 third_party/libwebp/dsp/upsampling_neon.c CONVERT1(FUNC, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x); \ len 178 third_party/libwebp/dsp/upsampling_neon.c uint8_t *top_dst, uint8_t *bottom_dst, int len) { \ len 183 third_party/libwebp/dsp/upsampling_neon.c const int uv_len = (len + 1) >> 1; \ len 224 third_party/libwebp/dsp/upsampling_neon.c top_dst, bottom_dst, last_pos, len - last_pos); \ len 135 third_party/libwebp/dsp/upsampling_sse2.c uint8_t* top_dst, uint8_t* bottom_dst, int len) { \ len 156 third_party/libwebp/dsp/upsampling_sse2.c for (pos = 1, uv_pos = 0; pos + 32 + 1 <= len; pos += 32, uv_pos += 16) { \ len 161 third_party/libwebp/dsp/upsampling_sse2.c if (len > 1) { \ len 162 third_party/libwebp/dsp/upsampling_sse2.c const int left_over = ((len + 1) >> 1) - (pos >> 1); \ len 167 third_party/libwebp/dsp/upsampling_sse2.c pos, len - pos); \ len 301 third_party/libwebp/enc/backward_references.c int len = 0; len 306 third_party/libwebp/enc/backward_references.c &offset, &len); len 308 third_party/libwebp/enc/backward_references.c if (len >= MIN_LENGTH) { len 320 third_party/libwebp/enc/backward_references.c if (len2 > len + 1) { len 332 third_party/libwebp/enc/backward_references.c len = len2; len 336 third_party/libwebp/enc/backward_references.c if (len >= MAX_LENGTH) { len 337 third_party/libwebp/enc/backward_references.c len = MAX_LENGTH - 1; len 339 third_party/libwebp/enc/backward_references.c refs->refs[refs->size++] = PixOrCopyCreateCopy(offset, len); len 341 third_party/libwebp/enc/backward_references.c for (k = 0; k < len; ++k) { len 347 third_party/libwebp/enc/backward_references.c const int last = (len < pix_count - 1 - i) ? len : pix_count - 1 - i; len 352 third_party/libwebp/enc/backward_references.c i += len; len 526 third_party/libwebp/enc/backward_references.c int len = 0; len 531 third_party/libwebp/enc/backward_references.c &offset, &len); len 533 third_party/libwebp/enc/backward_references.c if (len >= MIN_LENGTH) { len 538 third_party/libwebp/enc/backward_references.c for (k = 1; k < len; ++k) { len 547 third_party/libwebp/enc/backward_references.c if (len >= 128 && code <= min_distance_code) { len 552 third_party/libwebp/enc/backward_references.c for (k = 0; k < len; ++k) { len 558 third_party/libwebp/enc/backward_references.c const int last = (len + i < pix_count - 1) ? len + i len 565 third_party/libwebp/enc/backward_references.c i += len - 1; // for loop does ++i, thus -1 here. len 652 third_party/libwebp/enc/backward_references.c int len = 0; len 657 third_party/libwebp/enc/backward_references.c &offset, &len); len 658 third_party/libwebp/enc/backward_references.c assert(len == max_len); len 659 third_party/libwebp/enc/backward_references.c refs->refs[size] = PixOrCopyCreateCopy(offset, len); len 661 third_party/libwebp/enc/backward_references.c for (k = 0; k < len; ++k) { len 666 third_party/libwebp/enc/backward_references.c const int last = (len < pix_count - 1 - i) ? len : pix_count - 1 - i; len 671 third_party/libwebp/enc/backward_references.c i += len; len 46 third_party/libwebp/enc/backward_references.h uint16_t len; len 51 third_party/libwebp/enc/backward_references.h uint16_t len) { len 55 third_party/libwebp/enc/backward_references.h retval.len = len; len 65 third_party/libwebp/enc/backward_references.h retval.len = 1; len 73 third_party/libwebp/enc/backward_references.h retval.len = 1; len 96 third_party/libwebp/enc/backward_references.h return p->len; len 121 third_party/libwebp/enc/iterator.c uint8_t* dst, int len, int total_len) { len 123 third_party/libwebp/enc/iterator.c for (i = 0; i < len; ++i, src += src_stride) dst[i] = *src; len 124 third_party/libwebp/enc/iterator.c for (; i < total_len; ++i) dst[i] = dst[len - 1]; len 447 third_party/libwebp/enc/vp8l.c VP8LPrefixEncode(v->len, &code, &n_bits, &bits); len 145 third_party/libwebp/utils/bit_reader.c const uint8_t* const buf, size_t len) { len 148 third_party/libwebp/utils/bit_reader.c assert(len < 0xfffffff8u); // can't happen with a RIFF chunk. len 149 third_party/libwebp/utils/bit_reader.c br->eos_ = (br->pos_ >= len); len 151 third_party/libwebp/utils/bit_reader.c br->len_ = len; len 398 third_party/libwebp/utils/huffman_encode.c int len; len 403 third_party/libwebp/utils/huffman_encode.c len = tree->num_symbols; len 404 third_party/libwebp/utils/huffman_encode.c for (i = 0; i < len; ++i) { len 418 third_party/libwebp/utils/huffman_encode.c for (i = 0; i < len; ++i) { len 56 third_party/libxml/src/HTMLparser.c xmlChar * htmlDecodeEntities(htmlParserCtxtPtr ctxt, int len, len 412 third_party/libxml/src/HTMLparser.c htmlCurrentChar(xmlParserCtxtPtr ctxt, int *len) { len 417 third_party/libxml/src/HTMLparser.c *len = 0; len 461 third_party/libxml/src/HTMLparser.c *len = 4; len 468 third_party/libxml/src/HTMLparser.c *len = 3; len 475 third_party/libxml/src/HTMLparser.c *len = 2; len 489 third_party/libxml/src/HTMLparser.c *len = 1; len 493 third_party/libxml/src/HTMLparser.c *len = 1; len 502 third_party/libxml/src/HTMLparser.c *len = 1; len 531 third_party/libxml/src/HTMLparser.c return(xmlCurrentChar(ctxt, len)); len 557 third_party/libxml/src/HTMLparser.c *len = 1; len 2002 third_party/libxml/src/HTMLparser.c int len; len 2018 third_party/libxml/src/HTMLparser.c len = strlen(cp); len 2019 third_party/libxml/src/HTMLparser.c if (out + 2 + len >= outend) len 2022 third_party/libxml/src/HTMLparser.c memcpy(out, cp, len); len 2023 third_party/libxml/src/HTMLparser.c out += len; len 2105 third_party/libxml/src/HTMLparser.c int len; len 2117 third_party/libxml/src/HTMLparser.c len = strlen(cp); len 2118 third_party/libxml/src/HTMLparser.c if (out + 2 + len > outend) len 2121 third_party/libxml/src/HTMLparser.c memcpy(out, cp, len); len 2122 third_party/libxml/src/HTMLparser.c out += len; len 2202 third_party/libxml/src/HTMLparser.c static int areBlanks(htmlParserCtxtPtr ctxt, const xmlChar *str, int len) { len 2208 third_party/libxml/src/HTMLparser.c for (j = 0;j < len;j++) len 2448 third_party/libxml/src/HTMLparser.c int len = 0, l; len 2473 third_party/libxml/src/HTMLparser.c len += l; len 2477 third_party/libxml/src/HTMLparser.c return(xmlDictLookup(ctxt->dict, ctxt->input->cur - len, len)); len 3061 third_party/libxml/src/HTMLparser.c int len = 0; len 3110 third_party/libxml/src/HTMLparser.c if (len + 5 >= size) { len 3128 third_party/libxml/src/HTMLparser.c COPY_BUF(l,buf,len,cur); len 3137 third_party/libxml/src/HTMLparser.c buf[len] = 0; len 3172 third_party/libxml/src/HTMLparser.c int len; len 3200 third_party/libxml/src/HTMLparser.c len = 0; len 3204 third_party/libxml/src/HTMLparser.c if (len + 5 >= size) { len 3217 third_party/libxml/src/HTMLparser.c COPY_BUF(ql,buf,len,q); len 3230 third_party/libxml/src/HTMLparser.c buf[len] = 0; len 4899 third_party/libxml/src/HTMLparser.c int len; len 4904 third_party/libxml/src/HTMLparser.c len = xmlStrlen(cur); len 4905 third_party/libxml/src/HTMLparser.c ctxt = htmlCreateMemoryParserCtxt((char *)cur, len); len 4975 third_party/libxml/src/HTMLparser.c int base, len; len 4995 third_party/libxml/src/HTMLparser.c len = in->length; len 4998 third_party/libxml/src/HTMLparser.c len = in->buf->buffer->use; len 5003 third_party/libxml/src/HTMLparser.c len -= 2; len 5005 third_party/libxml/src/HTMLparser.c len--; len 5006 third_party/libxml/src/HTMLparser.c for (; base < len; base++) { len 5007 third_party/libxml/src/HTMLparser.c if ((!incomment) && (base + 4 < len) && (!iscomment)) { len 5032 third_party/libxml/src/HTMLparser.c if (base + 3 > len) len 5103 third_party/libxml/src/HTMLparser.c int base, len; len 5122 third_party/libxml/src/HTMLparser.c len = in->length; len 5125 third_party/libxml/src/HTMLparser.c len = in->buf->buffer->use; len 5128 third_party/libxml/src/HTMLparser.c for (; base < len; base++) { len 5129 third_party/libxml/src/HTMLparser.c if (!incomment && (base + 4 < len)) { len 5138 third_party/libxml/src/HTMLparser.c if (base + 3 > len) len 1809 third_party/libxml/src/SAX2.c xmlSAX2TextNode(xmlParserCtxtPtr ctxt, const xmlChar *str, int len) { len 1833 third_party/libxml/src/SAX2.c xmlChar cur = str[len]; len 1835 third_party/libxml/src/SAX2.c if ((len < (int) (2 * sizeof(void *))) && len 1839 third_party/libxml/src/SAX2.c memcpy(tmp, str, len); len 1840 third_party/libxml/src/SAX2.c tmp[len] = 0; len 1842 third_party/libxml/src/SAX2.c } else if ((len <= 3) && ((cur == '"') || (cur == '\'') || len 1843 third_party/libxml/src/SAX2.c ((cur == '<') && (str[len + 1] != '!')))) { len 1844 third_party/libxml/src/SAX2.c intern = xmlDictLookup(ctxt->dict, str, len); len 1845 third_party/libxml/src/SAX2.c } else if (IS_BLANK_CH(*str) && (len < 60) && (cur == '<') && len 1846 third_party/libxml/src/SAX2.c (str[len + 1] != '!')) { len 1849 third_party/libxml/src/SAX2.c for (i = 1;i < len;i++) { len 1852 third_party/libxml/src/SAX2.c intern = xmlDictLookup(ctxt->dict, str, len); len 1860 third_party/libxml/src/SAX2.c ret->content = xmlStrndup(str, len); len 2420 third_party/libxml/src/SAX2.c xmlSAX2Characters(void *ctx, const xmlChar *ch, int len) len 2428 third_party/libxml/src/SAX2.c "SAX.xmlSAX2Characters(%.30s, %d)\n", ch, len); len 2454 third_party/libxml/src/SAX2.c lastChild = xmlSAX2TextNode(ctxt, ch, len); len 2460 third_party/libxml/src/SAX2.c ctxt->nodelen = len; len 2461 third_party/libxml/src/SAX2.c ctxt->nodemem = len + 1; len 2485 third_party/libxml/src/SAX2.c if (((size_t)ctxt->nodelen + (size_t)len > XML_MAX_TEXT_LENGTH) && len 2490 third_party/libxml/src/SAX2.c if ((size_t)ctxt->nodelen > SIZE_T_MAX - (size_t)len || len 2491 third_party/libxml/src/SAX2.c (size_t)ctxt->nodemem + (size_t)len > SIZE_T_MAX / 2) { len 2495 third_party/libxml/src/SAX2.c if (ctxt->nodelen + len >= ctxt->nodemem) { len 2499 third_party/libxml/src/SAX2.c size = ctxt->nodemem + len; len 2509 third_party/libxml/src/SAX2.c memcpy(&lastChild->content[ctxt->nodelen], ch, len); len 2510 third_party/libxml/src/SAX2.c ctxt->nodelen += len; len 2513 third_party/libxml/src/SAX2.c if (xmlTextConcat(lastChild, ch, len)) { len 2522 third_party/libxml/src/SAX2.c lastChild = xmlSAX2TextNode(ctxt, ch, len); len 2526 third_party/libxml/src/SAX2.c ctxt->nodelen = len; len 2527 third_party/libxml/src/SAX2.c ctxt->nodemem = len + 1; len 2544 third_party/libxml/src/SAX2.c xmlSAX2IgnorableWhitespace(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch ATTRIBUTE_UNUSED, int len ATTRIBUTE_UNUSED) len 2549 third_party/libxml/src/SAX2.c "SAX.xmlSAX2IgnorableWhitespace(%.30s, %d)\n", ch, len); len 2688 third_party/libxml/src/SAX2.c xmlSAX2CDataBlock(void *ctx, const xmlChar *value, int len) len 2696 third_party/libxml/src/SAX2.c "SAX.pcdata(%.10s, %d)\n", value, len); len 2705 third_party/libxml/src/SAX2.c xmlTextConcat(lastChild, value, len); len 2707 third_party/libxml/src/SAX2.c ret = xmlNewCDataBlock(ctxt->myDoc, value, len); len 961 third_party/libxml/src/catalog.c int len; len 999 third_party/libxml/src/catalog.c len = read(fd, content, size); len 1001 third_party/libxml/src/catalog.c len = fread(content, 1, size, fd); len 1003 third_party/libxml/src/catalog.c if (len < 0) { len 1012 third_party/libxml/src/catalog.c content[len] = 0; len 1649 third_party/libxml/src/catalog.c int lenrewrite = 0, len; len 1665 third_party/libxml/src/catalog.c len = xmlStrlen(cur->name); len 1666 third_party/libxml/src/catalog.c if ((len > lenrewrite) && len 1667 third_party/libxml/src/catalog.c (!xmlStrncmp(sysID, cur->name, len))) { len 1668 third_party/libxml/src/catalog.c lenrewrite = len; len 1865 third_party/libxml/src/catalog.c int lenrewrite = 0, len; len 1896 third_party/libxml/src/catalog.c len = xmlStrlen(cur->name); len 1897 third_party/libxml/src/catalog.c if ((len > lenrewrite) && len 1898 third_party/libxml/src/catalog.c (!xmlStrncmp(URI, cur->name, len))) { len 1899 third_party/libxml/src/catalog.c lenrewrite = len; len 2179 third_party/libxml/src/catalog.c int len = 0; len 2205 third_party/libxml/src/catalog.c if (len + 1 >= size) { len 2215 third_party/libxml/src/catalog.c buf[len++] = *cur; len 2219 third_party/libxml/src/catalog.c buf[len] = 0; len 2248 third_party/libxml/src/catalog.c int len = 0; len 2264 third_party/libxml/src/catalog.c buf[len++] = c; len 2267 third_party/libxml/src/catalog.c if (len >= XML_MAX_NAMELEN) len 2270 third_party/libxml/src/catalog.c *name = xmlStrndup(buf, len); len 3130 third_party/libxml/src/catalog.c unsigned long len = GetModuleFileNameA(hmodule, buf, 255); len 3131 third_party/libxml/src/catalog.c if (len != 0) { len 3132 third_party/libxml/src/catalog.c char* p = &(buf[len]); len 2951 third_party/libxml/src/debugXML.c int len = 0; len 2953 third_party/libxml/src/debugXML.c sscanf(arg, "%d", &len); len 2954 third_party/libxml/src/debugXML.c xmlMemShow(ctxt->output, len); len 47 third_party/libxml/src/dict.c #define xmlDictComputeKey(dict, name, len) \ len 49 third_party/libxml/src/dict.c xmlDictComputeFastKey(name, len) : \ len 50 third_party/libxml/src/dict.c xmlDictComputeBigKey(name, len)) len 52 third_party/libxml/src/dict.c #define xmlDictComputeQKey(dict, prefix, plen, name, len) \ len 54 third_party/libxml/src/dict.c (xmlDictComputeKey(dict, name, len)) : \ len 56 third_party/libxml/src/dict.c xmlDictComputeFastQKey(prefix, plen, name, len) : \ len 57 third_party/libxml/src/dict.c xmlDictComputeBigQKey(prefix, plen, name, len))) len 60 third_party/libxml/src/dict.c #define xmlDictComputeKey(dict, name, len) \ len 61 third_party/libxml/src/dict.c xmlDictComputeFastKey(name, len) len 62 third_party/libxml/src/dict.c #define xmlDictComputeQKey(dict, prefix, plen, name, len) \ len 63 third_party/libxml/src/dict.c xmlDictComputeFastQKey(prefix, plen, name, len) len 74 third_party/libxml/src/dict.c int len; len 313 third_party/libxml/src/dict.c const xmlChar *name, int len) len 329 third_party/libxml/src/dict.c for (i = 0;i < len; i++) { len 384 third_party/libxml/src/dict.c const xmlChar *name, int len) len 393 third_party/libxml/src/dict.c if (len > 10) { len 394 third_party/libxml/src/dict.c value += name[len - (plen + 1 + 1)]; len 395 third_party/libxml/src/dict.c len = 10; len 412 third_party/libxml/src/dict.c len -= plen; len 413 third_party/libxml/src/dict.c if (len > 0) { len 415 third_party/libxml/src/dict.c len--; len 417 third_party/libxml/src/dict.c switch (len) { len 576 third_party/libxml/src/dict.c okey = xmlDictComputeKey(dict, olddict[i].name, olddict[i].len); len 589 third_party/libxml/src/dict.c entry->len = olddict[i].len; len 619 third_party/libxml/src/dict.c okey = xmlDictComputeKey(dict, iter->name, iter->len); len 724 third_party/libxml/src/dict.c xmlDictLookup(xmlDictPtr dict, const xmlChar *name, int len) { len 733 third_party/libxml/src/dict.c if (len < 0) len 734 third_party/libxml/src/dict.c len = strlen((const char *) name); len 739 third_party/libxml/src/dict.c okey = xmlDictComputeKey(dict, name, len); len 747 third_party/libxml/src/dict.c if ((insert->okey == okey) && (insert->len == len)) { len 748 third_party/libxml/src/dict.c if (!memcmp(insert->name, name, len)) len 752 third_party/libxml/src/dict.c if ((insert->okey == okey) && (insert->len == len) && len 753 third_party/libxml/src/dict.c (!xmlStrncmp(insert->name, name, len))) len 759 third_party/libxml/src/dict.c if ((insert->okey == okey) && (insert->len == len)) { len 760 third_party/libxml/src/dict.c if (!memcmp(insert->name, name, len)) len 764 third_party/libxml/src/dict.c if ((insert->okey == okey) && (insert->len == len) && len 765 third_party/libxml/src/dict.c (!xmlStrncmp(insert->name, name, len))) len 778 third_party/libxml/src/dict.c skey = xmlDictComputeKey(dict->subdict, name, len); len 789 third_party/libxml/src/dict.c if ((tmp->okey == skey) && (tmp->len == len)) { len 790 third_party/libxml/src/dict.c if (!memcmp(tmp->name, name, len)) len 794 third_party/libxml/src/dict.c if ((tmp->okey == skey) && (tmp->len == len) && len 795 third_party/libxml/src/dict.c (!xmlStrncmp(tmp->name, name, len))) len 801 third_party/libxml/src/dict.c if ((tmp->okey == skey) && (tmp->len == len)) { len 802 third_party/libxml/src/dict.c if (!memcmp(tmp->name, name, len)) len 806 third_party/libxml/src/dict.c if ((tmp->okey == skey) && (tmp->len == len) && len 807 third_party/libxml/src/dict.c (!xmlStrncmp(tmp->name, name, len))) len 814 third_party/libxml/src/dict.c ret = xmlDictAddString(dict, name, len); len 825 third_party/libxml/src/dict.c entry->len = len; len 857 third_party/libxml/src/dict.c xmlDictExists(xmlDictPtr dict, const xmlChar *name, int len) { len 864 third_party/libxml/src/dict.c if (len < 0) len 865 third_party/libxml/src/dict.c len = strlen((const char *) name); len 870 third_party/libxml/src/dict.c okey = xmlDictComputeKey(dict, name, len); len 878 third_party/libxml/src/dict.c if ((insert->okey == okey) && (insert->len == len)) { len 879 third_party/libxml/src/dict.c if (!memcmp(insert->name, name, len)) len 883 third_party/libxml/src/dict.c if ((insert->okey == okey) && (insert->len == len) && len 884 third_party/libxml/src/dict.c (!xmlStrncmp(insert->name, name, len))) len 890 third_party/libxml/src/dict.c if ((insert->okey == okey) && (insert->len == len)) { len 891 third_party/libxml/src/dict.c if (!memcmp(insert->name, name, len)) len 895 third_party/libxml/src/dict.c if ((insert->okey == okey) && (insert->len == len) && len 896 third_party/libxml/src/dict.c (!xmlStrncmp(insert->name, name, len))) len 909 third_party/libxml/src/dict.c skey = xmlDictComputeKey(dict->subdict, name, len); len 920 third_party/libxml/src/dict.c if ((tmp->okey == skey) && (tmp->len == len)) { len 921 third_party/libxml/src/dict.c if (!memcmp(tmp->name, name, len)) len 925 third_party/libxml/src/dict.c if ((tmp->okey == skey) && (tmp->len == len) && len 926 third_party/libxml/src/dict.c (!xmlStrncmp(tmp->name, name, len))) len 932 third_party/libxml/src/dict.c if ((tmp->okey == skey) && (tmp->len == len)) { len 933 third_party/libxml/src/dict.c if (!memcmp(tmp->name, name, len)) len 937 third_party/libxml/src/dict.c if ((tmp->okey == skey) && (tmp->len == len) && len 938 third_party/libxml/src/dict.c (!xmlStrncmp(tmp->name, name, len))) len 964 third_party/libxml/src/dict.c int len, plen, l; len 971 third_party/libxml/src/dict.c l = len = strlen((const char *) name); len 973 third_party/libxml/src/dict.c len += 1 + plen; len 985 third_party/libxml/src/dict.c if ((insert->okey == okey) && (insert->len == len) && len 990 third_party/libxml/src/dict.c if ((insert->okey == okey) && (insert->len == len) && len 1012 third_party/libxml/src/dict.c if ((tmp->okey == skey) && (tmp->len == len) && len 1017 third_party/libxml/src/dict.c if ((tmp->okey == skey) && (tmp->len == len) && len 1035 third_party/libxml/src/dict.c entry->len = len; len 351 third_party/libxml/src/encoding.c int len; len 356 third_party/libxml/src/encoding.c len = *inlenb; len 358 third_party/libxml/src/encoding.c len = *outlen; len 360 third_party/libxml/src/encoding.c if (len < 0) len 363 third_party/libxml/src/encoding.c memcpy(out, inb, len); len 365 third_party/libxml/src/encoding.c *outlen = len; len 366 third_party/libxml/src/encoding.c *inlenb = len; len 919 third_party/libxml/src/encoding.c xmlDetectCharEncoding(const unsigned char* in, int len) len 923 third_party/libxml/src/encoding.c if (len >= 4) { len 954 third_party/libxml/src/encoding.c if (len >= 3) { len 964 third_party/libxml/src/encoding.c if (len >= 2) { len 1899 third_party/libxml/src/encoding.c xmlBufferPtr in, int len); len 1918 third_party/libxml/src/encoding.c xmlBufferPtr in, int len) { len 1938 third_party/libxml/src/encoding.c if (len >= 0) { len 1939 third_party/libxml/src/encoding.c if (toconv > len) len 1940 third_party/libxml/src/encoding.c toconv = len; len 2300 third_party/libxml/src/encoding.c int len = in->use; len 2304 third_party/libxml/src/encoding.c cur = xmlGetUTF8Char(utf, &len); len 2322 third_party/libxml/src/encoding.c xmlBufferShrink(in, len); len 381 third_party/libxml/src/error.c int len; len 382 third_party/libxml/src/error.c len = xmlStrlen((const xmlChar *)str); len 383 third_party/libxml/src/error.c if ((len > 0) && (str[len - 1] != '\n')) len 769 third_party/libxml/src/error.c int len = xmlStrlen((const xmlChar *) msg); len 772 third_party/libxml/src/error.c if ((len > 1) && (msg[len - 2] != ':')) { len 813 third_party/libxml/src/error.c int len = xmlStrlen((const xmlChar *) msg); len 815 third_party/libxml/src/error.c if ((ctxt != NULL) && (len != 0) && (msg[len - 1] != ':')) { len 488 third_party/libxml/src/hash.c unsigned long key, len = 0; len 530 third_party/libxml/src/hash.c len++; len 543 third_party/libxml/src/hash.c len++; len 579 third_party/libxml/src/hash.c if (len > MAX_HASH_LEN) len 120 third_party/libxml/src/include/libxml/SAX.h int len); len 124 third_party/libxml/src/include/libxml/SAX.h int len); len 151 third_party/libxml/src/include/libxml/SAX.h int len); len 131 third_party/libxml/src/include/libxml/SAX2.h int len); len 135 third_party/libxml/src/include/libxml/SAX2.h int len); len 146 third_party/libxml/src/include/libxml/SAX2.h int len); len 45 third_party/libxml/src/include/libxml/dict.h int len); len 49 third_party/libxml/src/include/libxml/dict.h int len); len 218 third_party/libxml/src/include/libxml/encoding.h int len); len 56 third_party/libxml/src/include/libxml/nanoftp.h int len); len 137 third_party/libxml/src/include/libxml/nanoftp.h int len); len 68 third_party/libxml/src/include/libxml/nanohttp.h int len); len 552 third_party/libxml/src/include/libxml/parser.h int len); len 564 third_party/libxml/src/include/libxml/parser.h int len); len 596 third_party/libxml/src/include/libxml/parser.h int len); len 829 third_party/libxml/src/include/libxml/parser.h int len); len 832 third_party/libxml/src/include/libxml/parser.h int len); len 995 third_party/libxml/src/include/libxml/parser.h xmlGetFeaturesList (int *len, len 498 third_party/libxml/src/include/libxml/parserInternals.h int len, len 523 third_party/libxml/src/include/libxml/parserInternals.h int *len); len 531 third_party/libxml/src/include/libxml/parserInternals.h int *len); len 534 third_party/libxml/src/include/libxml/parserInternals.h XMLPUBFUN int XMLCALL xmlCopyChar (int len, len 588 third_party/libxml/src/include/libxml/parserInternals.h int len, len 197 third_party/libxml/src/include/libxml/relaxng.h int len); len 642 third_party/libxml/src/include/libxml/tree.h int len); len 648 third_party/libxml/src/include/libxml/tree.h int *len); len 677 third_party/libxml/src/include/libxml/tree.h int len); len 681 third_party/libxml/src/include/libxml/tree.h int len); len 690 third_party/libxml/src/include/libxml/tree.h unsigned int len); len 693 third_party/libxml/src/include/libxml/tree.h unsigned int len); len 820 third_party/libxml/src/include/libxml/tree.h int len); len 823 third_party/libxml/src/include/libxml/tree.h int len); len 832 third_party/libxml/src/include/libxml/tree.h int len); len 928 third_party/libxml/src/include/libxml/tree.h int len); len 1001 third_party/libxml/src/include/libxml/tree.h int len); len 1019 third_party/libxml/src/include/libxml/tree.h int len); len 1027 third_party/libxml/src/include/libxml/tree.h int len); len 78 third_party/libxml/src/include/libxml/uri.h int len, len 414 third_party/libxml/src/include/libxml/valid.h int *len, len 447 third_party/libxml/src/include/libxml/valid.h int len); len 54 third_party/libxml/src/include/libxml/xmlIO.h typedef int (XMLCALL *xmlInputReadCallback) (void * context, char * buffer, int len); len 101 third_party/libxml/src/include/libxml/xmlIO.h int len); len 191 third_party/libxml/src/include/libxml/xmlIO.h int len); len 194 third_party/libxml/src/include/libxml/xmlIO.h int len); len 197 third_party/libxml/src/include/libxml/xmlIO.h int len, len 250 third_party/libxml/src/include/libxml/xmlIO.h int len, len 315 third_party/libxml/src/include/libxml/xmlIO.h int len); len 335 third_party/libxml/src/include/libxml/xmlIO.h int len); len 351 third_party/libxml/src/include/libxml/xmlIO.h int len); len 168 third_party/libxml/src/include/libxml/xmlregexp.h int len); len 193 third_party/libxml/src/include/libxml/xmlregexp.h int len); len 198 third_party/libxml/src/include/libxml/xmlregexp.h int len); len 203 third_party/libxml/src/include/libxml/xmlregexp.h int len); len 44 third_party/libxml/src/include/libxml/xmlstring.h int len); len 47 third_party/libxml/src/include/libxml/xmlstring.h int len); len 53 third_party/libxml/src/include/libxml/xmlstring.h int len); len 69 third_party/libxml/src/include/libxml/xmlstring.h int len); len 76 third_party/libxml/src/include/libxml/xmlstring.h int len); len 92 third_party/libxml/src/include/libxml/xmlstring.h int len); len 96 third_party/libxml/src/include/libxml/xmlstring.h int len); len 99 third_party/libxml/src/include/libxml/xmlstring.h int len, len 104 third_party/libxml/src/include/libxml/xmlstring.h int len, len 110 third_party/libxml/src/include/libxml/xmlstring.h int *len); len 115 third_party/libxml/src/include/libxml/xmlstring.h int len); len 118 third_party/libxml/src/include/libxml/xmlstring.h int len); len 128 third_party/libxml/src/include/libxml/xmlstring.h int len); len 158 third_party/libxml/src/include/libxml/xmlwriter.h const xmlChar * content, int len); len 178 third_party/libxml/src/include/libxml/xmlwriter.h int start, int len); len 181 third_party/libxml/src/include/libxml/xmlwriter.h int start, int len); len 31 third_party/libxml/src/legacy.c xmlChar *htmlDecodeEntities(htmlParserCtxtPtr ctxt, int len, xmlChar end, len 51 third_party/libxml/src/legacy.c int len ATTRIBUTE_UNUSED, xmlChar end ATTRIBUTE_UNUSED, len 145 third_party/libxml/src/legacy.c xmlGetFeaturesList(int *len, const char **result) len 150 third_party/libxml/src/legacy.c if ((len == NULL) || (result == NULL)) len 152 third_party/libxml/src/legacy.c if ((*len < 0) || (*len >= 1000)) len 154 third_party/libxml/src/legacy.c if (*len > ret) len 155 third_party/libxml/src/legacy.c *len = ret; len 156 third_party/libxml/src/legacy.c for (i = 0; i < *len; i++) len 411 third_party/libxml/src/legacy.c int len ATTRIBUTE_UNUSED, int what ATTRIBUTE_UNUSED, len 1182 third_party/libxml/src/legacy.c characters(void *ctx, const xmlChar * ch, int len) len 1185 third_party/libxml/src/legacy.c xmlSAX2Characters(ctx, ch, len); len 1201 third_party/libxml/src/legacy.c int len ATTRIBUTE_UNUSED) len 1335 third_party/libxml/src/legacy.c cdataBlock(void *ctx, const xmlChar * value, int len) len 1338 third_party/libxml/src/legacy.c xmlSAX2CDataBlock(ctx, value, len); len 533 third_party/libxml/src/nanoftp.c xmlNanoFTPParseResponse(char *buf, int len) { len 536 third_party/libxml/src/nanoftp.c if (len < 3) return(-1); len 567 third_party/libxml/src/nanoftp.c int len; len 619 third_party/libxml/src/nanoftp.c if ((len = recv(ctxt->controlFd, &ctxt->controlBuf[ctxt->controlBufIndex], len 628 third_party/libxml/src/nanoftp.c "xmlNanoFTPGetMore : read %d [%d - %d]\n", len, len 629 third_party/libxml/src/nanoftp.c ctxt->controlBufUsed, ctxt->controlBufUsed + len); len 631 third_party/libxml/src/nanoftp.c ctxt->controlBufUsed += len; len 634 third_party/libxml/src/nanoftp.c return(len); len 648 third_party/libxml/src/nanoftp.c int len; len 658 third_party/libxml/src/nanoftp.c len = xmlNanoFTPGetMore(ctx); len 659 third_party/libxml/src/nanoftp.c if (len < 0) { len 662 third_party/libxml/src/nanoftp.c if ((ctxt->controlBufUsed == 0) && (len == 0)) { len 765 third_party/libxml/src/nanoftp.c int len; len 773 third_party/libxml/src/nanoftp.c len = strlen(buf); len 777 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 793 third_party/libxml/src/nanoftp.c int len; len 801 third_party/libxml/src/nanoftp.c len = strlen(buf); len 805 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 827 third_party/libxml/src/nanoftp.c int len, res; len 832 third_party/libxml/src/nanoftp.c len = strlen(buf); len 836 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1016 third_party/libxml/src/nanoftp.c int len; len 1025 third_party/libxml/src/nanoftp.c len = strlen(buf); len 1029 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1047 third_party/libxml/src/nanoftp.c len = strlen(buf); len 1051 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1088 third_party/libxml/src/nanoftp.c len = strlen(buf); len 1092 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1119 third_party/libxml/src/nanoftp.c len = strlen(buf); len 1123 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1141 third_party/libxml/src/nanoftp.c len = strlen(buf); len 1145 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1270 third_party/libxml/src/nanoftp.c int len; len 1285 third_party/libxml/src/nanoftp.c len = strlen(buf); len 1289 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1319 third_party/libxml/src/nanoftp.c int len; len 1336 third_party/libxml/src/nanoftp.c len = strlen(buf); len 1340 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1369 third_party/libxml/src/nanoftp.c int len, i; len 1408 third_party/libxml/src/nanoftp.c len = strlen (buf); len 1412 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1508 third_party/libxml/src/nanoftp.c len = strlen(buf); len 1513 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1722 third_party/libxml/src/nanoftp.c int len, res; len 1746 third_party/libxml/src/nanoftp.c len = strlen(buf); len 1750 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1792 third_party/libxml/src/nanoftp.c if ((len = recv(ctxt->dataFd, &buf[indx], sizeof(buf) - (indx + 1), 0)) < 0) { len 1799 third_party/libxml/src/nanoftp.c write(1, &buf[indx], len); len 1801 third_party/libxml/src/nanoftp.c indx += len; len 1811 third_party/libxml/src/nanoftp.c } while (len != 0); len 1831 third_party/libxml/src/nanoftp.c int res, len; len 1841 third_party/libxml/src/nanoftp.c len = strlen(buf); len 1845 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1861 third_party/libxml/src/nanoftp.c len = strlen(buf); len 1865 third_party/libxml/src/nanoftp.c res = send(ctxt->controlFd, buf, len, 0); len 1897 third_party/libxml/src/nanoftp.c int len = 0, res; len 1936 third_party/libxml/src/nanoftp.c if ((len = recv(ctxt->dataFd, buf, sizeof(buf), 0)) < 0) { len 1938 third_party/libxml/src/nanoftp.c callback(userData, buf, len); len 1942 third_party/libxml/src/nanoftp.c callback(userData, buf, len); len 1943 third_party/libxml/src/nanoftp.c } while (len != 0); len 1961 third_party/libxml/src/nanoftp.c xmlNanoFTPRead(void *ctx, void *dest, int len) { len 1967 third_party/libxml/src/nanoftp.c if (len <= 0) return(0); len 1969 third_party/libxml/src/nanoftp.c len = recv(ctxt->dataFd, dest, len, 0); len 1970 third_party/libxml/src/nanoftp.c if (len <= 0) { len 1971 third_party/libxml/src/nanoftp.c if (len < 0) len 1976 third_party/libxml/src/nanoftp.c xmlGenericError(xmlGenericErrorContext, "Recvd %d bytes\n", len); len 1978 third_party/libxml/src/nanoftp.c return(len); len 2056 third_party/libxml/src/nanoftp.c void ftpData(void *userData, const char *data, int len) { len 2058 third_party/libxml/src/nanoftp.c if (len <= 0) { len 2062 third_party/libxml/src/nanoftp.c fwrite(data, len, 1, (FILE*)userData); len 171 third_party/libxml/src/nanohttp.c static int xmlNanoHTTPFetchContent( void * ctx, char ** ptr, int * len ); len 544 third_party/libxml/src/nanohttp.c int len = ctxt->inptr - ctxt->inrptr; len 546 third_party/libxml/src/nanohttp.c memmove(ctxt->in, ctxt->inrptr, len); len 993 third_party/libxml/src/nanohttp.c XML_SOCKLEN_T len; len 995 third_party/libxml/src/nanohttp.c len = sizeof(status); len 997 third_party/libxml/src/nanohttp.c if (getsockopt(s, SOL_SOCKET, SO_ERROR, (char *) &status, &len) < len 1258 third_party/libxml/src/nanohttp.c xmlNanoHTTPRead(void *ctx, void *dest, int len) { len 1268 third_party/libxml/src/nanohttp.c if (len <= 0) return(0); len 1275 third_party/libxml/src/nanohttp.c ctxt->strm->avail_out = len; len 1291 third_party/libxml/src/nanohttp.c return(len - ctxt->strm->avail_out); len 1295 third_party/libxml/src/nanohttp.c while (ctxt->inptr - ctxt->inrptr < len) { len 1298 third_party/libxml/src/nanohttp.c if (ctxt->inptr - ctxt->inrptr < len) len 1299 third_party/libxml/src/nanohttp.c len = ctxt->inptr - ctxt->inrptr; len 1300 third_party/libxml/src/nanohttp.c memcpy(dest, ctxt->inrptr, len); len 1301 third_party/libxml/src/nanohttp.c ctxt->inrptr += len; len 1302 third_party/libxml/src/nanohttp.c return(len); len 1618 third_party/libxml/src/nanohttp.c int len; len 1638 third_party/libxml/src/nanohttp.c xmlNanoHTTPFetchContent( ctxt, &buf, &len ); len 1639 third_party/libxml/src/nanohttp.c if ( len > 0 ) { len 1640 third_party/libxml/src/nanohttp.c write(fd, buf, len); len 1663 third_party/libxml/src/nanohttp.c int len; len 1677 third_party/libxml/src/nanohttp.c xmlNanoHTTPFetchContent( ctxt, &buf, &len ); len 1678 third_party/libxml/src/nanohttp.c if ( len > 0 ) { len 1679 third_party/libxml/src/nanohttp.c write(fd, buf, len); len 1798 third_party/libxml/src/nanohttp.c xmlNanoHTTPFetchContent( void * ctx, char ** ptr, int * len ) { len 1809 third_party/libxml/src/nanohttp.c if ( len == NULL ) len 1810 third_party/libxml/src/nanohttp.c len = &dummy_int; len 1818 third_party/libxml/src/nanohttp.c *len = 0; len 1833 third_party/libxml/src/nanohttp.c *len = rcvd_lgth; len 1060 third_party/libxml/src/parser.c xmlAttrNormalizeSpace2(xmlParserCtxtPtr ctxt, xmlChar *src, int *len) len 1067 third_party/libxml/src/parser.c if ((ctxt == NULL) || (src == NULL) || (len == NULL)) len 1069 third_party/libxml/src/parser.c i = *len; len 1097 third_party/libxml/src/parser.c *len = (int) strlen((const char *)ret); len 1100 third_party/libxml/src/parser.c *len -= remove_head; len 1101 third_party/libxml/src/parser.c memmove(src, src + remove_head, 1 + *len); len 1122 third_party/libxml/src/parser.c int len; len 1144 third_party/libxml/src/parser.c name = xmlSplitQName3(fullname, &len); len 1150 third_party/libxml/src/parser.c prefix = xmlDictLookup(ctxt->dict, fullname, len); len 1189 third_party/libxml/src/parser.c name = xmlSplitQName3(fullattr, &len); len 1195 third_party/libxml/src/parser.c prefix = xmlDictLookup(ctxt->dict, fullattr, len); len 1201 third_party/libxml/src/parser.c len = xmlStrlen(value); len 1202 third_party/libxml/src/parser.c value = xmlDictLookup(ctxt->dict, value, len); len 1204 third_party/libxml/src/parser.c defaults->values[5 * defaults->nbAttrs + 3] = value + len; len 2502 third_party/libxml/src/parser.c xmlStringLenDecodeEntities(xmlParserCtxtPtr ctxt, const xmlChar *str, int len, len 2514 third_party/libxml/src/parser.c if ((ctxt == NULL) || (str == NULL) || (len < 0)) len 2516 third_party/libxml/src/parser.c last = str + len; len 2707 third_party/libxml/src/parser.c static int areBlanks(xmlParserCtxtPtr ctxt, const xmlChar *str, int len, len 2730 third_party/libxml/src/parser.c for (i = 0;i < len;i++) len 2792 third_party/libxml/src/parser.c int len = 0; len 2815 third_party/libxml/src/parser.c while ((c != 0) && (c != ':') && (len < max)) { /* tested bigname.xml */ len 2816 third_party/libxml/src/parser.c buf[len++] = c; len 2819 third_party/libxml/src/parser.c if (len >= max) { len 2824 third_party/libxml/src/parser.c max = len * 2; len 2831 third_party/libxml/src/parser.c memcpy(buffer, buf, len); len 2833 third_party/libxml/src/parser.c if (len + 10 > max) { len 2846 third_party/libxml/src/parser.c buffer[len++] = c; len 2849 third_party/libxml/src/parser.c buffer[len] = 0; len 2860 third_party/libxml/src/parser.c ret = xmlStrndup(buf, len); len 2874 third_party/libxml/src/parser.c len = 0; len 2894 third_party/libxml/src/parser.c while ((c != 0) && (len < max)) { /* tested bigname2.xml */ len 2895 third_party/libxml/src/parser.c buf[len++] = c; len 2898 third_party/libxml/src/parser.c if (len >= max) { len 2903 third_party/libxml/src/parser.c max = len * 2; len 2910 third_party/libxml/src/parser.c memcpy(buffer, buf, len); len 2912 third_party/libxml/src/parser.c if (len + 10 > max) { len 2925 third_party/libxml/src/parser.c buffer[len++] = c; len 2928 third_party/libxml/src/parser.c buffer[len] = 0; len 2932 third_party/libxml/src/parser.c ret = xmlStrndup(buf, len); len 3043 third_party/libxml/src/parser.c int *len, int *alloc, int normalize); len 3047 third_party/libxml/src/parser.c int len = 0, l; len 3085 third_party/libxml/src/parser.c len += l; len 3115 third_party/libxml/src/parser.c len += l; len 3125 third_party/libxml/src/parser.c len += l; len 3141 third_party/libxml/src/parser.c len += l; len 3147 third_party/libxml/src/parser.c return(xmlDictLookup(ctxt->dict, ctxt->input->cur - (len + 1), len)); len 3148 third_party/libxml/src/parser.c return(xmlDictLookup(ctxt->dict, ctxt->input->cur - len, len)); len 3210 third_party/libxml/src/parser.c int len = 0, l; len 3236 third_party/libxml/src/parser.c len += l; len 3240 third_party/libxml/src/parser.c return(xmlDictLookup(ctxt->dict, ctxt->input->cur - len, len)); len 3360 third_party/libxml/src/parser.c int len = 0, l; len 3372 third_party/libxml/src/parser.c COPY_BUF(l,buf,len,c); len 3376 third_party/libxml/src/parser.c COPY_BUF(l,buf,len,c); len 3379 third_party/libxml/src/parser.c if (len >= XML_MAX_NAMELEN) { /* test bigentname.xml */ len 3385 third_party/libxml/src/parser.c int max = len * 2; len 3392 third_party/libxml/src/parser.c memcpy(buffer, buf, len); len 3394 third_party/libxml/src/parser.c if (len + 10 > max) { len 3406 third_party/libxml/src/parser.c COPY_BUF(l,buffer,len,c); len 3410 third_party/libxml/src/parser.c buffer[len] = 0; len 3416 third_party/libxml/src/parser.c return(xmlStrndup(buf, len)); len 3435 third_party/libxml/src/parser.c int len = 0, l; len 3453 third_party/libxml/src/parser.c COPY_BUF(l,buf,len,c); len 3456 third_party/libxml/src/parser.c if (len >= XML_MAX_NAMELEN) { len 3462 third_party/libxml/src/parser.c int max = len * 2; len 3469 third_party/libxml/src/parser.c memcpy(buffer, buf, len); len 3479 third_party/libxml/src/parser.c if (len + 10 > max) { len 3492 third_party/libxml/src/parser.c COPY_BUF(l,buffer,len,c); len 3496 third_party/libxml/src/parser.c buffer[len] = 0; len 3500 third_party/libxml/src/parser.c if (len == 0) len 3502 third_party/libxml/src/parser.c return(xmlStrndup(buf, len)); len 3521 third_party/libxml/src/parser.c int len = 0; len 3565 third_party/libxml/src/parser.c if (len + 5 >= size) { len 3577 third_party/libxml/src/parser.c COPY_BUF(l,buf,len,c); len 3592 third_party/libxml/src/parser.c buf[len] = 0; len 3670 third_party/libxml/src/parser.c int len = 0; len 3711 third_party/libxml/src/parser.c if (len > buf_size - 10) { len 3714 third_party/libxml/src/parser.c buf[len++] = '&'; len 3720 third_party/libxml/src/parser.c if (len > buf_size - 10) { len 3723 third_party/libxml/src/parser.c buf[len++] = '&'; len 3724 third_party/libxml/src/parser.c buf[len++] = '#'; len 3725 third_party/libxml/src/parser.c buf[len++] = '3'; len 3726 third_party/libxml/src/parser.c buf[len++] = '8'; len 3727 third_party/libxml/src/parser.c buf[len++] = ';'; len 3730 third_party/libxml/src/parser.c if (len > buf_size - 10) { len 3733 third_party/libxml/src/parser.c len += xmlCopyChar(0, &buf[len], val); len 3742 third_party/libxml/src/parser.c if (len > buf_size - 10) { len 3747 third_party/libxml/src/parser.c buf[len++] = '&'; len 3748 third_party/libxml/src/parser.c buf[len++] = '#'; len 3749 third_party/libxml/src/parser.c buf[len++] = '3'; len 3750 third_party/libxml/src/parser.c buf[len++] = '8'; len 3751 third_party/libxml/src/parser.c buf[len++] = ';'; len 3753 third_party/libxml/src/parser.c buf[len++] = ent->content[0]; len 3766 third_party/libxml/src/parser.c buf[len++] = 0x20; len 3769 third_party/libxml/src/parser.c buf[len++] = *current++; len 3770 third_party/libxml/src/parser.c if (len > buf_size - 10) { len 3778 third_party/libxml/src/parser.c if (len > buf_size - 10) { len 3782 third_party/libxml/src/parser.c buf[len++] = ent->content[0]; len 3805 third_party/libxml/src/parser.c buf[len++] = '&'; len 3806 third_party/libxml/src/parser.c while (len > buf_size - i - 10) { len 3810 third_party/libxml/src/parser.c buf[len++] = *cur++; len 3811 third_party/libxml/src/parser.c buf[len++] = ';'; len 3816 third_party/libxml/src/parser.c if ((len != 0) || (!normalize)) { len 3818 third_party/libxml/src/parser.c COPY_BUF(l,buf,len,0x20); len 3819 third_party/libxml/src/parser.c while (len > buf_size - 10) { len 3827 third_party/libxml/src/parser.c COPY_BUF(l,buf,len,c); len 3828 third_party/libxml/src/parser.c if (len > buf_size - 10) { len 3841 third_party/libxml/src/parser.c while ((len > 0) && (buf[len - 1] == 0x20)) len--; len 3843 third_party/libxml/src/parser.c buf[len] = 0; len 3856 third_party/libxml/src/parser.c if (attlen != NULL) *attlen = len; len 3923 third_party/libxml/src/parser.c int len = 0; len 3950 third_party/libxml/src/parser.c if (len + 5 >= size) { len 3972 third_party/libxml/src/parser.c COPY_BUF(l,buf,len,cur); len 3981 third_party/libxml/src/parser.c buf[len] = 0; len 4005 third_party/libxml/src/parser.c int len = 0; len 4031 third_party/libxml/src/parser.c if (len + 1 >= size) { len 4043 third_party/libxml/src/parser.c buf[len++] = cur; len 4061 third_party/libxml/src/parser.c buf[len] = 0; len 4459 third_party/libxml/src/parser.c xmlParseCommentComplex(xmlParserCtxtPtr ctxt, xmlChar *buf, int len, int size) { len 4469 third_party/libxml/src/parser.c len = 0; len 4509 third_party/libxml/src/parser.c if (len + 5 >= size) { len 4520 third_party/libxml/src/parser.c COPY_BUF(ql,buf,len,q); len 4543 third_party/libxml/src/parser.c buf[len] = 0; len 4584 third_party/libxml/src/parser.c int len = 0; len 4648 third_party/libxml/src/parser.c len = 0; len 4649 third_party/libxml/src/parser.c } else if (len + nbchar + 1 >= size) { len 4651 third_party/libxml/src/parser.c size += len + nbchar + XML_PARSER_BUFFER_SIZE; len 4662 third_party/libxml/src/parser.c memcpy(&buf[len], ctxt->input->cur, nbchar); len 4663 third_party/libxml/src/parser.c len += nbchar; len 4664 third_party/libxml/src/parser.c buf[len] = 0; len 4725 third_party/libxml/src/parser.c xmlParseCommentComplex(ctxt, buf, len, size); len 4853 third_party/libxml/src/parser.c int len = 0; len 4909 third_party/libxml/src/parser.c if (len + 5 >= size) { len 4931 third_party/libxml/src/parser.c COPY_BUF(l,buf,len,cur); len 4940 third_party/libxml/src/parser.c buf[len] = 0; len 8547 third_party/libxml/src/parser.c xmlParseAttValueInternal(xmlParserCtxtPtr ctxt, int *len, int *alloc, len 8663 third_party/libxml/src/parser.c if (len != NULL) { len 8664 third_party/libxml/src/parser.c *len = last - start; len 8675 third_party/libxml/src/parser.c return xmlParseAttValueComplex(ctxt, len, normalize); len 8697 third_party/libxml/src/parser.c int *len, int *alloc) len 8731 third_party/libxml/src/parser.c val = xmlParseAttValueInternal(ctxt, len, alloc, normalize); len 8742 third_party/libxml/src/parser.c val2 = xmlAttrNormalizeSpace2(ctxt, val, len); len 8764 third_party/libxml/src/parser.c internal_val = xmlStrndup(val, *len); len 8776 third_party/libxml/src/parser.c internal_val = xmlStrndup(val, *len); len 8887 third_party/libxml/src/parser.c int len = -1, alloc = 0; len 8890 third_party/libxml/src/parser.c &aprefix, &attvalue, &len, &alloc); len 8898 third_party/libxml/src/parser.c if (len < 0) len = xmlStrlen(attvalue); len 8900 third_party/libxml/src/parser.c const xmlChar *URL = xmlDictLookup(ctxt->dict, attvalue, len); len 8925 third_party/libxml/src/parser.c if ((len == 29) && len 8950 third_party/libxml/src/parser.c const xmlChar *URL = xmlDictLookup(ctxt->dict, attvalue, len); len 8978 third_party/libxml/src/parser.c if ((len == 29) && len 9029 third_party/libxml/src/parser.c if (attvalue[len] == 0) len 9041 third_party/libxml/src/parser.c attvalue += len; len 9048 third_party/libxml/src/parser.c if ((attvalue != NULL) && (attvalue[len] == 0)) len 9348 third_party/libxml/src/parser.c int len = 0; len 9384 third_party/libxml/src/parser.c if (len + 5 >= size) { len 9396 third_party/libxml/src/parser.c COPY_BUF(rl,buf,len,r); len 9413 third_party/libxml/src/parser.c buf[len] = 0; len 9428 third_party/libxml/src/parser.c ctxt->sax->cdataBlock(ctxt->userData, buf, len); len 9430 third_party/libxml/src/parser.c ctxt->sax->characters(ctxt->userData, buf, len); len 9713 third_party/libxml/src/parser.c int len = 0; len 9727 third_party/libxml/src/parser.c buf[len++] = cur; len 9734 third_party/libxml/src/parser.c buf[len++] = cur; len 9738 third_party/libxml/src/parser.c if (len + 1 >= size) { len 9750 third_party/libxml/src/parser.c buf[len++] = cur; len 9754 third_party/libxml/src/parser.c buf[len] = 0; len 9818 third_party/libxml/src/parser.c int len = 0; len 9831 third_party/libxml/src/parser.c buf[len++] = cur; len 9839 third_party/libxml/src/parser.c if (len + 1 >= size) { len 9851 third_party/libxml/src/parser.c buf[len++] = cur; len 9860 third_party/libxml/src/parser.c buf[len] = 0; len 10508 third_party/libxml/src/parser.c int base, len; len 10520 third_party/libxml/src/parser.c len = in->length; len 10523 third_party/libxml/src/parser.c len = in->buf->buffer->use; len 10526 third_party/libxml/src/parser.c if (third) len -= 2; len 10527 third_party/libxml/src/parser.c else if (next) len --; len 10528 third_party/libxml/src/parser.c for (;base < len;base++) { len 10637 third_party/libxml/src/parser.c xmlCheckCdataPush(const xmlChar *utf, int len) { len 10642 third_party/libxml/src/parser.c if ((utf == NULL) || (len <= 0)) len 10645 third_party/libxml/src/parser.c for (ix = 0; ix < len;) { /* string is 0-terminated */ len 10655 third_party/libxml/src/parser.c if (ix + 2 > len) return(ix); len 10664 third_party/libxml/src/parser.c if (ix + 3 > len) return(ix); len 10675 third_party/libxml/src/parser.c if (ix + 4 > len) return(ix); len 11707 third_party/libxml/src/parser.c unsigned int len = 45; len 11713 third_party/libxml/src/parser.c len = 90; len 11718 third_party/libxml/src/parser.c len = 180; len 11720 third_party/libxml/src/parser.c if (ctxt->input->buf->rawconsumed < len) len 11721 third_party/libxml/src/parser.c len -= ctxt->input->buf->rawconsumed; len 11728 third_party/libxml/src/parser.c if (size > len) { len 11729 third_party/libxml/src/parser.c remain = size - len; len 11730 third_party/libxml/src/parser.c size = len; len 14027 third_party/libxml/src/parser.c int len; len 14031 third_party/libxml/src/parser.c len = xmlStrlen(cur); len 14032 third_party/libxml/src/parser.c return(xmlCreateMemoryParserCtxt((const char *)cur, len)); len 279 third_party/libxml/src/parserInternals.c xmlParserInputRead(xmlParserInputPtr in, int len) { len 302 third_party/libxml/src/parserInternals.c ret = xmlParserInputBufferRead(in->buf, len); len 330 third_party/libxml/src/parserInternals.c xmlParserInputGrow(xmlParserInputPtr in, int len) { len 353 third_party/libxml/src/parserInternals.c ret = xmlParserInputBufferGrow(in->buf, len); len 620 third_party/libxml/src/parserInternals.c xmlCurrentChar(xmlParserCtxtPtr ctxt, int *len) { len 621 third_party/libxml/src/parserInternals.c if ((ctxt == NULL) || (len == NULL) || (ctxt->input == NULL)) return(0); len 626 third_party/libxml/src/parserInternals.c *len = 1; len 671 third_party/libxml/src/parserInternals.c *len = 4; len 680 third_party/libxml/src/parserInternals.c *len = 3; len 689 third_party/libxml/src/parserInternals.c *len = 2; len 702 third_party/libxml/src/parserInternals.c *len = 1; len 725 third_party/libxml/src/parserInternals.c *len = 1; len 741 third_party/libxml/src/parserInternals.c *len = 0; len 763 third_party/libxml/src/parserInternals.c *len = 1; len 780 third_party/libxml/src/parserInternals.c xmlStringCurrentChar(xmlParserCtxtPtr ctxt, const xmlChar * cur, int *len) len 782 third_party/libxml/src/parserInternals.c if ((len == NULL) || (cur == NULL)) return(0); len 810 third_party/libxml/src/parserInternals.c *len = 4; len 817 third_party/libxml/src/parserInternals.c *len = 3; len 824 third_party/libxml/src/parserInternals.c *len = 2; len 835 third_party/libxml/src/parserInternals.c *len = 1; len 844 third_party/libxml/src/parserInternals.c *len = 1; len 855 third_party/libxml/src/parserInternals.c *len = 0; len 875 third_party/libxml/src/parserInternals.c *len = 1; len 932 third_party/libxml/src/parserInternals.c xmlCopyChar(int len ATTRIBUTE_UNUSED, xmlChar *out, int val) { len 951 third_party/libxml/src/parserInternals.c xmlBufferPtr in, int len); len 955 third_party/libxml/src/parserInternals.c xmlCharEncodingHandlerPtr handler, int len); len 958 third_party/libxml/src/parserInternals.c xmlCharEncodingHandlerPtr handler, int len); len 973 third_party/libxml/src/parserInternals.c int len = -1; len 1017 third_party/libxml/src/parserInternals.c len = 90; len 1020 third_party/libxml/src/parserInternals.c len = 90; len 1026 third_party/libxml/src/parserInternals.c len = 180; len 1042 third_party/libxml/src/parserInternals.c len = 45; len 1134 third_party/libxml/src/parserInternals.c return(xmlSwitchToEncodingInt(ctxt, handler, len)); len 1151 third_party/libxml/src/parserInternals.c xmlCharEncodingHandlerPtr handler, int len) len 1251 third_party/libxml/src/parserInternals.c len); len 1308 third_party/libxml/src/parserInternals.c xmlCharEncodingHandlerPtr handler, int len) { len 1313 third_party/libxml/src/parserInternals.c ret = xmlSwitchInputEncodingInt(ctxt, ctxt->input, handler, len); len 753 third_party/libxml/src/pattern.c int val, len; len 759 third_party/libxml/src/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 761 third_party/libxml/src/pattern.c cur += len; len 762 third_party/libxml/src/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 773 third_party/libxml/src/pattern.c cur += len; len 778 third_party/libxml/src/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 780 third_party/libxml/src/pattern.c cur += len; len 781 third_party/libxml/src/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 792 third_party/libxml/src/pattern.c cur += len; len 821 third_party/libxml/src/pattern.c int val, len; len 826 third_party/libxml/src/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 835 third_party/libxml/src/pattern.c cur += len; len 836 third_party/libxml/src/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 859 third_party/libxml/src/pattern.c int val, len; len 864 third_party/libxml/src/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 873 third_party/libxml/src/pattern.c cur += len; len 874 third_party/libxml/src/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 3988 third_party/libxml/src/relaxng.c int len = 0; len 4012 third_party/libxml/src/relaxng.c } else if (max <= len) { len 4025 third_party/libxml/src/relaxng.c ret[len++] = cur; len 4026 third_party/libxml/src/relaxng.c ret[len] = NULL; len 8357 third_party/libxml/src/relaxng.c const xmlChar * data, int len ATTRIBUTE_UNUSED) len 8365 third_party/libxml/src/relaxng.c xmlGenericError(xmlGenericErrorContext, "CDATA %s %d\n", data, len); len 8535 third_party/libxml/src/relaxng.c int len; len 8542 third_party/libxml/src/relaxng.c len = tmp - str; len 8544 third_party/libxml/src/relaxng.c ret = (xmlChar *) xmlMallocAtomic((len + 1) * sizeof(xmlChar)); len 10466 third_party/libxml/src/relaxng.c int len; len 10500 third_party/libxml/src/relaxng.c len = xmlStrlen(content); len 10504 third_party/libxml/src/relaxng.c ctxt->state->endvalue = content + len; len 129 third_party/libxml/src/runtest.c int len; len 134 third_party/libxml/src/runtest.c for (len = strlen(directory);len >= 0;len--) { len 135 third_party/libxml/src/runtest.c if (directory[len] == '/') { len 136 third_party/libxml/src/runtest.c len++; len 137 third_party/libxml/src/runtest.c directory[len] = 0; len 141 third_party/libxml/src/runtest.c if (len <= 0) len 142 third_party/libxml/src/runtest.c len = 0; len 157 third_party/libxml/src/runtest.c strncpy(directory + len, FindFileData.cFileName, 499 - len); len 172 third_party/libxml/src/runtest.c strncpy(directory + len, FindFileData.cFileName, 499 - len); len 493 third_party/libxml/src/runtest.c int len; len 494 third_party/libxml/src/runtest.c len = xmlStrlen((const xmlChar *)str); len 495 third_party/libxml/src/runtest.c if ((len > 0) && (str[len - 1] != '\n')) len 1178 third_party/libxml/src/runtest.c charactersDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch, int len) len 1186 third_party/libxml/src/runtest.c for (i = 0;(i<len) && (i < 30);i++) len 1190 third_party/libxml/src/runtest.c fprintf(SAXdebug, "SAX.characters(%s, %d)\n", output, len); len 1220 third_party/libxml/src/runtest.c ignorableWhitespaceDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch, int len) len 1228 third_party/libxml/src/runtest.c for (i = 0;(i<len) && (i < 30);i++) len 1231 third_party/libxml/src/runtest.c fprintf(SAXdebug, "SAX.ignorableWhitespace(%s, %d)\n", output, len); len 1267 third_party/libxml/src/runtest.c cdataBlockDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value, int len) len 1273 third_party/libxml/src/runtest.c (char *) value, len); len 1568 third_party/libxml/src/runtest.c htmlcharactersDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch, int len) len 1571 third_party/libxml/src/runtest.c int inlen = len, outlen = 30; len 1576 third_party/libxml/src/runtest.c fprintf(SAXdebug, "SAX.characters(%s, %d)\n", output, len); len 1589 third_party/libxml/src/runtest.c htmlcdataDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch, int len) len 1592 third_party/libxml/src/runtest.c int inlen = len, outlen = 30; len 1597 third_party/libxml/src/runtest.c fprintf(SAXdebug, "SAX.cdata(%s, %d)\n", output, len); len 2324 third_party/libxml/src/runtest.c int len, ret = 0; len 2347 third_party/libxml/src/runtest.c len = strlen(expression); len 2348 third_party/libxml/src/runtest.c len--; len 2349 third_party/libxml/src/runtest.c while ((len >= 0) && len 2350 third_party/libxml/src/runtest.c ((expression[len] == '\n') || (expression[len] == '\t') || len 2351 third_party/libxml/src/runtest.c (expression[len] == '\r') || (expression[len] == ' '))) len--; len 2352 third_party/libxml/src/runtest.c expression[len + 1] = 0; len 2353 third_party/libxml/src/runtest.c if (len >= 0) { len 2824 third_party/libxml/src/runtest.c uripRead(void * context, char * buffer, int len) { len 2827 third_party/libxml/src/runtest.c if ((context == NULL) || (buffer == NULL) || (len < 0)) len 2830 third_party/libxml/src/runtest.c if (len > urip_rlen) len = urip_rlen; len 2831 third_party/libxml/src/runtest.c memcpy(buffer, ptr, len); len 2832 third_party/libxml/src/runtest.c urip_rlen -= len; len 2833 third_party/libxml/src/runtest.c return(len); len 2991 third_party/libxml/src/runtest.c int res = 0, len, ret; len 3012 third_party/libxml/src/runtest.c len = strlen(base); len 3013 third_party/libxml/src/runtest.c if ((len > 499) || (len < 5)) { len 3017 third_party/libxml/src/runtest.c len -= 4; /* remove trailing .xsd */ len 3018 third_party/libxml/src/runtest.c if (base[len - 2] == '_') { len 3019 third_party/libxml/src/runtest.c len -= 2; /* remove subtest number */ len 3021 third_party/libxml/src/runtest.c if (base[len - 2] == '_') { len 3022 third_party/libxml/src/runtest.c len -= 2; /* remove subtest number */ len 3024 third_party/libxml/src/runtest.c memcpy(prefix, base, len); len 3025 third_party/libxml/src/runtest.c prefix[len] = 0; len 3030 third_party/libxml/src/runtest.c if (base[len] == '_') { len 3031 third_party/libxml/src/runtest.c len += 2; len 3032 third_party/libxml/src/runtest.c memcpy(prefix, base, len); len 3033 third_party/libxml/src/runtest.c prefix[len] = 0; len 3043 third_party/libxml/src/runtest.c len = strlen(base2); len 3044 third_party/libxml/src/runtest.c if ((len > 6) && (base2[len - 6] == '_')) { len 3045 third_party/libxml/src/runtest.c count = base2[len - 5]; len 3168 third_party/libxml/src/runtest.c int res = 0, len, ret = 0; len 3189 third_party/libxml/src/runtest.c len = strlen(base); len 3190 third_party/libxml/src/runtest.c if ((len > 499) || (len < 5)) { len 3194 third_party/libxml/src/runtest.c len -= 4; /* remove trailing .rng */ len 3195 third_party/libxml/src/runtest.c memcpy(prefix, base, len); len 3196 third_party/libxml/src/runtest.c prefix[len] = 0; len 3208 third_party/libxml/src/runtest.c len = strlen(base2); len 3209 third_party/libxml/src/runtest.c if ((len > 6) && (base2[len - 6] == '_')) { len 3210 third_party/libxml/src/runtest.c count = base2[len - 5]; len 3255 third_party/libxml/src/runtest.c int res = 0, len, ret; len 3269 third_party/libxml/src/runtest.c len = strlen(base); len 3270 third_party/libxml/src/runtest.c if ((len > 499) || (len < 5)) { len 3271 third_party/libxml/src/runtest.c fprintf(stderr, "len(base) == %d !\n", len); len 3274 third_party/libxml/src/runtest.c len -= 4; /* remove trailing .rng */ len 3275 third_party/libxml/src/runtest.c memcpy(prefix, base, len); len 3276 third_party/libxml/src/runtest.c prefix[len] = 0; len 3297 third_party/libxml/src/runtest.c len = strlen(base2); len 3298 third_party/libxml/src/runtest.c if ((len > 6) && (base2[len - 6] == '_')) { len 3299 third_party/libxml/src/runtest.c count = base2[len - 5]; len 3418 third_party/libxml/src/runtest.c int len, i; len 3424 third_party/libxml/src/runtest.c len = strlen(filename); len 3425 third_party/libxml/src/runtest.c len -= 4; len 3426 third_party/libxml/src/runtest.c memcpy(xml, filename, len); len 3427 third_party/libxml/src/runtest.c xml[len] = 0; len 3430 third_party/libxml/src/runtest.c memcpy(xml + len, ".xml", 5); len 3661 third_party/libxml/src/runtest.c int len; len 3667 third_party/libxml/src/runtest.c len = xmlStrlen(str); len 3668 third_party/libxml/src/runtest.c if((str[0] == '\'') && (str[len - 1] == '\'')) { len 3669 third_party/libxml/src/runtest.c str[len - 1] = '\0'; len 3794 third_party/libxml/src/runtest.c int len; len 3801 third_party/libxml/src/runtest.c len = strlen(base); len 3802 third_party/libxml/src/runtest.c len -= 4; len 3803 third_party/libxml/src/runtest.c memcpy(prefix, base, len); len 3804 third_party/libxml/src/runtest.c prefix[len] = 0; len 1333 third_party/libxml/src/schematron.c int len = xmlStrlen(ret); len 1336 third_party/libxml/src/schematron.c if (len > 0) { len 1337 third_party/libxml/src/schematron.c c = ret[len - 1]; len 1341 third_party/libxml/src/schematron.c len--; len 1342 third_party/libxml/src/schematron.c if (len == 0) len 1344 third_party/libxml/src/schematron.c c = ret[len - 1]; len 1346 third_party/libxml/src/schematron.c ret[len] = ' '; len 1347 third_party/libxml/src/schematron.c ret[len + 1] = 0; len 33 third_party/libxml/src/testAutomata.c int len; len 71 third_party/libxml/src/testAutomata.c len = strlen(expr); len 72 third_party/libxml/src/testAutomata.c len--; len 73 third_party/libxml/src/testAutomata.c while ((len >= 0) && len 74 third_party/libxml/src/testAutomata.c ((expr[len] == '\n') || (expr[len] == '\t') || len 75 third_party/libxml/src/testAutomata.c (expr[len] == '\r') || (expr[len] == ' '))) len--; len 76 third_party/libxml/src/testAutomata.c expr[len + 1] = 0; len 77 third_party/libxml/src/testAutomata.c if (len >= 0) { len 195 third_party/libxml/src/testC14N.c int len; len 201 third_party/libxml/src/testC14N.c len = xmlStrlen(str); len 202 third_party/libxml/src/testC14N.c if((str[0] == '\'') && (str[len - 1] == '\'')) { len 203 third_party/libxml/src/testC14N.c str[len - 1] = '\0'; len 419 third_party/libxml/src/testHTML.c charactersDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch, int len) len 422 third_party/libxml/src/testHTML.c int inlen = len, outlen = 30; len 427 third_party/libxml/src/testHTML.c fprintf(stdout, "SAX.characters(%s, %d)\n", output, len); len 440 third_party/libxml/src/testHTML.c cdataDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch, int len) len 443 third_party/libxml/src/testHTML.c int inlen = len, outlen = 30; len 448 third_party/libxml/src/testHTML.c fprintf(stdout, "SAX.cdata(%s, %d)\n", output, len); len 475 third_party/libxml/src/testHTML.c ignorableWhitespaceDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch, int len) len 480 third_party/libxml/src/testHTML.c for (i = 0;(i<len) && (i < 30);i++) len 484 third_party/libxml/src/testHTML.c fprintf(stdout, "SAX.ignorableWhitespace(%s, %d)\n", output, len); len 41 third_party/libxml/src/testRegexp.c int len; len 50 third_party/libxml/src/testRegexp.c len = strlen(expression); len 51 third_party/libxml/src/testRegexp.c len--; len 52 third_party/libxml/src/testRegexp.c while ((len >= 0) && len 53 third_party/libxml/src/testRegexp.c ((expression[len] == '\n') || (expression[len] == '\t') || len 54 third_party/libxml/src/testRegexp.c (expression[len] == '\r') || (expression[len] == ' '))) len--; len 55 third_party/libxml/src/testRegexp.c expression[len + 1] = 0; len 56 third_party/libxml/src/testRegexp.c if (len >= 0) { len 95 third_party/libxml/src/testRegexp.c int len; len 104 third_party/libxml/src/testRegexp.c len = strlen(expression); len 105 third_party/libxml/src/testRegexp.c len--; len 106 third_party/libxml/src/testRegexp.c while ((len >= 0) && len 107 third_party/libxml/src/testRegexp.c ((expression[len] == '\n') || (expression[len] == '\t') || len 108 third_party/libxml/src/testRegexp.c (expression[len] == '\r') || (expression[len] == ' '))) len--; len 109 third_party/libxml/src/testRegexp.c expression[len + 1] = 0; len 110 third_party/libxml/src/testRegexp.c if (len >= 0) { len 653 third_party/libxml/src/testSAX.c charactersDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch, int len) len 661 third_party/libxml/src/testSAX.c for (i = 0;(i<len) && (i < 30);i++) len 665 third_party/libxml/src/testSAX.c fprintf(stdout, "SAX.characters(%s, %d)\n", output, len); len 695 third_party/libxml/src/testSAX.c ignorableWhitespaceDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch, int len) len 703 third_party/libxml/src/testSAX.c for (i = 0;(i<len) && (i < 30);i++) len 706 third_party/libxml/src/testSAX.c fprintf(stdout, "SAX.ignorableWhitespace(%s, %d)\n", output, len); len 742 third_party/libxml/src/testSAX.c cdataBlockDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value, int len) len 748 third_party/libxml/src/testSAX.c (char *) value, len); len 119 third_party/libxml/src/testXPath.c int len; len 128 third_party/libxml/src/testXPath.c len = strlen(expression); len 129 third_party/libxml/src/testXPath.c len--; len 130 third_party/libxml/src/testXPath.c while ((len >= 0) && len 131 third_party/libxml/src/testXPath.c ((expression[len] == '\n') || (expression[len] == '\t') || len 132 third_party/libxml/src/testXPath.c (expression[len] == '\r') || (expression[len] == ' '))) len--; len 133 third_party/libxml/src/testXPath.c expression[len + 1] = 0; len 134 third_party/libxml/src/testXPath.c if (len >= 0) { len 3867 third_party/libxml/src/testapi.c int len; /* the block length */ len 3876 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 3878 third_party/libxml/src/testapi.c xmlSAX2CDataBlock(ctx, (const xmlChar *)value, len); len 3882 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 3911 third_party/libxml/src/testapi.c int len; /* the number of xmlChar */ len 3920 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 3922 third_party/libxml/src/testapi.c xmlSAX2Characters(ctx, (const xmlChar *)ch, len); len 3926 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 4551 third_party/libxml/src/testapi.c int len; /* the number of xmlChar */ len 4560 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 4562 third_party/libxml/src/testapi.c xmlSAX2IgnorableWhitespace(ctx, (const xmlChar *)ch, len); len 4566 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 8218 third_party/libxml/src/testapi.c int len; /* the length of the name, if -1 it is recomputed */ len 8227 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 8229 third_party/libxml/src/testapi.c ret_val = xmlDictExists(dict, (const xmlChar *)name, len); len 8234 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 8264 third_party/libxml/src/testapi.c int len; /* the length of the name, if -1 it is recomputed */ len 8273 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 8275 third_party/libxml/src/testapi.c ret_val = xmlDictLookup(dict, (const xmlChar *)name, len); len 8280 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 8863 third_party/libxml/src/testapi.c int len; /* pointer to the length of the buffer */ len 8870 third_party/libxml/src/testapi.c len = gen_int(n_len, 1); len 8872 third_party/libxml/src/testapi.c ret_val = xmlDetectCharEncoding((const unsigned char *)in, len); len 8876 third_party/libxml/src/testapi.c des_int(n_len, len, 1); len 11942 third_party/libxml/src/testapi.c int len; /* the buffer length */ len 11951 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 11953 third_party/libxml/src/testapi.c ret_val = xmlNanoFTPRead(ctx, dest, len); len 11958 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 12412 third_party/libxml/src/testapi.c int len; /* the buffer length */ len 12421 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 12423 third_party/libxml/src/testapi.c ret_val = xmlNanoHTTPRead(ctx, dest, len); len 12428 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 13151 third_party/libxml/src/testapi.c int * len; /* the length of the features name array (input/output) */ len 13159 third_party/libxml/src/testapi.c len = gen_int_ptr(n_len, 0); len 13162 third_party/libxml/src/testapi.c ret_val = xmlGetFeaturesList(len, (const char **)result); len 13165 third_party/libxml/src/testapi.c des_int_ptr(n_len, len, 0); len 14356 third_party/libxml/src/testapi.c int len; /* an indicative size for the lookahead */ len 14363 third_party/libxml/src/testapi.c len = gen_int(n_len, 1); len 14365 third_party/libxml/src/testapi.c ret_val = xmlParserInputGrow(in, len); len 14369 third_party/libxml/src/testapi.c des_int(n_len, len, 1); len 14395 third_party/libxml/src/testapi.c int len; /* an indicative size for the lookahead */ len 14402 third_party/libxml/src/testapi.c len = gen_int(n_len, 1); len 14404 third_party/libxml/src/testapi.c ret_val = xmlParserInputRead(in, len); len 14408 third_party/libxml/src/testapi.c des_int(n_len, len, 1); len 15782 third_party/libxml/src/testapi.c int len; /* Ignored, compatibility */ len 15793 third_party/libxml/src/testapi.c len = gen_int(n_len, 0); len 15797 third_party/libxml/src/testapi.c ret_val = xmlCopyChar(len, out, val); len 15800 third_party/libxml/src/testapi.c des_int(n_len, len, 0); len 16025 third_party/libxml/src/testapi.c int * len; /* pointer to the length of the char read */ len 16032 third_party/libxml/src/testapi.c len = gen_int_ptr(n_len, 1); len 16034 third_party/libxml/src/testapi.c ret_val = xmlCurrentChar(ctxt, len); len 16038 third_party/libxml/src/testapi.c des_int_ptr(n_len, len, 1); len 16471 third_party/libxml/src/testapi.c int * len; /* pointer to the length of the char read */ len 16480 third_party/libxml/src/testapi.c len = gen_int_ptr(n_len, 2); len 16482 third_party/libxml/src/testapi.c ret_val = xmlStringCurrentChar(ctxt, (const xmlChar *)cur, len); len 16487 third_party/libxml/src/testapi.c des_int_ptr(n_len, len, 2); len 16584 third_party/libxml/src/testapi.c int len; /* the string length */ len 16605 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 16611 third_party/libxml/src/testapi.c ret_val = xmlStringLenDecodeEntities(ctxt, (const xmlChar *)str, len, what, end, end2, end3); len 16616 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 17846 third_party/libxml/src/testapi.c int len; /* the lenght of the data */ len 17855 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 17857 third_party/libxml/src/testapi.c ret_val = xmlRelaxNGValidatePushCData(ctxt, (const xmlChar *)data, len); len 17862 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 18427 third_party/libxml/src/testapi.c int len; /* the number of #xmlChar to add */ len 18436 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 18438 third_party/libxml/src/testapi.c ret_val = xmlBufferAdd(buf, (const xmlChar *)str, len); len 18443 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 18473 third_party/libxml/src/testapi.c int len; /* the number of #xmlChar to add */ len 18482 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 18484 third_party/libxml/src/testapi.c ret_val = xmlBufferAddHead(buf, (const xmlChar *)str, len); len 18489 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 18709 third_party/libxml/src/testapi.c unsigned int len; /* the minimum free size to allocate */ len 18716 third_party/libxml/src/testapi.c len = gen_unsigned_int(n_len, 1); len 18718 third_party/libxml/src/testapi.c ret_val = xmlBufferGrow(buf, len); len 18722 third_party/libxml/src/testapi.c des_unsigned_int(n_len, len, 1); len 18857 third_party/libxml/src/testapi.c unsigned int len; /* the number of xmlChar to remove */ len 18864 third_party/libxml/src/testapi.c len = gen_unsigned_int(n_len, 1); len 18866 third_party/libxml/src/testapi.c ret_val = xmlBufferShrink(buf, len); len 18870 third_party/libxml/src/testapi.c des_unsigned_int(n_len, len, 1); len 19011 third_party/libxml/src/testapi.c int len; /* preallocated memory length */ len 19022 third_party/libxml/src/testapi.c len = gen_int(n_len, 3); len 19024 third_party/libxml/src/testapi.c ret_val = xmlBuildQName((const xmlChar *)ncname, (const xmlChar *)prefix, memory, len); len 19034 third_party/libxml/src/testapi.c des_int(n_len, len, 3); len 20784 third_party/libxml/src/testapi.c int len; /* the length of the block */ len 20793 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 20795 third_party/libxml/src/testapi.c ret_val = xmlNewCDataBlock(doc, (const xmlChar *)content, len); len 20800 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 21357 third_party/libxml/src/testapi.c int len; /* the text len. */ len 21366 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 21368 third_party/libxml/src/testapi.c ret_val = xmlNewDocTextLen(doc, (const xmlChar *)content, len); len 21373 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 21902 third_party/libxml/src/testapi.c int len; /* the text len. */ len 21909 third_party/libxml/src/testapi.c len = gen_int(n_len, 1); len 21911 third_party/libxml/src/testapi.c ret_val = xmlNewTextLen((const xmlChar *)content, len); len 21915 third_party/libxml/src/testapi.c des_int(n_len, len, 1); len 22013 third_party/libxml/src/testapi.c int len; /* the size of @content */ len 22022 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 22024 third_party/libxml/src/testapi.c xmlNodeAddContentLen(cur, (const xmlChar *)content, len); len 22028 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 22563 third_party/libxml/src/testapi.c int len; /* the size of @content */ len 22572 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 22574 third_party/libxml/src/testapi.c xmlNodeSetContentLen(cur, (const xmlChar *)content, len); len 22578 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 23547 third_party/libxml/src/testapi.c int * len; /* an int * */ len 23554 third_party/libxml/src/testapi.c len = gen_int_ptr(n_len, 1); len 23556 third_party/libxml/src/testapi.c ret_val = xmlSplitQName3((const xmlChar *)name, len); len 23560 third_party/libxml/src/testapi.c des_int_ptr(n_len, len, 1); len 23627 third_party/libxml/src/testapi.c int len; /* the length of the string value */ len 23636 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 23638 third_party/libxml/src/testapi.c ret_val = xmlStringLenGetNodeList(doc, (const xmlChar *)value, len); len 23643 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 23673 third_party/libxml/src/testapi.c int len; /* @content length */ len 23682 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 23684 third_party/libxml/src/testapi.c ret_val = xmlTextConcat(node, (const xmlChar *)content, len); len 23689 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 25932 third_party/libxml/src/testapi.c int * len; /* a pointer to the number of element in the list */ len 25944 third_party/libxml/src/testapi.c len = gen_int_ptr(n_len, 2); len 25947 third_party/libxml/src/testapi.c ret_val = xmlValidGetPotentialChildren(ctree, (const xmlChar **)names, len, max); len 25952 third_party/libxml/src/testapi.c des_int_ptr(n_len, len, 2); len 26922 third_party/libxml/src/testapi.c int len; /* the lenght of the data */ len 26931 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 26933 third_party/libxml/src/testapi.c ret_val = xmlValidatePushCData(ctxt, (const xmlChar *)data, len); len 26938 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 27784 third_party/libxml/src/testapi.c int len; /* number of bytes to write */ len 27793 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 27795 third_party/libxml/src/testapi.c ret_val = xmlFileRead(context, buffer, len); len 27800 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 27933 third_party/libxml/src/testapi.c int len; /* number of bytes to write */ len 27942 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 27944 third_party/libxml/src/testapi.c ret_val = xmlIOFTPRead(context, buffer, len); len 27949 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 28083 third_party/libxml/src/testapi.c int len; /* number of bytes to write */ len 28092 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 28094 third_party/libxml/src/testapi.c ret_val = xmlIOHTTPRead(context, buffer, len); len 28099 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 28412 third_party/libxml/src/testapi.c int len; /* the size in bytes of the array. */ len 28422 third_party/libxml/src/testapi.c len = gen_int(n_len, 1); len 28425 third_party/libxml/src/testapi.c ret_val = xmlOutputBufferWrite(out, len, (const char *)buf); len 28429 third_party/libxml/src/testapi.c des_int(n_len, len, 1); len 28730 third_party/libxml/src/testapi.c int len; /* indicative value of the amount of chars to read */ len 28737 third_party/libxml/src/testapi.c len = gen_int(n_len, 1); len 28739 third_party/libxml/src/testapi.c ret_val = xmlParserInputBufferGrow(in, len); len 28743 third_party/libxml/src/testapi.c des_int(n_len, len, 1); len 28769 third_party/libxml/src/testapi.c int len; /* the size in bytes of the array. */ len 28779 third_party/libxml/src/testapi.c len = gen_int(n_len, 1); len 28782 third_party/libxml/src/testapi.c ret_val = xmlParserInputBufferPush(in, len, (const char *)buf); len 28786 third_party/libxml/src/testapi.c des_int(n_len, len, 1); len 28815 third_party/libxml/src/testapi.c int len; /* indicative value of the amount of chars to read */ len 28822 third_party/libxml/src/testapi.c len = gen_int(n_len, 1); len 28824 third_party/libxml/src/testapi.c ret_val = xmlParserInputBufferRead(in, len); len 28828 third_party/libxml/src/testapi.c des_int(n_len, len, 1); len 32900 third_party/libxml/src/testapi.c int len; /* the allocated lenght of @list */ len 32911 third_party/libxml/src/testapi.c len = gen_int(n_len, 3); len 32913 third_party/libxml/src/testapi.c ret_val = xmlExpGetLanguage(ctxt, exp, (const xmlChar **)langList, len); len 32919 third_party/libxml/src/testapi.c des_int(n_len, len, 3); len 32955 third_party/libxml/src/testapi.c int len; /* the allocated lenght of @list */ len 32966 third_party/libxml/src/testapi.c len = gen_int(n_len, 3); len 32968 third_party/libxml/src/testapi.c ret_val = xmlExpGetStart(ctxt, exp, (const xmlChar **)tokList, len); len 32974 third_party/libxml/src/testapi.c des_int(n_len, len, 3); len 35957 third_party/libxml/src/testapi.c int len; /* the len of @cur */ len 35964 third_party/libxml/src/testapi.c len = gen_int(n_len, 1); len 35966 third_party/libxml/src/testapi.c ret_val = xmlCharStrndup((const char *)cur, len); len 35970 third_party/libxml/src/testapi.c des_int(n_len, len, 1); len 36028 third_party/libxml/src/testapi.c int * len; /* a pointer to the minimum number of bytes present in the sequence. This is used to assure the next character is completely contained within the sequence. */ len 36035 third_party/libxml/src/testapi.c len = gen_int_ptr(n_len, 1); len 36037 third_party/libxml/src/testapi.c ret_val = xmlGetUTF8Char((const unsigned char *)utf, len); len 36041 third_party/libxml/src/testapi.c des_int_ptr(n_len, len, 1); len 36394 third_party/libxml/src/testapi.c int len; /* the max comparison length */ len 36403 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 36405 third_party/libxml/src/testapi.c ret_val = xmlStrncasecmp((const xmlChar *)str1, (const xmlChar *)str2, len); len 36410 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 36440 third_party/libxml/src/testapi.c int len; /* the len of @str2 or < 0 */ len 36449 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 36451 third_party/libxml/src/testapi.c ret_val = xmlStrncatNew((const xmlChar *)str1, (const xmlChar *)str2, len); len 36456 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 36486 third_party/libxml/src/testapi.c int len; /* the max comparison length */ len 36495 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 36497 third_party/libxml/src/testapi.c ret_val = xmlStrncmp((const xmlChar *)str1, (const xmlChar *)str2, len); len 36502 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 36530 third_party/libxml/src/testapi.c int len; /* the len of @cur */ len 36537 third_party/libxml/src/testapi.c len = gen_int(n_len, 1); len 36539 third_party/libxml/src/testapi.c ret_val = xmlStrndup((const xmlChar *)cur, len); len 36543 third_party/libxml/src/testapi.c des_int(n_len, len, 1); len 36610 third_party/libxml/src/testapi.c int len; /* the length of the substring */ len 36619 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 36621 third_party/libxml/src/testapi.c ret_val = xmlStrsub((const xmlChar *)str, start, len); len 36626 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 36796 third_party/libxml/src/testapi.c int len; /* the len of @utf (in chars) */ len 36803 third_party/libxml/src/testapi.c len = gen_int(n_len, 1); len 36805 third_party/libxml/src/testapi.c ret_val = xmlUTF8Strndup((const xmlChar *)utf, len); len 36809 third_party/libxml/src/testapi.c des_int(n_len, len, 1); len 36874 third_party/libxml/src/testapi.c int len; /* the number of characters in the array */ len 36881 third_party/libxml/src/testapi.c len = gen_int(n_len, 1); len 36883 third_party/libxml/src/testapi.c ret_val = xmlUTF8Strsize((const xmlChar *)utf, len); len 36887 third_party/libxml/src/testapi.c des_int(n_len, len, 1); len 36915 third_party/libxml/src/testapi.c int len; /* total number to copy */ len 36924 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 36926 third_party/libxml/src/testapi.c ret_val = xmlUTF8Strsub((const xmlChar *)utf, start, len); len 36931 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 44184 third_party/libxml/src/testapi.c int len; /* the number of bytes to encode */ len 44195 third_party/libxml/src/testapi.c len = gen_int(n_len, 3); len 44197 third_party/libxml/src/testapi.c ret_val = xmlTextWriterWriteBase64(writer, (const char *)data, start, len); len 44203 third_party/libxml/src/testapi.c des_int(n_len, len, 3); len 44239 third_party/libxml/src/testapi.c int len; /* the number of bytes to encode */ len 44250 third_party/libxml/src/testapi.c len = gen_int(n_len, 3); len 44252 third_party/libxml/src/testapi.c ret_val = xmlTextWriterWriteBinHex(writer, (const char *)data, start, len); len 44258 third_party/libxml/src/testapi.c des_int(n_len, len, 3); len 45171 third_party/libxml/src/testapi.c int len; /* length of the text string */ len 45180 third_party/libxml/src/testapi.c len = gen_int(n_len, 2); len 45182 third_party/libxml/src/testapi.c ret_val = xmlTextWriterWriteRawLen(writer, (const xmlChar *)content, len); len 45187 third_party/libxml/src/testapi.c des_int(n_len, len, 2); len 215 third_party/libxml/src/tree.c xmlChar *memory, int len) { len 225 third_party/libxml/src/tree.c if ((memory == NULL) || (len < lenn + lenp + 2)) { len 260 third_party/libxml/src/tree.c int len = 0; len 282 third_party/libxml/src/tree.c while ((name[len] != 0) && (name[len] != ':')) len 283 third_party/libxml/src/tree.c len++; len 285 third_party/libxml/src/tree.c if (name[len] == 0) len 288 third_party/libxml/src/tree.c *prefix = xmlStrndup(name, len); len 293 third_party/libxml/src/tree.c ret = xmlStrdup(&name[len + 1]); len 319 third_party/libxml/src/tree.c xmlSplitQName3(const xmlChar *name, int *len) { len 323 third_party/libxml/src/tree.c if (len == NULL) return(NULL); len 339 third_party/libxml/src/tree.c *len = l; len 1246 third_party/libxml/src/tree.c xmlStringLenGetNodeList(xmlDocPtr doc, const xmlChar *value, int len) { len 1250 third_party/libxml/src/tree.c const xmlChar *cur = value, *end = cur + len; len 1581 third_party/libxml/src/tree.c int len; len 1583 third_party/libxml/src/tree.c len = xmlCopyCharMultiByte(buf, charval); len 1584 third_party/libxml/src/tree.c buf[len] = 0; len 2517 third_party/libxml/src/tree.c int len; len 2519 third_party/libxml/src/tree.c len = xmlStrlen(name); len 2520 third_party/libxml/src/tree.c if (name[len - 1] == ';') len 2521 third_party/libxml/src/tree.c cur->name = xmlStrndup(name, len - 1); len 2523 third_party/libxml/src/tree.c cur->name = xmlStrndup(name, len); len 2561 third_party/libxml/src/tree.c int len; len 2563 third_party/libxml/src/tree.c len = xmlStrlen(name); len 2564 third_party/libxml/src/tree.c if (name[len - 1] == ';') len 2565 third_party/libxml/src/tree.c cur->name = xmlStrndup(name, len - 1); len 2567 third_party/libxml/src/tree.c cur->name = xmlStrndup(name, len); len 2614 third_party/libxml/src/tree.c xmlNewTextLen(const xmlChar *content, int len) { len 2630 third_party/libxml/src/tree.c cur->content = xmlStrndup(content, len); len 2649 third_party/libxml/src/tree.c xmlNewDocTextLen(xmlDocPtr doc, const xmlChar *content, int len) { len 2652 third_party/libxml/src/tree.c cur = xmlNewTextLen(content, len); len 2699 third_party/libxml/src/tree.c xmlNewCDataBlock(xmlDocPtr doc, const xmlChar *content, int len) { len 2715 third_party/libxml/src/tree.c cur->content = xmlStrndup(content, len); len 5541 third_party/libxml/src/tree.c xmlNodeSetContentLen(xmlNodePtr cur, const xmlChar *content, int len) { len 5554 third_party/libxml/src/tree.c cur->children = xmlStringLenGetNodeList(cur->doc, content, len); len 5573 third_party/libxml/src/tree.c cur->content = xmlStrndup(content, len); len 5615 third_party/libxml/src/tree.c xmlNodeAddContentLen(xmlNodePtr cur, const xmlChar *content, int len) { len 5623 third_party/libxml/src/tree.c if (len <= 0) return; len 5630 third_party/libxml/src/tree.c newNode = xmlNewTextLen(content, len); len 5654 third_party/libxml/src/tree.c cur->content = xmlStrncatNew(cur->content, content, len); len 5659 third_party/libxml/src/tree.c cur->content = xmlStrncat(cur->content, content, len); len 5691 third_party/libxml/src/tree.c int len; len 5701 third_party/libxml/src/tree.c len = xmlStrlen(content); len 5702 third_party/libxml/src/tree.c xmlNodeAddContentLen(cur, content, len); len 6669 third_party/libxml/src/tree.c int len; len 6678 third_party/libxml/src/tree.c nqname = xmlSplitQName3(name, &len); len 6681 third_party/libxml/src/tree.c xmlChar *prefix = xmlStrndup(name, len); len 6810 third_party/libxml/src/tree.c xmlTextConcat(xmlNodePtr node, const xmlChar *content, int len) { len 6827 third_party/libxml/src/tree.c node->content = xmlStrncatNew(node->content, content, len); len 6829 third_party/libxml/src/tree.c node->content = xmlStrncat(node->content, content, len); len 7022 third_party/libxml/src/tree.c xmlBufferShrink(xmlBufferPtr buf, unsigned int len) { len 7024 third_party/libxml/src/tree.c if (len == 0) return(0); len 7025 third_party/libxml/src/tree.c if (len > buf->use) return(-1); len 7027 third_party/libxml/src/tree.c buf->use -= len; len 7034 third_party/libxml/src/tree.c buf->content += len; len 7035 third_party/libxml/src/tree.c buf->size -= len; len 7051 third_party/libxml/src/tree.c memmove(buf->content, &buf->content[len], buf->use); len 7054 third_party/libxml/src/tree.c return(len); len 7067 third_party/libxml/src/tree.c xmlBufferGrow(xmlBufferPtr buf, unsigned int len) { len 7074 third_party/libxml/src/tree.c if (len + buf->use < buf->size) return(0); len 7083 third_party/libxml/src/tree.c if (buf->size > len) len 7086 third_party/libxml/src/tree.c size = buf->use + len + 100; len 7088 third_party/libxml/src/tree.c size = buf->use + len + 100; len 7288 third_party/libxml/src/tree.c xmlBufferAdd(xmlBufferPtr buf, const xmlChar *str, int len) { len 7295 third_party/libxml/src/tree.c if (len < -1) { len 7302 third_party/libxml/src/tree.c if (len == 0) return 0; len 7304 third_party/libxml/src/tree.c if (len < 0) len 7305 third_party/libxml/src/tree.c len = xmlStrlen(str); len 7307 third_party/libxml/src/tree.c if (len < 0) return -1; len 7308 third_party/libxml/src/tree.c if (len == 0) return 0; len 7310 third_party/libxml/src/tree.c needSize = buf->use + len + 2; len 7318 third_party/libxml/src/tree.c memmove(&buf->content[buf->use], str, len*sizeof(xmlChar)); len 7319 third_party/libxml/src/tree.c buf->use += len; len 7337 third_party/libxml/src/tree.c xmlBufferAddHead(xmlBufferPtr buf, const xmlChar *str, int len) { len 7350 third_party/libxml/src/tree.c if (len < -1) { len 7357 third_party/libxml/src/tree.c if (len == 0) return 0; len 7359 third_party/libxml/src/tree.c if (len < 0) len 7360 third_party/libxml/src/tree.c len = xmlStrlen(str); len 7362 third_party/libxml/src/tree.c if (len <= 0) return -1; len 7367 third_party/libxml/src/tree.c if (start_buf > (unsigned int) len) { len 7371 third_party/libxml/src/tree.c buf->content -= len; len 7372 third_party/libxml/src/tree.c memmove(&buf->content[0], str, len); len 7373 third_party/libxml/src/tree.c buf->use += len; len 7374 third_party/libxml/src/tree.c buf->size += len; len 7378 third_party/libxml/src/tree.c needSize = buf->use + len + 2; len 7386 third_party/libxml/src/tree.c memmove(&buf->content[len], &buf->content[0], buf->use); len 7387 third_party/libxml/src/tree.c memmove(&buf->content[0], str, len); len 7388 third_party/libxml/src/tree.c buf->use += len; len 1004 third_party/libxml/src/uri.c int len; len 1017 third_party/libxml/src/uri.c len = 0; len 1022 third_party/libxml/src/uri.c if (len >= max) { len 1033 third_party/libxml/src/uri.c ret[len++] = *p++; len 1035 third_party/libxml/src/uri.c if (len >= max) { len 1046 third_party/libxml/src/uri.c ret[len++] = ':'; len 1051 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1063 third_party/libxml/src/uri.c ret[len++] = *p++; len 1067 third_party/libxml/src/uri.c ret[len++] = '%'; len 1068 third_party/libxml/src/uri.c ret[len++] = hi + (hi > 9? 'A'-10 : '0'); len 1069 third_party/libxml/src/uri.c ret[len++] = lo + (lo > 9? 'A'-10 : '0'); len 1074 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1085 third_party/libxml/src/uri.c ret[len++] = '/'; len 1086 third_party/libxml/src/uri.c ret[len++] = '/'; len 1090 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1107 third_party/libxml/src/uri.c ret[len++] = *p++; len 1111 third_party/libxml/src/uri.c ret[len++] = '%'; len 1112 third_party/libxml/src/uri.c ret[len++] = hi + (hi > 9? 'A'-10 : '0'); len 1113 third_party/libxml/src/uri.c ret[len++] = lo + (lo > 9? 'A'-10 : '0'); len 1116 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1128 third_party/libxml/src/uri.c ret[len++] = '@'; len 1132 third_party/libxml/src/uri.c if (len >= max) { len 1144 third_party/libxml/src/uri.c ret[len++] = *p++; len 1147 third_party/libxml/src/uri.c if (len + 10 >= max) { len 1159 third_party/libxml/src/uri.c len += snprintf((char *) &ret[len], max - len, ":%d", uri->port); len 1162 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1174 third_party/libxml/src/uri.c ret[len++] = '/'; len 1175 third_party/libxml/src/uri.c ret[len++] = '/'; len 1178 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1194 third_party/libxml/src/uri.c ret[len++] = *p++; len 1198 third_party/libxml/src/uri.c ret[len++] = '%'; len 1199 third_party/libxml/src/uri.c ret[len++] = hi + (hi > 9? 'A'-10 : '0'); len 1200 third_party/libxml/src/uri.c ret[len++] = lo + (lo > 9? 'A'-10 : '0'); len 1204 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1216 third_party/libxml/src/uri.c ret[len++] = '/'; len 1217 third_party/libxml/src/uri.c ret[len++] = '/'; len 1231 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1241 third_party/libxml/src/uri.c ret[len++] = *p++; len 1242 third_party/libxml/src/uri.c ret[len++] = *p++; len 1243 third_party/libxml/src/uri.c ret[len++] = *p++; len 1246 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1262 third_party/libxml/src/uri.c ret[len++] = *p++; len 1266 third_party/libxml/src/uri.c ret[len++] = '%'; len 1267 third_party/libxml/src/uri.c ret[len++] = hi + (hi > 9? 'A'-10 : '0'); len 1268 third_party/libxml/src/uri.c ret[len++] = lo + (lo > 9? 'A'-10 : '0'); len 1273 third_party/libxml/src/uri.c if (len + 1 >= max) { len 1285 third_party/libxml/src/uri.c ret[len++] = '?'; len 1288 third_party/libxml/src/uri.c if (len + 1 >= max) { len 1300 third_party/libxml/src/uri.c ret[len++] = *p++; len 1303 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1315 third_party/libxml/src/uri.c ret[len++] = '?'; len 1318 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1331 third_party/libxml/src/uri.c ret[len++] = *p++; len 1335 third_party/libxml/src/uri.c ret[len++] = '%'; len 1336 third_party/libxml/src/uri.c ret[len++] = hi + (hi > 9? 'A'-10 : '0'); len 1337 third_party/libxml/src/uri.c ret[len++] = lo + (lo > 9? 'A'-10 : '0'); len 1343 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1355 third_party/libxml/src/uri.c ret[len++] = '#'; len 1358 third_party/libxml/src/uri.c if (len + 3 >= max) { len 1371 third_party/libxml/src/uri.c ret[len++] = *p++; len 1375 third_party/libxml/src/uri.c ret[len++] = '%'; len 1376 third_party/libxml/src/uri.c ret[len++] = hi + (hi > 9? 'A'-10 : '0'); len 1377 third_party/libxml/src/uri.c ret[len++] = lo + (lo > 9? 'A'-10 : '0'); len 1381 third_party/libxml/src/uri.c if (len >= max) { len 1392 third_party/libxml/src/uri.c ret[len] = 0; len 1683 third_party/libxml/src/uri.c xmlURIUnescapeString(const char *str, int len, char *target) { len 1689 third_party/libxml/src/uri.c if (len <= 0) len = strlen(str); len 1690 third_party/libxml/src/uri.c if (len < 0) return(NULL); len 1693 third_party/libxml/src/uri.c ret = (char *) xmlMallocAtomic(len + 1); len 1703 third_party/libxml/src/uri.c while(len > 0) { len 1704 third_party/libxml/src/uri.c if ((len > 2) && (*in == '%') && (is_hex(in[1])) && (is_hex(in[2]))) { len 1720 third_party/libxml/src/uri.c len -= 3; len 1724 third_party/libxml/src/uri.c len--; len 1747 third_party/libxml/src/uri.c unsigned int len, out; len 1753 third_party/libxml/src/uri.c len = xmlStrlen(str); len 1754 third_party/libxml/src/uri.c if (!(len > 0)) return(NULL); len 1756 third_party/libxml/src/uri.c len += 20; len 1757 third_party/libxml/src/uri.c ret = (xmlChar *) xmlMallocAtomic(len); len 1766 third_party/libxml/src/uri.c if (len - out <= 3) { len 1767 third_party/libxml/src/uri.c len += 20; len 1768 third_party/libxml/src/uri.c temp = (xmlChar *) xmlRealloc(ret, len); len 1961 third_party/libxml/src/uri.c int ret, len, indx, cur, out; len 2129 third_party/libxml/src/uri.c len = 2; /* extra / and 0 */ len 2131 third_party/libxml/src/uri.c len += strlen(ref->path); len 2133 third_party/libxml/src/uri.c len += strlen(bas->path); len 2134 third_party/libxml/src/uri.c res->path = (char *) xmlMallocAtomic(len); len 2246 third_party/libxml/src/uri.c int len; len 2333 third_party/libxml/src/uri.c len = 1; /* this is for a string terminator only */ len 2381 third_party/libxml/src/uri.c len = xmlStrlen (uptr) + 1; len 2396 third_party/libxml/src/uri.c val = (xmlChar *) xmlMalloc (len + 3 * nbslash); len 2415 third_party/libxml/src/uri.c if ((vptr > val) && (len > 0) && len 2417 third_party/libxml/src/uri.c memcpy (vptr, uptr + 1, len - 1); len 2418 third_party/libxml/src/uri.c vptr[len - 2] = 0; len 2420 third_party/libxml/src/uri.c memcpy (vptr, uptr, len); len 2421 third_party/libxml/src/uri.c vptr[len - 1] = 0; len 2424 third_party/libxml/src/uri.c vptr[len - 1] = 0; len 2471 third_party/libxml/src/uri.c int len = 0; len 2538 third_party/libxml/src/uri.c len = xmlStrlen(path); len 2539 third_party/libxml/src/uri.c if ((len > 2) && IS_WINDOWS_PATH(path)) { len 2543 third_party/libxml/src/uri.c uri->path = xmlMallocAtomic(len + 2); len 2551 third_party/libxml/src/uri.c strncpy(p, path, len + 1); len 1251 third_party/libxml/src/valid.c int len; len 1254 third_party/libxml/src/valid.c len = strlen(buf); len 1255 third_party/libxml/src/valid.c if (size - len < 50) { len 1256 third_party/libxml/src/valid.c if ((size - len > 4) && (buf[len - 1] != '.')) len 1267 third_party/libxml/src/valid.c if (size - len < xmlStrlen(content->prefix) + 10) { len 1274 third_party/libxml/src/valid.c if (size - len < xmlStrlen(content->name) + 10) { len 1287 third_party/libxml/src/valid.c len = strlen(buf); len 1288 third_party/libxml/src/valid.c if (size - len < 50) { len 1289 third_party/libxml/src/valid.c if ((size - len > 4) && (buf[len - 1] != '.')) len 1307 third_party/libxml/src/valid.c len = strlen(buf); len 1308 third_party/libxml/src/valid.c if (size - len < 50) { len 1309 third_party/libxml/src/valid.c if ((size - len > 4) && (buf[len - 1] != '.')) len 3492 third_party/libxml/src/valid.c int val, len; len 3496 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3497 third_party/libxml/src/valid.c cur += len; len 3501 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3502 third_party/libxml/src/valid.c cur += len; len 3504 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3505 third_party/libxml/src/valid.c cur += len; len 3540 third_party/libxml/src/valid.c int val, len; len 3544 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3545 third_party/libxml/src/valid.c cur += len; len 3550 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3551 third_party/libxml/src/valid.c cur += len; len 3553 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3554 third_party/libxml/src/valid.c cur += len; len 3560 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3561 third_party/libxml/src/valid.c cur += len; len 3567 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3568 third_party/libxml/src/valid.c cur += len; len 3571 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3572 third_party/libxml/src/valid.c cur += len; len 3610 third_party/libxml/src/valid.c int val, len; len 3614 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3615 third_party/libxml/src/valid.c cur += len; len 3620 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3621 third_party/libxml/src/valid.c cur += len; len 3623 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3624 third_party/libxml/src/valid.c cur += len; len 3663 third_party/libxml/src/valid.c int val, len; len 3667 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3668 third_party/libxml/src/valid.c cur += len; len 3671 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3672 third_party/libxml/src/valid.c cur += len; len 3679 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3680 third_party/libxml/src/valid.c cur += len; len 3686 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3687 third_party/libxml/src/valid.c cur += len; len 3694 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3695 third_party/libxml/src/valid.c cur += len; len 3698 third_party/libxml/src/valid.c val = xmlStringCurrentChar(NULL, cur, &len); len 3699 third_party/libxml/src/valid.c cur += len; len 5144 third_party/libxml/src/valid.c int len; len 5150 third_party/libxml/src/valid.c len = strlen(buf); len 5151 third_party/libxml/src/valid.c if (size - len < 50) { len 5152 third_party/libxml/src/valid.c if ((size - len > 4) && (buf[len - 1] != '.')) len 5159 third_party/libxml/src/valid.c if (size - len < xmlStrlen(cur->ns->prefix) + 10) { len 5160 third_party/libxml/src/valid.c if ((size - len > 4) && (buf[len - 1] != '.')) len 5167 third_party/libxml/src/valid.c if (size - len < xmlStrlen(cur->name) + 10) { len 5168 third_party/libxml/src/valid.c if ((size - len > 4) && (buf[len - 1] != '.')) len 5805 third_party/libxml/src/valid.c xmlValidatePushCData(xmlValidCtxtPtr ctxt, const xmlChar *data, int len) { len 5811 third_party/libxml/src/valid.c if (len <= 0) len 5839 third_party/libxml/src/valid.c if (len > 0) { len 5842 third_party/libxml/src/valid.c for (i = 0;i < len;i++) { len 6873 third_party/libxml/src/valid.c int *len, int max) { len 6876 third_party/libxml/src/valid.c if ((ctree == NULL) || (names == NULL) || (len == NULL)) len 6878 third_party/libxml/src/valid.c if (*len >= max) return(*len); len 6882 third_party/libxml/src/valid.c for (i = 0; i < *len;i++) len 6883 third_party/libxml/src/valid.c if (xmlStrEqual(BAD_CAST "#PCDATA", names[i])) return(*len); len 6884 third_party/libxml/src/valid.c names[(*len)++] = BAD_CAST "#PCDATA"; len 6887 third_party/libxml/src/valid.c for (i = 0; i < *len;i++) len 6888 third_party/libxml/src/valid.c if (xmlStrEqual(ctree->name, names[i])) return(*len); len 6889 third_party/libxml/src/valid.c names[(*len)++] = ctree->name; len 6892 third_party/libxml/src/valid.c xmlValidGetPotentialChildren(ctree->c1, names, len, max); len 6893 third_party/libxml/src/valid.c xmlValidGetPotentialChildren(ctree->c2, names, len, max); len 6896 third_party/libxml/src/valid.c xmlValidGetPotentialChildren(ctree->c1, names, len, max); len 6897 third_party/libxml/src/valid.c xmlValidGetPotentialChildren(ctree->c2, names, len, max); len 6901 third_party/libxml/src/valid.c return(*len); len 968 third_party/libxml/src/xinclude.c int len; len 973 third_party/libxml/src/xinclude.c len = index2; len 976 third_party/libxml/src/xinclude.c len -= (index1 - 1); len 978 third_party/libxml/src/xinclude.c len = index2; len 980 third_party/libxml/src/xinclude.c tmp = xmlNewTextLen(content, len); len 1884 third_party/libxml/src/xinclude.c int len; len 1888 third_party/libxml/src/xinclude.c len = xmlBufferLength(buf->buffer); len 1889 third_party/libxml/src/xinclude.c for (i = 0;i < len;) { len 1906 third_party/libxml/src/xinclude.c xmlBufferShrink(buf->buffer, len); len 805 third_party/libxml/src/xmlIO.c xmlFdRead (void * context, char * buffer, int len) { len 808 third_party/libxml/src/xmlIO.c ret = read((int) (long) context, &buffer[0], len); len 825 third_party/libxml/src/xmlIO.c xmlFdWrite (void * context, const char * buffer, int len) { len 828 third_party/libxml/src/xmlIO.c if (len > 0) { len 829 third_party/libxml/src/xmlIO.c ret = write((int) (long) context, &buffer[0], len); len 1009 third_party/libxml/src/xmlIO.c xmlFileRead (void * context, char * buffer, int len) { len 1013 third_party/libxml/src/xmlIO.c ret = fread(&buffer[0], 1, len, (FILE *) context); len 1030 third_party/libxml/src/xmlIO.c xmlFileWrite (void * context, const char * buffer, int len) { len 1035 third_party/libxml/src/xmlIO.c items = fwrite(&buffer[0], len, 1, (FILE *) context); len 1040 third_party/libxml/src/xmlIO.c return(items * len); len 1104 third_party/libxml/src/xmlIO.c xmlBufferWrite (void * context, const char * buffer, int len) { len 1107 third_party/libxml/src/xmlIO.c ret = xmlBufferAdd((xmlBufferPtr) context, (const xmlChar *) buffer, len); len 1110 third_party/libxml/src/xmlIO.c return(len); len 1264 third_party/libxml/src/xmlIO.c xmlGzfileRead (void * context, char * buffer, int len) { len 1267 third_party/libxml/src/xmlIO.c ret = gzread((gzFile) context, &buffer[0], len); len 1284 third_party/libxml/src/xmlIO.c xmlGzfileWrite (void * context, const char * buffer, int len) { len 1287 third_party/libxml/src/xmlIO.c ret = gzwrite((gzFile) context, (char *) &buffer[0], len); len 1549 third_party/libxml/src/xmlIO.c xmlZMemBuffAppend( xmlZMemBuffPtr buff, const char * src, int len ) { len 1557 third_party/libxml/src/xmlIO.c buff->zctrl.avail_in = len; len 1576 third_party/libxml/src/xmlIO.c len, "bytes to buffer. ZLIB error", z_err ); len 1582 third_party/libxml/src/xmlIO.c buff->crc = crc32( buff->crc, (unsigned char *)src, len ); len 1584 third_party/libxml/src/xmlIO.c return ( len ); len 1811 third_party/libxml/src/xmlIO.c xmlIOHTTPRead(void * context, char * buffer, int len) { len 1812 third_party/libxml/src/xmlIO.c if ((buffer == NULL) || (len < 0)) return(-1); len 1813 third_party/libxml/src/xmlIO.c return(xmlNanoHTTPRead(context, &buffer[0], len)); len 1830 third_party/libxml/src/xmlIO.c xmlIOHTTPWrite( void * context, const char * buffer, int len ) { len 1837 third_party/libxml/src/xmlIO.c if ( len > 0 ) { len 1843 third_party/libxml/src/xmlIO.c len = xmlZMemBuffAppend( ctxt->doc_buff, buffer, len ); len 1847 third_party/libxml/src/xmlIO.c len = xmlOutputBufferWrite( ctxt->doc_buff, len, buffer ); len 1849 third_party/libxml/src/xmlIO.c if ( len < 0 ) { len 1860 third_party/libxml/src/xmlIO.c return ( len ); len 2090 third_party/libxml/src/xmlIO.c xmlIOFTPRead(void * context, char * buffer, int len) { len 2091 third_party/libxml/src/xmlIO.c if ((buffer == NULL) || (len < 0)) return(-1); len 2092 third_party/libxml/src/xmlIO.c return(xmlNanoFTPRead(context, &buffer[0], len)); len 3051 third_party/libxml/src/xmlIO.c int len, const char *buf) { len 3055 third_party/libxml/src/xmlIO.c if (len < 0) return(0); len 3066 third_party/libxml/src/xmlIO.c ret = xmlBufferAdd(in->raw, (const xmlChar *) buf, len); len 3082 third_party/libxml/src/xmlIO.c nbchars = len; len 3104 third_party/libxml/src/xmlIO.c int len ATTRIBUTE_UNUSED) { len 3124 third_party/libxml/src/xmlIO.c xmlParserInputBufferGrow(xmlParserInputBufferPtr in, int len) { len 3132 third_party/libxml/src/xmlIO.c if ((len <= MINLEN) && (len != 4)) len 3133 third_party/libxml/src/xmlIO.c len = MINLEN; len 3142 third_party/libxml/src/xmlIO.c needSize = in->buffer->use + len + 1; len 3156 third_party/libxml/src/xmlIO.c res = in->readcallback(in->context, &buffer[0], len); len 3167 third_party/libxml/src/xmlIO.c len = res; len 3177 third_party/libxml/src/xmlIO.c res = xmlBufferAdd(in->raw, (const xmlChar *) buffer, len); len 3193 third_party/libxml/src/xmlIO.c nbchars = len; len 3218 third_party/libxml/src/xmlIO.c xmlParserInputBufferRead(xmlParserInputBufferPtr in, int len) { len 3221 third_party/libxml/src/xmlIO.c return(xmlParserInputBufferGrow(in, len)); len 3245 third_party/libxml/src/xmlIO.c xmlOutputBufferWrite(xmlOutputBufferPtr out, int len, const char *buf) { len 3252 third_party/libxml/src/xmlIO.c if (len < 0) return(0); len 3256 third_party/libxml/src/xmlIO.c chunk = len; len 3274 third_party/libxml/src/xmlIO.c if ((out->buffer->use < MINLEN) && (chunk == len)) len 3294 third_party/libxml/src/xmlIO.c len -= chunk; len 3296 third_party/libxml/src/xmlIO.c if ((nbchars < MINLEN) && (len <= 0)) len 3322 third_party/libxml/src/xmlIO.c } while (len > 0); len 3415 third_party/libxml/src/xmlIO.c int len; /* number of bytes in str */ len 3421 third_party/libxml/src/xmlIO.c len = strlen((const char *)str); len 3422 third_party/libxml/src/xmlIO.c if (len < 0) return(0); len 3432 third_party/libxml/src/xmlIO.c cons = len; len 3463 third_party/libxml/src/xmlIO.c if ((out->buffer->use < MINLEN) && (cons == len)) len 3486 third_party/libxml/src/xmlIO.c len -= cons; len 3488 third_party/libxml/src/xmlIO.c if ((nbchars < MINLEN) && (len <= 0)) len 3516 third_party/libxml/src/xmlIO.c } while ((len > 0) && (oldwritten != written)); len 3541 third_party/libxml/src/xmlIO.c int len; len 3546 third_party/libxml/src/xmlIO.c len = strlen(str); len 3548 third_party/libxml/src/xmlIO.c if (len > 0) len 3549 third_party/libxml/src/xmlIO.c return(xmlOutputBufferWrite(out, len, str)); len 3550 third_party/libxml/src/xmlIO.c return(len); len 79 third_party/libxml/src/xmlcatalog.c int len; len 86 third_party/libxml/src/xmlcatalog.c len = strlen(line_read); len 87 third_party/libxml/src/xmlcatalog.c ret = (char *) malloc(len + 1); len 89 third_party/libxml/src/xmlcatalog.c memcpy (ret, line_read, len + 1); len 558 third_party/libxml/src/xmllint.c int len; len 561 third_party/libxml/src/xmllint.c len = strlen(buffer); len 564 third_party/libxml/src/xmllint.c snprintf(&buffer[len], sizeof(buffer) - len, "%s:%d: ", input->filename, len 567 third_party/libxml/src/xmllint.c snprintf(&buffer[len], sizeof(buffer) - len, "Entity: line %d: ", input->line); len 583 third_party/libxml/src/xmllint.c int len; len 600 third_party/libxml/src/xmllint.c len = strlen(buffer); len 601 third_party/libxml/src/xmllint.c snprintf(&buffer[len], sizeof(buffer) - len, "%c", len 605 third_party/libxml/src/xmllint.c len = strlen(buffer); len 606 third_party/libxml/src/xmllint.c snprintf(&buffer[len], sizeof(buffer) - len, "\n"); len 612 third_party/libxml/src/xmllint.c len = strlen(buffer); len 613 third_party/libxml/src/xmllint.c snprintf(&buffer[len], sizeof(buffer) - len, " "); len 616 third_party/libxml/src/xmllint.c len = strlen(buffer); len 617 third_party/libxml/src/xmllint.c snprintf(&buffer[len], sizeof(buffer) - len, "^\n"); len 637 third_party/libxml/src/xmllint.c int len; len 649 third_party/libxml/src/xmllint.c len = strlen(buffer); len 650 third_party/libxml/src/xmllint.c vsnprintf(&buffer[len], sizeof(buffer) - len, msg, args); len 674 third_party/libxml/src/xmllint.c int len; len 687 third_party/libxml/src/xmllint.c len = strlen(buffer); len 688 third_party/libxml/src/xmllint.c vsnprintf(&buffer[len], sizeof(buffer) - len, msg, args); len 712 third_party/libxml/src/xmllint.c int len; len 722 third_party/libxml/src/xmllint.c len = strlen(buffer); len 724 third_party/libxml/src/xmllint.c vsnprintf(&buffer[len], sizeof(buffer) - len, msg, args); len 749 third_party/libxml/src/xmllint.c int len; len 760 third_party/libxml/src/xmllint.c len = strlen(buffer); len 761 third_party/libxml/src/xmllint.c vsnprintf(&buffer[len], sizeof(buffer) - len, msg, args); len 802 third_party/libxml/src/xmllint.c int len; len 809 third_party/libxml/src/xmllint.c len = strlen(line_read); len 810 third_party/libxml/src/xmllint.c ret = (char *) malloc(len + 1); len 812 third_party/libxml/src/xmllint.c memcpy (ret, line_read, len + 1); len 826 third_party/libxml/src/xmllint.c static int myRead(FILE *f, char * buf, int len) { len 827 third_party/libxml/src/xmllint.c return(fread(buf, 1, len, f)); len 1284 third_party/libxml/src/xmllint.c charactersDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch, int len) len 1292 third_party/libxml/src/xmllint.c for (i = 0;(i<len) && (i < 30);i++) len 1296 third_party/libxml/src/xmllint.c fprintf(stdout, "SAX.characters(%s, %d)\n", out, len); len 1326 third_party/libxml/src/xmllint.c ignorableWhitespaceDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *ch, int len) len 1334 third_party/libxml/src/xmllint.c for (i = 0;(i<len) && (i < 30);i++) len 1337 third_party/libxml/src/xmllint.c fprintf(stdout, "SAX.ignorableWhitespace(%s, %d)\n", out, len); len 1373 third_party/libxml/src/xmllint.c cdataBlockDebug(void *ctx ATTRIBUTE_UNUSED, const xmlChar *value, int len) len 1379 third_party/libxml/src/xmllint.c (char *) value, len); len 2586 third_party/libxml/src/xmllint.c int len; len 2590 third_party/libxml/src/xmllint.c xmlDocDumpFormatMemoryEnc(doc, &result, &len, encoding, 1); len 2592 third_party/libxml/src/xmllint.c xmlDocDumpMemoryEnc(doc, &result, &len, encoding); len 2596 third_party/libxml/src/xmllint.c xmlDocDumpFormatMemory(doc, &result, &len, 1); len 2598 third_party/libxml/src/xmllint.c xmlDocDumpMemory(doc, &result, &len); len 2604 third_party/libxml/src/xmllint.c write(1, result, len); len 583 third_party/libxml/src/xmlmemory.c int i,j,k,len = p->mh_size; len 591 third_party/libxml/src/xmlmemory.c for (i = 0;i < len;i++) { len 596 third_party/libxml/src/xmlmemory.c if (len >= 4) { len 600 third_party/libxml/src/xmlmemory.c for (j = 0;(j < len -3) && (j < 40);j += 4) { len 763 third_party/libxml/src/xmlreader.c xmlTextReaderCharacters(void *ctx, const xmlChar *ch, int len) len 772 third_party/libxml/src/xmlreader.c reader->characters(ctx, ch, len); len 785 third_party/libxml/src/xmlreader.c xmlTextReaderCDataBlock(void *ctx, const xmlChar *ch, int len) len 794 third_party/libxml/src/xmlreader.c reader->cdataBlock(ctx, ch, len); len 977 third_party/libxml/src/xmlreader.c const xmlChar *data, int len) { len 982 third_party/libxml/src/xmlreader.c data, len); len 991 third_party/libxml/src/xmlreader.c ret = xmlRelaxNGValidatePushCData(reader->rngValidCtxt, data, len); len 1800 third_party/libxml/src/xmlreader.c int len ATTRIBUTE_UNUSED) { len 1830 third_party/libxml/src/xmlreader.c int len ATTRIBUTE_UNUSED) { len 4701 third_party/libxml/src/xmlreader.c int len = xmlStrlen((const xmlChar *) msg); len 4703 third_party/libxml/src/xmlreader.c if ((len > 1) && (msg[len - 2] != ':')) { len 4721 third_party/libxml/src/xmlreader.c int len = xmlStrlen((const xmlChar *) msg); len 4723 third_party/libxml/src/xmlreader.c if ((len != 0) && (msg[len - 1] != ':')) { len 5196 third_party/libxml/src/xmlreader.c int len; len 5200 third_party/libxml/src/xmlreader.c len = xmlStrlen(cur); len 5203 third_party/libxml/src/xmlreader.c ((const char *) cur, len, URL, encoding, options)); len 5403 third_party/libxml/src/xmlreader.c int len; len 5410 third_party/libxml/src/xmlreader.c len = xmlStrlen(cur); len 5411 third_party/libxml/src/xmlreader.c return (xmlReaderNewMemory(reader, (const char *)cur, len, len 3105 third_party/libxml/src/xmlregexp.c int len = exec->maxRollbacks; len 3116 third_party/libxml/src/xmlregexp.c tmp = &exec->rollbacks[len]; len 3117 third_party/libxml/src/xmlregexp.c memset(tmp, 0, (exec->maxRollbacks - len) * sizeof(xmlRegExecRollback)); len 3177 third_party/libxml/src/xmlregexp.c int ret, codepoint = 0, len, deter; len 3216 third_party/libxml/src/xmlregexp.c len = 1; len 3267 third_party/libxml/src/xmlregexp.c codepoint = CUR_SCHAR(&(exec->inputString[exec->index]), len); len 3308 third_party/libxml/src/xmlregexp.c exec->index += len; len 3313 third_party/libxml/src/xmlregexp.c exec->index -= len; len 3330 third_party/libxml/src/xmlregexp.c len); len 3363 third_party/libxml/src/xmlregexp.c len = 0; len 3369 third_party/libxml/src/xmlregexp.c len = 0; len 3422 third_party/libxml/src/xmlregexp.c exec->index += len; len 4414 third_party/libxml/src/xmlregexp.c int codepoint, len; len 4460 third_party/libxml/src/xmlregexp.c codepoint = CUR_SCHAR(&(exec->inputString[exec->index]), len); len 4479 third_party/libxml/src/xmlregexp.c exec->index += len; len 4484 third_party/libxml/src/xmlregexp.c exec->index -= len; len 4501 third_party/libxml/src/xmlregexp.c len); len 4544 third_party/libxml/src/xmlregexp.c exec->index += len; len 4581 third_party/libxml/src/xmlregexp.c int len; len 4583 third_party/libxml/src/xmlregexp.c cur = CUR_SCHAR(ctxt->cur, len); len 4971 third_party/libxml/src/xmlregexp.c int cur, len; len 4997 third_party/libxml/src/xmlregexp.c len = 1; len 4999 third_party/libxml/src/xmlregexp.c end = start = CUR_SCHAR(ctxt->cur, len); len 5009 third_party/libxml/src/xmlregexp.c NEXTL(len); len 5012 third_party/libxml/src/xmlregexp.c NEXTL(len); len 5036 third_party/libxml/src/xmlregexp.c len = 1; len 5038 third_party/libxml/src/xmlregexp.c end = CUR_SCHAR(ctxt->cur, len); len 5043 third_party/libxml/src/xmlregexp.c NEXTL(len); len 5234 third_party/libxml/src/xmlregexp.c int codepoint, len; len 5241 third_party/libxml/src/xmlregexp.c codepoint = CUR_SCHAR(ctxt->cur, len); len 5243 third_party/libxml/src/xmlregexp.c NEXTL(len); len 6834 third_party/libxml/src/xmlregexp.c xmlExpNewAtom(xmlExpCtxtPtr ctxt, const xmlChar *name, int len) { len 6837 third_party/libxml/src/xmlregexp.c name = xmlDictLookup(ctxt->dict, name, len); len 6928 third_party/libxml/src/xmlregexp.c const xmlChar**list, int len, int nb) { len 6938 third_party/libxml/src/xmlregexp.c if (nb >= len) len 6947 third_party/libxml/src/xmlregexp.c tmp = xmlExpGetLanguageInt(ctxt, exp->exp_left, list, len, nb); len 6950 third_party/libxml/src/xmlregexp.c tmp2 = xmlExpGetLanguageInt(ctxt, exp->exp_right, list, len, len 6973 third_party/libxml/src/xmlregexp.c const xmlChar**langList, int len) { len 6974 third_party/libxml/src/xmlregexp.c if ((ctxt == NULL) || (exp == NULL) || (langList == NULL) || (len <= 0)) len 6976 third_party/libxml/src/xmlregexp.c return(xmlExpGetLanguageInt(ctxt, exp, langList, len, 0)); len 6981 third_party/libxml/src/xmlregexp.c const xmlChar**list, int len, int nb) { len 6993 third_party/libxml/src/xmlregexp.c if (nb >= len) len 7001 third_party/libxml/src/xmlregexp.c tmp = xmlExpGetStartInt(ctxt, exp->exp_left, list, len, nb); len 7005 third_party/libxml/src/xmlregexp.c tmp2 = xmlExpGetStartInt(ctxt, exp->exp_right, list, len, len 7013 third_party/libxml/src/xmlregexp.c tmp = xmlExpGetStartInt(ctxt, exp->exp_left, list, len, nb); len 7016 third_party/libxml/src/xmlregexp.c tmp2 = xmlExpGetStartInt(ctxt, exp->exp_right, list, len, len 7041 third_party/libxml/src/xmlregexp.c const xmlChar**tokList, int len) { len 7042 third_party/libxml/src/xmlregexp.c if ((ctxt == NULL) || (exp == NULL) || (tokList == NULL) || (len <= 0)) len 7044 third_party/libxml/src/xmlregexp.c return(xmlExpGetStartInt(ctxt, exp, tokList, len, 0)); len 7186 third_party/libxml/src/xmlregexp.c const xmlChar *str, int len) { len 7196 third_party/libxml/src/xmlregexp.c input = xmlDictExists(ctxt->dict, str, len); len 7302 third_party/libxml/src/xmlregexp.c int len, i; len 7687 third_party/libxml/src/xmlregexp.c len = xmlExpGetStartInt(ctxt, sub, tab, ctxt->tabSize, 0); len 7688 third_party/libxml/src/xmlregexp.c while (len < 0) { len 7698 third_party/libxml/src/xmlregexp.c len = xmlExpGetStartInt(ctxt, sub, tab, ctxt->tabSize, 0); len 7700 third_party/libxml/src/xmlregexp.c for (i = 0;i < len;i++) { len 330 third_party/libxml/src/xmlsave.c int len; len 335 third_party/libxml/src/xmlsave.c len = xmlStrlen((xmlChar *)xmlTreeIndentString); len 336 third_party/libxml/src/xmlsave.c if ((xmlTreeIndentString == NULL) || (len == 0)) { len 339 third_party/libxml/src/xmlsave.c ctxt->indent_size = len; len 2644 third_party/libxml/src/xmlschemas.c char len[25], actLen[25]; len 2654 third_party/libxml/src/xmlschemas.c snprintf(len, 24, "%lu", xmlSchemaGetFacetValueAsULong(facet)); len 2669 third_party/libxml/src/xmlschemas.c value, (const xmlChar *) actLen, (const xmlChar *) len); len 2672 third_party/libxml/src/xmlschemas.c (const xmlChar *) actLen, (const xmlChar *) len); len 4987 third_party/libxml/src/xmlschemas.c xmlSchemaIsBlank(xmlChar * str, int len) len 4991 third_party/libxml/src/xmlschemas.c if (len < 0) { len 4997 third_party/libxml/src/xmlschemas.c } else while ((*str != 0) && (len != 0)) { len 5001 third_party/libxml/src/xmlschemas.c len--; len 5779 third_party/libxml/src/xmlschemas.c int len, ret; len 5814 third_party/libxml/src/xmlschemas.c *local = xmlSplitQName3(value, &len); len 5816 third_party/libxml/src/xmlschemas.c pref = xmlDictLookup(ctxt->dict, value, len); len 24135 third_party/libxml/src/xmlschemas.c unsigned long len = 0; len 24194 third_party/libxml/src/xmlschemas.c valType, value, val, &len, ws); len 24208 third_party/libxml/src/xmlschemas.c value, len, type, facetLink->facet, NULL, NULL, NULL); len 24602 third_party/libxml/src/xmlschemas.c unsigned long len = 0; len 24628 third_party/libxml/src/xmlschemas.c len++; len 24666 third_party/libxml/src/xmlschemas.c len, fireErrors); len 26659 third_party/libxml/src/xmlschemas.c int nodeType, const xmlChar *value, int len, len 26700 third_party/libxml/src/xmlschemas.c (! xmlSchemaIsBlank((xmlChar *) value, len))) { len 26756 third_party/libxml/src/xmlschemas.c if (len != -1) len 26757 third_party/libxml/src/xmlschemas.c vctxt->inode->value = BAD_CAST xmlStrndup(value, len); len 26767 third_party/libxml/src/xmlschemas.c if (len < 0) len 26768 third_party/libxml/src/xmlschemas.c len = xmlStrlen(value); len 26774 third_party/libxml/src/xmlschemas.c (xmlChar *) vctxt->inode->value, value, len); len 26777 third_party/libxml/src/xmlschemas.c BAD_CAST xmlStrncatNew(vctxt->inode->value, value, len); len 27173 third_party/libxml/src/xmlschemas.c int len) len 27183 third_party/libxml/src/xmlschemas.c if (xmlSchemaVPushText(vctxt, XML_TEXT_NODE, ch, len, len 27198 third_party/libxml/src/xmlschemas.c int len) len 27208 third_party/libxml/src/xmlschemas.c if (xmlSchemaVPushText(vctxt, XML_CDATA_SECTION_NODE, ch, len, len 28363 third_party/libxml/src/xmlschemas.c charactersSplit(void *ctx, const xmlChar *ch, int len) len 28369 third_party/libxml/src/xmlschemas.c ctxt->user_sax->characters(ctxt->user_data, ch, len); len 28371 third_party/libxml/src/xmlschemas.c xmlSchemaSAXHandleText(ctxt->ctxt, ch, len); len 28375 third_party/libxml/src/xmlschemas.c ignorableWhitespaceSplit(void *ctx, const xmlChar *ch, int len) len 28382 third_party/libxml/src/xmlschemas.c ctxt->user_sax->ignorableWhitespace(ctxt->user_data, ch, len); len 28384 third_party/libxml/src/xmlschemas.c xmlSchemaSAXHandleText(ctxt->ctxt, ch, len); len 28388 third_party/libxml/src/xmlschemas.c cdataBlockSplit(void *ctx, const xmlChar *value, int len) len 28395 third_party/libxml/src/xmlschemas.c ctxt->user_sax->cdataBlock(ctxt->user_data, value, len); len 28397 third_party/libxml/src/xmlschemas.c xmlSchemaSAXHandleCDataSection(ctxt->ctxt, value, len); len 2254 third_party/libxml/src/xmlschemastypes.c unsigned int len, neg, integ, hasLeadingZeroes; len 2287 third_party/libxml/src/xmlschemastypes.c len = 0; len 2301 third_party/libxml/src/xmlschemastypes.c len++; len 2304 third_party/libxml/src/xmlschemastypes.c integ = len; len 2308 third_party/libxml/src/xmlschemastypes.c len++; len 2311 third_party/libxml/src/xmlschemastypes.c } while (len < 24); len 2315 third_party/libxml/src/xmlschemastypes.c if ((len == 0) && (!hasLeadingZeroes)) len 2320 third_party/libxml/src/xmlschemastypes.c } while (len < 24); len 2332 third_party/libxml/src/xmlschemastypes.c if (len != 0) { len 2339 third_party/libxml/src/xmlschemastypes.c while ((len != integ) && (*(cptr-1) == '0')) { len 2341 third_party/libxml/src/xmlschemastypes.c len--; len 2347 third_party/libxml/src/xmlschemastypes.c if (len != 0) { len 2361 third_party/libxml/src/xmlschemastypes.c if (len == 0) { len 2365 third_party/libxml/src/xmlschemastypes.c v->value.decimal.total = len; len 2369 third_party/libxml/src/xmlschemastypes.c v->value.decimal.frac = len - integ; len 5124 third_party/libxml/src/xmlschemastypes.c unsigned int len = 0; len 5145 third_party/libxml/src/xmlschemastypes.c len = val->value.hex.total; len 5147 third_party/libxml/src/xmlschemastypes.c len = val->value.base64.total; len 5160 third_party/libxml/src/xmlschemastypes.c len = xmlUTF8Strlen(value); len 5162 third_party/libxml/src/xmlschemastypes.c len = xmlSchemaNormLen(value); len 5165 third_party/libxml/src/xmlschemastypes.c len = xmlSchemaNormLen(value); len 5170 third_party/libxml/src/xmlschemastypes.c len = xmlUTF8Strlen(value); len 5185 third_party/libxml/src/xmlschemastypes.c len = xmlSchemaNormLen(value); len 5198 third_party/libxml/src/xmlschemastypes.c *length = (unsigned long) len; len 5203 third_party/libxml/src/xmlschemastypes.c if (len != facet->val->value.decimal.lo) len 5206 third_party/libxml/src/xmlschemastypes.c if (len < facet->val->value.decimal.lo) len 5209 third_party/libxml/src/xmlschemastypes.c if (len > facet->val->value.decimal.lo) len 5379 third_party/libxml/src/xmlschemastypes.c unsigned int len = 0; len 5395 third_party/libxml/src/xmlschemastypes.c len = val->value.hex.total; len 5397 third_party/libxml/src/xmlschemastypes.c len = val->value.base64.total; len 5410 third_party/libxml/src/xmlschemastypes.c len = xmlUTF8Strlen(value); len 5412 third_party/libxml/src/xmlschemastypes.c len = xmlSchemaNormLen(value); len 5415 third_party/libxml/src/xmlschemastypes.c len = xmlSchemaNormLen(value); len 5420 third_party/libxml/src/xmlschemastypes.c len = xmlUTF8Strlen(value); len 5432 third_party/libxml/src/xmlschemastypes.c len = xmlSchemaNormLen(value); len 5439 third_party/libxml/src/xmlschemastypes.c if (len != facet->val->value.decimal.lo) len 5442 third_party/libxml/src/xmlschemastypes.c if (len < facet->val->value.decimal.lo) len 5445 third_party/libxml/src/xmlschemastypes.c if (len > facet->val->value.decimal.lo) len 41 third_party/libxml/src/xmlstring.c xmlStrndup(const xmlChar *cur, int len) { len 44 third_party/libxml/src/xmlstring.c if ((cur == NULL) || (len < 0)) return(NULL); len 45 third_party/libxml/src/xmlstring.c ret = (xmlChar *) xmlMallocAtomic((len + 1) * sizeof(xmlChar)); len 50 third_party/libxml/src/xmlstring.c memcpy(ret, cur, len * sizeof(xmlChar)); len 51 third_party/libxml/src/xmlstring.c ret[len] = 0; len 85 third_party/libxml/src/xmlstring.c xmlCharStrndup(const char *cur, int len) { len 89 third_party/libxml/src/xmlstring.c if ((cur == NULL) || (len < 0)) return(NULL); len 90 third_party/libxml/src/xmlstring.c ret = (xmlChar *) xmlMallocAtomic((len + 1) * sizeof(xmlChar)); len 95 third_party/libxml/src/xmlstring.c for (i = 0;i < len;i++) { len 99 third_party/libxml/src/xmlstring.c ret[len] = 0; len 206 third_party/libxml/src/xmlstring.c xmlStrncmp(const xmlChar *str1, const xmlChar *str2, int len) { len 209 third_party/libxml/src/xmlstring.c if (len <= 0) return(0); len 214 third_party/libxml/src/xmlstring.c tmp = strncmp((const char *)str1, (const char *)str2, len); len 219 third_party/libxml/src/xmlstring.c if (tmp != 0 || --len == 0) return(tmp); len 296 third_party/libxml/src/xmlstring.c xmlStrncasecmp(const xmlChar *str1, const xmlChar *str2, int len) { len 299 third_party/libxml/src/xmlstring.c if (len <= 0) return(0); len 305 third_party/libxml/src/xmlstring.c if (tmp != 0 || --len == 0) return(tmp); len 397 third_party/libxml/src/xmlstring.c xmlStrsub(const xmlChar *str, int start, int len) { len 402 third_party/libxml/src/xmlstring.c if (len < 0) return(NULL); len 409 third_party/libxml/src/xmlstring.c return(xmlStrndup(str, len)); len 423 third_party/libxml/src/xmlstring.c int len = 0; len 428 third_party/libxml/src/xmlstring.c len++; len 430 third_party/libxml/src/xmlstring.c return(len); len 448 third_party/libxml/src/xmlstring.c xmlStrncat(xmlChar *cur, const xmlChar *add, int len) { len 452 third_party/libxml/src/xmlstring.c if ((add == NULL) || (len == 0)) len 454 third_party/libxml/src/xmlstring.c if (len < 0) len 457 third_party/libxml/src/xmlstring.c return(xmlStrndup(add, len)); len 460 third_party/libxml/src/xmlstring.c ret = (xmlChar *) xmlRealloc(cur, (size + len + 1) * sizeof(xmlChar)); len 465 third_party/libxml/src/xmlstring.c memcpy(&ret[size], add, len * sizeof(xmlChar)); len 466 third_party/libxml/src/xmlstring.c ret[size + len] = 0; len 483 third_party/libxml/src/xmlstring.c xmlStrncatNew(const xmlChar *str1, const xmlChar *str2, int len) { len 487 third_party/libxml/src/xmlstring.c if (len < 0) len 488 third_party/libxml/src/xmlstring.c len = xmlStrlen(str2); len 489 third_party/libxml/src/xmlstring.c if ((str2 == NULL) || (len == 0)) len 492 third_party/libxml/src/xmlstring.c return(xmlStrndup(str2, len)); len 495 third_party/libxml/src/xmlstring.c ret = (xmlChar *) xmlMalloc((size + len + 1) * sizeof(xmlChar)); len 501 third_party/libxml/src/xmlstring.c memcpy(&ret[size], str2, len * sizeof(xmlChar)); len 502 third_party/libxml/src/xmlstring.c ret[size + len] = 0; len 541 third_party/libxml/src/xmlstring.c xmlStrPrintf(xmlChar *buf, int len, const xmlChar *msg, ...) { len 550 third_party/libxml/src/xmlstring.c ret = vsnprintf((char *) buf, len, (const char *) msg, args); len 552 third_party/libxml/src/xmlstring.c buf[len - 1] = 0; /* be safe ! */ len 569 third_party/libxml/src/xmlstring.c xmlStrVPrintf(xmlChar *buf, int len, const xmlChar *msg, va_list ap) { len 576 third_party/libxml/src/xmlstring.c ret = vsnprintf((char *) buf, len, (const char *) msg, ap); len 577 third_party/libxml/src/xmlstring.c buf[len - 1] = 0; /* be safe ! */ len 609 third_party/libxml/src/xmlstring.c int len; len 619 third_party/libxml/src/xmlstring.c len = 2; len 622 third_party/libxml/src/xmlstring.c return len; len 623 third_party/libxml/src/xmlstring.c len++; len 702 third_party/libxml/src/xmlstring.c xmlGetUTF8Char(const unsigned char *utf, int *len) { len 707 third_party/libxml/src/xmlstring.c if (len == NULL) len 709 third_party/libxml/src/xmlstring.c if (*len < 1) len 714 third_party/libxml/src/xmlstring.c if (*len < 2) len 719 third_party/libxml/src/xmlstring.c if (*len < 3) len 724 third_party/libxml/src/xmlstring.c if (*len < 4) len 728 third_party/libxml/src/xmlstring.c *len = 4; len 736 third_party/libxml/src/xmlstring.c *len = 3; len 743 third_party/libxml/src/xmlstring.c *len = 2; len 749 third_party/libxml/src/xmlstring.c *len = 1; len 754 third_party/libxml/src/xmlstring.c if (len != NULL) len 755 third_party/libxml/src/xmlstring.c *len = 0; len 825 third_party/libxml/src/xmlstring.c xmlUTF8Strsize(const xmlChar *utf, int len) { len 832 third_party/libxml/src/xmlstring.c if (len <= 0) len 835 third_party/libxml/src/xmlstring.c while ( len-- > 0) { len 858 third_party/libxml/src/xmlstring.c xmlUTF8Strndup(const xmlChar *utf, int len) { len 862 third_party/libxml/src/xmlstring.c if ((utf == NULL) || (len < 0)) return(NULL); len 863 third_party/libxml/src/xmlstring.c i = xmlUTF8Strsize(utf, len); len 868 third_party/libxml/src/xmlstring.c (len + 1) * (long)sizeof(xmlChar)); len 956 third_party/libxml/src/xmlstring.c xmlUTF8Strsub(const xmlChar *utf, int start, int len) { len 962 third_party/libxml/src/xmlstring.c if (len < 0) return(NULL); len 980 third_party/libxml/src/xmlstring.c return(xmlUTF8Strndup(utf, len)); len 105 third_party/libxml/src/xmlwriter.c const xmlChar * str, int len); len 109 third_party/libxml/src/xmlwriter.c static int xmlOutputBufferWriteBase64(xmlOutputBufferPtr out, int len, len 1350 third_party/libxml/src/xmlwriter.c int len) len 1363 third_party/libxml/src/xmlwriter.c if ((content == NULL) || (len < 0)) { len 1384 third_party/libxml/src/xmlwriter.c xmlOutputBufferWrite(writer->out, len, (const char *) content); len 1539 third_party/libxml/src/xmlwriter.c xmlOutputBufferWriteBase64(xmlOutputBufferPtr out, int len, len 1554 third_party/libxml/src/xmlwriter.c if ((out == NULL) || (len < 0) || (data == NULL)) len 1568 third_party/libxml/src/xmlwriter.c for (n = 0; n < 3 && i < len; n++, i++) { len 1602 third_party/libxml/src/xmlwriter.c if (i >= len) len 1622 third_party/libxml/src/xmlwriter.c int start, int len) len 1629 third_party/libxml/src/xmlwriter.c if ((writer == NULL) || (data == NULL) || (start < 0) || (len < 0)) len 1648 third_party/libxml/src/xmlwriter.c xmlOutputBufferWriteBase64(writer->out, len, len 1671 third_party/libxml/src/xmlwriter.c int len, const unsigned char *data) len 1679 third_party/libxml/src/xmlwriter.c if ((out == NULL) || (data == NULL) || (len < 0)) { len 1684 third_party/libxml/src/xmlwriter.c for (i = 0; i < len; i++) { len 1715 third_party/libxml/src/xmlwriter.c int start, int len) len 1722 third_party/libxml/src/xmlwriter.c if ((writer == NULL) || (data == NULL) || (start < 0) || (len < 0)) len 1741 third_party/libxml/src/xmlwriter.c xmlOutputBufferWriteBinHex(writer->out, len, len 4414 third_party/libxml/src/xmlwriter.c xmlTextWriterWriteDocCallback(void *context, const xmlChar * str, int len) len 4419 third_party/libxml/src/xmlwriter.c if ((rc = xmlParseChunk(ctxt, (const char *) str, len, 0)) != 0) { len 4426 third_party/libxml/src/xmlwriter.c return len; len 3279 third_party/libxml/src/xpath.c int i, j, incr, len; len 3286 third_party/libxml/src/xpath.c len = set->nodeNr; len 3287 third_party/libxml/src/xpath.c for (incr = len / 2; incr > 0; incr /= 2) { len 3288 third_party/libxml/src/xpath.c for (i = incr; i < len; i++) { len 6204 third_party/libxml/src/xpath.c int len = 2; len 6267 third_party/libxml/src/xpath.c if (len == 1) { len 6271 third_party/libxml/src/xpath.c len = 1; len 8993 third_party/libxml/src/xpath.c xmlXPathObjectPtr str, start, len; len 9010 third_party/libxml/src/xpath.c len = valuePop(ctxt); len 9011 third_party/libxml/src/xpath.c le = len->floatval; len 9012 third_party/libxml/src/xpath.c xmlXPathReleaseObject(ctxt->context, len); len 9651 third_party/libxml/src/xpath.c xmlXPathCurrentChar(xmlXPathParserContextPtr ctxt, int *len) { len 9684 third_party/libxml/src/xpath.c *len = 4; len 9691 third_party/libxml/src/xpath.c *len = 3; len 9698 third_party/libxml/src/xpath.c *len = 2; len 9708 third_party/libxml/src/xpath.c *len = 1; len 9719 third_party/libxml/src/xpath.c *len = 0; len 9852 third_party/libxml/src/xpath.c int len = 0, l; len 9873 third_party/libxml/src/xpath.c COPY_BUF(l,buf,len,c); len 9876 third_party/libxml/src/xpath.c if (len >= XML_MAX_NAMELEN) { len 9882 third_party/libxml/src/xpath.c int max = len * 2; len 9888 third_party/libxml/src/xpath.c memcpy(buffer, buf, len); len 9894 third_party/libxml/src/xpath.c if (len + 10 > max) { len 9902 third_party/libxml/src/xpath.c COPY_BUF(l,buffer,len,c); len 9906 third_party/libxml/src/xpath.c buffer[len] = 0; len 9910 third_party/libxml/src/xpath.c if (len == 0) len 9912 third_party/libxml/src/xpath.c return(xmlStrndup(buf, len)); len 10430 third_party/libxml/src/xpath.c int len = 0, l; len 10450 third_party/libxml/src/xpath.c len += l; len 10522 third_party/libxml/src/xpath.c int len =xmlStrlen(name); len 10525 third_party/libxml/src/xpath.c while (NXT(len) != 0) { len 10526 third_party/libxml/src/xpath.c if (NXT(len) == '/') { len 10534 third_party/libxml/src/xpath.c } else if (IS_BLANK_CH(NXT(len))) { len 10537 third_party/libxml/src/xpath.c } else if (NXT(len) == ':') { len 10544 third_party/libxml/src/xpath.c } else if ((NXT(len) == '(')) { len 10560 third_party/libxml/src/xpath.c } else if ((NXT(len) == '[')) { len 10568 third_party/libxml/src/xpath.c } else if ((NXT(len) == '<') || (NXT(len) == '>') || len 10569 third_party/libxml/src/xpath.c (NXT(len) == '=')) { len 10576 third_party/libxml/src/xpath.c len++; len 10578 third_party/libxml/src/xpath.c if (NXT(len) == 0) { len 981 third_party/libxml/src/xpointer.c int len; len 994 third_party/libxml/src/xpointer.c len = xmlStrlen(ctxt->cur); len 995 third_party/libxml/src/xpointer.c len++; len 996 third_party/libxml/src/xpointer.c buffer = (xmlChar *) xmlMallocAtomic(len * sizeof (xmlChar)); len 1459 third_party/libxml/src/xpointer.c int len; len 1464 third_party/libxml/src/xpointer.c len = index2; len 1467 third_party/libxml/src/xpointer.c len -= (index1 - 1); len 1470 third_party/libxml/src/xpointer.c len = index2; len 1472 third_party/libxml/src/xpointer.c tmp = xmlNewTextLen(content, len); len 2359 third_party/libxml/src/xpointer.c int len; len 2404 third_party/libxml/src/xpointer.c len = 0; len 2407 third_party/libxml/src/xpointer.c len = xmlStrlen(cur->content); len 2409 third_party/libxml/src/xpointer.c if (pos > len) { len 2412 third_party/libxml/src/xpointer.c pos = len; len 2414 third_party/libxml/src/xpointer.c if (pos + bytes >= len) { len 2415 third_party/libxml/src/xpointer.c bytes -= (len - pos); len 2418 third_party/libxml/src/xpointer.c } else if (pos + bytes < len) { len 2449 third_party/libxml/src/xpointer.c int len; /* in bytes */ len 2470 third_party/libxml/src/xpointer.c len = xmlStrlen(cur->content); len 2471 third_party/libxml/src/xpointer.c if (len >= pos + stringlen) { len 2488 third_party/libxml/src/xpointer.c int sub = len - pos; len 2535 third_party/libxml/src/xpointer.c int len; /* in bytes */ len 2552 third_party/libxml/src/xpointer.c len = xmlStrlen(cur->content); len 2553 third_party/libxml/src/xpointer.c while (pos <= len) { len 2573 third_party/libxml/src/xpointer.c pos = len + 1; len 2618 third_party/libxml/src/xpointer.c int pos, len = 0; len 2640 third_party/libxml/src/xpointer.c len = xmlStrlen(cur->content); len 2649 third_party/libxml/src/xpointer.c *indx = len; len 367 third_party/libxslt/libexslt/math.c int len = xmlStrlen(EXSLT_PI); len 369 third_party/libxslt/libexslt/math.c if (precision <= len) len 370 third_party/libxslt/libexslt/math.c len = (int)precision; len 372 third_party/libxslt/libexslt/math.c str = xmlStrsub(EXSLT_PI, 0, len); len 375 third_party/libxslt/libexslt/math.c int len = xmlStrlen(EXSLT_E); len 377 third_party/libxslt/libexslt/math.c if (precision <= len) len 378 third_party/libxslt/libexslt/math.c len = (int)precision; len 380 third_party/libxslt/libexslt/math.c str = xmlStrsub(EXSLT_E, 0, len); len 383 third_party/libxslt/libexslt/math.c int len = xmlStrlen(EXSLT_SQRRT2); len 385 third_party/libxslt/libexslt/math.c if (precision <= len) len 386 third_party/libxslt/libexslt/math.c len = (int)precision; len 388 third_party/libxslt/libexslt/math.c str = xmlStrsub(EXSLT_SQRRT2, 0, len); len 391 third_party/libxslt/libexslt/math.c int len = xmlStrlen(EXSLT_LN2); len 393 third_party/libxslt/libexslt/math.c if (precision <= len) len 394 third_party/libxslt/libexslt/math.c len = (int)precision; len 396 third_party/libxslt/libexslt/math.c str = xmlStrsub(EXSLT_LN2, 0, len); len 399 third_party/libxslt/libexslt/math.c int len = xmlStrlen(EXSLT_LN10); len 401 third_party/libxslt/libexslt/math.c if (precision <= len) len 402 third_party/libxslt/libexslt/math.c len = (int)precision; len 404 third_party/libxslt/libexslt/math.c str = xmlStrsub(EXSLT_LN10, 0, len); len 407 third_party/libxslt/libexslt/math.c int len = xmlStrlen(EXSLT_LOG2E); len 409 third_party/libxslt/libexslt/math.c if (precision <= len) len 410 third_party/libxslt/libexslt/math.c len = (int)precision; len 412 third_party/libxslt/libexslt/math.c str = xmlStrsub(EXSLT_LOG2E, 0, len); len 415 third_party/libxslt/libexslt/math.c int len = xmlStrlen(EXSLT_SQRT1_2); len 417 third_party/libxslt/libexslt/math.c if (precision <= len) len 418 third_party/libxslt/libexslt/math.c len = (int)precision; len 420 third_party/libxslt/libexslt/math.c str = xmlStrsub(EXSLT_SQRT1_2, 0, len); len 601 third_party/libxslt/libxslt/keys.c int i, len, k; len 768 third_party/libxslt/libxslt/keys.c len = useRes->nodesetval->nodeNr; len 774 third_party/libxslt/libxslt/keys.c len = 1; len 833 third_party/libxslt/libxslt/keys.c if (k >= len) len 82 third_party/libxslt/libxslt/numbers.c int len; len 92 third_party/libxslt/libxslt/numbers.c len = 2; len 95 third_party/libxslt/libxslt/numbers.c return len; len 96 third_party/libxslt/libxslt/numbers.c len++; len 177 third_party/libxslt/libxslt/numbers.c int len; len 212 third_party/libxslt/libxslt/numbers.c len = xmlCopyCharMultiByte(temp_char, val); len 213 third_party/libxslt/libxslt/numbers.c if ( (pointer - len) < temp_string ) { len 217 third_party/libxslt/libxslt/numbers.c pointer -= len; len 218 third_party/libxslt/libxslt/numbers.c memcpy(pointer, temp_char, len); len 324 third_party/libxslt/libxslt/numbers.c int len; len 339 third_party/libxslt/libxslt/numbers.c while (! (IS_LETTER(val=xmlStringCurrentChar(NULL, format+ix, &len)) || len 343 third_party/libxslt/libxslt/numbers.c ix += len; len 363 third_party/libxslt/libxslt/numbers.c val = xmlStringCurrentChar(NULL, format+ix, &len); len 369 third_party/libxslt/libxslt/numbers.c ix += len; len 370 third_party/libxslt/libxslt/numbers.c val = xmlStringCurrentChar(NULL, format+ix, &len); len 374 third_party/libxslt/libxslt/numbers.c ix += len; len 375 third_party/libxslt/libxslt/numbers.c val = xmlStringCurrentChar(NULL, format+ix, &len); len 382 third_party/libxslt/libxslt/numbers.c ix += len; len 383 third_party/libxslt/libxslt/numbers.c val = xmlStringCurrentChar(NULL, format+ix, &len); len 404 third_party/libxslt/libxslt/numbers.c ix += len; len 405 third_party/libxslt/libxslt/numbers.c val = xmlStringCurrentChar(NULL, format+ix, &len); len 415 third_party/libxslt/libxslt/numbers.c ix += len; len 416 third_party/libxslt/libxslt/numbers.c val = xmlStringCurrentChar(NULL, format+ix, &len); len 855 third_party/libxslt/libxslt/numbers.c int len; len 893 third_party/libxslt/libxslt/numbers.c if ((len=xsltUTF8Size(*format)) < 1) len 895 third_party/libxslt/libxslt/numbers.c count += len; len 896 third_party/libxslt/libxslt/numbers.c *format += len; len 955 third_party/libxslt/libxslt/numbers.c int j, len; len 1075 third_party/libxslt/libxslt/numbers.c if ((len=xsltUTF8Size(the_format)) < 1) { len 1079 third_party/libxslt/libxslt/numbers.c the_format += len; len 1105 third_party/libxslt/libxslt/numbers.c if ((len = xsltUTF8Size(the_format)) < 1) { len 1109 third_party/libxslt/libxslt/numbers.c the_format += len; len 1117 third_party/libxslt/libxslt/numbers.c if ((len = xsltUTF8Size(the_format)) < 1) { len 1121 third_party/libxslt/libxslt/numbers.c the_format += len; len 1126 third_party/libxslt/libxslt/numbers.c if ((len = xsltUTF8Size(the_format)) < 1) { len 1130 third_party/libxslt/libxslt/numbers.c the_format += len; len 1143 third_party/libxslt/libxslt/numbers.c the_format -= len; len 1203 third_party/libxslt/libxslt/numbers.c if ((len = xsltUTF8Size(the_format)) < 1) { len 1207 third_party/libxslt/libxslt/numbers.c the_format += len; len 1211 third_party/libxslt/libxslt/numbers.c the_format -= len; len 1274 third_party/libxslt/libxslt/numbers.c len = xsltUTF8Size(prefix); len 1275 third_party/libxslt/libxslt/numbers.c xmlBufferAdd(buffer, prefix, len); len 1276 third_party/libxslt/libxslt/numbers.c prefix += len; len 1277 third_party/libxslt/libxslt/numbers.c j += len - 1; /* length of symbol less length of quote */ len 1289 third_party/libxslt/libxslt/numbers.c len = xmlStrlen(self->grouping); len 1290 third_party/libxslt/libxslt/numbers.c pchar = xsltGetUTF8Char(self->grouping, &len); len 1294 third_party/libxslt/libxslt/numbers.c pchar, len); len 1339 third_party/libxslt/libxslt/numbers.c len = xsltUTF8Size(suffix); len 1340 third_party/libxslt/libxslt/numbers.c xmlBufferAdd(buffer, suffix, len); len 1341 third_party/libxslt/libxslt/numbers.c suffix += len; len 1342 third_party/libxslt/libxslt/numbers.c j += len - 1; /* length of symbol less length of escape */ len 851 third_party/libxslt/libxslt/pattern.c int pos = 0, len = 0; len 949 third_party/libxslt/libxslt/pattern.c len = XSLT_RUNTIME_EXTRA(ctxt, len 973 third_party/libxslt/libxslt/pattern.c len++; len 974 third_party/libxslt/libxslt/pattern.c pos = len; len 983 third_party/libxslt/libxslt/pattern.c len++; len 1000 third_party/libxslt/libxslt/pattern.c ctxt->xpathCtxt->contextSize = len; len 1013 third_party/libxslt/libxslt/pattern.c len; len 1058 third_party/libxslt/libxslt/pattern.c len = XSLT_RUNTIME_EXTRA(ctxt, len 1078 third_party/libxslt/libxslt/pattern.c len++; len 1080 third_party/libxslt/libxslt/pattern.c pos = len; len 1097 third_party/libxslt/libxslt/pattern.c ctxt->xpathCtxt->contextSize = len; len 1109 third_party/libxslt/libxslt/pattern.c len; len 1267 third_party/libxslt/libxslt/pattern.c int val, len; len 1273 third_party/libxslt/libxslt/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 1275 third_party/libxslt/libxslt/pattern.c cur += len; len 1276 third_party/libxslt/libxslt/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 1284 third_party/libxslt/libxslt/pattern.c cur += len; len 1289 third_party/libxslt/libxslt/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 1291 third_party/libxslt/libxslt/pattern.c cur += len; len 1292 third_party/libxslt/libxslt/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 1300 third_party/libxslt/libxslt/pattern.c cur += len; len 1323 third_party/libxslt/libxslt/pattern.c int val, len; len 1328 third_party/libxslt/libxslt/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 1337 third_party/libxslt/libxslt/pattern.c cur += len; len 1338 third_party/libxslt/libxslt/pattern.c val = xmlStringCurrentChar(NULL, cur, &len); len 661 third_party/libxslt/libxslt/transform.c const xmlChar *string, int len) { len 665 third_party/libxslt/libxslt/transform.c if ((len <= 0) || (string == NULL) || (target == NULL)) len 670 third_party/libxslt/libxslt/transform.c if (ctxt->lasttuse + len >= ctxt->lasttsize) { len 674 third_party/libxslt/libxslt/transform.c size = ctxt->lasttsize + len + 100; len 686 third_party/libxslt/libxslt/transform.c memcpy(&(target->content[ctxt->lasttuse]), string, len); len 687 third_party/libxslt/libxslt/transform.c ctxt->lasttuse += len; len 692 third_party/libxslt/libxslt/transform.c len = xmlStrlen(target->content); len 693 third_party/libxslt/libxslt/transform.c ctxt->lasttsize = len; len 694 third_party/libxslt/libxslt/transform.c ctxt->lasttuse = len; len 717 third_party/libxslt/libxslt/transform.c int len; len 737 third_party/libxslt/libxslt/transform.c len = xmlStrlen(string); len 755 third_party/libxslt/libxslt/transform.c return(xsltAddTextString(ctxt, target->last, string, len)); len 757 third_party/libxslt/libxslt/transform.c copy = xmlNewCDataBlock(ctxt->output, string, len); len 766 third_party/libxslt/libxslt/transform.c return(xsltAddTextString(ctxt, target->last, string, len)); len 768 third_party/libxslt/libxslt/transform.c copy = xmlNewTextLen(string, len); len 778 third_party/libxslt/libxslt/transform.c return(xsltAddTextString(ctxt, target->last, string, len)); len 780 third_party/libxslt/libxslt/transform.c copy = xmlNewTextLen(string, len); len 786 third_party/libxslt/libxslt/transform.c ctxt->lasttsize = len; len 787 third_party/libxslt/libxslt/transform.c ctxt->lasttuse = len; len 876 third_party/libxslt/libxslt/transform.c unsigned int len; len 878 third_party/libxslt/libxslt/transform.c len = xmlStrlen(cur->content); len 879 third_party/libxslt/libxslt/transform.c copy = xmlNewCDataBlock(ctxt->output, cur->content, len); len 883 third_party/libxslt/libxslt/transform.c ctxt->lasttsize = len; len 884 third_party/libxslt/libxslt/transform.c ctxt->lasttuse = len; len 930 third_party/libxslt/libxslt/transform.c unsigned int len; len 932 third_party/libxslt/libxslt/transform.c len = xmlStrlen(cur->content); len 933 third_party/libxslt/libxslt/transform.c copy = xmlNewTextLen(cur->content, len); len 939 third_party/libxslt/libxslt/transform.c ctxt->lasttsize = len; len 940 third_party/libxslt/libxslt/transform.c ctxt->lasttuse = len; len 4067 third_party/libxslt/libxslt/transform.c int len; len 4071 third_party/libxslt/libxslt/transform.c len = xmlStrlen(value); len 4072 third_party/libxslt/libxslt/transform.c if (len > 0) { len 4073 third_party/libxslt/libxslt/transform.c if ((value[len-1] == '-') || len 497 third_party/libxslt/libxslt/xsltlocale.c size_t len; len 501 third_party/libxslt/libxslt/xsltlocale.c len = xsltLocaleListSize * sizeof(xsltRFC1766Info); len 502 third_party/libxslt/libxslt/xsltlocale.c xsltLocaleList = xmlMalloc(len); len 503 third_party/libxslt/libxslt/xsltlocale.c memset(xsltLocaleList, 0, len); len 246 third_party/libxslt/libxslt/xsltutils.c xsltGetUTF8Char(const unsigned char *utf, int *len) { len 251 third_party/libxslt/libxslt/xsltutils.c if (len == NULL) len 253 third_party/libxslt/libxslt/xsltutils.c if (*len < 1) len 258 third_party/libxslt/libxslt/xsltutils.c if (*len < 2) len 263 third_party/libxslt/libxslt/xsltutils.c if (*len < 3) len 268 third_party/libxslt/libxslt/xsltutils.c if (*len < 4) len 272 third_party/libxslt/libxslt/xsltutils.c *len = 4; len 280 third_party/libxslt/libxslt/xsltutils.c *len = 3; len 287 third_party/libxslt/libxslt/xsltutils.c *len = 2; len 293 third_party/libxslt/libxslt/xsltutils.c *len = 1; len 298 third_party/libxslt/libxslt/xsltutils.c if (len != NULL) len 299 third_party/libxslt/libxslt/xsltutils.c *len = 0; len 456 third_party/libxslt/libxslt/xsltutils.c int len = xmlStrlen(message); len 459 third_party/libxslt/libxslt/xsltutils.c if ((len > 0) && (message[len - 1] != '\n')) len 739 third_party/libxslt/libxslt/xsltutils.c int len = 0; len 746 third_party/libxslt/libxslt/xsltutils.c while ((name[len] != 0) && (name[len] != ':')) len++; len 747 third_party/libxslt/libxslt/xsltutils.c if (name[len] == 0) return(xmlDictLookup(dict, name, -1)); len 748 third_party/libxslt/libxslt/xsltutils.c *prefix = xmlDictLookup(dict, name, len); len 749 third_party/libxslt/libxslt/xsltutils.c ret = xmlDictLookup(dict, &name[len + 1], -1); len 773 third_party/libxslt/libxslt/xsltutils.c int len = 0; len 799 third_party/libxslt/libxslt/xsltutils.c while ((qname[len] != 0) && (qname[len] != ':')) len 800 third_party/libxslt/libxslt/xsltutils.c len++; len 802 third_party/libxslt/libxslt/xsltutils.c if (qname[len] == 0) len 817 third_party/libxslt/libxslt/xsltutils.c qname[len] = 0; len 822 third_party/libxslt/libxslt/xsltutils.c qname, &qname[len + 1], qname); len 827 third_party/libxslt/libxslt/xsltutils.c *name = xmlStrdup(&qname[len + 1]); len 847 third_party/libxslt/libxslt/xsltutils.c int len = 0; len 868 third_party/libxslt/libxslt/xsltutils.c while ((qname[len] != 0) && (qname[len] != ':')) len 869 third_party/libxslt/libxslt/xsltutils.c len++; len 871 third_party/libxslt/libxslt/xsltutils.c if (qname[len] == 0) len 885 third_party/libxslt/libxslt/xsltutils.c qname = xmlStrndup(*name, len); len 902 third_party/libxslt/libxslt/xsltutils.c *name = xmlDictLookup(style->dict, (*name)+len+1, -1); len 923 third_party/libxslt/libxslt/xsltutils.c int len, tst; len 928 third_party/libxslt/libxslt/xsltutils.c len = list->nodeNr; len 929 third_party/libxslt/libxslt/xsltutils.c if (len <= 1) len 932 third_party/libxslt/libxslt/xsltutils.c for (i = 0;i < len -1;i++) { len 933 third_party/libxslt/libxslt/xsltutils.c for (j = i + 1; j < len; j++) { len 964 third_party/libxslt/libxslt/xsltutils.c int len = 0; len 986 third_party/libxslt/libxslt/xsltutils.c len = list->nodeNr; len 992 third_party/libxslt/libxslt/xsltutils.c results = xmlMalloc(len * sizeof(xmlXPathObjectPtr)); len 1005 third_party/libxslt/libxslt/xsltutils.c for (i = 0;i < len;i++) { len 1007 third_party/libxslt/libxslt/xsltutils.c ctxt->xpathCtxt->contextSize = len; len 1093 third_party/libxslt/libxslt/xsltutils.c int len = 0; len 1158 third_party/libxslt/libxslt/xsltutils.c len = list->nodeNr; len 1173 third_party/libxslt/libxslt/xsltutils.c for (incr = len / 2; incr > 0; incr /= 2) { len 1174 third_party/libxslt/libxslt/xsltutils.c for (i = incr; i < len; i++) { len 1323 third_party/libxslt/libxslt/xsltutils.c for (i = 0;i < len;i++) len 96 third_party/libxslt/libxslt/xsltutils.h int *len); len 908 third_party/lzma_sdk/7zIn.c size_t len = p->FileNameOffsets[fileIndex + 1] - p->FileNameOffsets[fileIndex]; len 913 third_party/lzma_sdk/7zIn.c for (i = 0; i < len; i++) len 916 third_party/lzma_sdk/7zIn.c return len; len 337 third_party/lzma_sdk/LzFind.c UInt32 len = 0; len 338 third_party/lzma_sdk/LzFind.c while (++len != lenLimit) len 339 third_party/lzma_sdk/LzFind.c if (pb[len] != cur[len]) len 341 third_party/lzma_sdk/LzFind.c if (maxLen < len) len 343 third_party/lzma_sdk/LzFind.c *distances++ = maxLen = len; len 345 third_party/lzma_sdk/LzFind.c if (len == lenLimit) len 371 third_party/lzma_sdk/LzFind.c UInt32 len = (len0 < len1 ? len0 : len1); len 372 third_party/lzma_sdk/LzFind.c if (pb[len] == cur[len]) len 374 third_party/lzma_sdk/LzFind.c if (++len != lenLimit && pb[len] == cur[len]) len 375 third_party/lzma_sdk/LzFind.c while (++len != lenLimit) len 376 third_party/lzma_sdk/LzFind.c if (pb[len] != cur[len]) len 378 third_party/lzma_sdk/LzFind.c if (maxLen < len) len 380 third_party/lzma_sdk/LzFind.c *distances++ = maxLen = len; len 382 third_party/lzma_sdk/LzFind.c if (len == lenLimit) len 390 third_party/lzma_sdk/LzFind.c if (pb[len] < cur[len]) len 395 third_party/lzma_sdk/LzFind.c len1 = len; len 402 third_party/lzma_sdk/LzFind.c len0 = len; len 425 third_party/lzma_sdk/LzFind.c UInt32 len = (len0 < len1 ? len0 : len1); len 426 third_party/lzma_sdk/LzFind.c if (pb[len] == cur[len]) len 428 third_party/lzma_sdk/LzFind.c while (++len != lenLimit) len 429 third_party/lzma_sdk/LzFind.c if (pb[len] != cur[len]) len 432 third_party/lzma_sdk/LzFind.c if (len == lenLimit) len 440 third_party/lzma_sdk/LzFind.c if (pb[len] < cur[len]) len 445 third_party/lzma_sdk/LzFind.c len1 = len; len 452 third_party/lzma_sdk/LzFind.c len0 = len; len 147 third_party/lzma_sdk/LzmaDec.c unsigned len = 0; len 290 third_party/lzma_sdk/LzmaDec.c TREE_DECODE(probLen, limit, len); len 291 third_party/lzma_sdk/LzmaDec.c len += offset; len 298 third_party/lzma_sdk/LzmaDec.c ((len < kNumLenToPosStates ? len : kNumLenToPosStates - 1) << kNumPosSlotBits); len 356 third_party/lzma_sdk/LzmaDec.c len += kMatchSpecLenStart; len 376 third_party/lzma_sdk/LzmaDec.c len += kMatchMinLen; len 382 third_party/lzma_sdk/LzmaDec.c unsigned curLen = ((rem < len) ? (unsigned)rem : len); len 387 third_party/lzma_sdk/LzmaDec.c len -= curLen; len 416 third_party/lzma_sdk/LzmaDec.c p->remainLen = len; len 435 third_party/lzma_sdk/LzmaDec.c unsigned len = p->remainLen; len 437 third_party/lzma_sdk/LzmaDec.c if (limit - dicPos < len) len 438 third_party/lzma_sdk/LzmaDec.c len = (unsigned)(limit - dicPos); len 440 third_party/lzma_sdk/LzmaDec.c if (p->checkDicSize == 0 && p->prop.dicSize - p->processedPos <= len) len 443 third_party/lzma_sdk/LzmaDec.c p->processedPos += len; len 444 third_party/lzma_sdk/LzmaDec.c p->remainLen -= len; len 445 third_party/lzma_sdk/LzmaDec.c while (len-- != 0) len 541 third_party/lzma_sdk/LzmaDec.c unsigned len; len 626 third_party/lzma_sdk/LzmaDec.c TREE_DECODE_CHECK(probLen, limit, len); len 627 third_party/lzma_sdk/LzmaDec.c len += offset; len 634 third_party/lzma_sdk/LzmaDec.c ((len < kNumLenToPosStates ? len : kNumLenToPosStates - 1) << len 452 third_party/lzma_sdk/LzmaEnc.c #define GetLenToPosState(len) (((len) < kNumLenToPosStates + 1) ? (len) - 2 : kNumLenToPosStates - 1) len 885 third_party/lzma_sdk/LzmaEnc.c static UInt32 GetRepPrice(CLzmaEnc *p, UInt32 repIndex, UInt32 len, UInt32 state, UInt32 posState) len 887 third_party/lzma_sdk/LzmaEnc.c return p->repLenEnc.prices[posState][len - LZMA_MATCH_LEN_MIN] + len 931 third_party/lzma_sdk/LzmaEnc.c UInt32 numAvail, mainLen, numPairs, repMaxIndex, i, posState, lenEnd, len, cur; len 1045 third_party/lzma_sdk/LzmaEnc.c len = lenEnd; len 1047 third_party/lzma_sdk/LzmaEnc.c p->opt[len--].price = kInfinityPrice; len 1048 third_party/lzma_sdk/LzmaEnc.c while (len >= 2); len 1074 third_party/lzma_sdk/LzmaEnc.c len = ((repLens[0] >= 2) ? repLens[0] + 1 : 2); len 1075 third_party/lzma_sdk/LzmaEnc.c if (len <= mainLen) len 1078 third_party/lzma_sdk/LzmaEnc.c while (len > matches[offs]) len 1080 third_party/lzma_sdk/LzmaEnc.c for (; ; len++) len 1085 third_party/lzma_sdk/LzmaEnc.c UInt32 curAndLenPrice = normalMatchPrice + p->lenEnc.prices[posState][len - LZMA_MATCH_LEN_MIN]; len 1086 third_party/lzma_sdk/LzmaEnc.c UInt32 lenToPosState = GetLenToPosState(len); len 1095 third_party/lzma_sdk/LzmaEnc.c opt = &p->opt[len]; len 1103 third_party/lzma_sdk/LzmaEnc.c if (len == matches[offs]) len 1514 third_party/lzma_sdk/LzmaEnc.c UInt32 len; len 1518 third_party/lzma_sdk/LzmaEnc.c for (len = 2; len < numAvail && data[len] == data2[len]; len++); len 1519 third_party/lzma_sdk/LzmaEnc.c if (len >= p->numFastBytes) len 1522 third_party/lzma_sdk/LzmaEnc.c MovePos(p, len - 1); len 1523 third_party/lzma_sdk/LzmaEnc.c return len; len 1525 third_party/lzma_sdk/LzmaEnc.c if (len > repLen) len 1528 third_party/lzma_sdk/LzmaEnc.c repLen = len; len 1583 third_party/lzma_sdk/LzmaEnc.c UInt32 len, limit; len 1588 third_party/lzma_sdk/LzmaEnc.c for (len = 2; len < limit && data[len] == data2[len]; len++); len 1589 third_party/lzma_sdk/LzmaEnc.c if (len >= limit) len 1599 third_party/lzma_sdk/LzmaEnc.c UInt32 len; len 1603 third_party/lzma_sdk/LzmaEnc.c len = LZMA_MATCH_LEN_MIN; len 1604 third_party/lzma_sdk/LzmaEnc.c LenEnc_Encode2(&p->lenEnc, &p->rc, len - LZMA_MATCH_LEN_MIN, posState, !p->fastMode, p->ProbPrices); len 1605 third_party/lzma_sdk/LzmaEnc.c RcTree_Encode(&p->rc, p->posSlotEncoder[GetLenToPosState(len)], kNumPosSlotBits, (1 << kNumPosSlotBits) - 1); len 1767 third_party/lzma_sdk/LzmaEnc.c UInt32 pos, len, posState; len 1770 third_party/lzma_sdk/LzmaEnc.c len = GetOptimumFast(p, &pos); len 1772 third_party/lzma_sdk/LzmaEnc.c len = GetOptimum(p, nowPos32, &pos); len 1775 third_party/lzma_sdk/LzmaEnc.c printf("\n pos = %4X, len = %d pos = %d", nowPos32, len, pos); len 1779 third_party/lzma_sdk/LzmaEnc.c if (len == 1 && pos == (UInt32)-1) len 1804 third_party/lzma_sdk/LzmaEnc.c RangeEnc_EncodeBit(&p->rc, &p->isRep0Long[p->state][posState], ((len == 1) ? 0 : 1)); len 1823 third_party/lzma_sdk/LzmaEnc.c if (len == 1) len 1827 third_party/lzma_sdk/LzmaEnc.c LenEnc_Encode2(&p->repLenEnc, &p->rc, len - LZMA_MATCH_LEN_MIN, posState, !p->fastMode, p->ProbPrices); len 1836 third_party/lzma_sdk/LzmaEnc.c LenEnc_Encode2(&p->lenEnc, &p->rc, len - LZMA_MATCH_LEN_MIN, posState, !p->fastMode, p->ProbPrices); len 1839 third_party/lzma_sdk/LzmaEnc.c RcTree_Encode(&p->rc, p->posSlotEncoder[GetLenToPosState(len)], kNumPosSlotBits, posSlot); len 1863 third_party/lzma_sdk/LzmaEnc.c p->additionalOffset -= len; len 1864 third_party/lzma_sdk/LzmaEnc.c nowPos32 += len; len 85 third_party/mach_override/libudis86/input.c ud_set_input_buffer(register struct ud* u, const uint8_t* buf, size_t len) len 89 third_party/mach_override/libudis86/input.c u->inp_buff_end = buf + len; len 80 third_party/modp_b64/modp_b64.cc size_t modp_b64_encode(char* dest, const char* str, size_t len) len 88 third_party/modp_b64/modp_b64.cc if (len > 2) { len 89 third_party/modp_b64/modp_b64.cc for (; i < len - 2; i += 3) { len 98 third_party/modp_b64/modp_b64.cc switch (len - i) { len 121 third_party/modp_b64/modp_b64.cc int modp_b64_decode(char* dest, const char* src, int len) len 123 third_party/modp_b64/modp_b64.cc if (len == 0) return 0; len 129 third_party/modp_b64/modp_b64.cc if (len < 4 || (len % 4 != 0)) return MODP_B64_ERROR; len 130 third_party/modp_b64/modp_b64.cc if (src[len-1] == CHARPAD) { len 131 third_party/modp_b64/modp_b64.cc len--; len 132 third_party/modp_b64/modp_b64.cc if (src[len -1] == CHARPAD) { len 133 third_party/modp_b64/modp_b64.cc len--; len 139 third_party/modp_b64/modp_b64.cc int leftover = len % 4; len 140 third_party/modp_b64/modp_b64.cc size_t chunks = (leftover == 0) ? len / 4 - 1 : len /4; len 189 third_party/modp_b64/modp_b64.cc size_t modp_b64_decode(char* dest, const char* src, size_t len) len 191 third_party/modp_b64/modp_b64.cc if (len == 0) return 0; len 198 third_party/modp_b64/modp_b64.cc if (len < 4 || (len % 4 != 0)) return MODP_B64_ERROR; /* error */ len 200 third_party/modp_b64/modp_b64.cc if (src[len-1] == CHARPAD) { len 201 third_party/modp_b64/modp_b64.cc len--; len 202 third_party/modp_b64/modp_b64.cc if (src[len -1] == CHARPAD) { len 203 third_party/modp_b64/modp_b64.cc len--; len 209 third_party/modp_b64/modp_b64.cc int leftover = len % 4; len 210 third_party/modp_b64/modp_b64.cc size_t chunks = (leftover == 0) ? len / 4 - 1 : len /4; len 58 third_party/modp_b64/modp_b64.h size_t modp_b64_encode(char* dest, const char* str, size_t len); len 81 third_party/modp_b64/modp_b64.h size_t modp_b64_decode(char* dest, const char* src, size_t len); len 239 third_party/npapi/bindings/npapi.h int32_t len; len 839 third_party/npapi/bindings/npapi.h int32_t len, void* buffer); len 862 third_party/npapi/bindings/npapi.h const char* target, uint32_t len, len 866 third_party/npapi/bindings/npapi.h const char* target, uint32_t len, len 871 third_party/npapi/bindings/npapi.h int32_t NP_LOADDS NPN_Write(NPP instance, NPStream* stream, int32_t len, len 896 third_party/npapi/bindings/npapi.h uint32_t *len); len 899 third_party/npapi/bindings/npapi.h uint32_t len); len 57 third_party/npapi/bindings/npfunctions.h typedef int32_t (* NP_LOADDS NPP_WriteProcPtr)(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer); len 75 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_PostURLNotifyProcPtr)(NPP instance, const char* url, const char* window, uint32_t len, const char* buf, NPBool file, void* notifyData); len 77 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_PostURLProcPtr)(NPP instance, const char* url, const char* window, uint32_t len, const char* buf, NPBool file); len 80 third_party/npapi/bindings/npfunctions.h typedef int32_t (*NPN_WriteProcPtr)(NPP instance, NPStream* stream, int32_t len, void* buffer); len 119 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_GetValueForURLPtr)(NPP npp, NPNURLVariable variable, const char *url, char **value, uint32_t *len); len 120 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_SetValueForURLPtr)(NPP npp, NPNURLVariable variable, const char *url, const char *value, uint32_t len); len 317 third_party/npapi/npspy/common/epmanager.cpp int32 NPPEntryPointManager::callNPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer) len 323 third_party/npapi/npspy/common/epmanager.cpp return CallNPP_WriteProc(nppfuncs->write, instance, stream, offset, len, buffer); len 95 third_party/npapi/npspy/common/npn_gate.cpp NPError NPN_PostURLNotify(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file, void* notifyData) len 102 third_party/npapi/npspy/common/npn_gate.cpp logger->logCall(action_npn_post_url_notify, (DWORD)instance, (DWORD)url, (DWORD)window, (DWORD)len, (DWORD)buf, (DWORD)file, (DWORD)notifyData); len 105 third_party/npapi/npspy/common/npn_gate.cpp rv = NPNFuncs.posturlnotify(instance, url, window, len, buf, file, notifyData); len 115 third_party/npapi/npspy/common/npn_gate.cpp NPError NPN_PostURL(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file) len 118 third_party/npapi/npspy/common/npn_gate.cpp logger->logCall(action_npn_post_url, (DWORD)instance, (DWORD)url, (DWORD)window, (DWORD)len, (DWORD)buf, (DWORD)file); len 120 third_party/npapi/npspy/common/npn_gate.cpp NPError rv = NPNFuncs.posturl(instance, url, window, len, buf, file); len 161 third_party/npapi/npspy/common/npn_gate.cpp int32 NPN_Write(NPP instance, NPStream *stream, int32 len, void *buffer) len 168 third_party/npapi/npspy/common/npn_gate.cpp logger->logCall(action_npn_write, (DWORD)instance, (DWORD)stream, (DWORD)len, (DWORD)buffer); len 171 third_party/npapi/npspy/common/npn_gate.cpp rv = NPNFuncs.write(instance, stream, len, buffer); len 273 third_party/npapi/npspy/common/npp_gate.cpp int32 NPP_Write (NPP instance, NPStream *stream, int32 offset, int32 len, void *buffer) len 282 third_party/npapi/npspy/common/npp_gate.cpp logger->logCall(action_npp_write, (DWORD)instance, (DWORD)stream, (DWORD)offset, (DWORD)len, (DWORD)buffer); len 284 third_party/npapi/npspy/common/npp_gate.cpp int32 rv = epManager->callNPP_Write(instance, stream, offset, len, buffer); len 147 third_party/npapi/npspy/common/plugload.cpp UINT len = 0; len 149 third_party/npapi/npspy/common/plugload.cpp if(!VerQueryValue(verbuf, "\\StringFileInfo\\040904E4\\MIMEType", (void **)&mimetypes, &len) len 150 third_party/npapi/npspy/common/plugload.cpp || !mimetypes || !len) len 157 third_party/npapi/npspy/common/plugload.cpp mimetypes[len] = '\0'; len 210 third_party/npapi/npspy/extern/java/jni.h jsize len); len 583 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, const jchar *unicode, jsize len); len 605 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jsize len, jclass clazz, jobject init); len 612 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jsize len); len 614 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jsize len); len 616 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jsize len); len 618 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jsize len); len 620 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jsize len); len 622 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jsize len); len 624 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jsize len); len 626 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jsize len); len 665 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jbyteArray array, jsize start, jsize len, jbyte *buf); len 667 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jcharArray array, jsize start, jsize len, jchar *buf); len 669 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jshortArray array, jsize start, jsize len, jshort *buf); len 671 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jintArray array, jsize start, jsize len, jint *buf); len 673 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jlongArray array, jsize start, jsize len, jlong *buf); len 675 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jfloatArray array, jsize start, jsize len, jfloat *buf); len 677 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jdoubleArray array, jsize start, jsize len, jdouble *buf); len 682 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jbyteArray array, jsize start, jsize len, jbyte *buf); len 684 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jcharArray array, jsize start, jsize len, jchar *buf); len 686 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jshortArray array, jsize start, jsize len, jshort *buf); len 688 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jintArray array, jsize start, jsize len, jint *buf); len 690 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jlongArray array, jsize start, jsize len, jlong *buf); len 692 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jfloatArray array, jsize start, jsize len, jfloat *buf); len 694 third_party/npapi/npspy/extern/java/jni.h (JNIEnv *env, jdoubleArray array, jsize start, jsize len, jdouble *buf); len 733 third_party/npapi/npspy/extern/java/jni.h jsize len) { len 734 third_party/npapi/npspy/extern/java/jni.h return functions->DefineClass(this, name, loader, buf, len); len 1511 third_party/npapi/npspy/extern/java/jni.h jstring NewString(const jchar *unicode, jsize len) { len 1512 third_party/npapi/npspy/extern/java/jni.h return functions->NewString(this,unicode,len); len 1541 third_party/npapi/npspy/extern/java/jni.h jobjectArray NewObjectArray(jsize len, jclass clazz, len 1543 third_party/npapi/npspy/extern/java/jni.h return functions->NewObjectArray(this,len,clazz,init); len 1553 third_party/npapi/npspy/extern/java/jni.h jbooleanArray NewBooleanArray(jsize len) { len 1554 third_party/npapi/npspy/extern/java/jni.h return functions->NewBooleanArray(this,len); len 1556 third_party/npapi/npspy/extern/java/jni.h jbyteArray NewByteArray(jsize len) { len 1557 third_party/npapi/npspy/extern/java/jni.h return functions->NewByteArray(this,len); len 1559 third_party/npapi/npspy/extern/java/jni.h jcharArray NewCharArray(jsize len) { len 1560 third_party/npapi/npspy/extern/java/jni.h return functions->NewCharArray(this,len); len 1562 third_party/npapi/npspy/extern/java/jni.h jshortArray NewShortArray(jsize len) { len 1563 third_party/npapi/npspy/extern/java/jni.h return functions->NewShortArray(this,len); len 1565 third_party/npapi/npspy/extern/java/jni.h jintArray NewIntArray(jsize len) { len 1566 third_party/npapi/npspy/extern/java/jni.h return functions->NewIntArray(this,len); len 1568 third_party/npapi/npspy/extern/java/jni.h jlongArray NewLongArray(jsize len) { len 1569 third_party/npapi/npspy/extern/java/jni.h return functions->NewLongArray(this,len); len 1571 third_party/npapi/npspy/extern/java/jni.h jfloatArray NewFloatArray(jsize len) { len 1572 third_party/npapi/npspy/extern/java/jni.h return functions->NewFloatArray(this,len); len 1574 third_party/npapi/npspy/extern/java/jni.h jdoubleArray NewDoubleArray(jsize len) { len 1575 third_party/npapi/npspy/extern/java/jni.h return functions->NewDoubleArray(this,len); len 1645 third_party/npapi/npspy/extern/java/jni.h jsize start, jsize len, jboolean *buf) { len 1646 third_party/npapi/npspy/extern/java/jni.h functions->GetBooleanArrayRegion(this,array,start,len,buf); len 1649 third_party/npapi/npspy/extern/java/jni.h jsize start, jsize len, jbyte *buf) { len 1650 third_party/npapi/npspy/extern/java/jni.h functions->GetByteArrayRegion(this,array,start,len,buf); len 1653 third_party/npapi/npspy/extern/java/jni.h jsize start, jsize len, jchar *buf) { len 1654 third_party/npapi/npspy/extern/java/jni.h functions->GetCharArrayRegion(this,array,start,len,buf); len 1657 third_party/npapi/npspy/extern/java/jni.h jsize start, jsize len, jshort *buf) { len 1658 third_party/npapi/npspy/extern/java/jni.h functions->GetShortArrayRegion(this,array,start,len,buf); len 1661 third_party/npapi/npspy/extern/java/jni.h jsize start, jsize len, jint *buf) { len 1662 third_party/npapi/npspy/extern/java/jni.h functions->GetIntArrayRegion(this,array,start,len,buf); len 1665 third_party/npapi/npspy/extern/java/jni.h jsize start, jsize len, jlong *buf) { len 1666 third_party/npapi/npspy/extern/java/jni.h functions->GetLongArrayRegion(this,array,start,len,buf); len 1669 third_party/npapi/npspy/extern/java/jni.h jsize start, jsize len, jfloat *buf) { len 1670 third_party/npapi/npspy/extern/java/jni.h functions->GetFloatArrayRegion(this,array,start,len,buf); len 1673 third_party/npapi/npspy/extern/java/jni.h jsize start, jsize len, jdouble *buf) { len 1674 third_party/npapi/npspy/extern/java/jni.h functions->GetDoubleArrayRegion(this,array,start,len,buf); len 1677 third_party/npapi/npspy/extern/java/jni.h void SetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, len 1679 third_party/npapi/npspy/extern/java/jni.h functions->SetBooleanArrayRegion(this,array,start,len,buf); len 1681 third_party/npapi/npspy/extern/java/jni.h void SetByteArrayRegion(jbyteArray array, jsize start, jsize len, len 1683 third_party/npapi/npspy/extern/java/jni.h functions->SetByteArrayRegion(this,array,start,len,buf); len 1685 third_party/npapi/npspy/extern/java/jni.h void SetCharArrayRegion(jcharArray array, jsize start, jsize len, len 1687 third_party/npapi/npspy/extern/java/jni.h functions->SetCharArrayRegion(this,array,start,len,buf); len 1689 third_party/npapi/npspy/extern/java/jni.h void SetShortArrayRegion(jshortArray array, jsize start, jsize len, len 1691 third_party/npapi/npspy/extern/java/jni.h functions->SetShortArrayRegion(this,array,start,len,buf); len 1693 third_party/npapi/npspy/extern/java/jni.h void SetIntArrayRegion(jintArray array, jsize start, jsize len, len 1695 third_party/npapi/npspy/extern/java/jni.h functions->SetIntArrayRegion(this,array,start,len,buf); len 1697 third_party/npapi/npspy/extern/java/jni.h void SetLongArrayRegion(jlongArray array, jsize start, jsize len, len 1699 third_party/npapi/npspy/extern/java/jni.h functions->SetLongArrayRegion(this,array,start,len,buf); len 1701 third_party/npapi/npspy/extern/java/jni.h void SetFloatArrayRegion(jfloatArray array, jsize start, jsize len, len 1703 third_party/npapi/npspy/extern/java/jni.h functions->SetFloatArrayRegion(this,array,start,len,buf); len 1705 third_party/npapi/npspy/extern/java/jni.h void SetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, len 1707 third_party/npapi/npspy/extern/java/jni.h functions->SetDoubleArrayRegion(this,array,start,len,buf); len 344 third_party/npapi/npspy/extern/java/jri.h #define JRI_NewString(env, unicode, len) \ len 345 third_party/npapi/npspy/extern/java/jri.h (((*(env))->NewString)(env, JRI_NewString_op, unicode, len)) len 353 third_party/npapi/npspy/extern/java/jri.h #define JRI_NewStringUTF(env, utf, len) \ len 354 third_party/npapi/npspy/extern/java/jri.h (((*(env))->NewStringUTF)(env, JRI_NewStringUTF_op, utf, len)) len 389 third_party/npapi/npspy/extern/java/jri.h #define JRI_NewStringPlatform(env, string, len, encoding, encodingLength) \ len 390 third_party/npapi/npspy/extern/java/jri.h (((*(env))->NewStringPlatform)(env, JRI_NewStringPlatform_op, string, len, encoding, encodingLength)) len 52 third_party/npapi/npspy/extern/java/zip.h zip_get(zip_t *zip, const char *fn, void HUGEP *buf, int32_t len); len 592 third_party/npapi/npspy/extern/nspr/md/_beos.h NSPR_API(void *) _MD_mem_map(PRFileMap *fmap, PRInt64 offset, PRUint32 len); len 650 third_party/npapi/npspy/extern/nspr/md/_macos.h PRUint32 len); len 269 third_party/npapi/npspy/extern/nspr/md/_nextstep.h caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, len 271 third_party/npapi/npspy/extern/nspr/md/_nextstep.h int munmap(caddr_t addr, size_t len); len 272 third_party/npapi/npspy/extern/nspr/md/_nextstep.h int mprotect(caddr_t addr, size_t len, int prot); len 276 third_party/npapi/npspy/extern/nspr/md/_nextstep.h caddr_t my_mmap(caddr_t addr, size_t len, int prot, int flags, len 278 third_party/npapi/npspy/extern/nspr/md/_nextstep.h int my_munmap(caddr_t addr, size_t len); len 517 third_party/npapi/npspy/extern/nspr/md/_os2.h PRUint32 len); len 492 third_party/npapi/npspy/extern/nspr/md/_unixos.h PRUint32 len); len 615 third_party/npapi/npspy/extern/nspr/md/_unixos.h void *addr, PRSize len, PRIntn prot, PRIntn flags, len 515 third_party/npapi/npspy/extern/nspr/md/_win16.h PRUint32 len); len 513 third_party/npapi/npspy/extern/nspr/md/_win95.h PRUint32 len); len 574 third_party/npapi/npspy/extern/nspr/md/_winnt.h PRUint32 len); len 80 third_party/npapi/npspy/extern/nspr/md/sunos4.h #define memmove(to,from,len) bcopy((char*)(from),(char*)(to),len) len 1873 third_party/npapi/npspy/extern/nspr/prio.h PRUint32 len); len 1875 third_party/npapi/npspy/extern/nspr/prio.h NSPR_API(PRStatus) PR_MemUnmap(void *addr, PRUint32 len); len 104 third_party/npapi/npspy/extern/nspr/prwin16.h size_t (PR_CALLBACK *strftime)(char *s, size_t len, const char *fmt, const struct tm *p); len 119 third_party/npapi/npspy/extern/nspr/prwin16.h size_t len, len 281 third_party/npapi/npspy/extern/plugin/npapi.h int32 len; len 696 third_party/npapi/npspy/extern/plugin/npapi.h int32 len, void* buffer); len 719 third_party/npapi/npspy/extern/plugin/npapi.h const char* target, uint32 len, len 723 third_party/npapi/npspy/extern/plugin/npapi.h const char* target, uint32 len, len 728 third_party/npapi/npspy/extern/plugin/npapi.h int32 NP_LOADDS NPN_Write(NPP instance, NPStream* stream, int32 len, void* buffer); len 131 third_party/npapi/npspy/extern/plugin/npupp.h typedef int32 (* NP_LOADDS NPP_WriteUPP)(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer); len 206 third_party/npapi/npspy/extern/plugin/npupp.h typedef NPError (* NP_LOADDS NPN_PostURLNotifyUPP)(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file, void* notifyData); len 220 third_party/npapi/npspy/extern/plugin/npupp.h typedef NPError (* NP_LOADDS NPN_PostURLUPP)(NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file); len 241 third_party/npapi/npspy/extern/plugin/npupp.h typedef int32 (* NP_LOADDS NPN_WriteUPP)(NPP instance, NPStream* stream, int32 len, void* buffer); len 244 third_party/npapi/npspy/extern/plugin/npupp.h #define CallNPN_WriteProc(FUNC, npp, stream, len, buffer) \ len 245 third_party/npapi/npspy/extern/plugin/npupp.h (*(FUNC))((npp), (stream), (len), (buffer)) len 96 third_party/npapi/npspy/include/epmanager.h int32 callNPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer); len 880 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final byte[] data, final int off, final int len) len 882 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return super.mergeFrom(data, off, len); len 895 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java final byte[] data, final int off, final int len, len 898 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java return super.mergeFrom(data, off, len, extensionRegistry); len 165 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java final int len) len 169 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java CodedInputStream.newInstance(data, off, len); len 190 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java final byte[] data, final int off, final int len, len 195 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java CodedInputStream.newInstance(data, off, len); len 257 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java public int read(final byte[] b, final int off, int len) len 262 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java len = Math.min(len, limit); len 263 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessageLite.java final int result = super.read(b, off, len); len 136 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parsePartialFrom(byte[] data, int off, int len, len 140 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java CodedInputStream input = CodedInputStream.newInstance(data, off, len); len 157 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parsePartialFrom(byte[] data, int off, int len) len 159 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java return parsePartialFrom(data, off, len, EMPTY_REGISTRY); len 173 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parseFrom(byte[] data, int off, int len, len 177 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java parsePartialFrom(data, off, len, extensionRegistry)); len 180 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java public MessageType parseFrom(byte[] data, int off, int len) len 182 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractParser.java return parseFrom(data, off, len, EMPTY_REGISTRY); len 69 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java final int len) { len 70 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java CodedInputStream result = new CodedInputStream(buf, off, len); len 77 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java result.pushLimit(len); len 564 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java private CodedInputStream(final byte[] buffer, final int off, final int len) { len 566 third_party/protobuf/java/src/main/java/com/google/protobuf/CodedInputStream.java bufferSize = off + len; len 219 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder mergeFrom(byte[] data, int off, int len) len 224 third_party/protobuf/java/src/main/java/com/google/protobuf/Message.java Builder mergeFrom(byte[] data, int off, int len, len 246 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java Builder mergeFrom(byte[] data, int off, int len) len 267 third_party/protobuf/java/src/main/java/com/google/protobuf/MessageLite.java Builder mergeFrom(byte[] data, int off, int len, len 119 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parseFrom(byte[] data, int off, int len) len 127 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parseFrom(byte[] data, int off, int len, len 152 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parsePartialFrom(byte[] data, int off, int len) len 160 third_party/protobuf/java/src/main/java/com/google/protobuf/Parser.java public MessageType parsePartialFrom(byte[] data, int off, int len, len 590 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java public Builder mergeFrom(byte[] data, int off, int len) len 594 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java CodedInputStream.newInstance(data, off, len); len 616 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java byte[] data, int off, int len, len 620 third_party/protobuf/java/src/main/java/com/google/protobuf/UnknownFieldSet.java return mergeFrom(data, off, len); len 364 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java public int read(byte[] buf, int off, int len) { len 369 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java for (int x = 0; x < len; ++x) { len 372 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java return len; len 388 third_party/protobuf/java/src/test/java/com/google/protobuf/ByteStringTest.java public void write(byte[] buf, int off, int len) { len 83 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java public int read(byte[] b, int off, int len) throws IOException { len 84 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java return super.read(b, off, Math.min(len, blockSize)); len 399 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java int len) { len 401 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java toHexString(bytes) + " => " + toHexString(after, len)); len 408 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java private static String toHexString(byte[] b, int len) { len 411 third_party/protobuf/java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java for (int i = 0; i < len; i++) { len 252 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java public void write(byte[] b, int off, int len) { len 253 third_party/protobuf/java/src/test/java/com/google/protobuf/LiteralByteStringTest.java for (int x = 0; x < len; ++x) { len 901 third_party/protobuf/src/google/protobuf/io/tokenizer.cc int len = 0; len 904 third_party/protobuf/src/google/protobuf/io/tokenizer.cc len = 1; len 909 third_party/protobuf/src/google/protobuf/io/tokenizer.cc len = 2; len 915 third_party/protobuf/src/google/protobuf/io/tokenizer.cc len = 3; len 922 third_party/protobuf/src/google/protobuf/io/tokenizer.cc len = 4; len 930 third_party/protobuf/src/google/protobuf/io/tokenizer.cc output->append(reinterpret_cast<const char*>(&tmp) + sizeof(tmp) - len, len); len 935 third_party/protobuf/src/google/protobuf/io/tokenizer.cc static bool ReadHexDigits(const char* ptr, int len, uint32* result) { len 937 third_party/protobuf/src/google/protobuf/io/tokenizer.cc if (len == 0) return false; len 938 third_party/protobuf/src/google/protobuf/io/tokenizer.cc for (const char* end = ptr + len; ptr < end; ++ptr) { len 986 third_party/protobuf/src/google/protobuf/io/tokenizer.cc const int len = UnicodeLength(*p++); len 987 third_party/protobuf/src/google/protobuf/io/tokenizer.cc if (!ReadHexDigits(p, len, code_point)) len 989 third_party/protobuf/src/google/protobuf/io/tokenizer.cc p += len; len 1178 third_party/protobuf/src/google/protobuf/stubs/common.h LIBPROTOBUF_EXPORT bool IsStructurallyValidUTF8(const char* buf, int len); len 525 third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc bool IsStructurallyValidUTF8(const char* buf, int len) { len 530 third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc buf, len, &bytes_consumed); len 531 third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc return (bytes_consumed == len); len 442 third_party/protobuf/src/google/protobuf/stubs/strutil.cc int len = UnescapeCEscapeSequences(src.c_str(), unescaped.get(), errors); len 444 third_party/protobuf/src/google/protobuf/stubs/strutil.cc dest->assign(unescaped.get(), len); len 445 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return len; len 450 third_party/protobuf/src/google/protobuf/stubs/strutil.cc int len = UnescapeCEscapeSequences(src.c_str(), unescaped.get(), NULL); len 451 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return string(unescaped.get(), len); len 528 third_party/protobuf/src/google/protobuf/stubs/strutil.cc const int len = CEscapeInternal(src.data(), src.size(), len 530 third_party/protobuf/src/google/protobuf/stubs/strutil.cc GOOGLE_DCHECK_GE(len, 0); len 531 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return string(dest.get(), len); len 539 third_party/protobuf/src/google/protobuf/stubs/strutil.cc const int len = CEscapeInternal(src.data(), src.size(), len 541 third_party/protobuf/src/google/protobuf/stubs/strutil.cc GOOGLE_DCHECK_GE(len, 0); len 542 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return string(dest.get(), len); len 548 third_party/protobuf/src/google/protobuf/stubs/strutil.cc const int len = CEscapeInternal(src.data(), src.size(), len 550 third_party/protobuf/src/google/protobuf/stubs/strutil.cc GOOGLE_DCHECK_GE(len, 0); len 551 third_party/protobuf/src/google/protobuf/stubs/strutil.cc return string(dest.get(), len); len 131 third_party/qcms/src/chain.c int len = x_len * x_len; len 186 third_party/qcms/src/chain.c int len = x_len * x_len; len 954 third_party/qcms/src/chain.c static float* qcms_modular_transform_data(struct qcms_modular_transform *transform, float *src, float *dest, size_t len) len 971 third_party/qcms/src/chain.c transform->transform_module_fn(transform,src,dest,len); len 412 third_party/qcms/src/iccread.c static struct curveType *read_curveType(struct mem_source *src, uint32_t offset, uint32_t *len) len 443 third_party/qcms/src/iccread.c *len = 12 + count * 2; len 462 third_party/qcms/src/iccread.c *len = 12 + COUNT_TO_LENGTH[count] * 4; len 480 third_party/qcms/src/iccread.c uint32_t len; len 481 third_party/qcms/src/iccread.c return read_curveType(src, tag->offset, &len); len 524 third_party/qcms/src/transform.c int len = x_len * x_len; len 644 third_party/qcms/src/transform.c int len = x_len * x_len; len 29 third_party/qcms/src/transform_util.h #define CLU(table,x,y,z) table[(x*len + y*x_len + z*xy_len)*3] len 462 third_party/re2/re2/compile.cc static int MaxRune(int len) { len 464 third_party/re2/re2/compile.cc if (len == 1) len 467 third_party/re2/re2/compile.cc b = 8-(len+1) + 6*(len-1); len 144 third_party/re2/re2/dfa.cc int len = a->ninst_ * sizeof a->inst_[0]; len 146 third_party/re2/re2/dfa.cc return Hash32StringWithSeed(s, len, a->flag_); len 148 third_party/re2/re2/dfa.cc return Hash64StringWithSeed(s, len, a->flag_); len 526 third_party/re2/re2/re2.cc static int ascii_strcasecmp(const char* a, const char* b, int len) { len 527 third_party/re2/re2/re2.cc const char *ae = a + len; len 46 third_party/re2/re2/stringpiece.h StringPiece(const char* offset, int len) : ptr_(offset), length_(len) { } len 58 third_party/re2/re2/stringpiece.h void set(const char* data, int len) { ptr_ = data; length_ = len; } len 66 third_party/re2/re2/stringpiece.h void set(const void* data, int len) { len 68 third_party/re2/re2/stringpiece.h length_ = len; len 348 third_party/re2/re2/testing/regexp_benchmark.cc int len = strlen(text); len 351 third_party/re2/re2/testing/regexp_benchmark.cc StringPiece(text, len), Prog::kAnchored, true); len 68 third_party/re2/re2/testing/string_generator.cc int len = acm_->Uniform(maxlen_+1); len 69 third_party/re2/re2/testing/string_generator.cc digits_.resize(len); len 70 third_party/re2/re2/testing/string_generator.cc for (int i = 0; i < len; i++) len 33 third_party/re2/re2/testing/string_generator_test.cc static void RunTest(int len, string alphabet, bool donull) { len 34 third_party/re2/re2/testing/string_generator_test.cc StringGenerator g(len, Explode(alphabet)); len 61 third_party/re2/re2/testing/string_generator_test.cc EXPECT_LE(l, len); len 75 third_party/re2/re2/testing/string_generator_test.cc len = 0; len 76 third_party/re2/re2/testing/string_generator_test.cc for (int i = 0; i <= len; i++) len 16 third_party/re2/util/stringpiece.cc int len = x.size(); len 17 third_party/re2/util/stringpiece.cc if (len != y.size()) { len 23 third_party/re2/util/stringpiece.cc if ((len > 0) && (p[len-1] != p2[len-1])) return false; len 24 third_party/re2/util/stringpiece.cc const char* p_limit = p + len; len 65 third_party/re2/util/strutil.cc const int len = CEscapeString(src.data(), src.size(), len 67 third_party/re2/util/strutil.cc string s = string(dest, len); len 120 third_party/re2/util/util.h static inline uint32 Hash32StringWithSeed(const char* s, int len, uint32 seed) { len 121 third_party/re2/util/util.h return hashword((uint32*)s, len/4, seed); len 124 third_party/re2/util/util.h static inline uint64 Hash64StringWithSeed(const char* s, int len, uint32 seed) { len 128 third_party/re2/util/util.h hashword2((uint32*)s, len/4, &x, &y); len 530 third_party/simplejson/_speedups.c Py_ssize_t len = PyString_GET_SIZE(pystr); len 538 third_party/simplejson/_speedups.c if (len == end) { len 541 third_party/simplejson/_speedups.c else if (end < 0 || len < end) { len 548 third_party/simplejson/_speedups.c for (next = end; next < len; next++) { len 589 third_party/simplejson/_speedups.c if (next == len) { len 617 third_party/simplejson/_speedups.c if (end >= len) { len 644 third_party/simplejson/_speedups.c if (end + 6 >= len) { len 740 third_party/simplejson/_speedups.c Py_ssize_t len = PyUnicode_GET_SIZE(pystr); len 747 third_party/simplejson/_speedups.c if (len == end) { len 750 third_party/simplejson/_speedups.c else if (end < 0 || len < end) { len 757 third_party/simplejson/_speedups.c for (next = end; next < len; next++) { len 784 third_party/simplejson/_speedups.c if (next == len) { len 812 third_party/simplejson/_speedups.c if (end >= len) { len 839 third_party/simplejson/_speedups.c if (end + 6 >= len) { len 19864 third_party/sqlite/amalgamation/sqlite3.c int len; /* Maximum length of output string in bytes */ len 19917 third_party/sqlite/amalgamation/sqlite3.c len = pMem->n * 2 + 1; len 19924 third_party/sqlite/amalgamation/sqlite3.c len = pMem->n * 2 + 2; len 19935 third_party/sqlite/amalgamation/sqlite3.c zOut = sqlite3DbMallocRaw(pMem->db, len); len 19978 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len ); len 29806 third_party/sqlite/amalgamation/sqlite3.c int len; len 29811 third_party/sqlite/amalgamation/sqlite3.c len = strlcpy(lPath, LOCKPROXYDIR, maxLen); len 29820 third_party/sqlite/amalgamation/sqlite3.c len = strlcat(lPath, "sqliteplocks", maxLen); len 29823 third_party/sqlite/amalgamation/sqlite3.c len = strlcpy(lPath, "/tmp/", maxLen); len 29827 third_party/sqlite/amalgamation/sqlite3.c if( lPath[len-1]!='/' ){ len 29828 third_party/sqlite/amalgamation/sqlite3.c len = strlcat(lPath, "/", maxLen); len 29833 third_party/sqlite/amalgamation/sqlite3.c for( i=0; i<dbLen && (i+len+7)<(int)maxLen; i++){ len 29835 third_party/sqlite/amalgamation/sqlite3.c lPath[i+len] = (c=='/')?'_':c; len 29837 third_party/sqlite/amalgamation/sqlite3.c lPath[i+len]='\0'; len 29847 third_party/sqlite/amalgamation/sqlite3.c int i, len; len 29853 third_party/sqlite/amalgamation/sqlite3.c len = (int)strlen(lockPath); len 29855 third_party/sqlite/amalgamation/sqlite3.c for( i=1; i<len; i++ ){ len 30118 third_party/sqlite/amalgamation/sqlite3.c int len = osPread(conchFile->h, tBuf, PROXY_MAXCONCHLEN, 0); len 30119 third_party/sqlite/amalgamation/sqlite3.c if( len<0 ){ len 30123 third_party/sqlite/amalgamation/sqlite3.c if( len>PROXY_PATHINDEX && tBuf[0]==(char)PROXY_CONCHVERSION){ len 30410 third_party/sqlite/amalgamation/sqlite3.c int len = (int)strlen(dbPath); /* Length of database filename - dbPath */ len 30415 third_party/sqlite/amalgamation/sqlite3.c *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8); len 30419 third_party/sqlite/amalgamation/sqlite3.c memcpy(conchPath, dbPath, len+1); len 30422 third_party/sqlite/amalgamation/sqlite3.c for( i=(len-1); i>=0; i-- ){ len 30429 third_party/sqlite/amalgamation/sqlite3.c while ( i<len ){ len 30436 third_party/sqlite/amalgamation/sqlite3.c assert( (int)strlen(conchPath) == len+7 ); len 30493 third_party/sqlite/amalgamation/sqlite3.c int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX); len 30494 third_party/sqlite/amalgamation/sqlite3.c memcpy(dbPath, (char *)pFile->lockingContext, len + 1); len 37635 third_party/sqlite/amalgamation/sqlite3.c u32 len; /* Length in bytes of master journal name */ len 37644 third_party/sqlite/amalgamation/sqlite3.c || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-16, &len)) len 37645 third_party/sqlite/amalgamation/sqlite3.c || len>=nMaster len 37649 third_party/sqlite/amalgamation/sqlite3.c || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, zMaster, len, szJ-16-len)) len 37655 third_party/sqlite/amalgamation/sqlite3.c for(u=0; u<len; u++){ len 37664 third_party/sqlite/amalgamation/sqlite3.c len = 0; len 37666 third_party/sqlite/amalgamation/sqlite3.c zMaster[len] = '\0'; len 59774 third_party/sqlite/amalgamation/sqlite3.c u32 len; len 59787 third_party/sqlite/amalgamation/sqlite3.c len = i = sqlite3VdbeSerialTypeLen(serial_type); len 59788 third_party/sqlite/amalgamation/sqlite3.c assert( len<=(u32)nBuf ); len 59793 third_party/sqlite/amalgamation/sqlite3.c return len; len 59801 third_party/sqlite/amalgamation/sqlite3.c len = pMem->n; len 59802 third_party/sqlite/amalgamation/sqlite3.c memcpy(buf, pMem->z, len); len 59804 third_party/sqlite/amalgamation/sqlite3.c len += pMem->u.nZero; len 59806 third_party/sqlite/amalgamation/sqlite3.c if( len > (u32)nBuf ){ len 59807 third_party/sqlite/amalgamation/sqlite3.c len = (u32)nBuf; len 59809 third_party/sqlite/amalgamation/sqlite3.c memset(&buf[pMem->n], 0, len-pMem->n); len 59811 third_party/sqlite/amalgamation/sqlite3.c return len; len 59900 third_party/sqlite/amalgamation/sqlite3.c u32 len = (serial_type-12)/2; len 59902 third_party/sqlite/amalgamation/sqlite3.c pMem->n = len; len 59909 third_party/sqlite/amalgamation/sqlite3.c return len; len 62558 third_party/sqlite/amalgamation/sqlite3.c int len; /* The length of the serialized data for the column */ len 62590 third_party/sqlite/amalgamation/sqlite3.c int len; /* Length of a field */ len 64429 third_party/sqlite/amalgamation/sqlite3.c int len; /* The length of the serialized data for the column */ len 64589 third_party/sqlite/amalgamation/sqlite3.c u.am.len = u.am.nField*5 + 3; len 64590 third_party/sqlite/amalgamation/sqlite3.c if( u.am.len > (int)u.am.offset ) u.am.len = (int)u.am.offset; len 64598 third_party/sqlite/amalgamation/sqlite3.c if( !u.am.zRec && u.am.avail<u.am.len ){ len 64601 third_party/sqlite/amalgamation/sqlite3.c rc = sqlite3VdbeMemFromBtree(u.am.pCrsr, 0, u.am.len, u.am.pC->isIndex, &u.am.sMem); len 64607 third_party/sqlite/amalgamation/sqlite3.c u.am.zEndHdr = (u8 *)&u.am.zData[u.am.len]; len 64663 third_party/sqlite/amalgamation/sqlite3.c u.am.len = sqlite3VdbeSerialTypeLen(u.am.aType[u.am.p2]); len 64665 third_party/sqlite/amalgamation/sqlite3.c rc = sqlite3VdbeMemFromBtree(u.am.pCrsr, u.am.aOffset[u.am.p2], u.am.len, u.am.pC->isIndex, &u.am.sMem); len 64763 third_party/sqlite/amalgamation/sqlite3.c int len; /* Length of a field */ len 64809 third_party/sqlite/amalgamation/sqlite3.c u.ao.len = sqlite3VdbeSerialTypeLen(u.ao.serial_type); len 64810 third_party/sqlite/amalgamation/sqlite3.c u.ao.nData += u.ao.len; len 64816 third_party/sqlite/amalgamation/sqlite3.c }else if( u.ao.len ){ len 74542 third_party/sqlite/amalgamation/sqlite3.c int len = 0; len 74562 third_party/sqlite/amalgamation/sqlite3.c tname.n = len; len 74568 third_party/sqlite/amalgamation/sqlite3.c zCsr += len; len 74569 third_party/sqlite/amalgamation/sqlite3.c len = sqlite3GetToken(zCsr, &token); len 74571 third_party/sqlite/amalgamation/sqlite3.c assert( len>0 ); len 74663 third_party/sqlite/amalgamation/sqlite3.c int len = 0; len 74684 third_party/sqlite/amalgamation/sqlite3.c tname.n = len; len 74690 third_party/sqlite/amalgamation/sqlite3.c zCsr += len; len 74691 third_party/sqlite/amalgamation/sqlite3.c len = sqlite3GetToken(zCsr, &token); len 74693 third_party/sqlite/amalgamation/sqlite3.c assert( len>0 ); len 77212 third_party/sqlite/amalgamation/sqlite3.c int len; len 77217 third_party/sqlite/amalgamation/sqlite3.c len = sqlite3Strlen30(zIdxName); len 77218 third_party/sqlite/amalgamation/sqlite3.c pIndex = sqlite3HashInsert(pHash, zIdxName, len, 0); len 78249 third_party/sqlite/amalgamation/sqlite3.c int len; len 78265 third_party/sqlite/amalgamation/sqlite3.c len = sqlite3Strlen30(zType); len 78268 third_party/sqlite/amalgamation/sqlite3.c memcpy(&zStmt[k], zType, len); len 78269 third_party/sqlite/amalgamation/sqlite3.c k += len; len 81789 third_party/sqlite/amalgamation/sqlite3.c int len; len 81803 third_party/sqlite/amalgamation/sqlite3.c len = 0; len 81805 third_party/sqlite/amalgamation/sqlite3.c len++; len 81808 third_party/sqlite/amalgamation/sqlite3.c sqlite3_result_int(context, len); len 81881 third_party/sqlite/amalgamation/sqlite3.c int len; len 81895 third_party/sqlite/amalgamation/sqlite3.c len = sqlite3_value_bytes(argv[0]); len 81898 third_party/sqlite/amalgamation/sqlite3.c assert( len==sqlite3_value_bytes(argv[0]) ); len 81902 third_party/sqlite/amalgamation/sqlite3.c len = 0; len 81904 third_party/sqlite/amalgamation/sqlite3.c for(z2=z; *z2; len++){ len 81919 third_party/sqlite/amalgamation/sqlite3.c p1 += len; len 81948 third_party/sqlite/amalgamation/sqlite3.c if( p1+p2>len ){ len 81949 third_party/sqlite/amalgamation/sqlite3.c p2 = len-p1; len 82794 third_party/sqlite/amalgamation/sqlite3.c int len = 0; len 82796 third_party/sqlite/amalgamation/sqlite3.c len = aLen[i]; len 82797 third_party/sqlite/amalgamation/sqlite3.c if( len<=nIn && memcmp(zIn, azChar[i], len)==0 ) break; len 82800 third_party/sqlite/amalgamation/sqlite3.c zIn += len; len 82801 third_party/sqlite/amalgamation/sqlite3.c nIn -= len; len 82806 third_party/sqlite/amalgamation/sqlite3.c int len = 0; len 82808 third_party/sqlite/amalgamation/sqlite3.c len = aLen[i]; len 82809 third_party/sqlite/amalgamation/sqlite3.c if( len<=nIn && memcmp(&zIn[nIn-len],azChar[i],len)==0 ) break; len 82812 third_party/sqlite/amalgamation/sqlite3.c nIn -= len; len 66 third_party/sqlite/src/ext/fts1/fts1.c int len; /* length, not including null terminator */ len 72 third_party/sqlite/src/ext/fts1/fts1.c sb->len = 0; len 79 third_party/sqlite/src/ext/fts1/fts1.c if( sb->len + nFrom >= sb->alloced ){ len 80 third_party/sqlite/src/ext/fts1/fts1.c sb->alloced = sb->len + nFrom + 100; len 87 third_party/sqlite/src/ext/fts1/fts1.c memcpy(sb->s + sb->len, zFrom, nFrom); len 88 third_party/sqlite/src/ext/fts1/fts1.c sb->len += nFrom; len 89 third_party/sqlite/src/ext/fts1/fts1.c sb->s[sb->len] = 0; len 893 third_party/sqlite/src/ext/fts1/fts1.c size_t len = 0; len 902 third_party/sqlite/src/ext/fts1/fts1.c len += (*p=='%' ? nFullTableName : 1); len 904 third_party/sqlite/src/ext/fts1/fts1.c len += 1; /* for null terminator */ len 906 third_party/sqlite/src/ext/fts1/fts1.c r = result = malloc(len); len 919 third_party/sqlite/src/ext/fts1/fts1.c assert( r == result + len ); len 2331 third_party/sqlite/src/ext/fts1/fts1.c p->nOffset = sb.len; len 2384 third_party/sqlite/src/ext/fts1/fts1.c if( p->len==0 ) return; len 2385 third_party/sqlite/src/ext/fts1/fts1.c if( safe_isspace(p->s[p->len-1]) ) return; len 2393 third_party/sqlite/src/ext/fts1/fts1.c while( p->len>0 && safe_isspace(p->s[p->len-1]) ){ len 2394 third_party/sqlite/src/ext/fts1/fts1.c p->len--; len 2516 third_party/sqlite/src/ext/fts1/fts1.c pCursor->snippet.nSnippet = sb.len; len 480 third_party/sqlite/src/ext/fts1/fulltext.c size_t len = 0; len 487 third_party/sqlite/src/ext/fts1/fulltext.c len += (*p=='%' ? nName : 1); len 489 third_party/sqlite/src/ext/fts1/fulltext.c len += 1; /* for null terminator */ len 491 third_party/sqlite/src/ext/fts1/fulltext.c r = result = malloc(len); len 501 third_party/sqlite/src/ext/fts1/fulltext.c assert( r == result + len ); len 1812 third_party/sqlite/src/ext/fts2/fts2.c size_t len = 0; len 1821 third_party/sqlite/src/ext/fts2/fts2.c len += (*p=='%' ? nFullTableName : 1); len 1823 third_party/sqlite/src/ext/fts2/fts2.c len += 1; /* for null terminator */ len 1825 third_party/sqlite/src/ext/fts2/fts2.c r = result = sqlite3_malloc(len); len 1838 third_party/sqlite/src/ext/fts2/fts2.c assert( r == result + len ); len 48 third_party/sqlite/src/src/alter.c int len = 0; len 68 third_party/sqlite/src/src/alter.c tname.n = len; len 74 third_party/sqlite/src/src/alter.c zCsr += len; len 75 third_party/sqlite/src/src/alter.c len = sqlite3GetToken(zCsr, &token); len 77 third_party/sqlite/src/src/alter.c assert( len>0 ); len 169 third_party/sqlite/src/src/alter.c int len = 0; len 190 third_party/sqlite/src/src/alter.c tname.n = len; len 196 third_party/sqlite/src/src/alter.c zCsr += len; len 197 third_party/sqlite/src/src/alter.c len = sqlite3GetToken(zCsr, &token); len 199 third_party/sqlite/src/src/alter.c assert( len>0 ); len 373 third_party/sqlite/src/src/build.c int len; len 378 third_party/sqlite/src/src/build.c len = sqlite3Strlen30(zIdxName); len 379 third_party/sqlite/src/src/build.c pIndex = sqlite3HashInsert(pHash, zIdxName, len, 0); len 1410 third_party/sqlite/src/src/build.c int len; len 1426 third_party/sqlite/src/src/build.c len = sqlite3Strlen30(zType); len 1429 third_party/sqlite/src/src/build.c memcpy(&zStmt[k], zType, len); len 1430 third_party/sqlite/src/src/build.c k += len; len 90 third_party/sqlite/src/src/func.c int len; len 104 third_party/sqlite/src/src/func.c len = 0; len 106 third_party/sqlite/src/src/func.c len++; len 109 third_party/sqlite/src/src/func.c sqlite3_result_int(context, len); len 182 third_party/sqlite/src/src/func.c int len; len 196 third_party/sqlite/src/src/func.c len = sqlite3_value_bytes(argv[0]); len 199 third_party/sqlite/src/src/func.c assert( len==sqlite3_value_bytes(argv[0]) ); len 203 third_party/sqlite/src/src/func.c len = 0; len 205 third_party/sqlite/src/src/func.c for(z2=z; *z2; len++){ len 220 third_party/sqlite/src/src/func.c p1 += len; len 249 third_party/sqlite/src/src/func.c if( p1+p2>len ){ len 250 third_party/sqlite/src/src/func.c p2 = len-p1; len 1095 third_party/sqlite/src/src/func.c int len = 0; len 1097 third_party/sqlite/src/src/func.c len = aLen[i]; len 1098 third_party/sqlite/src/src/func.c if( len<=nIn && memcmp(zIn, azChar[i], len)==0 ) break; len 1101 third_party/sqlite/src/src/func.c zIn += len; len 1102 third_party/sqlite/src/src/func.c nIn -= len; len 1107 third_party/sqlite/src/src/func.c int len = 0; len 1109 third_party/sqlite/src/src/func.c len = aLen[i]; len 1110 third_party/sqlite/src/src/func.c if( len<=nIn && memcmp(&zIn[nIn-len],azChar[i],len)==0 ) break; len 1113 third_party/sqlite/src/src/func.c nIn -= len; len 5665 third_party/sqlite/src/src/os_unix.c int len; len 5670 third_party/sqlite/src/src/os_unix.c len = strlcpy(lPath, LOCKPROXYDIR, maxLen); len 5679 third_party/sqlite/src/src/os_unix.c len = strlcat(lPath, "sqliteplocks", maxLen); len 5682 third_party/sqlite/src/src/os_unix.c len = strlcpy(lPath, "/tmp/", maxLen); len 5686 third_party/sqlite/src/src/os_unix.c if( lPath[len-1]!='/' ){ len 5687 third_party/sqlite/src/src/os_unix.c len = strlcat(lPath, "/", maxLen); len 5692 third_party/sqlite/src/src/os_unix.c for( i=0; i<dbLen && (i+len+7)<(int)maxLen; i++){ len 5694 third_party/sqlite/src/src/os_unix.c lPath[i+len] = (c=='/')?'_':c; len 5696 third_party/sqlite/src/src/os_unix.c lPath[i+len]='\0'; len 5706 third_party/sqlite/src/src/os_unix.c int i, len; len 5712 third_party/sqlite/src/src/os_unix.c len = (int)strlen(lockPath); len 5714 third_party/sqlite/src/src/os_unix.c for( i=1; i<len; i++ ){ len 5977 third_party/sqlite/src/src/os_unix.c int len = osPread(conchFile->h, tBuf, PROXY_MAXCONCHLEN, 0); len 5978 third_party/sqlite/src/src/os_unix.c if( len<0 ){ len 5982 third_party/sqlite/src/src/os_unix.c if( len>PROXY_PATHINDEX && tBuf[0]==(char)PROXY_CONCHVERSION){ len 6269 third_party/sqlite/src/src/os_unix.c int len = (int)strlen(dbPath); /* Length of database filename - dbPath */ len 6274 third_party/sqlite/src/src/os_unix.c *pConchPath = conchPath = (char *)sqlite3_malloc(len + 8); len 6278 third_party/sqlite/src/src/os_unix.c memcpy(conchPath, dbPath, len+1); len 6281 third_party/sqlite/src/src/os_unix.c for( i=(len-1); i>=0; i-- ){ len 6288 third_party/sqlite/src/src/os_unix.c while ( i<len ){ len 6295 third_party/sqlite/src/src/os_unix.c assert( (int)strlen(conchPath) == len+7 ); len 6352 third_party/sqlite/src/src/os_unix.c int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX); len 6353 third_party/sqlite/src/src/os_unix.c memcpy(dbPath, (char *)pFile->lockingContext, len + 1); len 1205 third_party/sqlite/src/src/pager.c u32 len; /* Length in bytes of master journal name */ len 1214 third_party/sqlite/src/src/pager.c || SQLITE_OK!=(rc = read32bits(pJrnl, szJ-16, &len)) len 1215 third_party/sqlite/src/src/pager.c || len>=nMaster len 1219 third_party/sqlite/src/src/pager.c || SQLITE_OK!=(rc = sqlite3OsRead(pJrnl, zMaster, len, szJ-16-len)) len 1225 third_party/sqlite/src/src/pager.c for(u=0; u<len; u++){ len 1234 third_party/sqlite/src/src/pager.c len = 0; len 1236 third_party/sqlite/src/src/pager.c zMaster[len] = '\0'; len 661 third_party/sqlite/src/src/shell.c int len = strlen30(azCol[i] ? azCol[i] : ""); len 662 third_party/sqlite/src/src/shell.c if( len>w ) w = len; len 885 third_party/sqlite/src/src/shell.c int len; len 890 third_party/sqlite/src/src/shell.c len = nAppend+nIn+1; len 892 third_party/sqlite/src/src/shell.c len += 2; len 894 third_party/sqlite/src/src/shell.c if( zAppend[i]==quote ) len++; len 898 third_party/sqlite/src/src/shell.c zIn = (char *)realloc(zIn, len); len 912 third_party/sqlite/src/src/shell.c assert( (zCsr-zIn)==len ); len 915 third_party/sqlite/src/src/shell.c zIn[len-1] = '\0'; len 1297 third_party/sqlite/src/src/shell.c int len = strlen30(zQuery); len 1299 third_party/sqlite/src/src/shell.c zQ2 = malloc( len+100 ); len 2150 third_party/sqlite/src/src/shell.c int len, maxlen = 0; len 2155 third_party/sqlite/src/src/shell.c len = strlen30(azResult[i]); len 2156 third_party/sqlite/src/src/shell.c if( len>maxlen ) maxlen = len; len 2448 third_party/sqlite/src/src/shell.c int len = strlen30(zLine); len 2449 third_party/sqlite/src/src/shell.c zSql = realloc( zSql, nSql + len + 4 ); len 2455 third_party/sqlite/src/src/shell.c memcpy(&zSql[nSql], zLine, len+1); len 2456 third_party/sqlite/src/src/shell.c nSql += len; len 1642 third_party/sqlite/src/src/tclsqlite.c int len; len 1646 third_party/sqlite/src/src/tclsqlite.c zAuth = Tcl_GetStringFromObj(objv[2], &len); len 1647 third_party/sqlite/src/src/tclsqlite.c if( zAuth && len>0 ){ len 1648 third_party/sqlite/src/src/tclsqlite.c pDb->zAuth = Tcl_Alloc( len + 1 ); len 1649 third_party/sqlite/src/src/tclsqlite.c memcpy(pDb->zAuth, zAuth, len+1); len 1728 third_party/sqlite/src/src/tclsqlite.c int len; len 1732 third_party/sqlite/src/src/tclsqlite.c zBusy = Tcl_GetStringFromObj(objv[2], &len); len 1733 third_party/sqlite/src/src/tclsqlite.c if( zBusy && len>0 ){ len 1734 third_party/sqlite/src/src/tclsqlite.c pDb->zBusy = Tcl_Alloc( len + 1 ); len 1735 third_party/sqlite/src/src/tclsqlite.c memcpy(pDb->zBusy, zBusy, len+1); len 1893 third_party/sqlite/src/src/tclsqlite.c int len; len 1897 third_party/sqlite/src/src/tclsqlite.c zCommit = Tcl_GetStringFromObj(objv[2], &len); len 1898 third_party/sqlite/src/src/tclsqlite.c if( zCommit && len>0 ){ len 1899 third_party/sqlite/src/src/tclsqlite.c pDb->zCommit = Tcl_Alloc( len + 1 ); len 1900 third_party/sqlite/src/src/tclsqlite.c memcpy(pDb->zCommit, zCommit, len+1); len 2363 third_party/sqlite/src/src/tclsqlite.c int len; len 2364 third_party/sqlite/src/src/tclsqlite.c char *zNull = Tcl_GetStringFromObj(objv[2], &len); len 2368 third_party/sqlite/src/src/tclsqlite.c if( zNull && len>0 ){ len 2369 third_party/sqlite/src/src/tclsqlite.c pDb->zNull = Tcl_Alloc( len + 1 ); len 2370 third_party/sqlite/src/src/tclsqlite.c strncpy(pDb->zNull, zNull, len); len 2371 third_party/sqlite/src/src/tclsqlite.c pDb->zNull[len] = '\0'; len 2414 third_party/sqlite/src/src/tclsqlite.c int len; len 2422 third_party/sqlite/src/src/tclsqlite.c zProgress = Tcl_GetStringFromObj(objv[3], &len); len 2423 third_party/sqlite/src/src/tclsqlite.c if( zProgress && len>0 ){ len 2424 third_party/sqlite/src/src/tclsqlite.c pDb->zProgress = Tcl_Alloc( len + 1 ); len 2425 third_party/sqlite/src/src/tclsqlite.c memcpy(pDb->zProgress, zProgress, len+1); len 2460 third_party/sqlite/src/src/tclsqlite.c int len; len 2464 third_party/sqlite/src/src/tclsqlite.c zProfile = Tcl_GetStringFromObj(objv[2], &len); len 2465 third_party/sqlite/src/src/tclsqlite.c if( zProfile && len>0 ){ len 2466 third_party/sqlite/src/src/tclsqlite.c pDb->zProfile = Tcl_Alloc( len + 1 ); len 2467 third_party/sqlite/src/src/tclsqlite.c memcpy(pDb->zProfile, zProfile, len+1); len 2644 third_party/sqlite/src/src/tclsqlite.c int len; len 2648 third_party/sqlite/src/src/tclsqlite.c zTrace = Tcl_GetStringFromObj(objv[2], &len); len 2649 third_party/sqlite/src/src/tclsqlite.c if( zTrace && len>0 ){ len 2650 third_party/sqlite/src/src/tclsqlite.c pDb->zTrace = Tcl_Alloc( len + 1 ); len 2651 third_party/sqlite/src/src/tclsqlite.c memcpy(pDb->zTrace, zTrace, len+1); len 3233 third_party/sqlite/src/src/tclsqlite.c void MD5Update(MD5Context *ctx, const unsigned char *buf, unsigned int len){ len 3239 third_party/sqlite/src/src/tclsqlite.c if ((ctx->bits[0] = t + ((uint32)len << 3)) < t) len 3241 third_party/sqlite/src/src/tclsqlite.c ctx->bits[1] += len >> 29; len 3251 third_party/sqlite/src/src/tclsqlite.c if (len < t) { len 3252 third_party/sqlite/src/src/tclsqlite.c memcpy(p, buf, len); len 3259 third_party/sqlite/src/src/tclsqlite.c len -= t; len 3264 third_party/sqlite/src/src/tclsqlite.c while (len >= 64) { len 3269 third_party/sqlite/src/src/tclsqlite.c len -= 64; len 3274 third_party/sqlite/src/src/tclsqlite.c memcpy(ctx->in, buf, len); len 4038 third_party/sqlite/src/src/test1.c int len; len 4050 third_party/sqlite/src/src/test1.c len = sqlite3_column_bytes(pStmt, col); len 4052 third_party/sqlite/src/src/test1.c Tcl_SetObjResult(interp, Tcl_NewByteArrayObj(pBlob, len)); len 35 third_party/sqlite/src/src/test5.c int len; len 40 third_party/sqlite/src/src/test5.c bytes = Tcl_GetStringFromObj(objv[1], &len); len 41 third_party/sqlite/src/src/test5.c pRet = Tcl_NewByteArrayObj((u8*)bytes, len+1); len 134 third_party/sqlite/src/src/test5.c int len; len 162 third_party/sqlite/src/src/test5.c z = (char*)Tcl_GetByteArrayFromObj(objv[1], &len); len 165 third_party/sqlite/src/src/test5.c z = sqlite3_malloc(len); len 166 third_party/sqlite/src/src/test5.c memcpy(z, zTmp, len); len 172 third_party/sqlite/src/src/test5.c len = sqlite3ValueBytes(pVal, enc_to) + (enc_to==SQLITE_UTF8?1:2); len 173 third_party/sqlite/src/src/test5.c Tcl_SetObjResult(interp, Tcl_NewByteArrayObj((u8*)z, len)); len 99 third_party/sqlite/src/src/test_func.c int len; len 104 third_party/sqlite/src/src/test_func.c len = sqlite3_value_bytes(argv[0]); len 105 third_party/sqlite/src/src/test_func.c zVal = testContextMalloc(pCtx, len+3); len 109 third_party/sqlite/src/src/test_func.c zVal[len+1] = 0; len 110 third_party/sqlite/src/src/test_func.c zVal[len+2] = 0; len 112 third_party/sqlite/src/src/test_func.c memcpy(zVal, sqlite3_value_text(argv[0]), len); len 122 third_party/sqlite/src/src/test_func.c int len; len 127 third_party/sqlite/src/src/test_func.c len = sqlite3_value_bytes16(argv[0]); len 128 third_party/sqlite/src/src/test_func.c zVal = testContextMalloc(pCtx, len+3); len 132 third_party/sqlite/src/src/test_func.c zVal[len+1] = 0; len 133 third_party/sqlite/src/src/test_func.c zVal[len+2] = 0; len 135 third_party/sqlite/src/src/test_func.c memcpy(zVal, sqlite3_value_text16(argv[0]), len); len 108 third_party/sqlite/src/src/test_syscall.c static int ts_fallocate(int fd, off_t off, off_t len); len 372 third_party/sqlite/src/src/test_syscall.c static int ts_fallocate(int fd, off_t off, off_t len){ len 376 third_party/sqlite/src/src/test_syscall.c return orig_fallocate(fd, off, len); len 205 third_party/sqlite/src/src/utf.c int len; /* Maximum length of output string in bytes */ len 258 third_party/sqlite/src/src/utf.c len = pMem->n * 2 + 1; len 265 third_party/sqlite/src/src/utf.c len = pMem->n * 2 + 2; len 276 third_party/sqlite/src/src/utf.c zOut = sqlite3DbMallocRaw(pMem->db, len); len 319 third_party/sqlite/src/src/utf.c assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len ); len 2092 third_party/sqlite/src/src/vdbe.c int len; /* The length of the serialized data for the column */ len 2251 third_party/sqlite/src/src/vdbe.c len = nField*5 + 3; len 2252 third_party/sqlite/src/src/vdbe.c if( len > (int)offset ) len = (int)offset; len 2260 third_party/sqlite/src/src/vdbe.c if( !zRec && avail<len ){ len 2263 third_party/sqlite/src/src/vdbe.c rc = sqlite3VdbeMemFromBtree(pCrsr, 0, len, pC->isIndex, &sMem); len 2269 third_party/sqlite/src/src/vdbe.c zEndHdr = (u8 *)&zData[len]; len 2325 third_party/sqlite/src/src/vdbe.c len = sqlite3VdbeSerialTypeLen(aType[p2]); len 2327 third_party/sqlite/src/src/vdbe.c rc = sqlite3VdbeMemFromBtree(pCrsr, aOffset[p2], len, pC->isIndex, &sMem); len 2422 third_party/sqlite/src/src/vdbe.c int len; /* Length of a field */ len 2467 third_party/sqlite/src/src/vdbe.c len = sqlite3VdbeSerialTypeLen(serial_type); len 2468 third_party/sqlite/src/src/vdbe.c nData += len; len 2474 third_party/sqlite/src/src/vdbe.c }else if( len ){ len 2649 third_party/sqlite/src/src/vdbeaux.c u32 len; len 2662 third_party/sqlite/src/src/vdbeaux.c len = i = sqlite3VdbeSerialTypeLen(serial_type); len 2663 third_party/sqlite/src/src/vdbeaux.c assert( len<=(u32)nBuf ); len 2668 third_party/sqlite/src/src/vdbeaux.c return len; len 2676 third_party/sqlite/src/src/vdbeaux.c len = pMem->n; len 2677 third_party/sqlite/src/src/vdbeaux.c memcpy(buf, pMem->z, len); len 2679 third_party/sqlite/src/src/vdbeaux.c len += pMem->u.nZero; len 2681 third_party/sqlite/src/src/vdbeaux.c if( len > (u32)nBuf ){ len 2682 third_party/sqlite/src/src/vdbeaux.c len = (u32)nBuf; len 2684 third_party/sqlite/src/src/vdbeaux.c memset(&buf[pMem->n], 0, len-pMem->n); len 2686 third_party/sqlite/src/src/vdbeaux.c return len; len 2775 third_party/sqlite/src/src/vdbeaux.c u32 len = (serial_type-12)/2; len 2777 third_party/sqlite/src/src/vdbeaux.c pMem->n = len; len 2784 third_party/sqlite/src/src/vdbeaux.c return len; len 252 third_party/sqlite/src/test/threadtest3.c void MD5Update(MD5Context *ctx, const unsigned char *buf, unsigned int len){ len 258 third_party/sqlite/src/test/threadtest3.c if ((ctx->bits[0] = t + ((uint32)len << 3)) < t) len 260 third_party/sqlite/src/test/threadtest3.c ctx->bits[1] += len >> 29; len 270 third_party/sqlite/src/test/threadtest3.c if (len < t) { len 271 third_party/sqlite/src/test/threadtest3.c memcpy(p, buf, len); len 278 third_party/sqlite/src/test/threadtest3.c len -= t; len 283 third_party/sqlite/src/test/threadtest3.c while (len >= 64) { len 288 third_party/sqlite/src/test/threadtest3.c len -= 64; len 293 third_party/sqlite/src/test/threadtest3.c memcpy(ctx->in, buf, len); len 1892 third_party/sqlite/src/tool/lemon.c int max, len; len 1895 third_party/sqlite/src/tool/lemon.c len = lemonStrlen(op[i].label) + 1; len 1902 third_party/sqlite/src/tool/lemon.c len += 9; /* length of "<integer>" */ len 1906 third_party/sqlite/src/tool/lemon.c len += 6; /* length of "<real>" */ len 1910 third_party/sqlite/src/tool/lemon.c len += 8; /* length of "<string>" */ len 1913 third_party/sqlite/src/tool/lemon.c if( len>max ) max = len; len 2790 third_party/sqlite/src/tool/lemon.c int i, j, maxlen, len, ncolumns, skip; len 2795 third_party/sqlite/src/tool/lemon.c len = lemonStrlen(sp->name); len 2796 third_party/sqlite/src/tool/lemon.c if( len>maxlen ) maxlen = len; len 3443 third_party/sqlite/src/tool/lemon.c int len; len 3446 third_party/sqlite/src/tool/lemon.c len = lemonStrlen(sp->datatype); len 3447 third_party/sqlite/src/tool/lemon.c if( len>maxdtlength ) maxdtlength = len; len 42 third_party/sqlite/src/tool/mkkeywordhash.c int len; /* Length of this keyword, not counting final \000 */ len 300 third_party/sqlite/src/tool/mkkeywordhash.c int n = pA->len - pB->len; len 363 third_party/sqlite/src/tool/mkkeywordhash.c p->len = strlen(p->zName); len 364 third_party/sqlite/src/tool/mkkeywordhash.c assert( p->len<sizeof(p->zOrigName) ); len 366 third_party/sqlite/src/tool/mkkeywordhash.c totalLen += p->len; len 368 third_party/sqlite/src/tool/mkkeywordhash.c (UpperToLower[(int)p->zName[p->len-1]]*3) ^ p->len; len 381 third_party/sqlite/src/tool/mkkeywordhash.c if( pOther->len<=p->len ) continue; len 382 third_party/sqlite/src/tool/mkkeywordhash.c for(k=0; k<=pOther->len-p->len; k++){ len 383 third_party/sqlite/src/tool/mkkeywordhash.c if( memcmp(p->zName, &pOther->zName[k], p->len)==0 ){ len 401 third_party/sqlite/src/tool/mkkeywordhash.c for(k=p->longestSuffix+1; k<p->len && k<pOther->len; k++){ len 402 third_party/sqlite/src/tool/mkkeywordhash.c if( memcmp(&p->zName[p->len-k], pOther->zName, k)==0 ){ len 418 third_party/sqlite/src/tool/mkkeywordhash.c nChar += p->len; len 419 third_party/sqlite/src/tool/mkkeywordhash.c for(k=p->len-1; k>=1; k--){ len 423 third_party/sqlite/src/tool/mkkeywordhash.c if( pOther->len<=k ) continue; len 424 third_party/sqlite/src/tool/mkkeywordhash.c if( memcmp(&p->zName[p->len-k], pOther->zName, k)==0 ){ len 427 third_party/sqlite/src/tool/mkkeywordhash.c nChar = p->offset + p->len; len 429 third_party/sqlite/src/tool/mkkeywordhash.c p->len -= k; len 432 third_party/sqlite/src/tool/mkkeywordhash.c k = p->len; len 482 third_party/sqlite/src/tool/mkkeywordhash.c memcpy(&zText[k], p->zName, p->len); len 483 third_party/sqlite/src/tool/mkkeywordhash.c k += p->len; len 484 third_party/sqlite/src/tool/mkkeywordhash.c if( j+p->len>70 ){ len 493 third_party/sqlite/src/tool/mkkeywordhash.c j += p->len; len 545 third_party/sqlite/src/tool/mkkeywordhash.c printf(" %3d,", aKeywordTable[i].len+aKeywordTable[i].prefix); len 79 third_party/talloc/libreplace/inet_ntop.c size_t len; len 81 third_party/talloc/libreplace/inet_ntop.c len = snprintf(tmp, sizeof tmp, fmt, src[0], src[1], src[2], src[3]); len 82 third_party/talloc/libreplace/inet_ntop.c if (len >= size) { len 86 third_party/talloc/libreplace/inet_ntop.c memcpy(dst, tmp, len + 1); len 109 third_party/talloc/libreplace/inet_ntop.c struct { int base, len; } best, cur; len 122 third_party/talloc/libreplace/inet_ntop.c best.len = 0; len 124 third_party/talloc/libreplace/inet_ntop.c cur.len = 0; len 128 third_party/talloc/libreplace/inet_ntop.c cur.base = i, cur.len = 1; len 130 third_party/talloc/libreplace/inet_ntop.c cur.len++; len 133 third_party/talloc/libreplace/inet_ntop.c if (best.base == -1 || cur.len > best.len) len 140 third_party/talloc/libreplace/inet_ntop.c if (best.base == -1 || cur.len > best.len) len 143 third_party/talloc/libreplace/inet_ntop.c if (best.base != -1 && best.len < 2) len 153 third_party/talloc/libreplace/inet_ntop.c i < (best.base + best.len)) { len 163 third_party/talloc/libreplace/inet_ntop.c (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { len 176 third_party/talloc/libreplace/inet_ntop.c if (best.base != -1 && (best.base + best.len) == len 69 third_party/talloc/libreplace/replace.c size_t len = strlen(s); len 70 third_party/talloc/libreplace/replace.c size_t ret = len; len 72 third_party/talloc/libreplace/replace.c if (len >= bufsize) len = bufsize-1; len 73 third_party/talloc/libreplace/replace.c memcpy(d, s, len); len 74 third_party/talloc/libreplace/replace.c d[len] = 0; len 292 third_party/talloc/libreplace/replace.c size_t len; len 297 third_party/talloc/libreplace/replace.c len = strlen(s)+1; len 298 third_party/talloc/libreplace/replace.c ret = (char *)malloc(len); len 300 third_party/talloc/libreplace/replace.c memcpy(ret,s,len); len 332 third_party/talloc/libreplace/replace.c size_t len; len 334 third_party/talloc/libreplace/replace.c for (len = 0; len < max; len++) { len 335 third_party/talloc/libreplace/replace.c if (s[len] == '\0') { len 339 third_party/talloc/libreplace/replace.c return len; len 572 third_party/talloc/libreplace/replace.c size_t len = strlen(name); len 584 third_party/talloc/libreplace/replace.c if (strncmp(environ[i], name, len) == 0 && environ[i][len] == '=') { len 212 third_party/talloc/libreplace/snprintf.c int len; len 291 third_party/talloc/libreplace/snprintf.c cnk->len = format - base - cnk->start -1; len 659 third_party/talloc/libreplace/snprintf.c int len, min, max; len 670 third_party/talloc/libreplace/snprintf.c if (maxlen > (currlen + cnk->len)) len = cnk->len; len 671 third_party/talloc/libreplace/snprintf.c else len = maxlen - currlen; len 673 third_party/talloc/libreplace/snprintf.c memcpy(&(buffer[currlen]), &(base[cnk->start]), len); len 675 third_party/talloc/libreplace/snprintf.c currlen += cnk->len; len 1125 third_party/talloc/libreplace/snprintf.c new_c->len = 0; len 62 third_party/talloc/libreplace/strptime.c ({ size_t len = strlen (cs1); \ len 63 third_party/talloc/libreplace/strptime.c int result = strncasecmp ((cs1), (s2), len) == 0; \ len 64 third_party/talloc/libreplace/strptime.c if (result) (s2) += len; \ len 104 third_party/talloc/libreplace/strptime.c size_t len = strlen (alts); \ len 105 third_party/talloc/libreplace/strptime.c if (strncasecmp (alts, rp, len) == 0) \ len 107 third_party/talloc/libreplace/strptime.c alts += len + 1; \ len 1573 third_party/talloc/talloc.c static INLINE char *__talloc_strlendup(const void *t, const char *p, size_t len) len 1577 third_party/talloc/talloc.c ret = (char *)__talloc(t, len + 1); len 1580 third_party/talloc/talloc.c memcpy(ret, p, len); len 1581 third_party/talloc/talloc.c ret[len] = 0; len 1723 third_party/talloc/talloc.c int len; len 1728 third_party/talloc/talloc.c len = vsnprintf(NULL, 0, fmt, ap2); len 1730 third_party/talloc/talloc.c if (unlikely(len < 0)) { len 1734 third_party/talloc/talloc.c ret = (char *)__talloc(t, len+1); len 1738 third_party/talloc/talloc.c vsnprintf(ret, len+1, fmt, ap2); len 279 third_party/tcmalloc/chromium/src/base/basictypes.h uint64_t len; len 281 third_party/tcmalloc/chromium/src/base/basictypes.h "__TEXT", name, &len); len 284 third_party/tcmalloc/chromium/src/base/basictypes.h *pend = *pstart + len; len 290 third_party/tcmalloc/chromium/src/base/basictypes.h uint32_t len; len 291 third_party/tcmalloc/chromium/src/base/basictypes.h *pstart = getsectdatafromheader(hdr, "__TEXT", name, &len); len 294 third_party/tcmalloc/chromium/src/base/basictypes.h *pend = *pstart + len; len 301 third_party/tcmalloc/chromium/src/base/basictypes.h unsigned long len; // don't ask me why this type isn't uint32_t too... len 302 third_party/tcmalloc/chromium/src/base/basictypes.h *pstart = getsectdata("__TEXT", name, &len); len 303 third_party/tcmalloc/chromium/src/base/basictypes.h *pend = *pstart + len; len 59 third_party/tcmalloc/chromium/src/base/logging.cc void RawWrite(RawFD handle, const char* buf, size_t len) { len 60 third_party/tcmalloc/chromium/src/base/logging.cc while (len > 0) { len 62 third_party/tcmalloc/chromium/src/base/logging.cc BOOL ok = WriteFile(handle, buf, len, &wrote, NULL); len 66 third_party/tcmalloc/chromium/src/base/logging.cc len -= wrote; len 93 third_party/tcmalloc/chromium/src/base/logging.cc void RawWrite(RawFD fd, const char* buf, size_t len) { len 94 third_party/tcmalloc/chromium/src/base/logging.cc while (len > 0) { len 96 third_party/tcmalloc/chromium/src/base/logging.cc NO_INTR(r = write(fd, buf, len)); len 99 third_party/tcmalloc/chromium/src/base/logging.cc len -= r; len 58 third_party/tcmalloc/chromium/src/base/logging.h #define WRITE_TO_STDERR(buf, len) WriteToStderr(buf, len); // in port.cc len 61 third_party/tcmalloc/chromium/src/base/logging.h #define WRITE_TO_STDERR(buf, len) \ len 65 third_party/tcmalloc/chromium/src/base/logging.h #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) len 67 third_party/tcmalloc/chromium/src/base/logging.h #define WRITE_TO_STDERR(buf, len) write(STDERR_FILENO, buf, len) len 289 third_party/tcmalloc/chromium/src/base/logging.h void RawWrite(RawFD fd, const char* buf, size_t len); len 990 third_party/tcmalloc/chromium/src/base/sysinfo.cc ssize_t len = readlink(object_path.buf_, current_filename_, PATH_MAX); len 991 third_party/tcmalloc/chromium/src/base/sysinfo.cc CHECK_LT(len, PATH_MAX); len 992 third_party/tcmalloc/chromium/src/base/sysinfo.cc if (len < 0) len 993 third_party/tcmalloc/chromium/src/base/sysinfo.cc len = 0; len 994 third_party/tcmalloc/chromium/src/base/sysinfo.cc current_filename_[len] = '\0'; len 117 third_party/tcmalloc/chromium/src/heap-checker.cc const int len = read(fd, buf, sizeof(buf)); len 119 third_party/tcmalloc/chromium/src/heap-checker.cc if (len > 0) { len 121 third_party/tcmalloc/chromium/src/heap-checker.cc buf[len - 1] = '\0'; len 557 third_party/tcmalloc/chromium/src/heap-checker.cc const size_t len = strlen(s2); len 558 third_party/tcmalloc/chromium/src/heap-checker.cc RAW_CHECK(len > 0, "Unexpected empty string passed to strstr()"); len 560 third_party/tcmalloc/chromium/src/heap-checker.cc if (strncmp(p, s2, len) == 0) { len 1561 third_party/tcmalloc/chromium/src/heap-checker.cc const int len = profile_name_prefix->size() + strlen(name_) + 5 + len 1563 third_party/tcmalloc/chromium/src/heap-checker.cc char* file_name = reinterpret_cast<char*>(Allocator::Allocate(len)); len 1564 third_party/tcmalloc/chromium/src/heap-checker.cc snprintf(file_name, len, "%s.%s-end%s", len 480 third_party/tcmalloc/chromium/src/heap-profile-table.cc int len; len 482 third_party/tcmalloc/chromium/src/heap-profile-table.cc len = snprintf(buf, sizeof(buf), "%6d: %8" PRId64 " @ %s\n", len 485 third_party/tcmalloc/chromium/src/heap-profile-table.cc RawWrite(args.fd, buf, len); len 506 third_party/tcmalloc/chromium/src/heap-profile-table.cc int len = UnparseBucket(b, buf, 0, sizeof(buf), "", args.profile_stats); len 507 third_party/tcmalloc/chromium/src/heap-profile-table.cc RawWrite(args.fd, buf, len); len 524 third_party/tcmalloc/chromium/src/heap-profile-table.cc int len = UnparseBucket(b, buf, 0, sizeof(buf), addr, NULL); len 525 third_party/tcmalloc/chromium/src/heap-profile-table.cc RawWrite(args.fd, buf, len); len 570 third_party/tcmalloc/chromium/src/heap-profile-table.cc int len = UnparseBucket(total, buf, 0, sizeof(buf), " heapprofile", len 572 third_party/tcmalloc/chromium/src/heap-profile-table.cc RawWrite(fd, buf, len); len 196 third_party/tcmalloc/chromium/src/page_heap.cc const Length len = leftover->length; len 197 third_party/tcmalloc/chromium/src/page_heap.cc Span* next = GetDescriptor(p+len); len 264 third_party/tcmalloc/chromium/src/page_heap.cc const Length len = prev->length; len 275 third_party/tcmalloc/chromium/src/page_heap.cc span->start -= len; len 276 third_party/tcmalloc/chromium/src/page_heap.cc span->length += len; len 278 third_party/tcmalloc/chromium/src/page_heap.cc Event(span, 'L', len); len 284 third_party/tcmalloc/chromium/src/page_heap.cc const Length len = next->length; len 291 third_party/tcmalloc/chromium/src/page_heap.cc span->length += len; len 293 third_party/tcmalloc/chromium/src/page_heap.cc Event(span, 'R', len); len 138 third_party/tcmalloc/chromium/src/profiledata.cc static void FDWrite(int fd, const char* buf, size_t len) { len 139 third_party/tcmalloc/chromium/src/profiledata.cc while (len > 0) { len 141 third_party/tcmalloc/chromium/src/profiledata.cc NO_INTR(r = write(fd, buf, len)); len 144 third_party/tcmalloc/chromium/src/profiledata.cc len -= r; len 53 third_party/tcmalloc/chromium/src/span.cc Span* NewSpan(PageID p, Length len) { len 57 third_party/tcmalloc/chromium/src/span.cc result->length = len; len 74 third_party/tcmalloc/chromium/src/span.h Span* NewSpan(PageID p, Length len); len 182 third_party/tcmalloc/chromium/src/system-alloc.cc ssize_t len; len 183 third_party/tcmalloc/chromium/src/system-alloc.cc len = read(urandom_fd, &seed, sizeof(seed)); len 184 third_party/tcmalloc/chromium/src/system-alloc.cc ASSERT(len == sizeof(seed)); len 44 third_party/tcmalloc/chromium/src/tests/low_level_alloc_unittest.cc int len; // number of bytes len 51 third_party/tcmalloc/chromium/src/tests/low_level_alloc_unittest.cc for (int i = 0; i != d.len; i++) { len 60 third_party/tcmalloc/chromium/src/tests/low_level_alloc_unittest.cc for (int i = 0; i != d->len; i++) { len 101 third_party/tcmalloc/chromium/src/tests/low_level_alloc_unittest.cc block_desc.len = rand() & 0x3fff; len 105 third_party/tcmalloc/chromium/src/tests/low_level_alloc_unittest.cc ? LowLevelAlloc::Alloc(block_desc.len) len 106 third_party/tcmalloc/chromium/src/tests/low_level_alloc_unittest.cc : LowLevelAlloc::AllocWithArena(block_desc.len, arena)); len 79 third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc ssize_t len; len 80 third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc NO_INTR(len = read(fd, buf0 + num_bytes, count - num_bytes)); len 81 third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc if (len < 0) { // There was an error other than EINTR. len 84 third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc if (len == 0) { // Reached EOF. len 87 third_party/tcmalloc/chromium/src/tests/profiledata_unittest.cc num_bytes += len; len 15 third_party/tcmalloc/chromium/src/tests/stack_trace_table_test.cc const uintptr_t* expected, int len) { len 17 third_party/tcmalloc/chromium/src/tests/stack_trace_table_test.cc for (int i = 0; i < len; ++i) { len 74 third_party/tcmalloc/chromium/src/windows/port.cc extern "C" PERFTOOLS_DLL_DECL void WriteToStderr(const char* buf, int len) { len 76 third_party/tcmalloc/chromium/src/windows/port.cc for (int i = 0; i < len; i += 80) { len 77 third_party/tcmalloc/chromium/src/windows/port.cc write(STDERR_FILENO, buf + i, std::min(80, len - i)); len 392 third_party/tcmalloc/chromium/src/windows/port.h EXTERN_C PERFTOOLS_DLL_DECL void WriteToStderr(const char* buf, int len); len 279 third_party/tcmalloc/vendor/src/base/basictypes.h uint64_t len; len 281 third_party/tcmalloc/vendor/src/base/basictypes.h "__TEXT", name, &len); len 284 third_party/tcmalloc/vendor/src/base/basictypes.h *pend = *pstart + len; len 290 third_party/tcmalloc/vendor/src/base/basictypes.h uint32_t len; len 291 third_party/tcmalloc/vendor/src/base/basictypes.h *pstart = getsectdatafromheader(hdr, "__TEXT", name, &len); len 294 third_party/tcmalloc/vendor/src/base/basictypes.h *pend = *pstart + len; len 301 third_party/tcmalloc/vendor/src/base/basictypes.h unsigned long len; // don't ask me why this type isn't uint32_t too... len 302 third_party/tcmalloc/vendor/src/base/basictypes.h *pstart = getsectdata("__TEXT", name, &len); len 303 third_party/tcmalloc/vendor/src/base/basictypes.h *pend = *pstart + len; len 59 third_party/tcmalloc/vendor/src/base/logging.cc void RawWrite(RawFD handle, const char* buf, size_t len) { len 60 third_party/tcmalloc/vendor/src/base/logging.cc while (len > 0) { len 62 third_party/tcmalloc/vendor/src/base/logging.cc BOOL ok = WriteFile(handle, buf, len, &wrote, NULL); len 66 third_party/tcmalloc/vendor/src/base/logging.cc len -= wrote; len 93 third_party/tcmalloc/vendor/src/base/logging.cc void RawWrite(RawFD fd, const char* buf, size_t len) { len 94 third_party/tcmalloc/vendor/src/base/logging.cc while (len > 0) { len 96 third_party/tcmalloc/vendor/src/base/logging.cc NO_INTR(r = write(fd, buf, len)); len 99 third_party/tcmalloc/vendor/src/base/logging.cc len -= r; len 57 third_party/tcmalloc/vendor/src/base/logging.h #define WRITE_TO_STDERR(buf, len) WriteToStderr(buf, len); // in port.cc len 60 third_party/tcmalloc/vendor/src/base/logging.h #define WRITE_TO_STDERR(buf, len) syscall(SYS_write, STDERR_FILENO, buf, len) len 62 third_party/tcmalloc/vendor/src/base/logging.h #define WRITE_TO_STDERR(buf, len) write(STDERR_FILENO, buf, len) len 255 third_party/tcmalloc/vendor/src/base/logging.h void RawWrite(RawFD fd, const char* buf, size_t len); len 832 third_party/tcmalloc/vendor/src/base/sysinfo.cc ssize_t len = readlink(object_path.buf_, current_filename_, PATH_MAX); len 833 third_party/tcmalloc/vendor/src/base/sysinfo.cc CHECK_LT(len, PATH_MAX); len 834 third_party/tcmalloc/vendor/src/base/sysinfo.cc if (len < 0) len 835 third_party/tcmalloc/vendor/src/base/sysinfo.cc len = 0; len 836 third_party/tcmalloc/vendor/src/base/sysinfo.cc current_filename_[len] = '\0'; len 117 third_party/tcmalloc/vendor/src/heap-checker.cc const int len = read(fd, buf, sizeof(buf)); len 119 third_party/tcmalloc/vendor/src/heap-checker.cc if (len > 0) { len 121 third_party/tcmalloc/vendor/src/heap-checker.cc buf[len - 1] = '\0'; len 557 third_party/tcmalloc/vendor/src/heap-checker.cc const size_t len = strlen(s2); len 558 third_party/tcmalloc/vendor/src/heap-checker.cc RAW_CHECK(len > 0, "Unexpected empty string passed to strstr()"); len 560 third_party/tcmalloc/vendor/src/heap-checker.cc if (strncmp(p, s2, len) == 0) { len 1561 third_party/tcmalloc/vendor/src/heap-checker.cc const int len = profile_name_prefix->size() + strlen(name_) + 5 + len 1563 third_party/tcmalloc/vendor/src/heap-checker.cc char* file_name = reinterpret_cast<char*>(Allocator::Allocate(len)); len 1564 third_party/tcmalloc/vendor/src/heap-checker.cc snprintf(file_name, len, "%s.%s-end%s", len 473 third_party/tcmalloc/vendor/src/heap-profile-table.cc int len = UnparseBucket(b, buf, 0, sizeof(buf), "", args.profile_stats); len 474 third_party/tcmalloc/vendor/src/heap-profile-table.cc RawWrite(args.fd, buf, len); len 511 third_party/tcmalloc/vendor/src/heap-profile-table.cc int len = UnparseBucket(total, buf, 0, sizeof(buf), " heapprofile", len 513 third_party/tcmalloc/vendor/src/heap-profile-table.cc RawWrite(fd, buf, len); len 218 third_party/tcmalloc/vendor/src/page_heap.cc const Length len = prev->length; len 221 third_party/tcmalloc/vendor/src/page_heap.cc span->start -= len; len 222 third_party/tcmalloc/vendor/src/page_heap.cc span->length += len; len 224 third_party/tcmalloc/vendor/src/page_heap.cc Event(span, 'L', len); len 230 third_party/tcmalloc/vendor/src/page_heap.cc const Length len = next->length; len 233 third_party/tcmalloc/vendor/src/page_heap.cc span->length += len; len 235 third_party/tcmalloc/vendor/src/page_heap.cc Event(span, 'R', len); len 138 third_party/tcmalloc/vendor/src/profiledata.cc static void FDWrite(int fd, const char* buf, size_t len) { len 139 third_party/tcmalloc/vendor/src/profiledata.cc while (len > 0) { len 141 third_party/tcmalloc/vendor/src/profiledata.cc NO_INTR(r = write(fd, buf, len)); len 144 third_party/tcmalloc/vendor/src/profiledata.cc len -= r; len 53 third_party/tcmalloc/vendor/src/span.cc Span* NewSpan(PageID p, Length len) { len 57 third_party/tcmalloc/vendor/src/span.cc result->length = len; len 74 third_party/tcmalloc/vendor/src/span.h Span* NewSpan(PageID p, Length len); len 44 third_party/tcmalloc/vendor/src/tests/low_level_alloc_unittest.cc int len; // number of bytes len 51 third_party/tcmalloc/vendor/src/tests/low_level_alloc_unittest.cc for (int i = 0; i != d.len; i++) { len 60 third_party/tcmalloc/vendor/src/tests/low_level_alloc_unittest.cc for (int i = 0; i != d->len; i++) { len 101 third_party/tcmalloc/vendor/src/tests/low_level_alloc_unittest.cc block_desc.len = rand() & 0x3fff; len 105 third_party/tcmalloc/vendor/src/tests/low_level_alloc_unittest.cc ? LowLevelAlloc::Alloc(block_desc.len) len 106 third_party/tcmalloc/vendor/src/tests/low_level_alloc_unittest.cc : LowLevelAlloc::AllocWithArena(block_desc.len, arena)); len 79 third_party/tcmalloc/vendor/src/tests/profiledata_unittest.cc ssize_t len; len 80 third_party/tcmalloc/vendor/src/tests/profiledata_unittest.cc NO_INTR(len = read(fd, buf0 + num_bytes, count - num_bytes)); len 81 third_party/tcmalloc/vendor/src/tests/profiledata_unittest.cc if (len < 0) { // There was an error other than EINTR. len 84 third_party/tcmalloc/vendor/src/tests/profiledata_unittest.cc if (len == 0) { // Reached EOF. len 87 third_party/tcmalloc/vendor/src/tests/profiledata_unittest.cc num_bytes += len; len 15 third_party/tcmalloc/vendor/src/tests/stack_trace_table_test.cc const uintptr_t* expected, int len) { len 17 third_party/tcmalloc/vendor/src/tests/stack_trace_table_test.cc for (int i = 0; i < len; ++i) { len 73 third_party/tcmalloc/vendor/src/windows/port.cc extern "C" PERFTOOLS_DLL_DECL void WriteToStderr(const char* buf, int len) { len 75 third_party/tcmalloc/vendor/src/windows/port.cc for (int i = 0; i < len; i += 80) { len 76 third_party/tcmalloc/vendor/src/windows/port.cc write(STDERR_FILENO, buf + i, std::min(80, len - i)); len 389 third_party/tcmalloc/vendor/src/windows/port.h EXTERN_C PERFTOOLS_DLL_DECL void WriteToStderr(const char* buf, int len); len 58 third_party/wtl/include/atlddx.h #define DDX_TEXT_LEN(nID, var, len) \ len 61 third_party/wtl/include/atlddx.h if(!DDX_Text(nID, var, sizeof(var), bSaveAndValidate, TRUE, len)) \ len 60 third_party/zlib/adler32.c uLong ZEXPORT adler32(adler, buf, len) len 63 third_party/zlib/adler32.c uInt len; len 73 third_party/zlib/adler32.c if (len == 1) { len 88 third_party/zlib/adler32.c if (len < 16) { len 89 third_party/zlib/adler32.c while (len--) { len 100 third_party/zlib/adler32.c while (len >= NMAX) { len 101 third_party/zlib/adler32.c len -= NMAX; len 112 third_party/zlib/adler32.c if (len) { /* avoid modulos if none remaining */ len 113 third_party/zlib/adler32.c while (len >= 16) { len 114 third_party/zlib/adler32.c len -= 16; len 118 third_party/zlib/adler32.c while (len--) { len 130 third_party/zlib/contrib/minizip/miniunz.c int len = (int)strlen(newdir); len 132 third_party/zlib/contrib/minizip/miniunz.c if (len <= 0) len 135 third_party/zlib/contrib/minizip/miniunz.c buffer = (char*)malloc(len+1); len 143 third_party/zlib/contrib/minizip/miniunz.c if (buffer[len-1] == '/') { len 144 third_party/zlib/contrib/minizip/miniunz.c buffer[len-1] = '\0'; len 98 third_party/zlib/contrib/minizip/minizip.c int len = strlen(f); len 99 third_party/zlib/contrib/minizip/minizip.c if (len > MAXFILENAME) len 100 third_party/zlib/contrib/minizip/minizip.c len = MAXFILENAME; len 106 third_party/zlib/contrib/minizip/minizip.c if (name[len - 1] == '/') len 107 third_party/zlib/contrib/minizip/minizip.c name[len - 1] = '\0'; len 307 third_party/zlib/contrib/minizip/minizip.c int i,len; len 315 third_party/zlib/contrib/minizip/minizip.c len=(int)strlen(filename_try); len 316 third_party/zlib/contrib/minizip/minizip.c for (i=0;i<len;i++) len 1684 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzReadCurrentFile (unzFile file, voidp buf, unsigned len) len 1701 third_party/zlib/contrib/minizip/unzip.c if (len==0) len 1706 third_party/zlib/contrib/minizip/unzip.c pfile_in_zip_read_info->stream.avail_out = (uInt)len; len 1708 third_party/zlib/contrib/minizip/unzip.c if ((len>pfile_in_zip_read_info->rest_read_uncompressed) && len 1713 third_party/zlib/contrib/minizip/unzip.c if ((len>pfile_in_zip_read_info->rest_read_compressed+ len 1956 third_party/zlib/contrib/minizip/unzip.c extern int ZEXPORT unzGetLocalExtrafield (unzFile file, voidp buf, unsigned len) len 1977 third_party/zlib/contrib/minizip/unzip.c if (len>size_to_read) len 1980 third_party/zlib/contrib/minizip/unzip.c read_now = (uInt)len ; len 381 third_party/zlib/contrib/minizip/unzip.h unsigned len)); len 407 third_party/zlib/contrib/minizip/unzip.h unsigned len)); len 225 third_party/zlib/contrib/minizip/zip.c local int add_data_in_datablock(linkedlist_data* ll, const void* buf, uLong len) len 243 third_party/zlib/contrib/minizip/zip.c while (len>0) len 258 third_party/zlib/contrib/minizip/zip.c if (ldi->avail_in_this_block < len) len 261 third_party/zlib/contrib/minizip/zip.c copy_this = (uInt)len; len 271 third_party/zlib/contrib/minizip/zip.c len -= copy_this; len 1401 third_party/zlib/contrib/minizip/zip.c extern int ZEXPORT zipWriteInFileInZip (zipFile file,const void* buf,unsigned int len) len 1413 third_party/zlib/contrib/minizip/zip.c zi->ci.crc32 = crc32(zi->ci.crc32,buf,(uInt)len); len 1419 third_party/zlib/contrib/minizip/zip.c zi->ci.bstream.avail_in = len; len 1453 third_party/zlib/contrib/minizip/zip.c zi->ci.stream.avail_in = len; len 309 third_party/zlib/contrib/minizip/zip.h unsigned len)); len 221 third_party/zlib/crc32.c unsigned long ZEXPORT crc32(crc, buf, len) len 224 third_party/zlib/crc32.c uInt len; len 239 third_party/zlib/crc32.c return crc32_little(crc, buf, len); len 241 third_party/zlib/crc32.c return crc32_big(crc, buf, len); len 245 third_party/zlib/crc32.c while (len >= 8) { len 247 third_party/zlib/crc32.c len -= 8; len 249 third_party/zlib/crc32.c if (len) do { len 251 third_party/zlib/crc32.c } while (--len); len 264 third_party/zlib/crc32.c local unsigned long crc32_little(crc, buf, len) len 267 third_party/zlib/crc32.c unsigned len; len 274 third_party/zlib/crc32.c while (len && ((ptrdiff_t)buf & 3)) { len 276 third_party/zlib/crc32.c len--; len 280 third_party/zlib/crc32.c while (len >= 32) { len 282 third_party/zlib/crc32.c len -= 32; len 284 third_party/zlib/crc32.c while (len >= 4) { len 286 third_party/zlib/crc32.c len -= 4; len 290 third_party/zlib/crc32.c if (len) do { len 292 third_party/zlib/crc32.c } while (--len); len 304 third_party/zlib/crc32.c local unsigned long crc32_big(crc, buf, len) len 307 third_party/zlib/crc32.c unsigned len; len 314 third_party/zlib/crc32.c while (len && ((ptrdiff_t)buf & 3)) { len 316 third_party/zlib/crc32.c len--; len 321 third_party/zlib/crc32.c while (len >= 32) { len 323 third_party/zlib/crc32.c len -= 32; len 325 third_party/zlib/crc32.c while (len >= 4) { len 327 third_party/zlib/crc32.c len -= 4; len 332 third_party/zlib/crc32.c if (len) do { len 334 third_party/zlib/crc32.c } while (--len); len 571 third_party/zlib/deflate.c unsigned len = strm->state->pending; len 573 third_party/zlib/deflate.c if (len > strm->avail_out) len = strm->avail_out; len 574 third_party/zlib/deflate.c if (len == 0) return; len 576 third_party/zlib/deflate.c zmemcpy(strm->next_out, strm->state->pending_out, len); len 577 third_party/zlib/deflate.c strm->next_out += len; len 578 third_party/zlib/deflate.c strm->state->pending_out += len; len 579 third_party/zlib/deflate.c strm->total_out += len; len 580 third_party/zlib/deflate.c strm->avail_out -= len; len 581 third_party/zlib/deflate.c strm->state->pending -= len; len 1021 third_party/zlib/deflate.c unsigned len = strm->avail_in; len 1023 third_party/zlib/deflate.c if (len > size) len = size; len 1024 third_party/zlib/deflate.c if (len == 0) return 0; len 1026 third_party/zlib/deflate.c strm->avail_in -= len; len 1029 third_party/zlib/deflate.c strm->adler = adler32(strm->adler, strm->next_in, len); len 1033 third_party/zlib/deflate.c strm->adler = crc32(strm->adler, strm->next_in, len); len 1036 third_party/zlib/deflate.c zmemcpy(buf, strm->next_in, len); len 1037 third_party/zlib/deflate.c strm->next_in += len; len 1038 third_party/zlib/deflate.c strm->total_in += len; len 1040 third_party/zlib/deflate.c return (int)len; len 1075 third_party/zlib/deflate.c local void class_set(s, offset, len, clas) len 1078 third_party/zlib/deflate.c uInt len; len 1089 third_party/zlib/deflate.c while (len) { len 1093 third_party/zlib/deflate.c len--; len 1102 third_party/zlib/deflate.c while (len >= 8) { len 1104 third_party/zlib/deflate.c len -= 8; len 1107 third_party/zlib/deflate.c while (len) { len 1111 third_party/zlib/deflate.c len--; len 1146 third_party/zlib/deflate.c register int len; /* length of current match */ len 1231 third_party/zlib/deflate.c len = (MAX_MATCH - 1) - (int)(strend-scan); len 1272 third_party/zlib/deflate.c len = MAX_MATCH - (int)(strend - scan); len 1277 third_party/zlib/deflate.c if (len > best_len) { len 1279 third_party/zlib/deflate.c best_len = len; len 1280 third_party/zlib/deflate.c if (len >= nice_match) break; len 1302 third_party/zlib/deflate.c local uInt cookie_match(s, start, len) len 1305 third_party/zlib/deflate.c unsigned len; len 1312 third_party/zlib/deflate.c if (len >= MAX_MATCH || len == 0) len 1315 third_party/zlib/deflate.c for (i = 0; i < len; i++) len 1323 third_party/zlib/deflate.c (start - cookie_location) > len && len 1325 third_party/zlib/deflate.c len <= s->lookahead) { len 1326 third_party/zlib/deflate.c for (i = 0; i < len; i++) { len 1335 third_party/zlib/deflate.c if (s->window[cookie_location+len-1] != ';' && len 1336 third_party/zlib/deflate.c class_at(s, cookie_location+len) != 0) { len 1340 third_party/zlib/deflate.c return len; len 1359 third_party/zlib/deflate.c register int len; /* length of current match */ len 1400 third_party/zlib/deflate.c len = MAX_MATCH - (int)(strend - scan); len 1402 third_party/zlib/deflate.c if (len < MIN_MATCH) return MIN_MATCH - 1; len 1405 third_party/zlib/deflate.c return (uInt)len <= s->lookahead ? (uInt)len : s->lookahead; len 69 third_party/zlib/deflate.h ush len; /* length of bit string */ len 76 third_party/zlib/deflate.h #define Len dl.len len 332 third_party/zlib/deflate.h { uch len = (length); \ len 335 third_party/zlib/deflate.h s->l_buf[s->last_lit++] = len; \ len 337 third_party/zlib/deflate.h s->dyn_ltree[_length_code[len]+LITERALS+1].Freq++; \ len 21 third_party/zlib/gzread.c local int gz_load(state, buf, len, have) len 24 third_party/zlib/gzread.c unsigned len; len 31 third_party/zlib/gzread.c ret = read(state->fd, buf + *have, len - *have); len 35 third_party/zlib/gzread.c } while (*have < len); len 109 third_party/zlib/gzread.c unsigned len; len 177 third_party/zlib/gzread.c len = (unsigned)NEXT(); len 178 third_party/zlib/gzread.c len += (unsigned)NEXT() << 8; len 179 third_party/zlib/gzread.c while (len--) len 238 third_party/zlib/gzread.c unsigned long crc, len; len 277 third_party/zlib/gzread.c if (gz_next4(state, &crc) == -1 || gz_next4(state, &len) == -1) { len 285 third_party/zlib/gzread.c if (len != (strm->total_out & 0xffffffffL)) { len 330 third_party/zlib/gzread.c local int gz_skip(state, len) len 332 third_party/zlib/gzread.c z_off64_t len; len 337 third_party/zlib/gzread.c while (len) len 340 third_party/zlib/gzread.c n = GT_OFF(state->have) || (z_off64_t)state->have > len ? len 341 third_party/zlib/gzread.c (unsigned)len : state->have; len 345 third_party/zlib/gzread.c len -= n; len 362 third_party/zlib/gzread.c int ZEXPORT gzread(file, buf, len) len 365 third_party/zlib/gzread.c unsigned len; len 383 third_party/zlib/gzread.c if ((int)len < 0) { len 389 third_party/zlib/gzread.c if (len == 0) len 404 third_party/zlib/gzread.c n = state->have > len ? len : state->have; len 416 third_party/zlib/gzread.c else if (state->how == LOOK || len < (state->size << 1)) { len 427 third_party/zlib/gzread.c if (gz_load(state, buf, len, &n) == -1) len 433 third_party/zlib/gzread.c strm->avail_out = len; len 442 third_party/zlib/gzread.c len -= n; len 446 third_party/zlib/gzread.c } while (len); len 539 third_party/zlib/gzread.c char * ZEXPORT gzgets(file, buf, len) len 542 third_party/zlib/gzread.c int len; len 550 third_party/zlib/gzread.c if (file == NULL || buf == NULL || len < 1) len 569 third_party/zlib/gzread.c left = (unsigned)len - 1; len 111 third_party/zlib/gzwrite.c local int gz_zero(state, len) len 113 third_party/zlib/gzwrite.c z_off64_t len; len 125 third_party/zlib/gzwrite.c while (len) { len 126 third_party/zlib/gzwrite.c n = GT_OFF(state->size) || (z_off64_t)state->size > len ? len 127 third_party/zlib/gzwrite.c (unsigned)len : state->size; len 137 third_party/zlib/gzwrite.c len -= n; len 143 third_party/zlib/gzwrite.c int ZEXPORT gzwrite(file, buf, len) len 146 third_party/zlib/gzwrite.c unsigned len; len 148 third_party/zlib/gzwrite.c unsigned put = len; len 165 third_party/zlib/gzwrite.c if ((int)len < 0) { len 171 third_party/zlib/gzwrite.c if (len == 0) len 186 third_party/zlib/gzwrite.c if (len < state->size) { len 192 third_party/zlib/gzwrite.c if (n > len) len 193 third_party/zlib/gzwrite.c n = len; len 198 third_party/zlib/gzwrite.c len -= n; len 199 third_party/zlib/gzwrite.c if (len && gz_comp(state, Z_NO_FLUSH) == -1) len 201 third_party/zlib/gzwrite.c } while (len); len 209 third_party/zlib/gzwrite.c strm->avail_in = len; len 211 third_party/zlib/gzwrite.c state->pos += len; len 269 third_party/zlib/gzwrite.c unsigned len; len 272 third_party/zlib/gzwrite.c len = (unsigned)strlen(str); len 273 third_party/zlib/gzwrite.c ret = gzwrite(file, str, len); len 274 third_party/zlib/gzwrite.c return ret == 0 && len != 0 ? -1 : ret; len 283 third_party/zlib/gzwrite.c int size, len; len 321 third_party/zlib/gzwrite.c for (len = 0; len < size; len++) len 322 third_party/zlib/gzwrite.c if (state->in[len] == 0) break; len 324 third_party/zlib/gzwrite.c len = vsprintf(state->in, format, va); len 331 third_party/zlib/gzwrite.c len = strlen(state->in); len 333 third_party/zlib/gzwrite.c len = vsnprintf((char *)(state->in), size, format, va); len 339 third_party/zlib/gzwrite.c if (len <= 0 || len >= (int)size || state->in[size - 1] != 0) len 343 third_party/zlib/gzwrite.c strm->avail_in = (unsigned)len; len 345 third_party/zlib/gzwrite.c state->pos += len; len 346 third_party/zlib/gzwrite.c return len; len 359 third_party/zlib/gzwrite.c int size, len; len 395 third_party/zlib/gzwrite.c for (len = 0; len < size; len++) len 396 third_party/zlib/gzwrite.c if (state->in[len] == 0) break; len 398 third_party/zlib/gzwrite.c len = sprintf(state->in, format, a1, a2, a3, a4, a5, a6, a7, a8, len 405 third_party/zlib/gzwrite.c len = strlen(state->in); len 407 third_party/zlib/gzwrite.c len = snprintf(state->in, size, format, a1, a2, a3, a4, a5, a6, a7, a8, len 413 third_party/zlib/gzwrite.c if (len <= 0 || len >= (int)size || state->in[size - 1] != 0) len 417 third_party/zlib/gzwrite.c strm->avail_in = (unsigned)len; len 419 third_party/zlib/gzwrite.c state->pos += len; len 420 third_party/zlib/gzwrite.c return len; len 258 third_party/zlib/infback.c unsigned len; /* length to copy for repeats, bits to drop */ len 410 third_party/zlib/infback.c len = (unsigned)(state->lens[state->have - 1]); len 417 third_party/zlib/infback.c len = 0; len 424 third_party/zlib/infback.c len = 0; len 434 third_party/zlib/infback.c state->lens[state->have++] = (unsigned short)len; len 93 third_party/zlib/inffast.c unsigned len; /* match length, unused bytes */ len 140 third_party/zlib/inffast.c len = (unsigned)(here.val); len 147 third_party/zlib/inffast.c len += (unsigned)hold & ((1U << op) - 1); len 151 third_party/zlib/inffast.c Tracevv((stderr, "inflate: length %u\n", len)); len 197 third_party/zlib/inffast.c if (len <= op - whave) { len 200 third_party/zlib/inffast.c } while (--len); len 203 third_party/zlib/inffast.c len -= op - whave; len 211 third_party/zlib/inffast.c } while (--len); len 219 third_party/zlib/inffast.c if (op < len) { /* some from window */ len 220 third_party/zlib/inffast.c len -= op; len 230 third_party/zlib/inffast.c if (op < len) { /* some from end of window */ len 231 third_party/zlib/inffast.c len -= op; len 236 third_party/zlib/inffast.c if (wnext < len) { /* some from start of window */ len 238 third_party/zlib/inffast.c len -= op; len 248 third_party/zlib/inffast.c if (op < len) { /* some from window */ len 249 third_party/zlib/inffast.c len -= op; len 256 third_party/zlib/inffast.c while (len > 2) { len 260 third_party/zlib/inffast.c len -= 3; len 262 third_party/zlib/inffast.c if (len) { len 264 third_party/zlib/inffast.c if (len > 1) len 274 third_party/zlib/inffast.c len -= 3; len 275 third_party/zlib/inffast.c } while (len > 2); len 276 third_party/zlib/inffast.c if (len) { len 278 third_party/zlib/inffast.c if (len > 1) len 310 third_party/zlib/inffast.c len = bits >> 3; len 311 third_party/zlib/inffast.c in -= len; len 312 third_party/zlib/inffast.c bits -= len << 3; len 101 third_party/zlib/inflate.c unsigned len)); len 412 third_party/zlib/inflate.c # define UPDATE(check, buf, len) \ len 413 third_party/zlib/inflate.c (state->flags ? crc32(check, buf, len) : adler32(check, buf, len)) len 415 third_party/zlib/inflate.c # define UPDATE(check, buf, len) adler32(check, buf, len) len 604 third_party/zlib/inflate.c unsigned len; /* length to copy for repeats, bits to drop */ len 656 third_party/zlib/inflate.c len = BITS(4) + 8; len 658 third_party/zlib/inflate.c state->wbits = len; len 659 third_party/zlib/inflate.c else if (len > state->wbits) { len 664 third_party/zlib/inflate.c state->dmax = 1U << len; len 724 third_party/zlib/inflate.c len = state->head->extra_len - state->length; len 725 third_party/zlib/inflate.c zmemcpy(state->head->extra + len, next, len 726 third_party/zlib/inflate.c len + copy > state->head->extra_max ? len 727 third_party/zlib/inflate.c state->head->extra_max - len : copy); len 744 third_party/zlib/inflate.c len = (unsigned)(next[copy++]); len 748 third_party/zlib/inflate.c state->head->name[state->length++] = len; len 749 third_party/zlib/inflate.c } while (len && copy < have); len 754 third_party/zlib/inflate.c if (len) goto inf_leave; len 765 third_party/zlib/inflate.c len = (unsigned)(next[copy++]); len 769 third_party/zlib/inflate.c state->head->comment[state->length++] = len; len 770 third_party/zlib/inflate.c } while (len && copy < have); len 775 third_party/zlib/inflate.c if (len) goto inf_leave; len 941 third_party/zlib/inflate.c len = state->lens[state->have - 1]; len 948 third_party/zlib/inflate.c len = 0; len 955 third_party/zlib/inflate.c len = 0; len 965 third_party/zlib/inflate.c state->lens[state->have++] = (unsigned short)len; len 1322 third_party/zlib/inflate.c local unsigned syncsearch(have, buf, len) len 1325 third_party/zlib/inflate.c unsigned len; len 1332 third_party/zlib/inflate.c while (next < len && got < 4) { len 1348 third_party/zlib/inflate.c unsigned len; /* number of bytes to look at or looked at */ len 1363 third_party/zlib/inflate.c len = 0; len 1365 third_party/zlib/inflate.c buf[len++] = (unsigned char)(state->hold); len 1370 third_party/zlib/inflate.c syncsearch(&(state->have), buf, len); len 1374 third_party/zlib/inflate.c len = syncsearch(&(state->have), strm->next_in, strm->avail_in); len 1375 third_party/zlib/inflate.c strm->avail_in -= len; len 1376 third_party/zlib/inflate.c strm->next_in += len; len 1377 third_party/zlib/inflate.c strm->total_in += len; len 40 third_party/zlib/inftrees.c unsigned len; /* a code's length in bits */ len 107 third_party/zlib/inftrees.c for (len = 0; len <= MAXBITS; len++) len 108 third_party/zlib/inftrees.c count[len] = 0; len 132 third_party/zlib/inftrees.c for (len = 1; len <= MAXBITS; len++) { len 134 third_party/zlib/inftrees.c left -= count[len]; len 142 third_party/zlib/inftrees.c for (len = 1; len < MAXBITS; len++) len 143 third_party/zlib/inftrees.c offs[len + 1] = offs[len] + count[len]; len 202 third_party/zlib/inftrees.c len = min; /* starting code length */ len 218 third_party/zlib/inftrees.c here.bits = (unsigned char)(len - drop); len 233 third_party/zlib/inftrees.c incr = 1U << (len - drop); len 242 third_party/zlib/inftrees.c incr = 1U << (len - 1); len 254 third_party/zlib/inftrees.c if (--(count[len]) == 0) { len 255 third_party/zlib/inftrees.c if (len == max) break; len 256 third_party/zlib/inftrees.c len = lens[work[sym]]; len 260 third_party/zlib/inftrees.c if (len > root && (huff & mask) != low) { len 269 third_party/zlib/inftrees.c curr = len - drop; len 300 third_party/zlib/inftrees.c here.bits = (unsigned char)(len - drop); len 306 third_party/zlib/inftrees.c len = root; len 308 third_party/zlib/inftrees.c here.bits = (unsigned char)len; len 315 third_party/zlib/inftrees.c incr = 1U << (len - 1); len 160 third_party/zlib/trees.c local void copy_block OF((deflate_state *s, charf *buf, unsigned len, len 219 third_party/zlib/trees.c { int len = length;\ len 220 third_party/zlib/trees.c if (s->bi_valid > (int)Buf_size - len) {\ len 225 third_party/zlib/trees.c s->bi_valid += len - Buf_size;\ len 228 third_party/zlib/trees.c s->bi_valid += len;\ len 605 third_party/zlib/trees.c int len = tree[n].Len; len 606 third_party/zlib/trees.c if (len == 0) continue; len 608 third_party/zlib/trees.c tree[n].Code = bi_reverse(next_code[len]++, len); len 611 third_party/zlib/trees.c n, (isgraph(n) ? n : ' '), len, tree[n].Code, next_code[len]-1)); len 1171 third_party/zlib/trees.c local unsigned bi_reverse(code, len) len 1173 third_party/zlib/trees.c int len; /* its bit length */ len 1179 third_party/zlib/trees.c } while (--len > 0); len 1222 third_party/zlib/trees.c local void copy_block(s, buf, len, header) len 1225 third_party/zlib/trees.c unsigned len; /* its length */ len 1232 third_party/zlib/trees.c put_short(s, (ush)len); len 1233 third_party/zlib/trees.c put_short(s, (ush)~len); len 1239 third_party/zlib/trees.c s->bits_sent += (ulg)len<<3; len 1241 third_party/zlib/trees.c while (len--) { len 1240 third_party/zlib/zlib.h ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); len 1257 third_party/zlib/zlib.h voidpc buf, unsigned len)); len 1287 third_party/zlib/zlib.h ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len)); len 1474 third_party/zlib/zlib.h ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len)); len 1503 third_party/zlib/zlib.h ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); len 149 third_party/zlib/zutil.c void ZLIB_INTERNAL zmemcpy(dest, source, len) len 152 third_party/zlib/zutil.c uInt len; len 154 third_party/zlib/zutil.c if (len == 0) return; len 157 third_party/zlib/zutil.c } while (--len != 0); len 160 third_party/zlib/zutil.c int ZLIB_INTERNAL zmemcmp(s1, s2, len) len 163 third_party/zlib/zutil.c uInt len; len 167 third_party/zlib/zutil.c for (j = 0; j < len; j++) { len 173 third_party/zlib/zutil.c void ZLIB_INTERNAL zmemzero(dest, len) len 175 third_party/zlib/zutil.c uInt len; len 177 third_party/zlib/zutil.c if (len == 0) return; len 180 third_party/zlib/zutil.c } while (--len != 0); len 247 third_party/zlib/zutil.h # define zmemzero(dest, len) _fmemset(dest, 0, len) len 251 third_party/zlib/zutil.h # define zmemzero(dest, len) memset(dest, 0, len) len 254 third_party/zlib/zutil.h void ZLIB_INTERNAL zmemcpy OF((Bytef* dest, const Bytef* source, uInt len)); len 255 third_party/zlib/zutil.h int ZLIB_INTERNAL zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len)); len 256 third_party/zlib/zutil.h void ZLIB_INTERNAL zmemzero OF((Bytef* dest, uInt len)); len 82 tools/android/forwarder2/command.cc int len = snprintf(buffer, sizeof(buffer), "%05d:%02d", port, command); len 83 tools/android/forwarder2/command.cc CHECK_EQ(len, kCommandStringSize); len 85 tools/android/forwarder2/command.cc return socket->WriteNumBytes(buffer, len) == len; len 440 tools/android/forwarder2/socket.cc socklen_t len = sizeof(ucred); len 441 tools/android/forwarder2/socket.cc if (getsockopt(socket.socket_, SOL_SOCKET, SO_PEERCRED, &ucred, &len) == -1) { len 316 tools/cygprofile/cygprofile.cc int len = vsnprintf(msg, sizeof(msg), fmt, arg_ptr); len 317 tools/cygprofile/cygprofile.cc int rc = write(fd, msg, (len > sizeof(msg))? sizeof(msg): len); len 13 tools/gn/output_stream.h OutputStream& WriteBuffer(const char* buf, size_t len); len 17 tools/gn/tokenizer_unittest.cc template<size_t len> len 18 tools/gn/tokenizer_unittest.cc bool CheckTokenizer(const char* input, const TokenExpectation (&expect)[len]) { len 25 tools/gn/tokenizer_unittest.cc if (results.size() != len) len 27 tools/gn/tokenizer_unittest.cc for (size_t i = 0; i < len; i++) { len 32 ui/base/clipboard/custom_data_helper.cc int len; len 33 ui/base/clipboard/custom_data_helper.cc if (!ReadLength(iter, &len)) len 35 ui/base/clipboard/custom_data_helper.cc return iter->SkipBytes(len * sizeof(base::char16)); len 423 ui/base/ime/input_method_win.cc size_t len = text_range.length(); len 424 ui/base/ime/input_method_win.cc size_t need_size = sizeof(RECONVERTSTRING) + len * sizeof(WCHAR); len 438 ui/base/ime/input_method_win.cc reconv->dwStrLen = len; len 448 ui/base/ime/input_method_win.cc text.c_str(), len * sizeof(WCHAR)); len 477 ui/base/ime/input_method_win.cc size_t len = selection_range.length(); len 478 ui/base/ime/input_method_win.cc size_t need_size = sizeof(RECONVERTSTRING) + len * sizeof(WCHAR); len 494 ui/base/ime/input_method_win.cc reconv->dwStrLen = len; len 496 ui/base/ime/input_method_win.cc reconv->dwCompStrLen = len; len 498 ui/base/ime/input_method_win.cc reconv->dwTargetStrLen = len; len 502 ui/base/ime/input_method_win.cc text.c_str(), len * sizeof(WCHAR)); len 333 ui/gfx/codec/jpeg_codec.cc JpegDecoderState(const unsigned char* in, size_t len) len 334 ui/gfx/codec/jpeg_codec.cc : input_buffer(in), input_buffer_length(len) { len 250 ui/gfx/render_text_unittest.cc int len = text.length(); len 252 ui/gfx/render_text_unittest.cc EXPECT_EQ(SelectionModel(Range(select ? 0 : len, len), CURSOR_FORWARD), len 256 ui/gfx/render_text_unittest.cc for (int j = 1; j <= len; ++j) { len 261 ui/gfx/render_text_unittest.cc for (int j = len - 1; j >= 0; --j) { len 267 ui/gfx/render_text_unittest.cc EXPECT_EQ(SelectionModel(Range(select ? 0 : len, len), CURSOR_FORWARD), len 938 ui/views/accessibility/native_view_accessibility_win.cc LONG len = static_cast<LONG>(text_str.size()); len 941 ui/views/accessibility/native_view_accessibility_win.cc start_offset = len; len 962 ui/views/accessibility/native_view_accessibility_win.cc if (end_offset > len) len 344 url/gurl.cc if (parsed_.path.len == 0) len 354 url/gurl.cc other.parsed_.path.len = 1; len 364 url/gurl.cc if (parsed_.scheme.len <= 0) len 389 url/gurl.cc parsed_.scheme.len); len 400 url/gurl.cc DCHECK(parsed_.path.len > 0) << "Canonical path for requests should be non-empty"; len 401 url/gurl.cc if (parsed_.ref.len >= 0) { len 410 url/gurl.cc int path_len = parsed_.path.len; len 420 url/gurl.cc if (h.len >= 2 && spec_[h.begin] == '[' && spec_[h.end() - 1] == ']') { len 422 url/gurl.cc h.len -= 2; len 491 url/gurl.cc int host_len = parsed_.host.len; len 283 url/gurl.h return parsed_.scheme.len >= 0; len 286 url/gurl.h return parsed_.username.len >= 0; len 289 url/gurl.h return parsed_.password.len >= 0; len 293 url/gurl.h return parsed_.host.len > 0; len 296 url/gurl.h return parsed_.port.len >= 0; len 301 url/gurl.h return parsed_.path.len >= 0; len 304 url/gurl.h return parsed_.query.len >= 0; len 307 url/gurl.h return parsed_.ref.len >= 0; len 381 url/gurl.h if (comp.len <= 0) len 383 url/gurl.h return std::string(spec_, comp.begin, comp.len); len 30 url/gurl_unittest.cc comp.len = static_cast<int>(strlen(str)); len 77 url/third_party/mozilla/url_parse.cc while (colon_offset < user.len && spec[user.begin + colon_offset] != ':') len 80 url/third_party/mozilla/url_parse.cc if (colon_offset < user.len) { len 84 url/third_party/mozilla/url_parse.cc user.begin + user.len); len 97 url/third_party/mozilla/url_parse.cc if (serverinfo.len == 0) { len 128 url/third_party/mozilla/url_parse.cc if (hostname->len == 0) len 150 url/third_party/mozilla/url_parse.cc if (auth.len == 0) { len 160 url/third_party/mozilla/url_parse.cc int i = auth.begin + auth.len - 1; len 168 url/third_party/mozilla/url_parse.cc ParseServerInfo(spec, MakeRange(i + 1, auth.begin + auth.len), len 187 url/third_party/mozilla/url_parse.cc if (path.len == -1) { len 193 url/third_party/mozilla/url_parse.cc DCHECK(path.len > 0) << "We should never have 0 length paths"; len 196 url/third_party/mozilla/url_parse.cc int path_end = path.begin + path.len; len 451 url/third_party/mozilla/url_parse.cc parsed->path.len = inner_parsed.path.len - new_inner_path_length; len 452 url/third_party/mozilla/url_parse.cc parsed->inner_parsed()->path.len = new_inner_path_length; len 582 url/third_party/mozilla/url_parse.cc for (int i = 0; i < component.len; i++) { len 588 url/third_party/mozilla/url_parse.cc if (digits_comp.len == 0) len 593 url/third_party/mozilla/url_parse.cc if (digits_comp.len > kMaxDigits) len 598 url/third_party/mozilla/url_parse.cc for (int i = 0; i < digits_comp.len; i++) { len 609 url/third_party/mozilla/url_parse.cc digits[digits_comp.len] = 0; len 672 url/third_party/mozilla/url_parse.cc key->len = cur - key->begin; len 682 url/third_party/mozilla/url_parse.cc value->len = cur - value->begin; len 805 url/third_party/mozilla/url_parse.cc const int len = Length() - begin; len 809 url/third_party/mozilla/url_parse.cc return len ? Component(begin, len) : Component(); len 24 url/third_party/mozilla/url_parse.h Component() : begin(0), len(-1) {} len 27 url/third_party/mozilla/url_parse.h Component(int b, int l) : begin(b), len(l) {} len 30 url/third_party/mozilla/url_parse.h return begin + len; len 36 url/third_party/mozilla/url_parse.h return (len != -1); len 42 url/third_party/mozilla/url_parse.h return (len > 0); len 47 url/third_party/mozilla/url_parse.h len = -1; len 51 url/third_party/mozilla/url_parse.h return begin == other.begin && len == other.len; len 55 url/third_party/mozilla/url_parse.h int len; // Will be -1 if the component is unspecified. len 88 url/url_canon_etc.cc if (scheme.len <= 0) { len 138 url/url_canon_etc.cc out_scheme->len = output->length() - out_scheme->begin; len 155 url/url_canon_etc.cc if (username.len <= 0 && password.len <= 0) { len 164 url/url_canon_etc.cc if (username.len > 0) { len 166 url/url_canon_etc.cc AppendStringOfType(&username_spec[username.begin], username.len, len 169 url/url_canon_etc.cc out_username->len = output->length() - out_username->begin; len 173 url/url_canon_etc.cc if (password.len > 0) { len 176 url/url_canon_etc.cc AppendStringOfType(&password_spec[password.begin], password.len, len 178 url/url_canon_etc.cc out_password->len = output->length() - out_password->begin; len 212 url/url_canon_etc.cc out_port->len = output->length() - out_port->begin; len 228 url/url_canon_etc.cc out_port->len = output->length() - out_port->begin; len 237 url/url_canon_etc.cc if (ref.len < 0) { len 273 url/url_canon_etc.cc out_ref->len = output->length() - out_ref->begin; len 40 url/url_canon_filesystemurl.cc new_parsed->scheme.len = 10; len 50 url/url_canon_filesystemurl.cc new_inner_parsed.scheme.len = 4; len 67 url/url_canon_filesystemurl.cc success &= parsed.inner_parsed()->path.len > 1; len 84 url/url_canon_fileurl.cc out_path->len = output->length() - out_path->begin; len 103 url/url_canon_fileurl.cc new_parsed->scheme.len = 4; len 293 url/url_canon_host.cc if (host.len <= 0) { len 308 url/url_canon_host.cc success = DoSimpleHost(&spec[host.begin], host.len, len 312 url/url_canon_host.cc success = DoComplexHost(&spec[host.begin], host.len, len 99 url/url_canon_internal.cc override_component.len, utf8_buffer); len 100 url/url_canon_internal.cc dest_component->len = utf8_buffer->length() - dest_component->begin; len 300 url/url_canon_internal.cc if (parsed->host.len == -1) len 301 url/url_canon_internal.cc parsed->host.len = 0; len 70 url/url_canon_internal_file.h if (sub_path.len > 0) { len 96 url/url_canon_internal_file.h new_parsed->scheme.len = output->length() - new_parsed->scheme.begin; len 122 url/url_canon_internal_file.h new_parsed->path.len = output->length() - new_parsed->path.begin; len 103 url/url_canon_ip.cc if (component.len == 1) { len 118 url/url_canon_ip.cc while (base_prefix_len < component.len && len 180 url/url_canon_ip.cc if (components[i].len <= 0) len 241 url/url_canon_ip.cc host_info->out_host.len = output->length() - host_info->out_host.begin; len 445 url/url_canon_ip.cc DCHECK(component.len <= 4); len 449 url/url_canon_ip.cc for (int i = 0; i < component.len; ++i) len 451 url/url_canon_ip.cc buf[component.len] = '\0'; len 470 url/url_canon_ip.cc url_parse::Component ipv6_comp(host.begin + 1, host.len - 2); len 540 url/url_canon_ip.cc cur_range.len += 2; len 546 url/url_canon_ip.cc if (cur_range.len > 2 && cur_range.len > max_range.len) { len 585 url/url_canon_ip.cc host_info->out_host.len = output->length() - host_info->out_host.begin; len 617 url/url_canon_ip.cc if (i == contraction_range.begin && contraction_range.len > 0) { len 34 url/url_canon_mailtourl.cc new_parsed->scheme.len = 6; len 54 url/url_canon_mailtourl.cc new_parsed->path.len = output->length() - new_parsed->path.begin; len 303 url/url_canon_path.cc if (path.len > 0) { len 316 url/url_canon_path.cc out_path->len = output->length() - out_path->begin; len 41 url/url_canon_pathurl.cc new_component->len = output->length() - new_component->begin; len 78 url/url_canon_query.cc ConvertUTF8ToUTF16(&spec[query.begin], query.len, &utf16); len 89 url/url_canon_query.cc converter->ConvertFromUTF16(&spec[query.begin], query.len, output); len 99 url/url_canon_query.cc AppendRaw8BitQueryString(&spec[query.begin], query.len, output); len 112 url/url_canon_query.cc AppendStringOfType(&spec[query.begin], query.len, CHAR_QUERY, output); len 123 url/url_canon_query.cc if (query.len < 0) { len 133 url/url_canon_query.cc out_query->len = output->length() - out_query->begin; len 32 url/url_canon_relative.cc if (base_scheme.len != cmp_scheme.len) len 34 url/url_canon_relative.cc for (int i = 0; i < base_scheme.len; i++) { len 105 url/url_canon_relative.cc !url_parse::ExtractScheme(url, url_len, &scheme) || scheme.len == 0; len 203 url/url_canon_relative.cc if (source_component.len < 0) { len 213 url/url_canon_relative.cc output_component->len = output->length() - output_component->begin; len 287 url/url_canon_relative.cc if (path.len > 0) { len 416 url/url_canon_relative.cc relative_component.len, &relative_parsed); len 419 url/url_canon_relative.cc relative_component.len, relative_parsed, len 441 url/url_canon_relative.cc if (base_parsed.path.len <= 0) { len 450 url/url_canon_relative.cc if (relative_component.len <= 0) { len 453 url/url_canon_relative.cc base_len -= base_parsed.ref.len + 1; len 495 url/url_canon_relative.cc (num_slashes >= 2 || num_slashes == relative_component.len)) { len 53 url/url_canon_stdurl.cc &output->data()[new_parsed->scheme.begin], new_parsed->scheme.len); len 335 url/url_canon_unittest.cc EXPECT_EQ(scheme_cases[i].expected_component.len, out_comp.len); len 342 url/url_canon_unittest.cc in_comp.len = static_cast<int>(wide_input.length()); len 350 url/url_canon_unittest.cc EXPECT_EQ(scheme_cases[i].expected_component.len, out_comp.len); len 365 url/url_canon_unittest.cc EXPECT_EQ(0, out_comp.len); len 583 url/url_canon_unittest.cc EXPECT_EQ(host_cases[i].expected_component.len, out_comp.len) << len 605 url/url_canon_unittest.cc EXPECT_EQ(host_cases[i].expected_component.len, out_comp.len); len 628 url/url_canon_unittest.cc EXPECT_EQ(host_cases[i].expected_component.len, host_info.out_host.len); len 655 url/url_canon_unittest.cc EXPECT_EQ(host_cases[i].expected_component.len, host_info.out_host.len); len 758 url/url_canon_unittest.cc EXPECT_EQ(cases[i].expected_component.len, host_info.out_host.len); len 779 url/url_canon_unittest.cc EXPECT_EQ(cases[i].expected_component.len, host_info.out_host.len); len 914 url/url_canon_unittest.cc EXPECT_EQ(cases[i].expected_component.len, host_info.out_host.len); len 933 url/url_canon_unittest.cc EXPECT_EQ(cases[i].expected_component.len, host_info.out_host.len); len 999 url/url_canon_unittest.cc EXPECT_EQ(user_info_cases[i].expected_username.len, out_user.len); len 1001 url/url_canon_unittest.cc EXPECT_EQ(user_info_cases[i].expected_password.len, out_pass.len); len 1017 url/url_canon_unittest.cc EXPECT_EQ(user_info_cases[i].expected_username.len, out_user.len); len 1019 url/url_canon_unittest.cc EXPECT_EQ(user_info_cases[i].expected_password.len, out_pass.len); len 1060 url/url_canon_unittest.cc EXPECT_EQ(port_cases[i].expected_component.len, out_comp.len); len 1074 url/url_canon_unittest.cc EXPECT_EQ(port_cases[i].expected_component.len, out_comp.len); len 1152 url/url_canon_unittest.cc int len = static_cast<int>(strlen(path_cases[i].input8)); len 1153 url/url_canon_unittest.cc url_parse::Component in_comp(0, len); len 1163 url/url_canon_unittest.cc EXPECT_EQ(path_cases[i].expected_component.len, out_comp.len); len 1169 url/url_canon_unittest.cc int len = static_cast<int>(input16.length()); len 1170 url/url_canon_unittest.cc url_parse::Component in_comp(0, len); len 1181 url/url_canon_unittest.cc EXPECT_EQ(path_cases[i].expected_component.len, out_comp.len); len 1250 url/url_canon_unittest.cc int len = static_cast<int>(strlen(query_cases[i].input8)); len 1251 url/url_canon_unittest.cc url_parse::Component in_comp(0, len); len 1264 url/url_canon_unittest.cc int len = static_cast<int>(input16.length()); len 1265 url/url_canon_unittest.cc url_parse::Component in_comp(0, len); len 1311 url/url_canon_unittest.cc int len = static_cast<int>(strlen(ref_cases[i].input8)); len 1312 url/url_canon_unittest.cc url_parse::Component in_comp(0, len); len 1322 url/url_canon_unittest.cc EXPECT_EQ(ref_cases[i].expected_component.len, out_comp.len); len 1329 url/url_canon_unittest.cc int len = static_cast<int>(input16.length()); len 1330 url/url_canon_unittest.cc url_parse::Component in_comp(0, len); len 1339 url/url_canon_unittest.cc EXPECT_EQ(ref_cases[i].expected_component.len, out_comp.len); len 1356 url/url_canon_unittest.cc EXPECT_EQ(3, out_comp.len); len 1769 url/url_canon_unittest.cc EXPECT_EQ(4, out_parsed.scheme.len); len 1772 url/url_canon_unittest.cc EXPECT_EQ(cases[i].expected_host.len, out_parsed.host.len); len 1775 url/url_canon_unittest.cc EXPECT_EQ(cases[i].expected_path.len, out_parsed.path.len); len 1813 url/url_canon_unittest.cc EXPECT_EQ(10, out_parsed.scheme.len); len 1815 url/url_canon_unittest.cc EXPECT_GT(out_parsed.path.len, 0); len 1847 url/url_canon_unittest.cc EXPECT_EQ(-1, out_parsed.host.len); len 1852 url/url_canon_unittest.cc EXPECT_EQ(-1, out_parsed.GetContent().len); len 1906 url/url_canon_unittest.cc EXPECT_EQ(6, out_parsed.scheme.len); len 1909 url/url_canon_unittest.cc EXPECT_EQ(cases[i].expected_path.len, out_parsed.path.len); len 1912 url/url_canon_unittest.cc EXPECT_EQ(cases[i].expected_query.len, out_parsed.query.len); len 1996 url/url_canon_unittest.cc return a.scheme.begin == b.scheme.begin && a.scheme.len == b.scheme.len && len 1997 url/url_canon_unittest.cc a.username.begin == b.username.begin && a.username.len == b.username.len && len 1998 url/url_canon_unittest.cc a.password.begin == b.password.begin && a.password.len == b.password.len && len 1999 url/url_canon_unittest.cc a.host.begin == b.host.begin && a.host.len == b.host.len && len 2000 url/url_canon_unittest.cc a.port.begin == b.port.begin && a.port.len == b.port.len && len 2001 url/url_canon_unittest.cc a.path.begin == b.path.begin && a.path.len == b.path.len && len 2002 url/url_canon_unittest.cc a.query.begin == b.query.begin && a.query.len == b.query.len && len 2003 url/url_canon_unittest.cc a.ref.begin == b.ref.begin && a.ref.len == b.ref.len; len 68 url/url_file.h int len, len 70 url/url_file.h int remaining_len = len - start_offset; len 31 url/url_parse_internal.h inline void TrimURL(const CHAR* spec, int* begin, int* len, len 34 url/url_parse_internal.h while (*begin < *len && ShouldTrimFromURL(spec[*begin])) len 41 url/url_parse_internal.h while (*len > *begin && ShouldTrimFromURL(spec[*len - 1])) len 42 url/url_parse_internal.h (*len)--; len 101 url/url_parse_unittest.cc EXPECT_TRUE(component.len >= 0 || component.len == -1); len 108 url/url_parse_unittest.cc return component.len == -1; len 109 url/url_parse_unittest.cc if (component.len < 0) len 112 url/url_parse_unittest.cc if (strlen(reference) != static_cast<size_t>(component.len)) len 116 url/url_parse_unittest.cc return strncmp(reference, &input[component.begin], component.len) == 0; len 121 url/url_parse_unittest.cc EXPECT_EQ(-1, component.len); len 463 url/url_parse_unittest.cc << parsed.scheme.begin << ", " << parsed.scheme.len; len 467 url/url_parse_unittest.cc << parsed.username.begin << ", " << parsed.username.len; len 471 url/url_parse_unittest.cc << parsed.password.begin << ", " << parsed.password.len; len 475 url/url_parse_unittest.cc << parsed.host.begin << ", " << parsed.host.len; len 482 url/url_parse_unittest.cc << parsed.path.begin << ", " << parsed.path.len; len 486 url/url_parse_unittest.cc << parsed.query.begin << ", " << parsed.query.len; len 490 url/url_parse_unittest.cc << parsed.query.begin << ", " << parsed.scheme.len; len 514 url/url_parse_unittest.cc int len = static_cast<int>(strlen(url)); len 517 url/url_parse_unittest.cc url_parse::ParseStandardURL(url, len, &parsed); len 550 url/url_parse_unittest.cc if (strncmp(&url[key.begin], expected_key, key.len) != 0) len 552 url/url_parse_unittest.cc if (strncmp(&url[value.begin], expected_value, value.len) != 0)