Searched defs:copy (Results 1 - 4 of 4) sorted by last modified time

/system/core/libcutils/
H A Dmq.c6 * You may obtain a copy of the License at
1143 Buffer* copy = bufferCreate(size); local
1144 if (copy == NULL) {
1151 memcpy(copy->data, bytes, size);
1152 copy->size = size;
1154 packet->bytes = copy;
H A Dprocess_name.c6 * You may obtain a copy of the License at
44 char* copy = (char*) malloc(len + 1); local
45 strcpy(copy, new_name);
46 process_name = (const char*) copy;
/system/core/toolbox/cp/
H A Dcp.c96 static int copy(char *[], enum op, int);
235 * In (1), the target becomes a copy of the source. That is, if the
303 exit(copy(argv, type, fts_options));
328 copy(char *argv[], enum op type, int fts_options) function
/system/core/toolbox/
H A Ddynarray.c71 char *copy = malloc(slen+1); local
72 memcpy(copy, str, slen);
73 copy[slen] = '\0';
74 dynarray_append(list, copy);

Completed in 136 milliseconds