Home
last modified time | relevance | path

Searched refs:text_len (Results 1 – 25 of 25) sorted by relevance

/external/google-breakpad/src/common/linux/tests/
Dauto_testfile.h65 AutoTestFile(const char* test_prefix, const char* text, size_t text_len) { in AutoTestFile() argument
68 WriteText(text, text_len); in AutoTestFile()
108 void WriteText(const char* text, size_t text_len) { in WriteText() argument
109 ssize_t r = HANDLE_EINTR(write(fd_, text, text_len)); in WriteText()
110 if (r != static_cast<ssize_t>(text_len)) { in WriteText()
/external/harfbuzz_ng/util/
Dshape-consumer.hh50 unsigned int text_len, in consume_line()
58 shaper.populate_buffer (buffer, text, text_len, text_before, text_after); in consume_line()
60 output.consume_text (buffer, text, text_len, shaper.utf8_clusters); in consume_line()
64 output.shape_failed (buffer, text, text_len, shaper.utf8_clusters); in consume_line()
69 output.consume_glyphs (buffer, text, text_len, shaper.utf8_clusters); in consume_line()
Dhb-shape.cc83 unsigned int text_len, in consume_text()
87 format.serialize_buffer_of_text (buffer, line_no, text, text_len, font, gs); in consume_text()
92 unsigned int text_len, in shape_failed()
101 unsigned int text_len, in consume_glyphs()
105 format.serialize_buffer_of_glyphs (buffer, line_no, text, text_len, font, in consume_glyphs()
Dview-cairo.hh56 unsigned int text_len, in consume_text()
62 unsigned int text_len, in shape_failed()
69 unsigned int text_len, in consume_glyphs()
74 helper_cairo_line_from_buffer (&l, buffer, text, text_len, scale_bits, utf8_clusters); in consume_glyphs()
Doptions.hh218 void populate_buffer (hb_buffer_t *buffer, const char *text, int text_len, in populate_buffer()
226 hb_buffer_add_utf8 (buffer, text, text_len, 0, text_len); in populate_buffer()
254 void shape_closure (const char *text, int text_len, in shape_closure()
259 hb_buffer_add_utf8 (buffer, text, text_len, 0, text_len); in shape_closure()
458 unsigned int text_len,
467 unsigned int text_len,
Dmain-font-text.hh95 unsigned int text_len; in main() local
97 while ((text = input.get_line (&text_len))) in main()
98 consumer.consume_line (buffer, text, text_len, input.text_before, input.text_after); in main()
Dhb-ot-shape-closure.cc64 unsigned int text_len, in consume_line()
69 shaper.shape_closure (text, text_len, font, buffer, glyphs); in consume_line()
Dhelper-cairo.cc467 unsigned int text_len, in helper_cairo_line_from_buffer() argument
479 l->utf8 = g_strndup (text, text_len); in helper_cairo_line_from_buffer()
480 l->utf8_len = text_len; in helper_cairo_line_from_buffer()
533 l->clusters[cluster].num_bytes = l->utf8 + text_len - start; in helper_cairo_line_from_buffer()
548 l->clusters[cluster].num_bytes = l->utf8 + text_len - start; in helper_cairo_line_from_buffer()
Dhelper-cairo.hh81 unsigned int text_len,
Doptions.cc844 unsigned int text_len, in serialize_buffer_of_text() argument
851 g_string_append_len (gs, text, text_len); in serialize_buffer_of_text()
875 unsigned int text_len, in serialize_buffer_of_glyphs() argument
/external/dhcpcd-6.8.2/crypt/
Dhmac_md5.c48 hmac_md5(const uint8_t *text, size_t text_len, in hmac_md5() argument
81 MD5Update(&context, text, (unsigned int)text_len); in hmac_md5()
/external/syslinux/com32/lib/libpng/
Dpngwutil.c176 png_charp text, png_size_t text_len, int compression, in png_text_compress() argument
191 comp->input_len = text_len; in png_text_compress()
192 return((int)text_len); in png_text_compress()
222 png_ptr->zstream.avail_in = (uInt)text_len; in png_text_compress()
344 text_len = png_ptr->zbuf_size * comp->num_output_ptr; in png_text_compress()
346 text_len += png_ptr->zbuf_size - (png_size_t)png_ptr->zstream.avail_out; in png_text_compress()
348 return((int)text_len); in png_text_compress()
1352 png_size_t text_len) in png_write_tEXt() argument
1366 text_len = 0; in png_write_tEXt()
1368 text_len = png_strlen(text); in png_write_tEXt()
[all …]
/external/tcpdump/
Dsignature.c49 signature_compute_hmac_md5(const uint8_t *text, int text_len, unsigned char *key, in signature_compute_hmac_md5() argument
99 MD5_Update(&context, text, text_len); /* then text of datagram */ in signature_compute_hmac_md5()
/external/libusb/libusb/
Dcore.c2361 int global_debug, header_len, text_len; in usbi_log_v() local
2438 text_len = vsnprintf(buf + header_len, sizeof(buf) - header_len, in usbi_log_v()
2440 if (text_len < 0 || text_len + header_len >= (int)sizeof(buf)) { in usbi_log_v()
2443 text_len = sizeof(buf) - header_len; in usbi_log_v()
2445 if (header_len + text_len + sizeof(USBI_LOG_LINE_END) >= sizeof(buf)) { in usbi_log_v()
2447 text_len -= (header_len + text_len + sizeof(USBI_LOG_LINE_END)) - sizeof(buf); in usbi_log_v()
2449 strcpy(buf + header_len + text_len, USBI_LOG_LINE_END); in usbi_log_v()
/external/google-breakpad/src/client/linux/minidump_writer/
Dline_reader_unittest.cc50 ScopedTestFile(const char* text, size_t text_len) in ScopedTestFile() argument
51 : AutoTestFile("line_reader", text, text_len) { in ScopedTestFile()
/external/skia/third_party/libpng/
Dpngwutil.c1503 png_size_t text_len) in png_write_tEXt() argument
1516 text_len = 0; in png_write_tEXt()
1519 text_len = strlen(text); in png_write_tEXt()
1521 if (text_len > PNG_UINT_31_MAX - (key_len+1)) in png_write_tEXt()
1526 (png_uint_32)/*checked above*/(key_len + text_len + 1)); in png_write_tEXt()
1535 if (text_len != 0) in png_write_tEXt()
1536 png_write_chunk_data(png_ptr, (png_const_bytep)text, text_len); in png_write_tEXt()
Dpngpriv.h1105 png_const_charp key, png_const_charp text, png_size_t text_len),PNG_EMPTY);
/external/pdfium/third_party/libpng16/
Dpngwutil.c1503 png_size_t text_len) in png_write_tEXt() argument
1516 text_len = 0; in png_write_tEXt()
1519 text_len = strlen(text); in png_write_tEXt()
1521 if (text_len > PNG_UINT_31_MAX - (key_len+1)) in png_write_tEXt()
1526 (png_uint_32)/*checked above*/(key_len + text_len + 1)); in png_write_tEXt()
1535 if (text_len != 0) in png_write_tEXt()
1536 png_write_chunk_data(png_ptr, (png_const_bytep)text, text_len); in png_write_tEXt()
Dpngpriv.h1105 png_const_charp key, png_const_charp text, png_size_t text_len),PNG_EMPTY);
/external/libpng/
Dpngwutil.c1504 png_size_t text_len) in png_write_tEXt() argument
1517 text_len = 0; in png_write_tEXt()
1520 text_len = strlen(text); in png_write_tEXt()
1522 if (text_len > PNG_UINT_31_MAX - (key_len+1)) in png_write_tEXt()
1527 (png_uint_32)/*checked above*/(key_len + text_len + 1)); in png_write_tEXt()
1536 if (text_len != 0) in png_write_tEXt()
1537 png_write_chunk_data(png_ptr, (png_const_bytep)text, text_len); in png_write_tEXt()
Dpngpriv.h1134 png_const_charp key, png_const_charp text, png_size_t text_len),PNG_EMPTY);
DCHANGES5023 Removed unused "text_len" parameter from private function png_write_zTXt().
/external/syslinux/gpxe/src/drivers/net/
Dbnx2.c1369 for (j = 0; j < (fw->text_len / 4); j++, offset += 4) { in load_cpu_fw()
1461 fw.text_len = bnx2_RXP_b06FwTextLen; in bnx2_init_cpus()
1507 fw.text_len = bnx2_TXP_b06FwTextLen; in bnx2_init_cpus()
1553 fw.text_len = bnx2_TPAT_b06FwTextLen; in bnx2_init_cpus()
1599 fw.text_len = bnx2_COM_b06FwTextLen; in bnx2_init_cpus()
Dbnx2.h4241 u32 text_len; member
/external/syslinux/com32/include/
Dpng.h3315 png_charp text, png_size_t text_len)) PNG_PRIVATE;
3320 png_charp text, png_size_t text_len, int compression)) PNG_PRIVATE;