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

123

/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);
H A Dxz_android.cc84 bool XzCompress(const brillo::Blob& in, brillo::Blob* out) { argument
86 out->clear();
110 BlobWriterStream out_writer(out);
H A Dzip_unittest.cc71 bool DecompressWithWriter(const brillo::Blob& in, brillo::Blob* out) { argument
73 new W(brillo::make_unique_ptr(new MemoryExtentWriter(out))));
86 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const = 0;
87 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const = 0;
95 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const {
96 return BzipCompress(in, out);
98 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const {
99 return DecompressWithWriter<BzipExtentWriter>(in, out);
108 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const {
109 return XzCompress(in, out);
134 brillo::Blob out; local
146 brillo::Blob out; local
157 brillo::Blob out; local
163 brillo::Blob out; local
[all...]
/system/core/libsparse/
H A Dsparse_file.h28 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/core/base/include/android-base/
H A Dparseint.h28 // Parses the unsigned decimal integer in the string 's' and sets 'out' to
32 bool ParseUint(const char* s, T* out, argument
44 *out = static_cast<T>(result);
48 // Parses the signed decimal integer in the string 's' and sets 'out' to
53 bool ParseInt(const char* s, T* out, argument
66 *out = static_cast<T>(result);
/system/core/trusty/gatekeeper/
H A Dtrusty_gatekeeper_ipc.c42 int trusty_gatekeeper_call(uint32_t cmd, void *in, uint32_t in_size, uint8_t *out, argument
63 rc = read(handle_, out, *out_size);
75 msg = (struct gatekeeper_message *) out;
/system/media/audio_utils/
H A Dconversion.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;
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 Dchannels.c48 uint8x3_t out; local
50 out.c[2] = in;
51 out.c[1] = in >> 8;
52 out.c[0] = in >> 16;
54 out.c[0] = in;
55 out.c[1] = in >> 8;
56 out.c[2] = in >> 16;
58 return out;
224 * The out and sums buffers must either be completely separate (non-overlapping), or
295 * The out an
[all...]
H A Dresampler.c74 int16_t *out,
79 if (rsmp == NULL || out == NULL || outFrameCount == NULL) {
127 out + framesWr,
133 out + framesWr * rsmp->channel_count,
139 "ReSampler::resample() remaining %zu frames in and %zu frames out",
155 int16_t *out,
161 out == NULL || outFrameCount == NULL) {
174 out,
180 out,
184 ALOGV("resampler_resample_from_input() DONE in %zu out
73 resampler_resample_from_provider(struct resampler_itfe *resampler, int16_t *out, size_t *outFrameCount) argument
152 resampler_resample_from_input(struct resampler_itfe *resampler, int16_t *in, size_t *inFrameCount, int16_t *out, size_t *outFrameCount) argument
[all...]
/system/tools/aidl/tests/
H A Daidl_test_client_nullables.cpp51 bool ValuesEqual(const unique_ptr<T>& in, const unique_ptr<T>& out) { argument
52 return *in == *out;
58 const unique_ptr<vector<unique_ptr<String16>>>& out) {
60 return !out;
63 if (!out) {
67 if (in->size() != out->size()) {
73 const unique_ptr<String16>& b = (*out)[i];
98 unique_ptr<T> out; local
100 status = (*s.*func)(in, &out);
107 if (!out) {
56 ValuesEqual( const unique_ptr<vector<unique_ptr<String16>>>& in, const unique_ptr<vector<unique_ptr<String16>>>& out) argument
[all...]
/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/core/gatekeeperd/
H A DIGateKeeperService.cpp51 uint8_t *out = NULL; local
55 desiredPasswordSize, &out, &outSize);
59 if (ret == 0 && outSize > 0 && out != NULL) {
65 memcpy(buf, out, outSize);
66 delete[] out;
122 uint8_t *out = NULL; local
127 &out, &outSize, &request_reenroll);
130 if (ret == 0 && outSize > 0 && out != NULL) {
136 memcpy(buf, out, outSize);
137 delete[] out;
[all...]
/system/core/libmemunreachable/
H A DTarjan.h68 void Execute(Graph<T>& graph, SCCList<T>& out);
79 void TarjanAlgorithm<T>::Execute(Graph<T>& graph, SCCList<T>& out) { argument
93 out.swap(components_);
126 void Tarjan(Graph<T>& graph, SCCList<T>& out) { argument
128 tarjan.Execute(graph, out);
/system/netd/server/
H A DResolverStats.h49 // Serialize the resolver stats to the end of |out|.
50 void encode(std::vector<int32_t>* out) const;
55 // Serialize the contents of |stats| and append them to the end of |out|. Multiple arrays
58 static void encodeAll(const std::vector<ResolverStats>& stats, std::vector<int32_t>* out);
65 inline void ResolverStats::encode(std::vector<int32_t>* out) const {
66 size_t ofs = out->size();
67 out->resize(ofs + STATS_COUNT);
68 int32_t* cur = &(*out)[ofs];
95 std::vector<int32_t>* out) {
97 s.encode(out);
94 encodeAll(const std::vector<ResolverStats>& stats, std::vector<int32_t>* out) argument
[all...]
/system/update_engine/
H A Domaha_request_params_unittest.cc44 // out is non-null, it's set w/ the generated data.
45 bool DoTest(OmahaRequestParams* out, const string& app_version,
81 bool OmahaRequestParamsTest::DoTest(OmahaRequestParams* out, argument
85 if (out)
86 *out = params_;
111 OmahaRequestParams out(&fake_system_state_);
112 EXPECT_TRUE(DoTest(&out, "", ""));
113 EXPECT_EQ("Chrome OS", out.os_platform());
114 EXPECT_EQ(string("0.2.2.3_") + GetMachineType(), out.os_sp());
115 EXPECT_EQ("arm-generic", out
[all...]
/system/core/libutils/
H A DLinearTransform.cpp134 int64_t* out) {
139 if (!out)
176 *out = (is_neg ? (-scaled) : scaled) + basis2;
196 *out = res;
127 linear_transform_s64_to_s64( int64_t val, int64_t basis1, int32_t N, uint32_t D, bool invert_frac, int64_t basis2, int64_t* out) argument
/system/extras/ext4_utils/
H A Dext2simg.c121 const char *out = NULL; local
158 out = argv[optind++];
179 if (strcmp(out, "-")) {
180 outfd = open(out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);

Completed in 545 milliseconds

123