/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 | 299 int bytes = printlns(logId, ERROR, tag, msg, localStack ? what : tr); local 301 return bytes; 357 * @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 | 229 jbyte *bytes = env->GetByteArrayElements(array, NULL); local 230 memcpy(bytes, log_msg.buf, len); 231 env->ReleaseByteArrayElements(array, bytes, 0);
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
TestMtpManager.java | 60 void setImportFileBytes(int deviceId, int objectHandle, byte[] bytes) { 61 mImportFileBytes.put(pack(deviceId, objectHandle), bytes); local 68 void setThumbnail(int deviceId, int objectHandle, byte[] bytes) { 69 mThumbnailBytes.put(pack(deviceId, objectHandle), bytes); local 214 final byte[] bytes = mImportFileBytes.get(pack(deviceId, objectHandle)); 216 while (i < size && i + offset < bytes.length) { 217 buffer[i] = bytes[(int) (i + offset)];
|
/frameworks/base/services/core/java/com/android/server/am/ |
NativeCrashListener.java | 237 int bytes; local 240 bytes = Os.read(fd, buf, 0, buf.length); 241 if (bytes > 0) { 243 String s = new String(buf, 0, bytes, "UTF-8"); 244 Slog.v(TAG, "READ=" + bytes + "> " + s); 247 if (buf[bytes-1] == 0) { 248 os.write(buf, 0, bytes-1); // exclude the EOD token 252 os.write(buf, 0, bytes); 254 } while (bytes > 0);
|
/frameworks/minikin/libs/minikin/ |
Hyphenator.cpp | 89 const uint8_t* bytes() const { return reinterpret_cast<const uint8_t*>(this); } function in struct:android::Header 91 return *reinterpret_cast<const uint32_t*>(bytes() + alphabet_offset); 94 return reinterpret_cast<const AlphabetTable0*>(bytes() + alphabet_offset); 97 return reinterpret_cast<const AlphabetTable1*>(bytes() + alphabet_offset); 100 return reinterpret_cast<const Trie*>(bytes() + trie_offset); 103 return reinterpret_cast<const Pattern*>(bytes() + pattern_offset);
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
ImageCompare.java | 40 int bytes = bitmap.getByteCount(); local 41 ByteBuffer buffer = ByteBuffer.allocate(bytes);
|
/frameworks/support/documents-archive/tests/src/android/support/provider/ |
DocumentArchiveTest.java | 57 int bytes; local 58 while ((bytes = inputStream.read(buffer)) != -1) { 59 outputStream.write(buffer, 0, 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);
|
/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...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
X509CertPath.java | 256 * @return the bytes read from the InputStream 272 * @return the encoded bytes 291 DerOutputStream bytes = new DerOutputStream(); local 303 bytes.write(encoded); 308 derout.write(DerValue.tag_SequenceOf, bytes); 342 * @return the encoded bytes
|
/libcore/ojluni/src/main/java/sun/security/util/ |
DerOutputStream.java | 165 byte[] buf = i.toByteArray(); // least number of bytes 189 byte[] bytes = new byte[4]; 192 // Obtain the four bytes of the int 194 bytes[3] = (byte) (i & 0xff); 195 bytes[2] = (byte)((i & 0xff00) >>> 8); 196 bytes[1] = (byte)((i & 0xff0000) >>> 16); 197 bytes[0] = (byte)((i & 0xff000000) >>> 24); 199 // Reduce them to the least number of bytes needed to 202 if (bytes[0] == (byte)0xff) { 207 if ((bytes[j] == (byte)0xff) & 301 DerOutputStream bytes = new DerOutputStream(); local 318 DerOutputStream bytes = new DerOutputStream(); local 389 DerOutputStream bytes = new DerOutputStream(); local [all...] |