/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 51 out = open(argv[argc - 1], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 52 if (out < 0) { 74 lseek(out, SEEK_SET, 0); 76 ret = sparse_file_write(s, out, false, false, false); 85 close(out);
|
H A D | sparse.c | 104 static int sparse_file_write_block(struct output_file *out, argument 111 ret = write_data_chunk(out, backed_block_len(bb), backed_block_data(bb)); 114 ret = write_file_chunk(out, backed_block_len(bb), 119 ret = write_fd_chunk(out, backed_block_len(bb), 124 ret = write_fill_chunk(out, backed_block_len(bb), 132 static int write_all_blocks(struct sparse_file *s, struct output_file *out) argument 143 write_skip_chunk(out, (int64_t)blocks * s->block_size); 145 ret = sparse_file_write_block(out, bb); 155 write_skip_chunk(out, pad); 166 struct output_file *out; local 186 struct output_file *out; local 214 struct output_file *out; local [all...] |
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/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/core/fastboot/ |
H A D | p12topem.sh | 9 openssl pkcs12 -passin pass:"$2" -passout pass:"$2" -in $1.p12 -out $1.pem
|
H A D | genkey.sh | 11 openssl genrsa -3 -out $1.pem -passout pass:"$2" 2048 15 -out $1-cert.pem \ 21 -out $1.p12 -name $1 -passout pass:"$2"
|
/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/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/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 | 266 /* send time out */ 552 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 555 DEBUG("write %zu bytes (fd %d)", bytes, out->common.audio_fd); 557 pthread_mutex_lock(&out->common.lock); 559 if (out->common.state == AUDIO_A2DP_STATE_SUSPENDED) 562 pthread_mutex_unlock(&out->common.lock); 567 if ((out->common.state == AUDIO_A2DP_STATE_STOPPED) || 568 (out->common.state == AUDIO_A2DP_STATE_STANDBY)) 570 if (start_audio_datapath(&out->common) < 0) 575 int us_delay = calc_audiotime(out 611 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 620 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 637 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 646 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 655 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 663 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 670 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 687 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 694 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 750 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 763 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 1020 struct a2dp_stream_out *out; local 1095 struct a2dp_stream_out *out = (struct a2dp_stream_out *)stream; local 1114 struct a2dp_stream_out *out = a2dp_dev->output; local [all...] |
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | synthesis-dct8.c | 82 PRIVATE void float_dct2_8(float * RESTRICT out, OI_INT32 const *RESTRICT in) argument 123 out[0] = (float)FLOAT_SCALE(L00, DCTII_8_SHIFT_0); OI_ASSERT(VALID_INT16(out[0])); 124 out[4] = (float)FLOAT_SCALE(L01, DCTII_8_SHIFT_4); OI_ASSERT(VALID_INT16(out[4])); 127 out[6] = (float)FLOAT_SCALE(L02, DCTII_8_SHIFT_6); OI_ASSERT(VALID_INT16(out[6])); 128 out[2] = (float)FLOAT_SCALE(L03, DCTII_8_SHIFT_2); OI_ASSERT(VALID_INT16(out[2])); 153 out[ 209 dct2_8(SBC_BUFFER_T * RESTRICT out, OI_INT32 const *RESTRICT in) argument [all...] |
/system/extras/verity/ |
H A D | generate_verity_key.c | 46 goto out; 83 out: 95 goto out; 98 goto out; 102 goto out; 108 out: 123 goto out; 129 goto out; 135 goto out; 141 goto out; [all...] |
/system/core/cpio/ |
H A D | mkbootfs.c | 89 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) argument 101 fix_stat(out, s); 102 // fprintf(stderr, "_eject %s: mode=0%o\n", out, s->st_mode); 120 out, 126 if(strlen(out) != (unsigned int)olen) die("ACK!"); 151 static void _archive(char *in, char *out, int ilen, int olen); 157 static void _archive_dir(char *in, char *out, int ilen, int olen) argument 165 in, out, ilen, olen); 212 out[olen] = '/'; 213 memcpy(out 230 _archive(char *in, char *out, int ilen, int olen) argument 276 char out[8192]; local [all...] |
/system/media/audio_utils/include/audio_utils/ |
H A D | primitives.h | 33 * Dither and clamp pairs of 32-bit input samples (sums) to 16-bit output samples (out). 41 * and out is an array of interleaved pairs of 16-bit samples per channel. 42 * For mono, c is the number of samples / 2, and out is an array of 16-bit samples. 45 * The out and sums buffers must either be completely separate (non-overlapping), or 48 void ditherAndClamp(int32_t* out, const int32_t *sums, size_t c); 870 int32_t out; local 871 asm( "smlabb %[out], %[in], %[v], %[a] \n" 872 : [out]"=r"(out) 875 return out; 888 int32_t out; local 906 int32_t out; local 935 int32_t out; local [all...] |
H A D | resampler.h | 68 * resample input from buffer provider and output at most *outFrameCount to out buffer. 72 int16_t *out, 76 * *outFrameCount to out buffer. *inFrameCount and *outFrameCount are updated respectively 82 int16_t *out,
|
/system/core/libcutils/ |
H A D | uevent.c | 76 goto out; 83 goto out; 88 goto out; 92 goto out; 97 out:
|
/system/vold/ |
H A D | NetlinkManager.cpp | 69 goto out; 74 goto out; 79 goto out; 85 goto out; 90 out:
|
/system/core/fs_mgr/ |
H A D | fs_mgr_verity.c | 124 goto out; 134 goto out; 139 out: 225 goto out; 230 goto out; 237 goto out; 244 goto out; 250 goto out; 257 goto out; 261 goto out; [all...] |
/system/core/libmincrypt/ |
H A D | p256_ec.c | 214 /* felem_sum sets out = in+in2. 217 * On exit: out[0,2,...] < 2**30, out[1,3,...] < 2**29 */ 218 static void felem_sum(felem out, const felem in, const felem in2) { argument 223 out[i] = in[i] + in2[i]; 224 out[i] += carry; 225 carry = out[i] >> 29; 226 out[i] &= kBottom29Bits; 232 out[i] = in[i] + in2[i]; 233 out[ 256 felem_diff(felem out, const felem in, const felem in2) argument 291 felem_reduce_degree(felem out, u64 tmp[17]) argument 480 felem_square(felem out, const felem in) argument 529 felem_mul(felem out, const felem in, const felem in2) argument 598 felem_assign(felem out, const felem in) argument 609 felem_inv(felem out, const felem in) argument 674 felem_scalar_3(felem out) argument 701 felem_scalar_4(felem out) argument 732 felem_scalar_8(felem out) argument 977 copy_conditional(felem out, const felem in, limb mask) argument 1179 to_montgomery(felem out, const p256_int* in) argument 1200 from_montgomery(p256_int* out, const felem in) argument [all...] |