Searched refs:source (Results 1 - 13 of 13) sorted by relevance

/system/core/include/cutils/
H A Dpartition_utils.h22 int partition_wiped(char *source);
/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));
H A DAndroid.mk112 $(transform-generated-source)
/system/core/libcutils/
H A Dpartition_utils.c39 int partition_wiped(char *source) argument
44 if ((fd = open(source, O_RDONLY)) < 0) {
/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/fastbootd/
H A Dusb_linux_client.c65 int bulk_out; /* "out" from the host's perspective => source for fastbootd */
77 struct usb_endpoint_descriptor_no_audio source; member in struct:__anon26::__anon27
98 .source = {
99 .bLength = sizeof(descriptors.fs_descs.source),
124 .source = {
125 .bLength = sizeof(descriptors.hs_descs.source),
299 D(WARN, "[ kick: source (fd=%d) clear halt failed (%d) ]", usb_transport->bulk_in, errno);
/system/core/init/
H A Dbuiltins.c365 char *source, *target, *system; local
389 source = args[2];
392 if (!strncmp(source, "mtd@", 4)) {
393 n = mtd_name_to_number(source + 4);
407 } else if (!strncmp(source, "loop@", 5)) {
412 fd = open(source + 5, mode);
449 wait_for_file(source, COMMAND_RETRY_TIMEOUT);
450 if (mount(source, target, system, flags, options) < 0) {
/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:__anon17::__anon18
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/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...]
/system/core/fs_mgr/
H A Dfs_mgr.c378 ERROR("Error parsing mount source\n");
540 static int __mount(const char *source, const char *target, argument
544 int ret = mount(source, target, filesystemtype, mountflags, data);
547 fs_set_blk_ro(source);
/system/core/libnetutils/
H A Dpacket.c113 udp.source = htons(sport);
/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,
H A DMIPSAssembler.h183 int dataProcAdrModes(int op, int& source, bool sign = false, int reg_tmp = 1);

Completed in 220 milliseconds