Searched refs:to (Results 1 - 25 of 42) sorted by relevance

12

/system/core/sh/
H A Dmystring.c7 * 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 Dutils.c16 * 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 Dcp.c7 * 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 Dextern.h16 * 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/core/rootdir/
H A DAndroid.mk22 # the /system/etc/init.goldfish.sh is needed to enable emulator support
25 # to run the dex pre-optimization *in* the emulator. So keep the file until
35 $(transform-prebuilt-to-target)
46 $(transform-prebuilt-to-target)
53 $(transform-prebuilt-to-target)
60 # to allow -user builds to properly run the dex pre-optimization pass in
64 $(transform-prebuilt-to-target)
70 $(transform-prebuilt-to-target)
/system/bluetooth/brfpatch/
H A DAndroid.mk3 # Utility to create Android bluetooth firmware from Texas Instruments .bts
/system/core/rootdir/etc/
H A Ddbus.conf11 <!-- Only listen on a local socket. (abstract=/path/to/socket
/system/extras/tests/bionic/libstdc++/
H A DAndroid.mk9 # 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/vold/
H A Dvdc.c10 * 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 DAndroid.mk9 # 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.
169 # to buil
[all...]
/system/core/libzipfile/
H A Dzipfile.c96 // 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/extras/tests/sdcard/
H A DAndroid.mk9 # 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 Dndc.c10 * 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 Dsync.c12 * 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/security/keystore-engine/
H A Deng_keystore.cpp52 * on failure. This means we need to tell our scoped pointers when we've transferred ownership,
92 * Makes sure the ex_data for the keyhandle is initially set to NULL.
111 int keyhandle_dup(CRYPTO_EX_DATA* to, CRYPTO_EX_DATA*, void *ptrRef, int idx, long, void *) { argument
112 // This appears to be a bug in OpenSSL.
120 (void) CRYPTO_set_ex_data(to, idx, keyhandle_copy);
125 int keystore_rsa_priv_enc(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, argument
127 ALOGV("keystore_rsa_sign(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding);
177 memcpy(to, reply.get(), replyLen);
179 ALOGV("rsa=%p keystore_rsa_sign => returning %p len %llu", rsa, to,
248 * ENGINE_finish(), so we need to cal
[all...]
/system/core/libmincrypt/tools/
H A DAndroid.mk9 # Unless required by applicable law or agreed to in writing, software
/system/extras/latencytop/
H A DAndroid.mk9 # Unless required by applicable law or agreed to in writing, software
/system/extras/libpagemap/
H A DAndroid.mk9 # Unless required by applicable law or agreed to in writing, software
/system/extras/librank/
H A DAndroid.mk9 # Unless required by applicable law or agreed to in writing, software
/system/extras/libublock/
H A DAndroid.mk9 # Unless required by applicable law or agreed to in writing, software
/system/extras/procmem/
H A DAndroid.mk9 # Unless required by applicable law or agreed to in writing, software
/system/extras/timeinfo/
H A DAndroid.mk9 # Unless required by applicable law or agreed to in writing, software
/system/bluetooth/data/
H A Dauto_pairing.conf4 // 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 Dbacked_block.h10 * Unless required by applicable law or agreed to in writing, software
61 struct backed_block_list *to, struct backed_block *start,
H A Dsparse.c10 * 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

Completed in 3355 milliseconds

12