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

123

/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/security/keystore-engine/
H A Drsa_meth.cpp44 int keystore_rsa_priv_enc(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, argument
46 ALOGV("keystore_rsa_priv_enc(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding);
108 memcpy(to, reply, replyLen);
111 ALOGV("rsa=%p keystore_rsa_priv_enc => returning %p len %llu", rsa, to,
116 int keystore_rsa_priv_dec(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, argument
118 ALOGV("keystore_rsa_priv_dec(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding);
164 outSize = RSA_padding_check_PKCS1_type_2(to, num, alignedReply, replyLen, num);
167 outSize = RSA_padding_check_X931(to, num, alignedReply, replyLen, num);
170 outSize = RSA_padding_check_none(to, num, alignedReply, replyLen, num);
180 ALOGV("rsa=%p keystore_rsa_priv_dec => returning %p len %llu", rsa, to, outSiz
[all...]
H A Dkeyhandle.cpp29 * Makes sure the ex_data for the keyhandle is initially set to NULL.
48 int keyhandle_dup(CRYPTO_EX_DATA* to, CRYPTO_EX_DATA*, void *ptrRef, int idx, long, void *) { argument
49 // This appears to be a bug in OpenSSL.
57 (void) CRYPTO_set_ex_data(to, idx, keyhandle_copy);
H A Dmethods.h57 int keyhandle_dup(CRYPTO_EX_DATA* to, CRYPTO_EX_DATA*, void *ptrRef, int idx, long, void *);
/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.
172 # 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
121 printf("[Connected to Netd]\n");
125 struct timeval to; local
128 to.tv_sec = 10;
129 to.tv_usec = 0;
134 if ((rc = select(sock +1, &read_fds, NULL, NULL, &to)) < 0) {
148 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/media/camera/docs/
H A Dcamera_metadata_tags.mako11 * Unless required by applicable law or agreed to in writing, software
47 * New sections must be added right before ANDROID_SECTION_COUNT to maintain
72 * before the section _END tag to preserve existing enumeration values. In
73 * addition, the name and type of the tag needs to be added to
/system/core/libmincrypt/tools/
H A DAndroid.mk9 # Unless required by applicable law or agreed to in writing, software
/system/extras/kexec_tools/
H A DAndroid.mk9 # Unless required by applicable law or agreed to in writing, software
/system/extras/ksmutils/
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/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,

Completed in 260 milliseconds

123