/system/core/cpio/ |
H A D | mkbootfs.c | 47 // Nothing is special about this value, just picked something in the 107 static void _archive(char *in, char *out, int ilen, int olen); 113 static void _archive_dir(char *in, char *out, int ilen, int olen) argument 121 in, out, ilen, olen); 124 d = opendir(in); 125 if(d == 0) die("cannot open directory '%s'", in); 164 in[ilen] = '/'; 165 memcpy(in + ilen + 1, names[i], t + 1); 170 _archive(in, out, ilen + t + 1, olen + t + 1); 173 _archive(in, ou 184 _archive(char *in, char *out, int ilen, int olen) argument 229 char in[8192]; local [all...] |
/system/core/fastboot/ |
H A D | usb_linux.c | 5 * Redistribution and use in source and binary forms, with or without 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in 102 int in, out; local 160 in = -1; 177 in = ept->bEndpointAddress; 183 info.has_bulk_in = (in != -1); 187 *ept_in_id = in; 202 int n, in, out, ifc; local 239 &in, [all...] |
/system/core/libacc/tests/ |
H A D | main.cpp | 4 * in scripting environments where speed and memory footprint are important. 35 // This is a separate function so it can easily be set by breakpoint in gdb. 95 FILE* in = stdin; local 124 in = fopen(inFile, "r"); 125 if (!in) { 131 fseek(in, 0, SEEK_END); 132 size_t fileSize = (size_t) ftell(in); 133 rewind(in); 135 size_t bytesRead = fread(text, 1, fileSize, in);
|
/system/core/libcutils/ |
H A D | mq.c | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 120 /** Next packet in the queue. */ 167 /** Keeps track of data coming in from the remote peer. */ 194 * Used in master only. Maps this peer proxy to other peer proxies to 289 newPacket->nextPacket = NULL; // Just in case. 491 // Store the socket in the message. 629 // filled in by masterProxyExpectConnection(). These fake creds will 691 // Fill in full credentials. 943 Buffer* in local 969 Buffer* in = peerProxy->inputBuffer; local [all...] |
/system/core/libpixelflinger/ |
H A D | buffer.cpp | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 38 static uint32_t downshift_component(uint32_t in, uint32_t v, 323 uint32_t downshift_component( uint32_t in, uint32_t v, argument 365 in |= v<<dl; 370 in |= v<<shift; 376 if (shift > 0) in |= v>>shift; 377 else if (shift < 0) in |= v<<shift; 378 else in |= v; 380 return in; [all...] |
/system/core/libzipfile/ |
H A D | zipfile.c | 7 #define DEF_MEM_LEVEL 8 // normally in zutil.h? 79 uninflate(unsigned char* out, int unlen, const unsigned char* in, int clen) argument 90 zstream.next_in = (void*)in;
|
/system/core/sh/ |
H A D | expand.c | 10 * Redistribution and use in source and binary forms, with or without 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in the 81 struct ifsregion *next; /* next region in list */ 90 struct ifsregion ifsfirst; /* first struct in list of ifs regions */ 91 struct ifsregion *ifslastp; /* last struct in list */ 128 * placing the resulting list of arguments in arglist. If EXP_FULL is true, 199 case CTLENDVAR: /* end of expanding yyy in ${xxx-yyy} */ 232 * sort of a hack - expand tildes in variable 344 * evaluate, place result in (backe 411 struct backcmd in; local [all...] |
/system/core/toolbox/ |
H A D | dd.c | 11 * Redistribution and use in source and binary forms, with or without 16 * 2. Redistributions in binary form must reproduce the above copyright 17 * notice, this list of conditions and the following disclaimer in the 85 extern IO in, out; 109 IO in, out; /* input/output state */ variable 159 if (in.name == NULL) { 160 in.name = "stdin"; 161 in.fd = STDIN_FILENO; 163 in.fd = open(in [all...] |
/system/extras/ext4_utils/ |
H A D | simg2img.c | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 52 int process_raw_chunk(FILE *in, FILE *out, u32 blocks, u32 blk_sz, u32 *crc32) argument 59 if (fread(copybuf, chunk, 1, in) != 1) { 107 FILE *in, *out; local 124 if ((in = fopen(argv[1], "rb")) == 0) { 134 if (fread(&sparse_header, sizeof(sparse_header), 1, in) != 1) { 150 /* Skip the remaining bytes in a header that is longer than 153 fseek(in, sparse_header.file_hdr_sz - SPARSE_HEADER_LEN, SEEK_CUR); 162 if (fread(&chunk_header, sizeof(chunk_header), 1, in) ! [all...] |
/system/extras/tests/bionic/libc/other/ |
H A D | test_zlib.c | 5 * Redistribution and use in source and binary forms, with or without 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in 50 unsigned char in[CHUNK]; local 63 strm.avail_in = fread(in, 1, CHUNK, source); 69 strm.next_in = in; 72 compression if all of source has been read in */ 84 /* done when last data in file processed */ 98 static unsigned char in[CHUNK]; local 113 strm.avail_in = fread(in, [all...] |