Searched refs:vec (Results 1 - 25 of 35) sorted by relevance

12

/system/libhidl/transport/token/1.0/
H A DITokenManager.hal34 createToken(interface store) generates (vec<uint8_t>token);
42 unregister(vec<uint8_t> token) generates (bool success);
51 get(vec<uint8_t> token) generates (interface store);
/system/hardware/interfaces/wifi/keystore/1.0/
H A DIKeystore.hal45 generates (KeystoreStatusCode status, vec<uint8_t> value);
59 generates (KeystoreStatusCode status, vec<uint8_t> publicKey);
74 sign(string keyId, vec<uint8_t> dataToSign)
75 generates (KeystoreStatusCode status, vec<uint8_t> signedData);
/system/tools/hidl/test/vendor/1.0/
H A DIVendor.hal24 vec<uint8_t> b;
29 fun2(vec<uint8_t> a) generates(vec<uint8_t> b);
/system/core/liblog/
H A Dlogger_write.c39 static int __write_to_log_init(log_id_t, struct iovec* vec, size_t nr);
40 static int (*write_to_log)(log_id_t, struct iovec* vec,
244 static int __write_to_log_daemon(log_id_t log_id, struct iovec* vec, size_t nr) { argument
251 len += vec[i].iov_len;
261 if (vec[0].iov_len < 4) {
278 if (vec[0].iov_len < 4) {
306 tag = android_lookupEventTag_len(m, &len, get4LE(vec[0].iov_base));
319 const char* tag = vec[0].iov_base;
320 size_t len = vec[0].iov_len;
330 len = vec[
377 __write_to_log_init(log_id_t log_id, struct iovec* vec, size_t nr) argument
407 struct iovec vec[3]; local
509 struct iovec vec[2]; local
522 struct iovec vec[2]; local
539 struct iovec vec[3]; local
556 struct iovec vec[4]; local
578 struct iovec vec[4]; local
594 __write_to_log_null(log_id_t log_id, struct iovec* vec, size_t nr) argument
[all...]
H A Dfake_writer.c30 static int fakeWrite(log_id_t log_id, struct timespec* ts, struct iovec* vec,
76 struct iovec* vec, size_t nr) {
87 len += vec[i].iov_len;
95 ret = TEMP_FAILURE_RETRY(fakeLogWritev(logFd, vec, nr));
75 fakeWrite(log_id_t log_id, struct timespec* ts __unused, struct iovec* vec, size_t nr) argument
H A Dpmsg_writer.c40 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec,
99 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, argument
109 if (vec[0].iov_len < 4) {
113 if (SNET_EVENT_LOG_TAG != get4LE(vec[0].iov_base)) {
158 newVec[i].iov_base = vec[i - headerLength].iov_base;
159 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len;
216 struct iovec vec[3]; local
246 vec[0].iov_base = &prio;
247 vec[0].iov_len = sizeof(char);
248 vec[
[all...]
H A Dfake_log_device.c472 struct iovec* vec = stackVec; local
479 vec = (struct iovec*)malloc(sizeof(struct iovec) * numVecs);
480 if (vec == NULL) {
484 vec = stackVec;
492 struct iovec* v = vec;
536 int cc = writev(fileno(stderr), vec, v - vec);
554 if (vec != stackVec) free(vec);
H A Dstderr_write.c48 static int stderrWrite(log_id_t logId, struct timespec* ts, struct iovec* vec,
150 static int stderrWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, argument
160 if (!vec || !nr) return -EINVAL;
176 size_t len = vec[i].iov_len;
181 memcpy(log_msg.entry.msg + log_msg.entry.len, vec[i].iov_base, len);
H A Dlogd_writer.c48 static int logdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec,
127 static int logdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, argument
227 newVec[i].iov_base = vec[i - headerLength].iov_base;
228 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len;
/system/libhidl/transport/base/1.0/
H A DIBase.hal52 interfaceChain() generates (vec<string> descriptors);
118 debug(handle fd, vec<string> options);
137 getHashChain() generates (vec<uint8_t[32]> hashchain);
/system/libhwbinder/
H A DStatic.cpp40 virtual status_t writeLines(const struct iovec& vec, size_t N) argument
42 //android_writevLog(&vec, N); <-- this is now a no-op
44 ALOGI("%.*s", (int)vec.iov_len, (const char*) vec.iov_base);
56 virtual status_t writeLines(const struct iovec& vec, size_t N) argument
58 writev(mFD, &vec, N);
H A DBufferedTextOutput.cpp194 struct iovec vec; local
195 vec.iov_base = (void*)first;
196 vec.iov_len = lastLine-first;
197 //printf("Writing %d bytes of data!\n", vec.iov_len);
198 writeLines(vec, 1);
213 struct iovec vec; local
214 vec.iov_base = b->buffer;
215 vec.iov_len = b->bufferPos;
216 //printf("Writing %d bytes of data!\n", vec.iov_len);
217 writeLines(vec,
254 struct iovec vec; local
[all...]
/system/libhidl/transport/allocator/1.0/
H A DIAllocator.hal41 batchAllocate(uint64_t size, uint64_t count) generates (bool success, vec<memory> batch);
/system/libhidl/transport/manager/1.0/
H A DIServiceManager.hal97 list() generates (vec<string> fqInstanceNames);
106 listByInterface(string fqName) generates (vec<string> instanceNames);
145 vec<int32_t> clientPids;
154 debugDump() generates (vec<InstanceDebugInfo> info);
/system/extras/tests/pagingtest/
H A Dpageinout_test.c15 unsigned char *vec; local
32 vec = alloc_mincore_vec(file_size);
33 if (vec == NULL) {
43 if (!check_caching((void *)buf, vec, file_size, false)) {
67 if (!check_caching((void *)buf, vec, file_size, true)) {
83 if (!check_caching((void *)buf, vec, file_size, false)) {
100 free(vec);
H A Dpagingtest.c102 unsigned char *vec; local
104 vec = malloc(mincore_vec_len(size));
105 if (vec == NULL) {
109 return vec;
112 bool check_caching(void *buf, unsigned char *vec, size_t size, bool is_cached) { argument
116 if (mincore(buf, size, vec)) {
123 if (!(vec[i] & 0x1)) {
130 if (vec[i] & 0x1) {
H A Dpagingtest.h13 bool check_caching(void *buf, unsigned char *vec, size_t size, bool is_cached);
/system/core/libprocinfo/
H A Dprocess_test.cpp71 std::vector<pid_t> vec;
72 ASSERT_TRUE(android::procinfo::GetProcessTids(getpid(), &vec));
73 ASSERT_EQ(1, std::count(vec.begin(), vec.end(), main_tid));
74 ASSERT_EQ(1, std::count(vec.begin(), vec.end(), thread_tid));
/system/core/libsysutils/src/
H A DSocketClient.cpp111 struct iovec vec[2]; local
112 vec[0].iov_base = (void *) buf;
113 vec[0].iov_len = sizeof(buf);
114 vec[1].iov_base = (void *) data;
115 vec[1].iov_len = len;
118 int result = sendDataLockedv(vec, (len > 0) ? 2 : 1);
171 struct iovec vec[1]; local
172 vec[0].iov_base = (void *) data;
173 vec[0].iov_len = len;
176 int rc = sendDataLockedv(vec,
[all...]
/system/chre/host/common/
H A Dhost_protocol_host.cc40 * @param vec Target vector, can be null
44 const char *getStringFromByteVector(const flatbuffers::Vector<int8_t> *vec) { argument
49 if (vec != nullptr && vec->size() > 0
50 && (*vec)[vec->size() - 1] == kNullChar) {
51 str = reinterpret_cast<const char *>(vec->data());
/system/chre/util/tests/
H A Ddynamic_vector_test.cc771 DynamicVector<int> vec; local
772 vec.wrap(buf, kSize);
773 ASSERT_FALSE(vec.owns_data());
775 vec.unwrap();
776 EXPECT_TRUE(vec.owns_data());
777 EXPECT_EQ(vec.size(), 0);
778 EXPECT_EQ(vec.capacity(), 0);
779 EXPECT_EQ(vec.data(), nullptr);
781 EXPECT_TRUE(vec.push_back(1));
791 DynamicVector<int> vec; local
813 DynamicVector<Dummy> vec; local
838 DynamicVector<int> vec; local
[all...]
/system/libhwbinder/include/hwbinder/
H A DBufferedTextOutput.h46 virtual status_t writeLines(const struct iovec& vec, size_t N) = 0;
/system/libhidl/transport/include/hidl/
H A DHidlBinderSupport.h95 const hidl_vec<T> &vec,
102 vec.size() * sizeof(T),
111 const hidl_vec<T> &vec,
117 vec.data(),
118 sizeof(T) * vec.size(),
125 status_t findInParcel(const hidl_vec<T> &vec, const Parcel &parcel, size_t *handle) { argument
126 return parcel.quickFindBuffer(vec.data(), handle);
94 readEmbeddedFromParcel( const hidl_vec<T> &vec, const Parcel &parcel, size_t parentHandle, size_t parentOffset, size_t *handle) argument
110 writeEmbeddedToParcel( const hidl_vec<T> &vec, Parcel *parcel, size_t parentHandle, size_t parentOffset, size_t *handle) argument
/system/tools/hidl/utils/
H A DStringHelper.cpp69 std::vector<std::string> *vec) {
73 vec->clear();
77 vec->clear();
94 vec->push_back(maxmatch);
101 vec->push_back(copy);
68 Tokenize(const std::string &in, std::vector<std::string> *vec) argument
/system/tools/hidl/test/errors/syntax/1.0/
H A DIEx1.hal75 typedef vec<IEx1> OkToo;

Completed in 412 milliseconds

12