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

123456

/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.h39 inline android::status_t nullable(Fn fn, const NullOr<Arg>& arg, android::Parcel* out) { argument
41 return out->writeInt32(0);
43 auto rc = out->writeInt32(1);
46 return fn(arg.value(), out);
49 inline android::status_t nullable(Fn fn, Arg&& arg, android::Parcel* out) { argument
50 auto rc = out->writeInt32(1);
53 return fn(std::forward<Arg>(arg), out);
56 inline android::status_t nullable(android::Parcel* out) { argument
57 return out->writeInt32(0);
64 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.cpp50 Formatter &out,
53 emitDumpWithMethod(out, streamName, fqName().cppNamespace() + "::toString", name);
49 emitDump( Formatter &out, const std::string &streamName, const std::string &name) const argument
H A DgenerateCppAdapter.cpp37 void AST::generateCppAdapterHeader(Formatter& out) const {
41 out << "#ifndef " << guard << "\n";
42 out << "#define " << guard << "\n\n";
45 generateCppPackageInclude(out, mPackage, getInterface()->localName());
47 enterLeaveNamespace(out, true /* enter */);
48 out.endl();
52 out << "class " << klassName << " : public " << mockName << " ";
53 out.block([&] {
54 out << "public:\n";
55 out << "typede
120 generateAdapterMethod(Formatter& out, const Method* method) const argument
[all...]
H A DgenerateCppImpl.cpp36 void AST::generateFetchSymbol(Formatter &out, const std::string& ifaceName) const { argument
37 out << "HIDL_FETCH_" << ifaceName;
40 void AST::generateStubImplMethod(Formatter& out, const std::string& className, argument
47 method->generateCppSignature(out, className, false /* specifyNamespaces */);
49 out << " {\n";
51 out.indent();
52 out << "// TODO implement\n";
57 out << "return Void();\n";
59 out << "return "
64 out
[all...]
/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/keymaster/legacy_support/
H A Dkeymaster_passthrough_operation.cpp32 keymaster_blob_t out = {}; local
40 rc = km_device_->update(km_device_, operation_handle_, &mutable_input_params, &in, &consumed, &out_params, &out);
42 accumulate_output.push_back(KeymasterBlob(out));
43 accumulated_output_size += out.data_length;
44 free(const_cast<uint8_t*>(out.data));
45 out = {};
69 rc = km_device_->finish(km_device_, operation_handle_, &mutable_input_params, &sig, &out_params, &out);
71 accumulate_output.push_back(KeymasterBlob(out));
72 accumulated_output_size += out.data_length;
73 free(const_cast<uint8_t*>(out
101 keymaster_blob_t out = {}; local
[all...]
/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...]

Completed in 461 milliseconds

123456