Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 61) sorted by relevance

123

/system/core/toolbox/
Dmv.c32 const char *source = argv[i]; in mv_main() local
35 if (strlen(dest) + 1 + strlen(source) + 1 > sizeof(fullDest)) { in mv_main()
43 const char *fileName = strrchr(source, '/'); in mv_main()
47 strcat(fullDest, fileName ? fileName + 1 : source); in mv_main()
51 if (rename(source, fullDest)) { in mv_main()
52 fprintf(stderr, "failed on '%s' - %s\n", source, strerror(errno)); in mv_main()
DNOTICE5 Redistribution and use in source and binary forms, with or without
8 * Redistributions of source code must retain the above copyright
36 Redistribution and use in source and binary forms, with or without
39 * Redistributions of source code must retain the above copyright
67 Redistribution and use in source and binary forms, with or without
70 * Redistributions of source code must retain the above copyright
107 Redistribution and use in source and binary forms, with or without
110 1. Redistributions of source code must retain the above copyright
138 Redistribution and use in source and binary forms, with or without
141 1. Redistributions of source code must retain the above copyright
[all …]
/system/extras/tests/bionic/libc/other/
Dtest_zlib.c45 int def(FILE *source, FILE *dest, int level) in def() argument
63 strm.avail_in = fread(in, 1, CHUNK, source); in def()
64 if (ferror(source)) { in def()
68 flush = feof(source) ? Z_FINISH : Z_NO_FLUSH; in def()
93 int inf(FILE *source) in inf() argument
113 strm.avail_in = fread(in, 1, CHUNK, source); in inf()
114 if (ferror(source)) { in inf()
/system/core/libcutils/
Dpartition_utils.c39 int partition_wiped(char *source) in partition_wiped() argument
44 if ((fd = open(source, O_RDONLY)) < 0) { in partition_wiped()
/system/core/include/cutils/
Dpartition_utils.h22 int partition_wiped(char *source);
/system/core/init/
Dbuiltins.c365 char *source, *target, *system; in do_mount() local
389 source = args[2]; in do_mount()
392 if (!strncmp(source, "mtd@", 4)) { in do_mount()
393 n = mtd_name_to_number(source + 4); in do_mount()
407 } else if (!strncmp(source, "loop@", 5)) { in do_mount()
412 fd = open(source + 5, mode); in do_mount()
449 wait_for_file(source, COMMAND_RETRY_TIMEOUT); in do_mount()
450 if (mount(source, target, system, flags, options) < 0) { in do_mount()
DREADME.BOOTCHART45 3/ in the source directory, type 'ant' to build the bootchart program
/system/core/fastbootd/
Dusb_linux_client.c77 struct usb_endpoint_descriptor_no_audio source; member
98 .source = {
99 .bLength = sizeof(descriptors.fs_descs.source),
124 .source = {
125 .bLength = sizeof(descriptors.hs_descs.source),
/system/core/libmincrypt/
DNOTICE3 Redistribution and use in source and binary forms, with or without
5 * Redistributions of source code must retain the above copyright
/system/core/adb/
Dusb_linux_client.c62 struct usb_endpoint_descriptor_no_audio source; member
83 .source = {
84 .bLength = sizeof(descriptors.fs_descs.source),
109 .source = {
110 .bLength = sizeof(descriptors.hs_descs.source),
/system/media/audio_route/
DNOTICE3 Redistribution and use in source and binary forms, with or without
5 * Redistributions of source code must retain the above copyright
/system/core/liblinenoise/
DNOTICE4 Redistribution and use in source and binary forms, with or without
7 * Redistributions of source code must retain the above copyright notice,
/system/core/sh/
DNOTICE7 Redistribution and use in source and binary forms, with or without
10 1. Redistributions of source code must retain the above copyright
Darith_lex.c1057 register char *source = (yytext_ptr); in yy_get_next_buffer() local
1090 *(dest++) = *(source++); in yy_get_next_buffer()
1250 register char *source = in yyunput() local
1253 while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) in yyunput()
1254 *--dest = *--source; in yyunput()
1256 yy_cp += (int) (dest - source); in yyunput()
1257 yy_bp += (int) (dest - source); in yyunput()
Dnodes.c.pat10 * Redistribution and use in source and binary forms, with or without
13 * 1. Redistributions of source code must retain the above copyright
Dnodetypes8 # Redistribution and use in source and binary forms, with or without
11 # 1. Redistributions of source code must retain the above copyright
/system/core/sh/funcs/
Dsuspend8 # Redistribution and use in source and binary forms, with or without
11 # 1. Redistributions of source code must retain the above copyright
Dnewgrp8 # Redistribution and use in source and binary forms, with or without
11 # 1. Redistributions of source code must retain the above copyright
Dlogin8 # Redistribution and use in source and binary forms, with or without
11 # 1. Redistributions of source code must retain the above copyright
Dcmv8 # Redistribution and use in source and binary forms, with or without
11 # 1. Redistributions of source code must retain the above copyright
Dkill8 # Redistribution and use in source and binary forms, with or without
11 # 1. Redistributions of source code must retain the above copyright
Ddirs8 # Redistribution and use in source and binary forms, with or without
11 # 1. Redistributions of source code must retain the above copyright
Dpopd8 # Redistribution and use in source and binary forms, with or without
11 # 1. Redistributions of source code must retain the above copyright
Dpushd8 # Redistribution and use in source and binary forms, with or without
11 # 1. Redistributions of source code must retain the above copyright
/system/core/fs_mgr/
Dfs_mgr.c540 static int __mount(const char *source, const char *target, in __mount() argument
544 int ret = mount(source, target, filesystemtype, mountflags, data); in __mount()
547 fs_set_blk_ro(source); in __mount()

123