Home
last modified time | relevance | path

Searched refs:message_len (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/ppapi/tests/
Dtest_broker.cc83 bool ReadMessage(PlatformFile file, size_t message_len, char* message) { in ReadMessage() argument
85 assert(message_len < std::numeric_limits<DWORD>::max()); in ReadMessage()
87 const DWORD size = static_cast<DWORD>(message_len); in ReadMessage()
90 assert(message_len < in ReadMessage()
93 while (total_read < message_len) { in ReadMessage()
95 message_len - total_read)); in ReadMessage()
100 return total_read == message_len; in ReadMessage()
104 bool WriteMessage(PlatformFile file, size_t message_len, const char* message) { in WriteMessage() argument
106 assert(message_len < std::numeric_limits<DWORD>::max()); in WriteMessage()
108 const DWORD size = static_cast<DWORD>(message_len); in WriteMessage()
[all …]
/external/qemu/slirp-android/
Dip_icmp.c282 int message_len; in icmp_error() local
284 message_len=strlen(message); in icmp_error()
285 if(message_len>ICMP_MAXDATALEN) message_len=ICMP_MAXDATALEN; in icmp_error()
287 memcpy(cpnt, message, message_len); in icmp_error()
288 m->m_len+=message_len; in icmp_error()
/external/qemu/slirp/
Dip_icmp.c280 int message_len; in icmp_error() local
282 message_len=strlen(message); in icmp_error()
283 if(message_len>ICMP_MAXDATALEN) message_len=ICMP_MAXDATALEN; in icmp_error()
285 memcpy(cpnt, message, message_len); in icmp_error()
286 m->m_len+=message_len; in icmp_error()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dtty_test.cc140 int message_len = strlen(message); in TEST_F() local
142 EXPECT_EQ(EIO, dev_tty_->Write(attrs, message, message_len, &bytes_written)); in TEST_F()
155 EXPECT_EQ(0, dev_tty_->Write(attrs, message, message_len, &bytes_written)); in TEST_F()
156 EXPECT_EQ(message_len, bytes_written); in TEST_F()
157 EXPECT_EQ(message_len, user_data.output_count); in TEST_F()
158 EXPECT_EQ(0, strncmp(user_data.output_buf, message, message_len)); in TEST_F()
Djspipe_test.cc298 int message_len = sizeof(message); in TEST_F() local
302 memset(message, 0 , message_len); in TEST_F()
307 EXPECT_EQ(0, pipe_dev_->Write(attrs, message, message_len, &bytes_written)); in TEST_F()
308 EXPECT_EQ(message_len, bytes_written); in TEST_F()
319 VerifyPipeMessage(message_var, "jspipe1", "write", message, message_len); in TEST_F()
/external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/
Dpython_descriptor.cc296 Py_ssize_t message_len; in Python_BuildFile() local
298 if (PyString_AsStringAndSize(arg, &message_type, &message_len) < 0) { in Python_BuildFile()
303 if (!file_proto.ParseFromArray(message_type, message_len)) { in Python_BuildFile()
/external/lldb/tools/driver/
DDriver.cpp896 … int message_len = ::snprintf (message, sizeof(message), "%d location%s added to breakpoint %d\n", in HandleBreakpointEvent() local
900 m_io_channel_ap->OutWrite(message, message_len, ASYNC); in HandleBreakpointEvent()
958 …int message_len = ::snprintf (message, sizeof(message), "Process %" PRIu64 " %s\n", process.GetPro… in HandleProcessEvent() local
960 m_io_channel_ap->OutWrite(message, message_len, ASYNC); in HandleProcessEvent()
991 …int message_len = ::snprintf (message, sizeof(message), "Process %" PRIu64 " stopped and restarted… in HandleProcessEvent() local
993 m_io_channel_ap->OutWrite(message, message_len, ASYNC); in HandleProcessEvent()
998 …int message_len = ::snprintf (message, sizeof(message), "Process %" PRIu64 " stopped and restarted… in HandleProcessEvent() local
1000 m_io_channel_ap->OutWrite(message, message_len, ASYNC); in HandleProcessEvent()
1004 …int message_len = ::snprintf(message, sizeof(message), "\t%s\n", reason ? reason : "<UNKNOWN REASO… in HandleProcessEvent() local
1005 m_io_channel_ap->OutWrite(message, message_len, ASYNC); in HandleProcessEvent()
/external/chromium_org/base/
Dlogging.cc772 const size_t message_len = strlen(message); in RawLog() local
774 while (bytes_written < message_len) { in RawLog()
777 message_len - bytes_written)); in RawLog()
785 if (message_len > 0 && message[message_len - 1] != '\n') { in RawLog()
/external/chromium_org/third_party/boringssl/src/crypto/bn/
Drandom.c245 const uint8_t *message, size_t message_len, in BN_generate_dsa_nonce() argument
296 SHA512_Update(&sha, message, message_len); in BN_generate_dsa_nonce()
/external/openssl/crypto/bn/
Dbn_rand.c315 const unsigned char *message, size_t message_len, in BN_generate_dsa_nonce() argument
353 SHA512_Update(&sha, message, message_len); in BN_generate_dsa_nonce()
Dbn.h698 const unsigned char *message, size_t message_len,
/external/chromium_org/third_party/boringssl/src/crypto/evp/
Dp_rsa.c313 int message_len; in pkey_rsa_decrypt() local
321 message_len = RSA_padding_check_PKCS1_OAEP_mgf1( in pkey_rsa_decrypt()
324 if (message_len < 0) { in pkey_rsa_decrypt()
327 *outlen = message_len; in pkey_rsa_decrypt()
/external/qemu/android/base/
DLog.h384 size_t message_len) = 0;
/external/chromium_org/third_party/cld/base/
Dlogging.h1178 const char* message, size_t message_len) = 0;
1199 const char* message, size_t message_len);
1329 int message_len) = 0;
/external/lldb/source/API/
DSBProcess.cpp426 int message_len = ::snprintf (message, in ReportEventState() local
432 if (message_len > 0) in ReportEventState()
433 ::fwrite (message, 1, message_len, out); in ReportEventState()
/external/openssl/patches/
D0010-dsa_nonce.patch35 + const unsigned char *message, size_t message_len,
101 + const unsigned char *message, size_t message_len,
139 + SHA512_Update(&sha, message, message_len);
/external/ceres-solver/internal/ceres/miniglog/glog/
Dlogging.h141 size_t message_len) = 0;
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dbn.h567 size_t message_len, BN_CTX *ctx);
/external/openssl/include/openssl/
Dbn.h698 const unsigned char *message, size_t message_len,
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp1275 const char* message, size_t message_len) { in rawSignDigestWithPrivateKey() argument
1276 ScopedLocalRef<jbyteArray> messageArray(env, env->NewByteArray(message_len)); in rawSignDigestWithPrivateKey()
1289 memcpy(messageBytes.get(), message, message_len); in rawSignDigestWithPrivateKey()