Searched defs:text_len (Results 1 - 19 of 19) sorted by relevance

/external/harfbuzz_ng/util/
H A Dmain-font-text.hh61 unsigned int text_len; local
63 while ((text = input.get_line (&text_len)))
64 consumer.consume_line (buffer, text, text_len, input.text_before, input.text_after);
H A Dshape-consumer.hh50 unsigned int text_len,
58 shaper.populate_buffer (buffer, text, text_len, text_before, text_after);
60 output.consume_text (buffer, text, text_len, shaper.utf8_clusters);
64 output.shape_failed (buffer, text, text_len, shaper.utf8_clusters);
69 output.consume_glyphs (buffer, text, text_len, shaper.utf8_clusters);
48 consume_line(hb_buffer_t *buffer, const char *text, unsigned int text_len, const char *text_before, const char *text_after) argument
H A Dhb-ot-shape-closure.cc64 unsigned int text_len,
69 shaper.shape_closure (text, text_len, font, buffer, glyphs);
62 consume_line(hb_buffer_t *buffer, const char *text, unsigned int text_len, const char *text_before, const char *text_after) argument
H A Dhb-shape.cc81 unsigned int text_len,
85 format.serialize_buffer_of_text (buffer, line_no, text, text_len, font, gs);
90 unsigned int text_len,
99 unsigned int text_len,
103 format.serialize_buffer_of_glyphs (buffer, line_no, text, text_len, font,
79 consume_text(hb_buffer_t *buffer, const char *text, unsigned int text_len, hb_bool_t utf8_clusters) argument
88 shape_failed(hb_buffer_t *buffer, const char *text, unsigned int text_len, hb_bool_t utf8_clusters) argument
97 consume_glyphs(hb_buffer_t *buffer, const char *text, unsigned int text_len, hb_bool_t utf8_clusters) argument
H A Dview-cairo.hh56 unsigned int text_len,
62 unsigned int text_len,
69 unsigned int text_len,
74 helper_cairo_line_from_buffer (&l, buffer, text, text_len, scale, utf8_clusters);
54 consume_text(hb_buffer_t *buffer, const char *text, unsigned int text_len, hb_bool_t utf8_clusters) argument
60 shape_failed(hb_buffer_t *buffer, const char *text, unsigned int text_len, hb_bool_t utf8_clusters) argument
67 consume_glyphs(hb_buffer_t *buffer, const char *text, unsigned int text_len, hb_bool_t utf8_clusters) argument
H A Dhelper-cairo.cc425 unsigned int text_len,
437 l->utf8 = g_strndup (text, text_len);
438 l->utf8_len = text_len;
491 l->clusters[cluster].num_bytes = l->utf8 + text_len - start;
506 l->clusters[cluster].num_bytes = l->utf8 + text_len - start;
422 helper_cairo_line_from_buffer(helper_cairo_line_t *l, hb_buffer_t *buffer, const char *text, unsigned int text_len, double scale, hb_bool_t utf8_clusters) argument
H A Doptions.cc561 if (text_len == (unsigned int) -1)
562 text_len = strlen (text);
564 if (!text_len) {
570 const char *p = (const char *) memchr (text, '\n', text_len);
573 ret_len = text_len;
575 text_len = 0;
579 text_len -= ret_len + 1;
726 unsigned int text_len,
733 g_string_append_len (gs, text, text_len);
757 unsigned int text_len,
723 serialize_buffer_of_text(hb_buffer_t *buffer, unsigned int line_no, const char *text, unsigned int text_len, hb_font_t *font, GString *gs) argument
754 serialize_buffer_of_glyphs(hb_buffer_t *buffer, unsigned int line_no, const char *text, unsigned int text_len, hb_font_t *font, hb_buffer_serialize_format_t output_format, hb_buffer_serialize_flags_t format_flags, GString *gs) argument
[all...]
H A Doptions.hh209 void populate_buffer (hb_buffer_t *buffer, const char *text, int text_len, argument
217 hb_buffer_add_utf8 (buffer, text, text_len, 0, text_len);
245 void shape_closure (const char *text, int text_len, argument
250 hb_buffer_add_utf8 (buffer, text, text_len, 0, text_len);
313 text_len = (unsigned int) -1;
345 unsigned int text_len; member in struct:text_options_t
420 unsigned int text_len,
429 unsigned int text_len,
[all...]
/external/tcpdump/
H A Dsignature.c53 signature_compute_hmac_md5(const u_int8_t *text, int text_len, unsigned char *key, argument
103 MD5_Update(&context, text, text_len); /* then text of datagram */
/external/chromium_org/crypto/
H A Dhmac_win.cc34 size_t text_len) {
36 while (text_len > kChunkSize) {
39 text_len -= kChunkSize;
41 SHA256_Update(ctx, text, (unsigned int)text_len);
46 const unsigned char* text, size_t text_len,
73 Wrapped_SHA256_Update(&ctx, text, text_len);
33 Wrapped_SHA256_Update(SHA256Context* ctx, const unsigned char* text, size_t text_len) argument
45 ComputeHMACSHA256(const unsigned char* key, size_t key_len, const unsigned char* text, size_t text_len, unsigned char* output, size_t output_len) argument
/external/chromium_org/content/browser/accessibility/
H A Dbrowser_accessibility_win_unittest.cc452 long text_len; local
453 ASSERT_EQ(S_OK, root_obj->get_nCharacters(&text_len));
456 ASSERT_EQ(S_OK, root_obj->get_text(0, text_len, text.Receive()));
544 long text_len; local
545 ASSERT_EQ(S_OK, root_obj->get_nCharacters(&text_len));
548 ASSERT_EQ(S_OK, root_obj->get_text(0, text_len, text.Receive()));
/external/chromium_org/ui/base/clipboard/
H A Dclipboard_android.cc390 void Clipboard::WriteText(const char* text_data, size_t text_len) { argument
391 g_map.Get().Set(kPlainTextFormat, std::string(text_data, text_len));
H A Dclipboard_aura.cc350 static void WriteText(const char* text_data, size_t text_len) { argument
352 data->set_text(std::string(text_data, text_len));
567 void Clipboard::WriteText(const char* text_data, size_t text_len) { argument
568 ClipboardDataBuilder::WriteText(text_data, text_len);
H A Dclipboard_aurax11.cc762 void Clipboard::WriteText(const char* text_data, size_t text_len) { argument
763 std::string str(text_data, text_len);
H A Dclipboard_win.cc233 void Clipboard::WriteText(const char* text_data, size_t text_len) { argument
235 base::UTF8ToUTF16(text_data, text_len, &text);
/external/chromium_org/third_party/libusb/src/libusb/
H A Dcore.c2078 int global_debug, header_len, text_len; local
2148 text_len = vsnprintf(buf + header_len, sizeof(buf) - header_len,
2150 if (text_len < 0 || text_len + header_len >= sizeof(buf)) {
2153 text_len = sizeof(buf) - header_len;
2155 if (header_len + text_len + sizeof(USBI_LOG_LINE_END) >= sizeof(buf)) {
2157 text_len -= (header_len + text_len + sizeof(USBI_LOG_LINE_END)) - sizeof(buf);
2159 strcpy(buf + header_len + text_len, USBI_LOG_LINE_END);
/external/chromium_org/third_party/libpng/
H A Dpngwutil.c176 png_charp text, png_size_t text_len, int compression,
191 comp->input_len = text_len;
192 return((int)text_len);
214 * enough to hold the compressed text ((1001 * text_len / 1000) + 12)
222 png_ptr->zstream.avail_in = (uInt)text_len;
344 text_len = png_ptr->zbuf_size * comp->num_output_ptr;
346 text_len += png_ptr->zbuf_size - (png_size_t)png_ptr->zstream.avail_out;
348 return((int)text_len);
1352 png_size_t text_len)
1366 text_len
175 png_text_compress(png_structp png_ptr, png_charp text, png_size_t text_len, int compression, compression_state *comp) argument
1351 png_write_tEXt(png_structp png_ptr, png_charp key, png_charp text, png_size_t text_len) argument
1392 png_write_zTXt(png_structp png_ptr, png_charp key, png_charp text, png_size_t text_len, int compression) argument
1458 png_size_t lang_len, key_len, lang_key_len, text_len; local
[all...]
/external/libpng/
H A Dpngwutil.c1579 png_size_t text_len)
1592 text_len = 0;
1595 text_len = strlen(text);
1597 if (text_len > PNG_UINT_31_MAX - (key_len+1))
1602 (png_uint_32)/*checked above*/(key_len + text_len + 1));
1611 if (text_len)
1612 png_write_chunk_data(png_ptr, (png_const_bytep)text, text_len);
1622 png_size_t text_len, int compression)
1629 PNG_UNUSED(text_len) /* Always use strlen */
1578 png_write_tEXt(png_structrp png_ptr, png_const_charp key, png_const_charp text, png_size_t text_len) argument
1621 png_write_zTXt(png_structrp png_ptr, png_const_charp key, png_const_charp text, png_size_t text_len, int compression) argument
/external/qemu/distrib/libpng-1.2.46/
H A Dpngwutil.c176 png_charp text, png_size_t text_len, int compression,
191 comp->input_len = text_len;
192 return((int)text_len);
214 * enough to hold the compressed text ((1001 * text_len / 1000) + 12)
222 png_ptr->zstream.avail_in = (uInt)text_len;
344 text_len = png_ptr->zbuf_size * comp->num_output_ptr;
346 text_len += png_ptr->zbuf_size - (png_size_t)png_ptr->zstream.avail_out;
348 return((int)text_len);
1352 png_size_t text_len)
1366 text_len
175 png_text_compress(png_structp png_ptr, png_charp text, png_size_t text_len, int compression, compression_state *comp) argument
1351 png_write_tEXt(png_structp png_ptr, png_charp key, png_charp text, png_size_t text_len) argument
1392 png_write_zTXt(png_structp png_ptr, png_charp key, png_charp text, png_size_t text_len, int compression) argument
1458 png_size_t lang_len, key_len, lang_key_len, text_len; local
[all...]

Completed in 1372 milliseconds