Searched defs:out (Results 1 - 25 of 118) sorted by relevance

12345

/system/update_engine/payload_generator/
H A Dbzip.cc29 bool BzipCompress(const brillo::Blob& in, brillo::Blob* out) { argument
30 TEST_AND_RETURN_FALSE(out);
31 out->clear();
38 out->resize(buf_size);
46 reinterpret_cast<char*>(out->data()),
56 out->resize(data_size);
62 out->resize(buf_size);
H A Dxz_chromeos.cc23 bool XzCompress(const brillo::Blob& in, brillo::Blob* out) { argument
H A Dtarjan.cc36 vector<Vertex::Index>* out) {
46 out->swap(components_[0]);
34 Execute(Vertex::Index vertex, Graph* graph, vector<Vertex::Index>* out) argument
H A Dtopological_sort.cc48 void TopologicalSort(const Graph& graph, vector<Vertex::Index>* out) { argument
52 TopologicalSortVisit(graph, &visited_nodes, out, i);
/system/core/libsparse/
H A Dsparse_file.h32 struct output_file *out; member in struct:sparse_file
H A Dsimg2img.c41 int out; local
50 out = open(argv[argc - 1], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
51 if (out < 0) {
73 if (lseek(out, 0, SEEK_SET) == -1) {
78 if (sparse_file_write(s, out, false, false, false) < 0) {
86 close(out);
H A Dimg2simg.c49 int out; local
80 out = STDOUT_FILENO;
82 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
83 if (out < 0) {
105 ret = sparse_file_write(s, out, false, true, false);
112 close(out);
H A Dsimg2simg.c45 int out; local
98 out = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
99 if (out < 0) {
104 ret = sparse_file_write(out_s[i], out, false, true, false);
109 close(out);
/system/media/audio_utils/tests/
H A Dlimiter_tests.c33 float out = limiter(in); local
34 printf("%g,%g\n", in, out);
36 out = limiter(-in);
37 printf("%g,%g\n", -in, out);
/system/netd/libnetdutils/
H A DSocket.cpp26 std::array<char, INET6_ADDRSTRLEN> out = {}; local
27 auto* rv = inet_ntop(AF_INET6, &addr, out.data(), out.size());
31 return std::string(out.data());
/system/security/keystore/
H A Dkeystore_aidl_hidl_marshalling_utils.h37 inline android::status_t nullable(Fn fn, const NullOr<Arg>& arg, android::Parcel* out) { argument
39 return out->writeInt32(0);
41 auto rc = out->writeInt32(1);
44 return fn(arg.value(), out);
47 inline android::status_t nullable(Fn fn, Arg&& arg, android::Parcel* out) { argument
48 auto rc = out->writeInt32(1);
51 return fn(std::forward<Arg>(arg), out);
54 inline android::status_t nullable(android::Parcel* out) { argument
55 return out->writeInt32(0);
62 android::status_t writeKeymasterBlob(const hidl_vec<uint8_t>& blob, android::Parcel* out);
[all...]
/system/core/base/include/android-base/
H A Dparsedouble.h28 // Parse double value in the string 's' and sets 'out' to that value.
31 static inline bool ParseDouble(const char* s, double* out, argument
43 *out = result;
H A Dparseint.h29 // Parses the unsigned decimal integer in the string 's' and sets 'out' to
31 // otherwise valid values will be rejected. Returns boolean success; 'out'
34 bool ParseUint(const char* s, T* out, argument
46 *out = static_cast<T>(result);
52 bool ParseUint(const std::string& s, T* out, argument
54 return ParseUint(s.c_str(), out, max);
57 // Parses the signed decimal integer in the string 's' and sets 'out' to
60 // success; 'out' is untouched if parsing fails.
62 bool ParseInt(const char* s, T* out, argument
75 *out
81 ParseInt(const std::string& s, T* out, T min = std::numeric_limits<T>::min(), T max = std::numeric_limits<T>::max()) argument
[all...]
/system/tools/hidl/
H A DHidlTypeAssertion.cpp41 void HidlTypeAssertion::EmitAll(Formatter &out) { argument
50 out << "static_assert(sizeof(::android::hardware::"
H A DNamedType.cpp61 Formatter &out,
64 emitDumpWithMethod(out, streamName, fqName().cppNamespace() + "::toString", name);
60 emitDump( Formatter &out, const std::string &streamName, const std::string &name) const argument
H A DPointerType.cpp48 Formatter& out,
54 out << "(void)" << name << ";\n";
55 out << "LOG_ALWAYS_FATAL(\"Pointer is only supported in passthrough mode\");\n";
74 status_t PointerType::emitVtsTypeDeclarations(Formatter &out) const {
75 out << "type: " << getVtsType() << "\n";
47 emitReaderWriter( Formatter& out, const std::string& name, const std::string& , bool , bool , ErrorMode ) const argument
/system/core/trusty/gatekeeper/
H A Dtrusty_gatekeeper_ipc.c45 int trusty_gatekeeper_call(uint32_t cmd, void *in, uint32_t in_size, uint8_t *out, argument
66 rc = read(handle_, out, *out_size);
78 msg = (struct gatekeeper_message *) out;
/system/core/trusty/keymaster/
H A Dtrusty_keymaster_ipc.cpp46 int trusty_keymaster_call(uint32_t cmd, void* in, uint32_t in_size, uint8_t* out, argument
66 rc = read(handle_, out, *out_size);
78 msg = (struct keymaster_message*)out;
/system/media/audio_utils/
H A Dlimiter.c42 float out; local
47 out = crossover + atan_approximation((in_abs - crossover)*factor)*ratio;
48 if (out > 1.0) {
49 out = 1.0;
60 out = ((A*in_abs + B)*in_abs + C)*in_abs + D;
62 out = 1.0;
66 out = -out;
68 return out;
H A Dmono_blend.cpp32 int16_t *out = (int16_t *)buf; local
34 const int16_t *in = out;
41 *out++ = accum;
46 float *out = (float *)buf; local
49 const float *in = out;
60 *out++ = accum;
/system/tpm/attestation/common/
H A Dmock_tpm_utility.cc29 bool operator()(const std::string& in, std::string* out) { argument
30 *out = attestation::MockTpmUtility::Transform(method_, in);
41 bool operator()(const std::string& in, std::string* out) { argument
47 *out = in.substr(0, position);
/system/bt/service/test/
H A Dparcelable_unittest.cc51 OUT out; local
52 parcel.readParcelable(&out);
54 EXPECT_EQ(out, in);
55 return in == out;
203 android::bluetooth::BluetoothGattService out; local
204 parcel.readParcelable(&out);
/system/connectivity/wifilogd/
H A Dlocal_utils.h62 // Copies a |T| out of |buf|, aborting if |buf| is too short to hold a |T|.
72 // "strict-aliasing" warnings try to call out.)
74 // data we're trying to read out.
79 T out; local
80 CHECK(buf_len >= sizeof(out));
81 std::memcpy(&out, buf, sizeof(out));
82 return out;
/system/core/healthd/tests/
H A DAnimationParser_test.cpp65 animation::text_field out; local
67 EXPECT_TRUE(parse_text_field(TEST_XCENT_YCENT, &out));
68 EXPECT_EQ(CENTER_VAL, out.pos_x);
69 EXPECT_EQ(CENTER_VAL, out.pos_y);
70 EXPECT_EQ(TEST_R, out.color_r);
71 EXPECT_EQ(TEST_G, out.color_g);
72 EXPECT_EQ(TEST_B, out.color_b);
73 EXPECT_EQ(TEST_A, out.color_a);
74 EXPECT_STREQ(TEST_FILE_NAME, out.font_file.c_str());
76 EXPECT_TRUE(parse_text_field(TEST_XCENT_YVAL, &out));
[all...]
/system/core/trusty/storage/proxy/
H A Dipc.c96 int ipc_respond(struct storage_msg *msg, void *out, size_t out_size) argument
99 struct iovec iovs[2] = {{msg, sizeof(*msg)}, {out, out_size}};
105 rc = writev(tipc_fd, iovs, out ? 2 : 1);

Completed in 7476 milliseconds

12345