Searched defs:len (Results 401 - 425 of 5037) sorted by relevance

<<11121314151617181920>>

/external/fio/
H A Dlog.c12 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 Dgrpc.h38 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 DTable.php65 $len = $this->bb->getInt($offset); variable
67 return substr($this->bb->_buffer, $startPos, $len);
/external/google-breakpad/src/client/linux/minidump_writer/
H A Dline_reader.h58 // 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 Dcrc32.cc59 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 DBase64.java42 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 DUtf8.java122 * @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 DHashingOutputStream.java55 @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 DCountingOutputStream.java52 @Override public void write(byte[] b, int off, int len) throws IOException { argument
53 out.write(b, off, len);
54 count += len;
H A DLineBuffer.java46 * @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 DRandomAmountInputStream.java35 @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 DTestOutputStream.java54 public void write(byte[] b, int off, int len) throws IOException { argument
57 super.write(b, off, len);
H A DTestWriter.java49 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 Dtest-size-params.cc56 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 Dtest-would-substitute.cc60 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 Dhb-fuzzer.cc32 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 Dstringpiece.cpp31 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 Ddigitaffix.cpp47 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 Dremtrans.cpp65 int32_t len = index.limit - index.start; local
66 index.contextLimit -= len;
67 index.limit -= len;
/external/icu/icu4c/source/io/
H A Dlocbund.cpp73 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 Dcposxtst.c77 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 Didnaconf.h32 int len ; member in class:IdnaConfTest
H A Dsfwdchit.cpp44 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 Dtrnstst.c126 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 Dipprefix.c42 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);

Completed in 2110 milliseconds

<<11121314151617181920>>