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

/system/core/libcutils/
H A Dpartition_utils.c40 int partition_wiped(char *source) argument
45 if ((fd = open(source, O_RDONLY)) < 0) {
/system/core/toolbox/upstream-netbsd/bin/ln/
H A Dln.c7 * Redistribution and use in source and binary forms, with or without
10 * 1. Redistributions of source code must retain the above copyright
124 case 2: /* ln target source */
153 linkit(const char *target, const char *source, int isdir) argument
168 /* If the source is a directory (and not a symlink if hflag),
171 (!lstat(source, &sb) && S_ISDIR(sb.st_mode)) ||
172 (!hflag && !stat(source, &sb) && S_ISDIR(sb.st_mode))) {
177 (void)snprintf(path, sizeof(path), "%s/%s", source, p);
178 source = path;
181 exists = !lstat(source,
[all...]
/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:__anon16::__anon17
83 .source = {
84 .bLength = sizeof(descriptors.fs_descs.source),
109 .source = {
110 .bLength = sizeof(descriptors.hs_descs.source),
422 D("[ kick: source (fd=%d) clear halt failed (%d) ]", h->bulk_in, errno);
/system/core/fastbootd/
H A Dusb_linux_client.c64 int bulk_out; /* "out" from the host's perspective => source for fastbootd */
76 struct usb_endpoint_descriptor_no_audio source; member in struct:__anon24::__anon25
97 .source = {
98 .bLength = sizeof(descriptors.fs_descs.source),
123 .source = {
124 .bLength = sizeof(descriptors.hs_descs.source),
254 D(WARN, "[ kick: source (fd=%d) clear halt failed (%d) ]", usb_transport->bulk_in, errno);
/system/core/fs_mgr/
H A Dfs_mgr.c196 static int __mount(const char *source, const char *target, const struct fstab_rec *rec) argument
210 ret = mount(source, target, rec->fs_type, mountflags, rec->fs_options);
212 INFO("%s(source=%s,target=%s,type=%s)=%d\n", __func__, source, target, rec->fs_type, ret);
214 fs_set_blk_ro(source);
/system/core/init/
H A Dbuiltins.c380 char *source, *target, *system; local
404 source = args[2];
407 if (!strncmp(source, "mtd@", 4)) {
408 n = mtd_name_to_number(source + 4);
422 } else if (!strncmp(source, "loop@", 5)) {
427 fd = open(source + 5, mode);
464 wait_for_file(source, COMMAND_RETRY_TIMEOUT);
465 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/include/system/
H A Daudio.h140 /* play the mix captured by this audio source. */
144 AUDIO_SOURCE_HOTWORD = 1999, /* A low-priority, preemptible audio source for
156 audio_source_t source; member in struct:__anon71
711 AUDIO_OUTPUT_FLAG_HW_AV_SYNC = 0x40 // output uses a hardware A/V synchronization source
722 AUDIO_INPUT_FLAG_HW_HOTWORD = 0x2, // prefer an input that captures from hw hotword source
848 /* Types defined here are used to describe an audio source or sink at internal
854 /* Audio port role: either source or sink */
895 audio_source_t source; member in union:audio_port_config_mix_ext::__anon90
919 audio_port_role_t role; /* sink or source */
972 audio_port_role_t role; /* sink or source */
[all...]

Completed in 254 milliseconds