Searched refs:kBufferSize (Results 1 – 12 of 12) sorted by relevance
29 constexpr size_t kBufferSize = 4096; variable32 char buffer[kBufferSize] = {}; in ReadMessage()49 if (message_string.size() > kBufferSize) { in SendMessage()
101 kBufferSize = MAX_PAYLOAD, enumerator108 char buffer_[kBufferSize];
34 static const size_t kBufferSize = 16; member in test_vendor_lib::AsyncManagerSocketTest70 int n = TEMP_FAILURE_RETRY(read(fd, server_buffer_, kBufferSize - 1)); in ReadIncomingMessage()82 memset(server_buffer_, 0, kBufferSize); in SetUp()133 char server_buffer_[kBufferSize];134 char client_buffer_[kBufferSize];
36 static const size_t kBufferSize = 16; member in test_vendor_lib::net::PolledSocketTest
61 static const uint32_t kBufferSize = 4096; in CreateCommandLinePerfettoDependenciesComponent() local72 kBufferSize); in CreateCommandLinePerfettoDependenciesComponent()82 kBufferSize); in CreateCommandLinePerfettoDependenciesComponent()
79 static const uint32_t kBufferSize = in CreateComponent() local87 kBufferSize); in CreateComponent()
52 const int kBufferSize = 128 * 1024; // 128 KiB in UpdateFile() local53 brillo::Blob buffer(kBufferSize); in UpdateFile()
193 static constexpr size_t kBufferSize = sizeof(struct inotify_event) + NAME_MAX + 1; in ConsumeEvents() local194 char buffer[kBufferSize]; in ConsumeEvents()
44 static const int kBufferSize = 4096;
98 constexpr uint64_t kBufferSize = 1024 * 1024; in VerifyVerityConfig() local99 size_t bytes_to_read = std::min(kBufferSize, data_end - offset); in VerifyVerityConfig()
446 constexpr size_t kBufferSize = 2048; in TEST() local454 for (index = 0; index < kBufferSize / entry_len; index++) { in TEST()461 size_t leftover = kBufferSize % entry_len; in TEST()474 size_t bytes_left_in_buffer = kBufferSize - extra; in TEST()
2002 constexpr size_t kBufferSize = sns_remote_proc_state_config_size; in initRemoteProcSensor() local2003 pb_byte_t msgBuffer[kBufferSize]; in initRemoteProcSensor()2005 if (encodeSnsRemoteProcSensorConfig(msgBuffer, kBufferSize, &msgLen, in initRemoteProcSensor()