/system/update_engine/ |
H A D | omaha_request_params_unittest.cc | 44 // 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/libsparse/ |
H A D | output_file.c | 71 int (*write_data_chunk)(struct output_file *out, unsigned int len, 73 int (*write_fill_chunk)(struct output_file *out, unsigned int len, 75 int (*write_skip_chunk)(struct output_file *out, int64_t len); 76 int (*write_end_chunk)(struct output_file *out); 94 struct output_file out; member in struct:output_file_gz 99 container_of((_o), struct output_file_gz, out) 102 struct output_file out; member in struct:output_file_normal 107 container_of((_o), struct output_file_normal, out) 110 struct output_file out; member in struct:output_file_callback 116 container_of((_o), struct output_file_callback, out) 118 file_open(struct output_file *out, int fd) argument 126 file_skip(struct output_file *out, int64_t cnt) argument 139 file_pad(struct output_file *out, int64_t len) argument 152 file_write(struct output_file *out, void *data, int len) argument 169 file_close(struct output_file *out) argument 184 gz_file_open(struct output_file *out, int fd) argument 198 gz_file_skip(struct output_file *out, int64_t cnt) argument 211 gz_file_pad(struct output_file *out, int64_t len) argument 235 gz_file_write(struct output_file *out, void *data, int len) argument 252 gz_file_close(struct output_file *out) argument 273 callback_file_skip(struct output_file *out, int64_t off) argument 296 callback_file_write(struct output_file *out, void *data, int len) argument 303 callback_file_close(struct output_file *out) argument 340 write_sparse_skip_chunk(struct output_file *out, int64_t skip_len) argument 366 write_sparse_fill_chunk(struct output_file *out, unsigned int len, uint32_t fill_val) argument 401 write_sparse_data_chunk(struct output_file *out, unsigned int len, void *data) argument 442 write_sparse_end_chunk(struct output_file *out) argument 475 write_normal_data_chunk(struct output_file *out, unsigned int len, void *data) argument 493 write_normal_fill_chunk(struct output_file *out, unsigned int len, uint32_t fill_val) argument 518 write_normal_skip_chunk(struct output_file *out, int64_t len) argument 523 write_normal_end_chunk(struct output_file *out) argument 535 output_file_close(struct output_file *out) argument 541 output_file_init(struct output_file *out, int block_size, int64_t len, bool sparse, int chunks, bool crc) argument 660 struct output_file *out; local 683 write_data_chunk(struct output_file *out, unsigned int len, void *data) argument 689 write_fill_chunk(struct output_file *out, unsigned int len, uint32_t fill_val) argument 695 write_fd_chunk(struct output_file *out, unsigned int len, int fd, int64_t offset) argument 746 write_file_chunk(struct output_file *out, unsigned int len, const char *file, int64_t offset) argument 763 write_skip_chunk(struct output_file *out, int64_t len) argument [all...] |
H A D | output_file.h | 29 int write_data_chunk(struct output_file *out, unsigned int len, void *data); 30 int write_fill_chunk(struct output_file *out, unsigned int len, 32 int write_file_chunk(struct output_file *out, unsigned int len, 34 int write_fd_chunk(struct output_file *out, unsigned int len, 36 int write_skip_chunk(struct output_file *out, int64_t len); 37 void output_file_close(struct output_file *out);
|
H A D | sparse_file.h | 28 struct output_file *out; member in struct:sparse_file
|
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 | 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);
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | position.c | 139 if (!(out.flags & ISTAPE)) { 140 if (ddop_lseek(out, out.fd, 141 (off_t)out.offset * (off_t)out.dbsz, SEEK_SET) == -1) 142 err(EXIT_FAILURE, "%s", out.name); 148 if (out.flags & NOREAD) { 150 t_op.mt_count = out.offset; 152 if (ddop_ioctl(out, out [all...] |
H A D | dd.c | 78 IO in, out; /* input/output state */ variable 179 if (out.name == NULL) { 181 out.fd = STDOUT_FILENO; 182 out.name = "stdout"; 183 out.ops = &ddfops_stdfd; 185 out.ops = prog_ops; 188 out.fd = ddop_open(out, out.name, O_RDWR | OFLAGS, DEFFILEMODE); 194 if (out [all...] |
H A D | conv.c | 73 out.dbp = in.dbp; 74 out.dbcnt = in.dbcnt; 76 if (in.dbcnt >= out.dbsz) { 85 in.dbp = out.dbp; 86 in.dbcnt = out.dbcnt; 96 out.dbcnt = in.dbcnt; 114 * max out buffer: obs + cbsz 149 for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) { 193 out.dbp += cbsz; 194 if ((out [all...] |
/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 | conversion.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/update_engine/payload_generator/ |
H A D | xz_chromeos.cc | 23 bool XzCompress(const brillo::Blob& in, brillo::Blob* out) { argument
|
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 | zip_unittest.cc | 71 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...] |
H A D | bzip.h | 24 // Compresses the input buffer |in| into |out| with bzip2. 25 bool BzipCompress(const brillo::Blob& in, brillo::Blob* out);
|
H A D | topological_sort.h | 27 // the nodes, in order visited, in 'out'. 32 // Might result in this in 'out': 33 // out[0] = D 34 // out[1] = B 35 // out[2] = C 36 // out[3] = A 38 void TopologicalSort(const Graph& graph, std::vector<Vertex::Index>* out);
|
H A D | xz.h | 28 // Compresses the input buffer |in| into |out| with xz. The compressed stream 30 bool XzCompress(const brillo::Blob& in, brillo::Blob* out);
|
/system/extras/tests/workloads/ |
H A D | atrace-uncompress.py | 15 out = infile.read() 16 parts = out.split('\nTRACE:', 1) 31 out = zlib.decompress(data) 32 print(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/bt/stack/smp/ |
H A D | aes.h | 91 unsigned char out[N_BLOCK], 95 unsigned char *out, 104 unsigned char out[N_BLOCK], 108 unsigned char *out, 121 out[]. In addition, the second key array, o_key[L], is used 136 unsigned char out[N_BLOCK], 143 unsigned char out[N_BLOCK], 150 unsigned char out[N_BLOCK], 157 unsigned char out[N_BLOCK],
|
/system/core/trusty/gatekeeper/ |
H A D | trusty_gatekeeper_ipc.h | 20 int trusty_gatekeeper_call(uint32_t cmd, void *in, uint32_t in_size, uint8_t *out,
|
/system/tools/aidl/tests/android/aidl/tests/ |
H A D | ITestService.aidl | 45 out SimpleParcelable repeat); 49 boolean[] ReverseBoolean(in boolean[] input, out boolean[] repeated); 50 byte[] ReverseByte (in byte[] input, out byte[] repeated); 51 char[] ReverseChar (in char[] input, out char[] repeated); 52 int[] ReverseInt (in int[] input, out int[] repeated); 53 long[] ReverseLong (in long[] input, out long[] repeated); 54 float[] ReverseFloat (in float[] input, out float[] repeated); 55 double[] ReverseDouble (in double[] input, out double[] repeated); 56 String[] ReverseString (in String[] input, out String[] repeated); 59 out SimpleParcelabl [all...] |
/system/core/libsuspend/ |
H A D | autosuspend.c | 38 goto out; 45 goto out; 51 goto out; 59 out:
|
/system/bt/audio_a2dp_hw/ |
H A D | audio_a2dp_hw.c | 588 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 591 DEBUG("write %zu bytes (fd %d)", bytes, out->common.audio_fd); 593 pthread_mutex_lock(&out->common.lock); 594 if (out->common.state == AUDIO_A2DP_STATE_SUSPENDED || 595 out->common.state == AUDIO_A2DP_STATE_STOPPING) { 601 if ((out->common.state == AUDIO_A2DP_STATE_STOPPED) || 602 (out->common.state == AUDIO_A2DP_STATE_STANDBY)) 604 if (start_audio_datapath(&out->common) < 0) 609 else if (out->common.state != AUDIO_A2DP_STATE_STARTED) 615 pthread_mutex_unlock(&out 648 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 657 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 674 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 689 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 698 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 713 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 738 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 799 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 828 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 849 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 1092 struct a2dp_stream_out *out; local 1168 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 1190 struct a2dp_stream_out *out = a2dp_dev->output; local [all...] |
/system/tools/aidl/tests/ |
H A D | aidl_test_client_nullables.cpp | 51 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...] |