/external/fio/ |
H A D | log.c | 12 size_t len; local 14 len = vsnprintf(buffer, sizeof(buffer), str, args); 15 len = min(len, sizeof(buffer) - 1); 18 len = fio_server_text_output(FIO_LOG_INFO, buffer, len); 22 len = fwrite(buffer, len, 1, f_out); 24 return len; 27 int log_local_buf(const char *buf, size_t len) argument 41 size_t len; local 69 size_t len; local [all...] |
/external/flatbuffers/include/flatbuffers/ |
H A D | grpc.h | 38 reinterpret_cast<const char *>(msg.buf), msg.len); 48 auto len = grpc_byte_buffer_length(buffer); local 49 msg->buf = reinterpret_cast<uint8_t *>(malloc(len)); 50 msg->len = static_cast<flatbuffers::uoffset_t>(len); 61 GPR_ASSERT(current == msg->buf + msg->len);
|
/external/flatbuffers/php/ |
H A D | Table.php | 65 $len = $this->bb->getInt($offset); variable 67 return substr($this->bb->_buffer, $startPos, $len);
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
H A D | line_reader.h | 58 // len: (output) the length of the line (not inc the NUL byte) 64 bool GetNextLine(const char **line, unsigned *len) { argument 72 *len = i; 91 *len = buf_used_; 113 void PopLine(unsigned len) { argument 114 // len doesn't include the NUL byte at the end. 116 assert(buf_used_ >= len + 1); 117 buf_used_ -= len + 1; 118 my_memmove(buf_, buf_ + len + 1, buf_used_);
|
/external/google-breakpad/src/common/linux/ |
H A D | crc32.cc | 59 uint32_t UpdateCrc32(uint32_t start, const void* buf, size_t len) { argument 64 for (size_t i = 0; i < len; ++i) {
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/ |
H A D | Base64.java | 42 public static byte[] decode(byte[] in, int len) { argument 44 int length = len / 4 * 3; 56 for (;;len--) { 57 chr = in[len-1]; 77 for (int i=0; i<len; i++) {
|
/external/guava/guava/src/com/google/common/base/ |
H A D | Utf8.java | 122 * @param len the number of bytes to read from the buffer 124 public static boolean isWellFormed(byte[] bytes, int off, int len) { argument 125 int end = off + len;
|
/external/guava/guava/src/com/google/common/hash/ |
H A D | HashingOutputStream.java | 55 @Override public void write(byte[] bytes, int off, int len) throws IOException { argument 56 hasher.putBytes(bytes, off, len); 57 out.write(bytes, off, len);
|
/external/guava/guava/src/com/google/common/io/ |
H A D | CountingOutputStream.java | 52 @Override public void write(byte[] b, int off, int len) throws IOException { argument 53 out.write(b, off, len); 54 count += len;
|
H A D | LineBuffer.java | 46 * @param len the number of characters to process 50 protected void add(char[] cbuf, int off, int len) throws IOException { argument 52 if (sawReturn && len > 0) { 60 for (int end = off + len; pos < end; pos++) { 83 line.append(cbuf, start, off + len - start);
|
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | RandomAmountInputStream.java | 35 @Override public int read(byte[] b, int off, int len) throws IOException { argument 36 return super.read(b, off, random.nextInt(len) + 1);
|
H A D | TestOutputStream.java | 54 public void write(byte[] b, int off, int len) throws IOException { argument 57 super.write(b, off, len);
|
H A D | TestWriter.java | 49 public void write(char[] cbuf, int off, int len) throws IOException { argument 50 super.write(cbuf, off, len); 55 public void write(String str, int off, int len) throws IOException { argument 56 super.write(str, off, len);
|
/external/harfbuzz_ng/src/ |
H A D | test-size-params.cc | 56 unsigned int len; local 64 len = g_mapped_file_get_length (mf); 71 len = ftell (f); 73 font_data = (const char *) malloc (len); 74 if (!font_data) len = 0; 75 len = fread ((char *) font_data, 1, len, f); 82 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
|
H A D | test-would-substitute.cc | 60 unsigned int len; local 68 len = g_mapped_file_get_length (mf); 75 len = ftell (f); 77 font_data = (const char *) malloc (len); 78 if (!font_data) len = 0; 79 len = fread ((char *) font_data, 1, len, f); 86 blob = hb_blob_create (font_data, len, mm, user_data, destroy); 99 unsigned int len = argc - 3; local 105 return !hb_ot_layout_lookup_would_substitute (face, strtol (argv[2], NULL, 0), glyphs, len, fals [all...] |
/external/harfbuzz_ng/test/fuzzing/ |
H A D | hb-fuzzer.cc | 32 unsigned int len = hb_buffer_get_length (buffer); local 35 for (unsigned int i = 0; i < len; i++)
|
/external/icu/icu4c/source/common/ |
H A D | stringpiece.cpp | 31 StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) { argument 37 if (len < 0) { 38 len = 0; 39 } else if (len > x.length_ - pos) { 40 len = x.length_ - pos; 43 length_ = len; 56 int32_t len = x.size(); local 57 if (len != y.size()) { 60 if (len == 0) { 66 --len; [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | digitaffix.cpp | 47 int32_t len = value.length(); local 48 for (int32_t i = 0; i < len; ++i) { 60 int32_t len = value.length(); local 61 for (int32_t i = 0; i < len; ++i) { 80 int32_t len = fAffix.length(); local 81 if (len == 0) { 91 for (int32_t i = 1; i < len; ++i) { 102 handler.addAttribute(lastId, appendToStart + lastIdStart, appendToStart + len);
|
H A D | remtrans.cpp | 65 int32_t len = index.limit - index.start; local 66 index.contextLimit -= len; 67 index.limit -= len;
|
/external/icu/icu4c/source/io/ |
H A D | locbund.cpp | 73 int32_t len; local 84 len = (int32_t)strlen(loc); 85 result->fLocale = (char*) uprv_malloc(len + 1);
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | cposxtst.c | 77 int32_t len = -1; local 85 ustr = u_catgets(catd, set_num, msg_num, FAIL, &len, &ec); 89 log_verbose("u_catgets(%d, %d) => \"%s\", len=%d, %s\n", 90 set_num, msg_num, str, len, err); 97 if (len != (int32_t) uprv_strlen(DATA[i+2])) { 98 log_err("FAIL: u_catgets => len=%d, exp. %d\n", 99 len, uprv_strlen(DATA[i+2]));
|
/external/icu/icu4c/source/test/intltest/ |
H A D | idnaconf.h | 32 int len ; member in class:IdnaConfTest
|
H A D | sfwdchit.cpp | 44 SimpleFwdCharIterator::SimpleFwdCharIterator(UChar *s, int32_t len, UBool adopt) { argument 48 fLen = len==-1 ? u_strlen(s) : len;
|
/external/icu/icu4c/source/test/iotest/ |
H A D | trnstst.c | 126 int len; local 196 len=fread(ubuf, sizeof(UChar), u_strlen(compare), infile); 197 log_verbose("Read %d UChars\n", len); 198 if(len != u_strlen(compare)) 200 log_err("Wanted %d UChars from file, got %d\n", u_strlen(compare), len); 202 ubuf[len]=0; 206 log_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), len);
|
/external/iproute2/ip/ |
H A D | ipprefix.c | 42 int len = n->nlmsg_len; local 52 len -= NLMSG_LENGTH(sizeof(*prefix)); 53 if (len < 0) { 54 fprintf(stderr, "BUG: wrong nlmsg len %d\n", len); 72 parse_rtattr(tb, RTA_MAX, RTM_RTA(prefix), len);
|