/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 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 | 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);
|
H A D | sparse.c | 104 static void sparse_file_write_block(struct output_file *out, argument 109 write_data_chunk(out, backed_block_len(bb), backed_block_data(bb)); 112 write_file_chunk(out, backed_block_len(bb), 116 write_fd_chunk(out, backed_block_len(bb), 120 write_fill_chunk(out, backed_block_len(bb), 126 static int write_all_blocks(struct sparse_file *s, struct output_file *out) argument 136 write_skip_chunk(out, (int64_t)blocks * s->block_size); 138 sparse_file_write_block(out, bb); 146 write_skip_chunk(out, pad); 157 struct output_file *out; local 177 struct output_file *out; local 205 struct output_file *out; local [all...] |
/system/core/fastbootd/commands/ |
H A D | flash.c | 52 int flash_find_entry(const char *name, char *out, size_t outlen) argument 69 if (snprintf(out, outlen, "%s%s", path, name) >= (int) outlen) { 74 if (access(out, F_OK ) == -1) {
|
/system/extras/tests/bionic/libc/other/ |
H A D | test_zlib.c | 51 unsigned char out[CHUNK]; local 75 strm.next_out = out; 78 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { 99 static unsigned char out[CHUNK]; local 125 strm.next_out = out; 221 FILE* out = NULL; local 235 out = fopen( tempfile, "wb" ); 236 if (out == NULL) { 244 ret = def( f, out, compression_level ); 249 fclose( out ); [all...] |
/system/media/audio_utils/ |
H A D | channels.c | 48 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 D | resampler.c | 74 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...] |
H A D | primitives.c | 21 void ditherAndClamp(int32_t* out, const int32_t *sums, size_t c) argument 31 *out++ = (r<<16) | (l & 0xFFFF); 321 static const uint8x3_t zero; /* tricky - we use this to zero out a sample */
|
/system/core/libcutils/ |
H A D | dir_hash.c | 130 struct list **out) { 190 for (f = *out; f != NULL; f = f->next) { 195 *out = NULL; 218 for (f = *out; f != NULL; f = f->next) { 223 *out = NULL; 233 res->next = *out; 234 *out = res; 237 if (recurse(algorithm, name, out) < 0) { 268 struct list *out = NULL; local 277 if (recurse(algorithm, directory_path, &out) < 129 recurse(HashAlgorithm algorithm, const char *directory_path, struct list **out) argument [all...] |
H A D | str_parms.c | 300 float out; local 308 out = strtof(value, &end); 312 *val = out;
|
/system/core/libutils/ |
H A D | LinearTransform.cpp | 119 int64_t* out) { 124 if (!out) 161 *out = (is_neg ? (-scaled) : scaled) + basis2; 181 *out = res; 112 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/core/libzipfile/ |
H A D | zipfile.c | 79 uninflate(unsigned char* out, int unlen, const unsigned char* in, int clen) argument 91 zstream.next_out = (Bytef*) out;
|
/system/extras/ext4_utils/ |
H A D | ext2simg.c | 121 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);
|
/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); 708 int32_t out; local 709 asm( "smlabb %[out], %[in], %[v], %[a] \n" 710 : [out]"=r"(out) 713 return out; 726 int32_t out; local 744 int32_t out; local 773 int32_t out; local [all...] |
/system/core/cpio/ |
H A D | mkbootfs.c | 87 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) argument 99 fix_stat(out, s); 100 // fprintf(stderr, "_eject %s: mode=0%o\n", out, s->st_mode); 118 out, 124 if(strlen(out) != (unsigned int)olen) die("ACK!"); 149 static void _archive(char *in, char *out, int ilen, int olen); 155 static void _archive_dir(char *in, char *out, int ilen, int olen) argument 163 in, out, ilen, olen); 210 out[olen] = '/'; 211 memcpy(out 228 _archive(char *in, char *out, int ilen, int olen) argument 274 char out[8192]; local [all...] |
/system/core/libmincrypt/ |
H A D | p256.c | 333 p256_int* out) { 334 if (out != in) *out = *in; 335 addM(MOD, 0, P256_DIGITS(out), subM(MOD, 0, P256_DIGITS(out), -1)); 331 p256_mod(const p256_int* MOD, const p256_int* in, p256_int* out) argument
|
/system/core/toolbox/ |
H A D | ls.c | 50 void strmode(mode_t mode, char *out) argument 52 *out++ = mode2kind(mode); 54 *out++ = (mode & 0400) ? 'r' : '-'; 55 *out++ = (mode & 0200) ? 'w' : '-'; 57 *out++ = (mode & 0100) ? 's' : 'S'; 59 *out++ = (mode & 0100) ? 'x' : '-'; 61 *out++ = (mode & 040) ? 'r' : '-'; 62 *out++ = (mode & 020) ? 'w' : '-'; 64 *out++ = (mode & 010) ? 's' : 'S'; 66 *out 78 user2str(uid_t uid, char *out, size_t out_size) argument 88 group2str(gid_t gid, char *out, size_t out_size) argument [all...] |
/system/core/toolbox/upstream-netbsd/bin/dd/ |
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...] |
/system/extras/verity/ |
H A D | build_verity_tree.cpp | 52 unsigned char *out, size_t *out_size) 63 ret &= EVP_DigestFinal_ex(mdctx, out, &s); 74 unsigned char *out, size_t *out_size, 81 hash_block(md, in + i, block_size, salt, salt_size, out, &s); 82 out += s; 49 hash_block(const EVP_MD *md, const unsigned char *block, size_t len, const unsigned char *salt, size_t salt_len, unsigned char *out, size_t *out_size) argument 72 hash_blocks(const EVP_MD *md, const unsigned char *in, size_t in_size, unsigned char *out, size_t *out_size, const unsigned char *salt, size_t salt_size, size_t block_size) argument
|
/system/core/fastboot/ |
H A D | usb_linux.c | 60 * under 2 seconds) but we'll time out after 3 seconds just in case. 124 int in, out; local 197 out = -1; 224 out = ept->bEndpointAddress; 229 info.has_bulk_out = (out != -1); 233 *ept_out_id = out; 306 int n, in, out, ifc; local 335 &in, &out, &ifc) == 0) { 339 usb->ep_out = out;
|
/system/core/init/ |
H A D | bootchart.c | 125 FILE* out; local 135 out = fopen( LOG_HEADER, "w" ); 136 if (out == NULL) 151 fprintf(out, "version = %s\n", VERSION); 152 fprintf(out, "title = Boot chart for Android ( %s )\n", date); 153 fprintf(out, "system.uname = %s\n", uname); 154 fprintf(out, "system.release = 0.0\n"); 155 fprintf(out, "system.cpu = %s\n", cpu); 156 fprintf(out, "system.kernel.options = %s\n", cmdline); 157 fclose(out); [all...] |
/system/security/keystore/ |
H A D | IKeystoreService.cpp | 94 ALOGE("out of memory allocating output array in get"); 345 virtual int32_t sign(const String16& name, const uint8_t* in, size_t inLength, uint8_t** out, argument 364 *out = (uint8_t*) malloc(ulen); 365 if (*out != NULL) { 366 memcpy((void*) *out, outBuf, ulen); 369 ALOGE("out of memory allocating output array in sign"); 430 ALOGE("out of memory allocating output array in get_pubkey"); 661 void* out = NULL; local 663 int32_t ret = get(name, (uint8_t**) &out, &outSize); 668 memcpy(buf, out, outSiz 817 void* out = NULL; local 860 void* out = NULL; local [all...] |
/system/core/adb/ |
H A D | usb_linux.c | 263 // we have a match. now we just need to figure out which is in and which is out. 343 /* time out after five seconds */ 367 struct usbdevfs_urb *out = NULL; local 396 res = ioctl(h->desc, USBDEVFS_REAPURB, &out); 412 out, out->status, out->actual_length); 414 if(out == &h->urb_in) { 424 if(out [all...] |