/bionic/tests/ |
iconv_test.cpp | 61 size_t in_bytes = strlen(in); local 66 EXPECT_EQ(0U, iconv(c, &in, &in_bytes, &out, &out_bytes)); 73 EXPECT_EQ(0U, in_bytes); 87 size_t in_bytes = strlen(in); local 95 EXPECT_EQ(2U, iconv(c, &in, &in_bytes, &out, &out_bytes)); 102 EXPECT_EQ(0U, in_bytes); 116 size_t in_bytes = strlen(in); local 124 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes)); 130 EXPECT_EQ(0U, in_bytes); 144 size_t in_bytes = strlen(in) local 170 size_t in_bytes = strlen(in); local 203 size_t in_bytes = strlen(in); local 230 size_t in_bytes = strlen(in); local 278 size_t in_bytes = 0; local 299 size_t in_bytes = strlen(utf8); local 365 size_t in_bytes = n; local 437 size_t in_bytes = 0; local [all...] |
/external/curl/src/ |
tool_convert.c | 53 size_t res, in_bytes, out_bytes; local 65 in_bytes = out_bytes = length; 66 res = iconv(outbound_cd, &input_ptr, &in_bytes, 68 if((res == (size_t)-1) || (in_bytes != 0)) { 83 size_t res, in_bytes, out_bytes; local 95 in_bytes = out_bytes = length; 96 res = iconv(inbound_cd, &input_ptr, &in_bytes, 98 if((res == (size_t)-1) || (in_bytes != 0)) {
|
/external/grpc-grpc/test/core/tsi/alts/handshaker/ |
alts_handshaker_service_api_test.cc | 26 const char in_bytes[] = "HELLO GOOGLE!"; local 40 grpc_gcp_handshaker_req_set_in_bytes(req, in_bytes, strlen(in_bytes))); 90 grpc_gcp_handshaker_req_set_in_bytes(req, in_bytes, strlen(in_bytes))); 142 GPR_ASSERT(!grpc_gcp_handshaker_req_set_in_bytes(nullptr, in_bytes, 143 strlen(in_bytes)));
|
alts_handshaker_client_test.cc | 249 grpc_slice* in_bytes = static_cast<grpc_slice*>(req->next.in_bytes.arg); local 250 GPR_ASSERT(in_bytes != nullptr); 251 GPR_ASSERT(memcmp(GRPC_SLICE_START_PTR(*in_bytes), 253 GRPC_SLICE_LENGTH(*in_bytes)) == 0);
|
/external/u-boot/drivers/misc/ |
cros_ec_spi.c | 21 int cros_ec_spi_packet(struct udevice *udev, int out_bytes, int in_bytes) 51 rv = spi_xfer(slave, in_bytes * 8, NULL, dev->din, 0); 61 return in_bytes; 85 int in_bytes = din_len + 4; /* status, length, checksum, trailer */ local 101 if (in_bytes > sizeof(dev->din)) { 115 memset(dev->din, '\0', in_bytes); 138 rv = spi_xfer(slave, max(len, in_bytes) * 8, out, p,
|
cros_ec_i2c.c | 51 static int cros_ec_i2c_packet(struct udevice *udev, int out_bytes, int in_bytes) 76 i2c_msg[1].len = in_bytes + 2; 104 memmove(dev->din, &ec_response_i2c->ec_response, in_bytes); 106 return in_bytes; 119 int in_bytes = din_len + 3; local 133 if (in_bytes > sizeof(dev->din)) { 178 i2c_msg[1].len = in_bytes;
|
cros_ec.c | 128 int in_bytes = din_len + sizeof(struct ec_host_response); local 131 if (in_bytes > (int)sizeof(dev->din)) { 137 return in_bytes; 156 int in_bytes; local 179 /* Update in_bytes to actual data size */ 180 in_bytes = sizeof(*rs) + rs->data_len; 183 csum = cros_ec_calc_checksum(dev->din, in_bytes); 206 int out_bytes, in_bytes; local 216 in_bytes = prepare_proto3_response_buffer(dev, din_len); 217 if (in_bytes < 0 [all...] |
/external/curl/lib/ |
non-ascii.c | 106 size_t in_bytes, out_bytes, rc; local 125 in_bytes = out_bytes = length; 126 rc = iconv(*cd, &input_ptr, &in_bytes, 130 if((rc == ICONV_ERROR) || (in_bytes != 0)) { 172 size_t in_bytes, out_bytes, rc; local 191 in_bytes = out_bytes = length; 192 rc = iconv(*cd, &input_ptr, &in_bytes, 196 if((rc == ICONV_ERROR) || (in_bytes != 0)) { 239 size_t in_bytes, out_bytes, rc; local 258 in_bytes = out_bytes = length [all...] |
/external/eigen/test/ |
cuda_common.h | 38 std::ptrdiff_t in_bytes = in.size() * sizeof(typename Input::Scalar); local 41 cudaMalloc((void**)(&d_in), in_bytes); 44 cudaMemcpy(d_in, in.data(), in_bytes, cudaMemcpyHostToDevice); 57 cudaMemcpy(const_cast<typename Input::Scalar*>(in.data()), d_in, in_bytes, cudaMemcpyDeviceToHost); local
|
/external/u-boot/arch/arm/mach-exynos/ |
spl_boot.c | 69 uint out_bytes, in_bytes; local 72 in_bytes = todo; 77 while (in_bytes) { 90 while (rx_lvl >= 4 && in_bytes) { 94 in_bytes -= 4;
|
/external/u-boot/drivers/spi/ |
exynos_spi.c | 102 uint out_bytes, in_bytes; local 108 out_bytes = in_bytes = todo; 132 toread = in_bytes; 134 while (in_bytes) { 173 in_bytes -= step; 186 out_bytes = in_bytes; 187 toread = in_bytes; 192 debug("SPI timeout: in_bytes=%d, out_bytes=%d, ", 193 in_bytes, out_bytes);
|
/external/grpc-grpc/src/core/tsi/alts/handshaker/ |
handshaker.pb.h | 44 pb_callback_t in_bytes; member in struct:_grpc_gcp_NextHandshakeMessageReq 126 pb_callback_t in_bytes; member in struct:_grpc_gcp_StartServerHandshakeReq
|
/external/tensorflow/tensorflow/core/util/ |
example_proto_fast_parsing.cc | 2054 const string* in_bytes = nullptr; local [all...] |
/external/libpng/contrib/tools/ |
pngfix.c | 2284 png_uint_32 in_bytes = 0; local [all...] |
/external/boringssl/src/ssl/ |
ssl_lib.cc | 1844 const uint8_t *in_bytes = reinterpret_cast<const uint8_t *>(in); local [all...] |