| /external/webrtc/webrtc/examples/peerconnection/client/ |
| peer_connection_client.cc | 299 int bytes = socket->Recv(buffer, sizeof(buffer)); local 300 if (bytes <= 0) 302 data->append(buffer, bytes);
|
| /external/webrtc/webrtc/examples/peerconnection/server/ |
| data_socket.cc | 89 int bytes = recv(socket_, buffer, sizeof(buffer), 0); local 90 if (bytes == SOCKET_ERROR || bytes == 0) { 103 data_.append(buffer, bytes); 106 request_headers_.append(buffer, bytes);
|
| /external/webrtc/webrtc/libjingle/xmpp/ |
| xmppclient.cc | 77 void WriteOutput(const char* bytes, size_t len); 348 char bytes[4096]; local 357 if (!socket_->Read(bytes, sizeof(bytes), &bytes_read)) { 366 client_->SignalLogInput(bytes, static_cast<int>(bytes_read)); 369 engine_->HandleInput(bytes, bytes_read); 388 void XmppClient::Private::WriteOutput(const char* bytes, size_t len) { 390 client_->SignalLogOutput(bytes, static_cast<int>(len)); 393 socket_->Write(bytes, len);
|
| /external/webrtc/webrtc/modules/rtp_rtcp/source/ |
| rtp_format_vp8.cc | 220 int bytes = WriteHeaderAndPayload(packet_info, buffer, max_payload_len_); local 221 if (bytes < 0) { 224 *bytes_to_send = static_cast<size_t>(bytes); 268 // Number of bytes in this fragment:
|
| /external/webrtc/webrtc/test/channel_transport/ |
| udp_socket2_manager_win.h | 44 int bytes; member in struct:webrtc::test::PerIoContext
|
| /external/wpa_supplicant_8/src/crypto/ |
| random.c | 118 * length (32) and return 16 bytes from instead of only half. 157 u8 *bytes = buf; local 178 *bytes++ ^= tmp[i]; 184 bytes = buf; 191 "for generating strong random bytes"); 198 *bytes++ ^= tmp[i]; 248 wpa_printf(MSG_DEBUG, "random: Got %u/%u bytes from " 261 wpa_printf(MSG_INFO, "random: Only %u/%u bytes of strong " 320 wpa_printf(MSG_DEBUG, "random: Got %u/%u bytes from /dev/random",
|
| /frameworks/base/core/java/android/util/ |
| Log.java | 301 int bytes = printlns(logId, ERROR, tag, msg, localStack ? what : tr); local 303 return bytes; 359 * @return The number of bytes written.
|
| /frameworks/base/core/jni/ |
| android_app_admin_SecurityLog.cpp | 177 jbyte *bytes = env->GetByteArrayElements(array, NULL); local 178 memcpy(bytes, log_msg.buf, len); 179 env->ReleaseByteArrayElements(array, bytes, 0);
|
| android_util_EventLog.cpp | 206 jbyte *bytes = env->GetByteArrayElements(array, NULL); local 207 memcpy(bytes, log_msg.buf, len); 208 env->ReleaseByteArrayElements(array, bytes, 0);
|
| /frameworks/base/libs/hwui/pipeline/skia/ |
| SkiaPipeline.cpp | 212 SkDebugf("Captured Drawing Output (%d bytes) for frame. %s", stream.bytesWritten(), prop); 327 size_t bytes, maxBytes; local 328 mRenderThread.getGrContext()->getResourceCacheUsage(&resources, &bytes); 333 log.appendf("%8zu bytes (%.2f MB) out of %.2f MB maximum\n", 334 bytes, bytes * (1.0f / (1024.0f * 1024.0f)), maxBytes * (1.0f / (1024.0f * 1024.0f)));
|
| /frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
| TestMtpManager.java | 61 void setImportFileBytes(int deviceId, int objectHandle, byte[] bytes) { 62 mImportFileBytes.put(pack(deviceId, objectHandle), bytes); local 69 void setThumbnail(int deviceId, int objectHandle, byte[] bytes) { 70 mThumbnailBytes.put(pack(deviceId, objectHandle), bytes); local 218 final byte[] bytes = mImportFileBytes.get(pack(deviceId, objectHandle)); 220 while (i < size && i + offset < bytes.length) { 221 buffer[i] = bytes[(int) (i + offset)];
|
| /frameworks/base/services/core/java/com/android/server/am/ |
| NativeCrashListener.java | 236 int bytes; local 239 bytes = Os.read(fd, buf, 0, buf.length); 240 if (bytes > 0) { 242 String s = new String(buf, 0, bytes, "UTF-8"); 243 Slog.v(TAG, "READ=" + bytes + "> " + s); 246 if (buf[bytes-1] == 0) { 247 os.write(buf, 0, bytes-1); // exclude the EOD token 251 os.write(buf, 0, bytes); 253 } while (bytes > 0);
|
| /frameworks/base/services/core/java/com/android/server/pm/ |
| ShortcutBitmapSaver.java | 87 public final byte[] bytes; field in class:ShortcutBitmapSaver.PendingItem 92 private PendingItem(ShortcutInfo shortcut, byte[] bytes) { 94 this.bytes = bytes; 100 return "PendingItem{size=" + bytes.length 167 final byte[] bytes; 176 bytes = out.toByteArray(); 197 final PendingItem item = new PendingItem(shortcut, bytes); 267 out.write(item.bytes);
|
| /frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
| TimedStatement.java | 74 int bytes = 30000 + rnd.nextInt(60000); local 75 byte[] buffer = new byte[bytes]; 79 for (int j = 0; j < bytes; j++) { 87 byte[] readBuffer = new byte[bytes];
|
| /hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
| iio_utils.h | 64 * @bytes: number of bytes occupied in buffer output 75 unsigned bytes; member in struct:iio_channel_info 88 * @bytes: output how many bytes the channel storage occupies 96 unsigned *bytes, 165 *bytes = padint / 8; 406 ¤t->bytes,
|
| /hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
| iio_utils.h | 64 * @bytes: number of bytes occupied in buffer output 75 unsigned bytes; member in struct:iio_channel_info 88 * @bytes: output how many bytes the channel storage occupies 96 unsigned *bytes, 165 *bytes = padint / 8; 406 ¤t->bytes,
|
| /hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
| iio_utils.h | 62 * @bytes: number of bytes occupied in buffer output 73 unsigned bytes; member in struct:iio_channel_info 86 * @bytes: output how many bytes the channel storage occupies 94 unsigned *bytes, 163 *bytes = padint / 8; 405 ¤t->bytes,
|
| /hardware/qcom/display/msm8084/liblight/ |
| lights.c | 86 int bytes = sprintf(buffer, "%d\n", value); local 87 ssize_t amt = write(fd, buffer, (size_t)bytes);
|
| /hardware/qcom/display/msm8226/liblight/ |
| lights.c | 86 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 87 ssize_t amt = write(fd, buffer, (size_t)bytes);
|
| /hardware/qcom/display/msm8909/liblight/ |
| lights.c | 90 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 91 ssize_t amt = write(fd, buffer, (size_t)bytes);
|
| /hardware/qcom/display/msm8960/liblight/ |
| lights.c | 91 int bytes = sprintf(buffer, "%d\n", value); local 92 int amt = write(fd, buffer, bytes);
|
| /hardware/qcom/display/msm8994/liblight/ |
| lights.c | 87 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 88 ssize_t amt = write(fd, buffer, (size_t)bytes);
|
| /hardware/qcom/display/msm8996/liblight/ |
| lights.c | 87 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 88 ssize_t amt = write(fd, buffer, (size_t)bytes);
|
| /hardware/qcom/display/msm8998/liblight/ |
| lights.c | 96 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); local 97 ssize_t amt = write(fd, buffer, (size_t)bytes);
|
| /libcore/luni/src/main/java/libcore/io/ |
| IoUtils.java | 196 private byte[] bytes; field in class:IoUtils.FileReader 227 bytes = new byte[capacity]; 232 int capacity = bytes.length; 234 while ((read = Libcore.os.read(fd, bytes, count, capacity - count)) != 0) { 242 System.arraycopy(bytes, 0, newBytes, 0, capacity); 243 bytes = newBytes; 247 // of bytes from it, return. 263 if (count == bytes.length) { 264 return bytes; 267 System.arraycopy(bytes, 0, result, 0, count) [all...] |