/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 81 out = STDOUT_FILENO; 83 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 84 if (out < 0) { 106 ret = sparse_file_write(s, out, false, true, false); 113 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 | 103 static void sparse_file_write_block(struct output_file *out, argument 108 write_data_chunk(out, backed_block_len(bb), backed_block_data(bb)); 111 write_file_chunk(out, backed_block_len(bb), 115 write_fd_chunk(out, backed_block_len(bb), 119 write_fill_chunk(out, backed_block_len(bb), 125 static int write_all_blocks(struct sparse_file *s, struct output_file *out) argument 135 write_skip_chunk(out, (int64_t)blocks * s->block_size); 137 sparse_file_write_block(out, bb); 145 write_skip_chunk(out, pad); 156 struct output_file *out; local 176 struct output_file *out; local 204 struct output_file *out; local [all...] |
/system/media/audio_utils/include/audio_utils/ |
H A D | primitives.h | 27 * Dither and clamp pairs of 32-bit input samples (sums) to 16-bit output samples (out). 31 * and out is an array of interleaved pairs of 16-bit samples per channel. 32 * For mono, c is the number of samples / 2, and out is an array of 16-bit samples. 35 * The out and sums buffers must either be completely separate (non-overlapping), or 38 void ditherAndClamp(int32_t* out, const int32_t *sums, size_t c); 121 int32_t out; local 122 asm( "smlabb %[out], %[in], %[v], %[a] \n" 123 : [out]"=r"(out) 126 return out; 139 int32_t out; local 157 int32_t out; local 186 int32_t out; local [all...] |
/system/media/audio_utils/ |
H A D | primitives.c | 19 void ditherAndClamp(int32_t* out, const int32_t *sums, size_t c) argument 29 *out++ = (r<<16) | (l & 0xFFFF);
|
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 %d frames in and %d frames out", 155 int16_t *out, 161 out == NULL || outFrameCount == NULL) { 174 out, 180 out, 184 ALOGV("resampler_resample_from_input() DONE in %d 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/extras/fatblock/ |
H A D | read.c | 28 static int buffer_read(char *buf, offset_t buf_len, char *out, argument 32 assert(out); 35 memset(out, 0, len); 40 memset(out + (buf_len - off), 0, len - (buf_len - off)); 47 memcpy(out, buf + off, len);
|
H A D | import.c | 95 static int import_file(struct fs *fs, char *path, struct imported *out) argument 111 "out of memory\n", path); 118 WARN("importing %s: couldn't strdup path: out of memory\n", 132 f->size, EXTENT_TYPE_FILE, &out->first_cluster); 138 out->size = f->size; 139 out->dot_dot_dirent = NULL; 194 struct imported *out) 225 "out of memory\n", path); 232 WARN("importing %s: couldn't strdup path: out of memory\n", 256 "out o 193 import_dir(struct fs *fs, char *path, int is_root, struct imported *out) argument [all...] |
/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/core/libctest/ |
H A D | ctest.c | 38 FILE* out; member in struct:__anon164 52 suite->out = tmpfile(); 53 assert(suite->out != NULL); 77 rewind(suite->out); 80 while ((read = fread(buffer, sizeof(char), 512, suite->out)) > 0) { 132 fprintf(suite->out, "Process failed: [%s] status: %d\n", 134 fflush(suite->out); 154 fprintf(suite->out, "Assertion failed: [%s:%d] %s: %s\n", file, line, 156 fflush(suite->out);
|
/system/core/libcutils/ |
H A D | dir_hash.c | 130 struct list **out) { 189 for (f = *out; f != NULL; f = f->next) { 194 *out = NULL; 217 for (f = *out; f != NULL; f = f->next) { 222 *out = NULL; 232 res->next = *out; 233 *out = res; 236 if (recurse(algorithm, name, out) < 0) { 267 struct list *out = NULL; local 276 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 | 272 float out; local 280 out = strtof(value, &end);
|
/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
|
H A D | RefBase.cpp | 287 void printRefsLocked(String8* out, const ref_entry* refs) const argument 294 out->append(buf); 296 out->append(refs->stack.toString("\t\t")); 298 out->append("\t\t(call stacks disabled)"); 591 // which case weakref_impl doesn't out-live the object and we
|
/system/core/libzipfile/ |
H A D | zipfile.c | 79 uninflate(unsigned char* out, int unlen, const unsigned char* in, int clen) argument 92 zstream.next_out = (Bytef*) out;
|
/system/extras/ext4_utils/ |
H A D | ext2simg.c | 181 const char *out = NULL; local 218 out = argv[optind++]; 239 if (strcmp(out, "-")) { 240 outfd = open(out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
|
/system/core/cpio/ |
H A D | mkbootfs.c | 86 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) argument 98 fix_stat(out, s); 99 // fprintf(stderr, "_eject %s: mode=0%o\n", out, s->st_mode); 117 out, 123 if(strlen(out) != (unsigned int)olen) die("ACK!"); 148 static void _archive(char *in, char *out, int ilen, int olen); 154 static void _archive_dir(char *in, char *out, int ilen, int olen) argument 162 in, out, ilen, olen); 209 out[olen] = '/'; 210 memcpy(out 225 _archive(char *in, char *out, int ilen, int olen) argument 271 char out[8192]; local [all...] |
/system/core/fastboot/ |
H A D | usb_linux.c | 108 int in, out; local 208 out = -1; 226 out = ept->bEndpointAddress; 231 info.has_bulk_out = (out != -1); 235 *ept_out_id = out; 249 int n, in, out, ifc; local 286 &in, &out, &ifc) == 0) { 290 usb->ep_out = out;
|
/system/core/toolbox/ |
H A D | ls.c | 50 static void mode2str(unsigned 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(unsigned uid, char *out) argument 88 group2str(unsigned gid, char *out) argument [all...] |
/system/extras/libublock/ |
H A D | ublock.c | 70 void *out, size_t *out_len) 77 assert(out); 87 out_h = (struct ublock_init_out *)out; 106 void *out, size_t *out_len) 112 assert(out); 126 void *out, size_t *out_len) 134 assert(out); 141 out_h = (struct ublock_read_out *)out; 156 void *out, size_t *out_len) 164 assert(out); 68 ublock_handle_init(struct ublock_ctx *ub_ctx, const void *in, size_t in_len, void *out, size_t *out_len) argument 104 ublock_handle_ready(struct ublock_ctx *ub_ctx, const void *in, size_t in_len, void *out, size_t *out_len) argument 124 ublock_handle_read(struct ublock_ctx *ub_ctx, const void *in, size_t in_len, void *out, size_t *out_len) argument 154 ublock_handle_write(struct ublock_ctx *ub_ctx, const void *in, size_t in_len, void *out, size_t *out_len) argument 180 ublock_handle_request(struct ublock_ctx *ub_ctx, const void *in, size_t in_len, void *out, size_t *out_len) argument [all...] |
/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"); 602 void* out = NULL; local 604 int32_t ret = get(name, (uint8_t**) &out, &outSize); 609 memcpy(buf, out, outSiz 758 void* out = NULL; local 801 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...] |