/system/core/sh/ |
H A D | mystring.c | 7 * This code is derived from software contributed to Berkeley by 19 * may be used to endorse or promote products derived from this software 48 * scopy(from, to) Copy a string. 49 * scopyn(from, to, n) Like scopy, but checks for overflow. 50 * number(s) Convert a string of digits to an integer. 73 * scopyn - copy a string from "from" to "to", truncating the string 75 * truncation is performed. "Size" is the size of "to". 79 scopyn(const char *from, char *to, int size) argument 83 if ((*to [all...] |
/system/core/toolbox/cp/ |
H A D | utils.c | 16 * may be used to endorse or promote products derived from this software 97 const char *to; member in struct:finfo 108 fi->from, fi->to, written, fi->size, pcent); 131 * If the file DNE, set the mode to be the from file, minus setuid 142 (void)fprintf(stderr, "overwrite %s? ", to.p_path); 153 lstat(to.p_path, &sb) : stat(to.p_path, &sb); 155 warn("stat: %s", to.p_path); 161 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0); 163 to_fd = open(to [all...] |
H A D | cp.c | 7 * This code is derived from software contributed to Berkeley by 19 * may be used to endorse or promote products derived from this software 51 * Cp copies source files to target files. 53 * The global PATH_T structure "to" always contains the path to the 57 * The basic algorithm is to initialize "to" and use fts(3) to traverse 61 * path (relative to the root of the traversal) is appended to di 87 PATH_T to = { .p_end = to.p_path, .target_end = empty }; variable [all...] |
H A D | extern.h | 16 * may be used to endorse or promote products derived from this software 38 char *p_end; /* pointer to NULL at end of path */ 39 char *target_end; /* pointer to end of target base */ 40 char p_path[MAXPATHLEN + 1]; /* pointer to the start of a path */ 43 extern PATH_T to;
|
/system/bluetooth/brfpatch/ |
H A D | Android.mk | 3 # Utility to create Android bluetooth firmware from Texas Instruments .bts
|
/system/core/rootdir/ |
H A D | Android.mk | 15 $(transform-prebuilt-to-target) 26 $(transform-prebuilt-to-target) 33 $(transform-prebuilt-to-target)
|
/system/extras/tests/bionic/libstdc++/ |
H A D | Android.mk | 9 # Unless required by applicable law or agreed to in writing, software 16 # define the BIONIC_TESTS environment variable to build the test programs 23 # used to define a simple test program and build it as a standalone 26 # you can use EXTRA_CFLAGS to indicate additional CFLAGS to use 42 # you can use EXTRA_LDLIBS to indicate additional linker flags
|
/system/security/keystore-engine/ |
H A D | eng_keystore.cpp | 53 * on failure. This means we need to tell our scoped pointers when we've transferred ownership, 93 * Makes sure the ex_data for the keyhandle is initially set to NULL. 112 int keyhandle_dup(CRYPTO_EX_DATA* to, CRYPTO_EX_DATA*, void *ptrRef, int idx, long, void *) { argument 113 // This appears to be a bug in OpenSSL. 121 (void) CRYPTO_set_ex_data(to, idx, keyhandle_copy); 126 int keystore_rsa_priv_enc(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, argument 128 ALOGV("keystore_rsa_priv_enc(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding); 190 memcpy(to, reply, replyLen); 193 ALOGV("rsa=%p keystore_rsa_priv_enc => returning %p len %llu", rsa, to, 198 int keystore_rsa_priv_dec(int flen, const unsigned char* from, unsigned char* to, RS argument [all...] |
/system/vold/ |
H A D | vdc.c | 10 * Unless required by applicable law or agreed to in writing, software 88 printf("[Connected to Vold]\n"); 92 struct timeval to; local 95 to.tv_sec = 10; 96 to.tv_usec = 0; 101 if ((rc = select(sock +1, &read_fds, NULL, NULL, &to)) < 0) { 113 fprintf(stderr, "Lost connection to Vold - did it crash?\n");
|
/system/extras/tests/bionic/libc/ |
H A D | Android.mk | 9 # Unless required by applicable law or agreed to in writing, software 16 # define the BIONIC_TESTS environment variable to build the test programs 22 # used to define a simple test program and build it as a standalone 25 # you can use EXTRA_CFLAGS to indicate additional CFLAGS to use 44 # you can use EXTRA_LDLIBS to indicate additional linker flags 87 # _XOPEN_SOURCE=600 is needed to get pthread_mutexattr_settype() on GLibc 117 # -Wl,-u,foo is used to ensure that symbol "foo" is not 119 # appears to be unused. 172 # to buil [all...] |
/system/core/libzipfile/ |
H A D | zipfile.c | 96 // Use the undocumented "negative window bits" feature to tell zlib 132 dump_zipfile(FILE* to, zipfile_t file) argument 138 fprintf(to, "entryCount=%d\n", zip->entryCount); 140 fprintf(to, " file \""); 141 fwrite(entry->fileName, entry->fileNameLength, 1, to); 142 fprintf(to, "\"\n");
|
/system/media/camera/docs/ |
H A D | camera_metadata_tags.mako | 11 * Unless required by applicable law or agreed to in writing, software 35 * New sections must be added right before ANDROID_SECTION_COUNT to maintain 60 * before the section _END tag to preserve existing enumeration values. In 61 * addition, the name and type of the tag needs to be added to
|
/system/extras/tests/sdcard/ |
H A D | Android.mk | 9 # Unless required by applicable law or agreed to in writing, software 16 # define the BIONIC_TESTS environment variable to build the test programs
|
/system/netd/ |
H A D | ndc.c | 10 * Unless required by applicable law or agreed to in writing, software 45 // try interpreting the first arg as the socket name - if it fails go back to netd 110 printf("[Connected to Netd]\n"); 114 struct timeval to; local 117 to.tv_sec = 10; 118 to.tv_usec = 0; 123 if ((rc = select(sock +1, &read_fds, NULL, NULL, &to)) < 0) { 135 fprintf(stderr, "Lost connection to Netd - did it crash?\n");
|
/system/core/libsync/ |
H A D | sync.c | 12 * Unless required by applicable law or agreed to in writing, software 32 __s32 to = timeout; local 34 return ioctl(fd, SYNC_IOC_WAIT, &to);
|
/system/core/libmincrypt/tools/ |
H A D | Android.mk | 9 # Unless required by applicable law or agreed to in writing, software
|
/system/extras/latencytop/ |
H A D | Android.mk | 9 # Unless required by applicable law or agreed to in writing, software
|
/system/extras/libpagemap/ |
H A D | Android.mk | 9 # Unless required by applicable law or agreed to in writing, software
|
/system/extras/librank/ |
H A D | Android.mk | 9 # Unless required by applicable law or agreed to in writing, software
|
/system/extras/libublock/ |
H A D | Android.mk | 9 # Unless required by applicable law or agreed to in writing, software
|
/system/extras/procmem/ |
H A D | Android.mk | 9 # Unless required by applicable law or agreed to in writing, software
|
/system/extras/timeinfo/ |
H A D | Android.mk | 9 # Unless required by applicable law or agreed to in writing, software
|
/system/bluetooth/data/ |
H A D | auto_pairing.conf | 4 // This file contains information to prevent auto pairing with Bluetooth devices. 23 // Note the reverse logic in this case compared to other's in this file
|
/system/core/libsparse/ |
H A D | backed_block.h | 10 * Unless required by applicable law or agreed to in writing, software 61 struct backed_block_list *to, struct backed_block *start,
|
H A D | sparse.c | 10 * Unless required by applicable law or agreed to in writing, software 224 struct sparse_file *to, unsigned int len) 243 to->block_size, to->len, false, true, 0, false); 250 /* will call out_counter_write to update count */ 270 to->backed_block_list, start, last_bb); 223 move_chunks_up_to_len(struct sparse_file *from, struct sparse_file *to, unsigned int len) argument
|