/system/update_engine/payload_generator/ |
H A D | bzip.cc | 29 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 D | xz_chromeos.cc | 23 bool XzCompress(const brillo::Blob& in, brillo::Blob* out) { argument
|
H A D | tarjan.cc | 36 vector<Vertex::Index>* out) { 46 out->swap(components_[0]); 34 Execute(Vertex::Index vertex, Graph* graph, vector<Vertex::Index>* out) argument
|
H A D | topological_sort.cc | 48 void TopologicalSort(const Graph& graph, vector<Vertex::Index>* out) { argument 52 TopologicalSortVisit(graph, &visited_nodes, out, i);
|
/system/core/libsparse/ |
H A D | sparse_file.h | 28 struct output_file *out; member in struct:sparse_file
|
H A D | simg2img.c | 41 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 D | img2simg.c | 49 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 D | simg2simg.c | 45 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 D | limiter_tests.c | 33 float out = limiter(in); local 34 printf("%g,%g\n", in, out); 36 out = limiter(-in); 37 printf("%g,%g\n", -in, out);
|
/system/security/keystore/ |
H A D | keystore_aidl_hidl_marshalling_utils.h | 37 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 D | parsedouble.h | 28 // 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 D | parseint.h | 29 // 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 D | HidlTypeAssertion.cpp | 42 void HidlTypeAssertion::EmitAll(Formatter &out) { argument 51 out << "static_assert(sizeof(::android::hardware::"
|
H A D | NamedType.cpp | 62 Formatter &out, 65 emitDumpWithMethod(out, streamName, fqName().cppNamespace() + "::toString", name); 61 emitDump( Formatter &out, const std::string &streamName, const std::string &name) const argument
|
H A D | PointerType.cpp | 48 Formatter& out, 54 out << "LOG_ALWAYS_FATAL(\"Pointer is only supported in passthrough mode\");\n"; 73 status_t PointerType::emitVtsTypeDeclarations(Formatter &out) const { 74 out << "type: " << getVtsType() << "\n"; 47 emitReaderWriter( Formatter& out, const std::string& , const std::string& , bool , bool , ErrorMode ) const argument
|
/system/core/trusty/gatekeeper/ |
H A D | trusty_gatekeeper_ipc.c | 45 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 D | trusty_keymaster_ipc.c | 46 int trusty_keymaster_call(uint32_t cmd, void *in, uint32_t in_size, uint8_t *out, argument 67 rc = read(handle_, out, *out_size); 79 msg = (struct keymaster_message *) out;
|
/system/media/audio_utils/ |
H A D | limiter.c | 42 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 D | mono_blend.cpp | 32 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 D | mock_tpm_utility.cc | 29 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 D | parcelable_unittest.cc | 51 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 D | local_utils.h | 62 // 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 D | AnimationParser_test.cpp | 65 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 D | ipc.c | 96 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);
|
/system/nvram/messages/tests/ |
H A D | nvram_messages_test.cpp | 29 void EncodeAndDecode(const Message& in, Message* out) { argument 32 ASSERT_TRUE(Decode(blob.data(), blob.size(), out));
|