Searched defs:source (Results 1 - 7 of 7) sorted by relevance

/system/core/libcutils/
H A Dpartition_utils.c39 int partition_wiped(char *source) argument
44 if ((fd = open(source, O_RDONLY)) < 0) {
/system/core/toolbox/
H A Dmv.c16 fprintf(stderr,"USAGE: %s <source...> <destination>\n", argv[0]);
32 const char *source = argv[i]; local
34 /* assume we build "dest/source", and let rename() fail on pathsize */
35 if (strlen(dest) + 1 + strlen(source) + 1 > sizeof(fullDest)) {
41 /* if destination is a directory, concat the source file name */
43 const char *fileName = strrchr(source, '/');
47 strcat(fullDest, fileName ? fileName + 1 : source);
51 if (rename(source, fullDest)) {
52 fprintf(stderr, "failed on '%s' - %s\n", source, strerror(errno));
/system/extras/tests/bionic/libc/other/
H A Dtest_zlib.c5 * Redistribution and use in source and binary forms, with or without
8 * * Redistributions of source code must retain the above copyright
45 int def(FILE *source, FILE *dest, int level) argument
63 strm.avail_in = fread(in, 1, CHUNK, source);
64 if (ferror(source)) {
68 flush = feof(source) ? Z_FINISH : Z_NO_FLUSH;
72 compression if all of source has been read in */
93 int inf(FILE *source) argument
113 strm.avail_in = fread(in, 1, CHUNK, source);
114 if (ferror(source)) {
[all...]
/system/core/adb/
H A Dusb_linux_client.c54 int bulk_out; /* "out" from the host's perspective => source for adbd */
62 struct usb_endpoint_descriptor_no_audio source; member in struct:__anon285::__anon286
83 .source = {
84 .bLength = sizeof(descriptors.fs_descs.source),
109 .source = {
110 .bLength = sizeof(descriptors.hs_descs.source),
420 D("[ kick: source (fd=%d) clear halt failed (%d) ]", h->bulk_in, errno);
/system/core/init/
H A Dbuiltins.c364 char *source, *target, *system; local
388 source = args[2];
391 if (!strncmp(source, "mtd@", 4)) {
392 n = mtd_name_to_number(source + 4);
406 } else if (!strncmp(source, "loop@", 5)) {
411 fd = open(source + 5, mode);
448 wait_for_file(source, COMMAND_RETRY_TIMEOUT);
449 if (mount(source, target, system, flags, options) < 0) {
/system/core/libpixelflinger/codeflinger/
H A DMIPSAssembler.cpp377 int ArmToMipsAssembler::dataProcAdrModes(int op, int& source, bool _signed, int tmpReg) argument
380 source = op;
389 source = tmpReg;
392 source = amode.value;
407 source = tmpReg;
1086 // the 16 bits may be in the top or bottom half of 32-bit source reg,
1145 // the 16 bits may be in the top or bottom half of 32-bit source reg,
/system/core/sh/
H A Darith_lex.c204 /* Whether this is an "interactive" input source; if so, and
231 * shouldn't try reading from the input source any more. We might
479 * Redistribution and use in source and binary forms, with or without
482 * 1. Redistributions of source code must retain the above copyright
929 /* We're scanning a new file or input source. It's
931 * just pointed yyin at a new source and called
936 * back-up) that will match for the new input source.
1057 register char *source = (yytext_ptr); local
1090 *(dest++) = *(source++);
1250 register char *source local
[all...]

Completed in 173 milliseconds