Searched refs:output_length (Results 1 - 25 of 63) sorted by relevance

123

/external/chromium_org/base/
H A Drand_util_win.cc30 void RandBytes(void* output, size_t output_length) { argument
32 while (output_length > 0) {
34 output_length, static_cast<size_t>(std::numeric_limits<ULONG>::max())));
38 output_length -= output_bytes_this_pass;
H A Drand_util_nacl.cc37 void RandBytes(void* output, size_t output_length) { argument
38 GetRandomBytes(output, output_length);
H A Drand_util_posix.cc48 void RandBytes(void* output, size_t output_length) { argument
51 ReadFromFD(urandom_fd, static_cast<char*>(output), output_length);
H A Drand_util.h35 // Fills |output_length| bytes of |output| with random data.
40 BASE_EXPORT void RandBytes(void* output, size_t output_length);
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dpunyref.h57 punycode_uint *output_length,
68 /* the input. The output_length is an in/out argument: the */
88 punycode_uint *output_length,
96 /* output_length is an in/out argument: the caller passes in */
100 /* least output_length values, or it can be a null pointer if the */
108 /* defined above; if not punycode_success, then output_length, */
110 /* decoder will never need to write an output_length greater than */
/external/icu/icu4c/source/test/intltest/
H A Dpunyref.h57 punycode_uint *output_length,
68 /* the input. The output_length is an in/out argument: the */
88 punycode_uint *output_length,
96 /* output_length is an in/out argument: the caller passes in */
100 /* least output_length values, or it can be a null pointer if the */
108 /* defined above; if not punycode_success, then output_length, */
110 /* decoder will never need to write an output_length greater than */
/external/chromium_org/third_party/sfntly/cpp/src/test/
H A Dchrome_subsetter.cc41 int output_length = local
49 EXPECT_GT(output_length, 0);
51 if (output_length > 0) {
60 int byte_count = fwrite(output_buffer, 1, output_length, output_file);
61 EXPECT_EQ(byte_count, output_length);
/external/sfntly/cpp/src/test/
H A Dchrome_subsetter.cc41 int output_length = local
49 EXPECT_GT(output_length, 0);
51 if (output_length > 0) {
60 int byte_count = fwrite(output_buffer, 1, output_length, output_file);
61 EXPECT_EQ(byte_count, output_length);
/external/chromium_org/content/browser/
H A Dbyte_stream_unittest.cc128 size_t output_length; local
130 byte_stream_output->Read(&output_io_buffer, &output_length));
131 EXPECT_TRUE(ValidateIOBuffer(output_io_buffer, output_length));
134 byte_stream_output->Read(&output_io_buffer, &output_length));
135 EXPECT_TRUE(ValidateIOBuffer(output_io_buffer, output_length));
138 byte_stream_output->Read(&output_io_buffer, &output_length));
139 EXPECT_TRUE(ValidateIOBuffer(output_io_buffer, output_length));
142 byte_stream_output->Read(&output_io_buffer, &output_length));
143 EXPECT_TRUE(ValidateIOBuffer(output_io_buffer, output_length));
146 byte_stream_output->Read(&output_io_buffer, &output_length));
170 size_t output_length = 0; local
222 size_t output_length; local
254 size_t output_length; local
327 size_t output_length; local
379 size_t output_length; local
441 size_t output_length; local
488 size_t output_length; local
563 size_t output_length; local
579 size_t output_length; local
608 size_t output_length; local
[all...]
/external/chromium_org/ppapi/shared_impl/private/
H A Dppb_char_set_shared.h23 uint32_t* output_length);
29 uint32_t* output_length);
35 uint32_t* output_length);
H A Dppb_char_set_shared.cc66 uint32_t* output_length) {
67 *output_length = 0;
88 *output_length = required_length;
99 uint32_t* output_length) {
100 if (!utf16 || !output_char_set || !output_length) {
101 *output_length = 0;
108 *output_length = 0;
148 *output_length = 0;
154 *output_length = static_cast<uint32_t>(ucnv_fromUChars(
155 converter, output_buffer, output_buffer ? *output_length
61 UTF16ToCharSetDeprecated( const uint16_t* utf16, uint32_t utf16_len, const char* output_char_set, PP_CharSet_ConversionError deprecated_on_error, uint32_t* output_length) argument
93 UTF16ToCharSet( const uint16_t utf16[], uint32_t utf16_len, const char* output_char_set, PP_CharSet_Trusted_ConversionError on_error, char* output_buffer, uint32_t* output_length) argument
171 CharSetToUTF16Deprecated( const char* input, uint32_t input_len, const char* input_char_set, PP_CharSet_ConversionError deprecated_on_error, uint32_t* output_length) argument
[all...]
/external/chromium_org/ppapi/thunk/
H A Dppb_flash_font_file_api.h19 uint32_t* output_length) = 0;
H A Dppb_char_set_thunk.cc19 uint32_t* output_length) {
27 utf16, utf16_len, output_char_set, on_error, output_length);
35 uint32_t* output_length) {
48 output_buffer, output_length);
55 uint32_t* output_length) {
63 input, input_len, input_char_set, on_error, output_length);
15 UTF16ToCharSetDeprecated(PP_Instance instance, const uint16_t* utf16, uint32_t utf16_len, const char* output_char_set, PP_CharSet_ConversionError on_error, uint32_t* output_length) argument
30 UTF16ToCharSet(const uint16_t utf16[], uint32_t utf16_len, const char* output_char_set, PP_CharSet_Trusted_ConversionError on_error, char* output_buffer, uint32_t* output_length) argument
51 CharSetToUTF16Deprecated(PP_Instance instance, const char* input, uint32_t input_len, const char* input_char_set, PP_CharSet_ConversionError on_error, uint32_t* output_length) argument
H A Dppb_flash_font_file_thunk.cc33 uint32_t* output_length) {
37 return enter.object()->GetFontTable(table, output, output_length);
30 GetFontTable(PP_Resource font_file, uint32_t table, void* output, uint32_t* output_length) argument
/external/chromium_org/net/base/
H A Dnet_string_util_icu.cc29 size_t output_length = text.length() * 3 + 1;
30 char* buf = WriteInto(output, output_length);
31 output_length = ucnv_toAlgorithmic(UCNV_UTF8, converter, buf, output_length,
39 output->resize(output_length);
/external/chromium_org/ppapi/proxy/
H A Dflash_font_file_resource.cc36 uint32_t* output_length) {
37 if (!output_length)
58 if (output && *output_length < contents->size())
61 *output_length = static_cast<uint32_t>(contents->size());
63 memcpy(output, contents->c_str(), *output_length);
34 GetFontTable(uint32_t table, void* output, uint32_t* output_length) argument
/external/chromium_org/ppapi/c/dev/
H A Dppb_char_set_dev.h46 // terminating NULL, will be placed into *output_length. When there is no
58 uint32_t* output_length);
62 // the |input| string. |*output_length| is the number of 16-bit values in
72 uint32_t* output_length);
/external/chromium_org/ppapi/cpp/private/
H A Dflash_font_file.cc47 uint32_t* output_length) {
50 GetFontTable(pp_resource(), table, output, output_length);
45 GetFontTable(uint32_t table, void* output, uint32_t* output_length) argument
H A Dflash_font_file.h31 bool GetFontTable(uint32_t table, void* output, uint32_t* output_length);
/external/chromium_org/ppapi/c/private/
H A Dppb_flash_font_file.h45 * |output_length| should pass in the size of |output|. And it will return
48 * |output_length| is ignored.
54 uint32_t* output_length);
/external/chromium_org/content/browser/renderer_host/pepper/
H A Dpepper_truetype_font_linux.cc87 size_t output_length = sizeof(num_tables_buf); local
92 &output_length))
94 DCHECK(output_length == sizeof(num_tables_buf));
101 output_length = num_tables * kTableEntrySize;
102 scoped_ptr<uint8_t[]> table_entries(new uint8_t[output_length]);
108 &output_length))
110 DCHECK(output_length == num_tables * kTableEntrySize);
/external/chromium_org/ppapi/api/private/
H A Dppb_flash_font_file.idl28 * |output_length| should pass in the size of |output|. And it will return
31 * |output_length| is ignored.
38 [out] uint32_t output_length);
/external/chromium_org/content/public/common/
H A Dchild_process_sandbox_support_linux.h45 // output: a buffer of size output_length that gets the data. can be 0, in
46 // which case output_length will be set to the required size in bytes.
47 // output_length: size of output, if it's not 0.
51 uint8_t* output, size_t* output_length);
/external/chromium_org/ppapi/c/trusted/
H A Dppb_char_set_trusted.h75 * The given output buffer will be filled up to output_length bytes with the
76 * result. output_length will be updated with the number of bytes required
89 uint32_t* output_length);
/external/chromium_org/base/strings/
H A Dutf_offset_string_conversions.cc18 size_t output_length)
21 output_length(output_length) {
49 adjustment += static_cast<int>(i->original_length - i->output_length);
75 adjustment += static_cast<int>(i->original_length - i->output_length);
126 DCHECK_LE(first_iter->original_offset + first_iter->output_length,
134 shift += first_iter->original_length - first_iter->output_length;
155 static_cast<int>(first_iter->output_length);
16 Adjustment(size_t original_offset, size_t original_length, size_t output_length) argument

Completed in 2145 milliseconds

123