Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 65) sorted by relevance

123

/device/google/contexthub/firmware/os/core/
DosApi.c36 static void osExpApiEvtqSubscribe(uintptr_t *retValP, va_list args) in osExpApiEvtqSubscribe() argument
38 (void)va_arg(args, uint32_t); // tid in osExpApiEvtqSubscribe()
39 uint32_t evtType = va_arg(args, uint32_t); in osExpApiEvtqSubscribe()
44 static void osExpApiEvtqUnsubscribe(uintptr_t *retValP, va_list args) in osExpApiEvtqUnsubscribe() argument
46 (void)va_arg(args, uint32_t); // tid in osExpApiEvtqUnsubscribe()
47 uint32_t evtType = va_arg(args, uint32_t); in osExpApiEvtqUnsubscribe()
52 static void osExpApiEvtqEnqueue(uintptr_t *retValP, va_list args) in osExpApiEvtqEnqueue() argument
54 uint32_t evtType = va_arg(args, uint32_t); in osExpApiEvtqEnqueue()
55 void *evtData = va_arg(args, void*); in osExpApiEvtqEnqueue()
56 uint32_t tid = va_arg(args, uint32_t); in osExpApiEvtqEnqueue()
[all …]
Dnanohub_chre.c62 static void osChreApiGetAppId(uintptr_t *retValP, va_list args) in osChreApiGetAppId() argument
64 uint64_t *appId = va_arg(args, uint64_t *); in osChreApiGetAppId()
69 static void osChreApiGetInstanceId(uintptr_t *retValP, va_list args) in osChreApiGetInstanceId() argument
74 static void osChreApiLogLogv(uintptr_t *retValP, va_list args) in osChreApiLogLogv() argument
77 enum chreLogLevel level = va_arg(args, int /* enums promoted to ints in va_args in C */); in osChreApiLogLogv()
80 const char *str = va_arg(args, const char*); in osChreApiLogLogv()
81 uintptr_t inner = va_arg(args, uintptr_t); in osChreApiLogLogv()
88 static void osChreApiLogLogvOld(uintptr_t *retValP, va_list args) in osChreApiLogLogvOld() argument
91 enum chreLogLevel level = va_arg(args, int /* enums promoted to ints in va_args in C */); in osChreApiLogLogvOld()
94 const char *str = va_arg(args, const char*); in osChreApiLogLogvOld()
[all …]
/device/google/cuttlefish/tools/
Dupload_to_gce_and_run.py11 def gcloud_ssh(args): argument
12 command = 'gcloud compute ssh %s@%s ' % (args.user, args.instance)
13 if args.zone:
14 command += '--zone=%s ' % args.zone
18 def upload_artifacts(args): argument
21 os.chdir(args.image_dir)
24 raise OSError('No images found in: %s' + args.image_dir)
28 gcloud_ssh(args) + '-- tar -x -f - --lzop -S',
33 host_package = os.path.join(args.host_dir, 'cvd-host_package.tar.gz')
35 gcloud_ssh(args) + '-- tar -x -z -f - < %s' % host_package,
[all …]
Dupload_via_ssh.py11 def upload_artifacts(args): argument
14 os.chdir(args.image_dir)
17 raise OSError('File not found: ' + args.image_dir + '/*.img')
21 args.user,
22 args.ip),
27 host_package = os.path.join(args.host_dir, 'cvd-host_package.tar.gz')
31 args.user,
32 args.ip,
37 def launch_cvd(args): argument
40 args.user,
[all …]
Dtombstone_to_line.py44 def lookup_addr(args, object_path, address): argument
48 parms = [args.addr2line, '-e',
49 os.path.join(args.symbols, object_path), address]
81 def process(in_file, out_file, args): argument
91 info = lookup_addr(args, groups.group(p[2]), groups.group(p[3]))
95 if args.source:
101 def process_file(path, args): argument
102 with open(path + args.suffix, 'w') as out_file:
104 process(in_file, out_file, args)
127 def process_all(args): argument
[all …]
/device/google/contexthub/util/nanotool/
Dnanotool.cpp162 static bool ValidateArgs(std::unique_ptr<ParsedArgs>& args, const char *name) { in ValidateArgs() argument
163 if (!args->sensors.size() in ValidateArgs()
164 && (args->command == NanotoolCommand::Disable in ValidateArgs()
165 || args->command == NanotoolCommand::Calibrate in ValidateArgs()
166 || args->command == NanotoolCommand::Test in ValidateArgs()
167 || args->command == NanotoolCommand::Poll)) { in ValidateArgs()
174 if (args->command == NanotoolCommand::Flash in ValidateArgs()
175 && args->filename.empty()) { in ValidateArgs()
182 if (args->command == NanotoolCommand::Poll) { in ValidateArgs()
183 for (unsigned int i = 0; i < args->sensors.size(); i++) { in ValidateArgs()
[all …]
/device/generic/goldfish-opengl/android-emu/android/utils/
Ddebug.c29 va_list args; in dprint() local
30 va_start( args, format ); in dprint()
32 vfprintf( stdout, format, args ); in dprint()
34 va_end( args ); in dprint()
41 va_list args; in dprintn() local
42 va_start( args, format ); in dprintn()
43 vfprintf( stdout, format, args ); in dprintn()
44 va_end( args ); in dprintn()
48 dprintnv( const char* format, va_list args ) in dprintnv() argument
50 vfprintf( stdout, format, args ); in dprintnv()
[all …]
/device/linaro/hikey/installer/hikey960/
Dmkdtimg85 def write_head_info(head_info, args): argument
86 args.output.write(pack(dt_head_info_fmt,
91 def write_dtb_entry_t(dt_entry, args): argument
92 args.output.write(pack(dt_entry_fmt,
101 def write_padding(args, padding): argument
103 args.output.write('\x00')
105 def write_dtb(args): argument
106 dtb_file = args.dtb
108 if args.compress == True:
114 padding = align_page_size(dtb_offset, args.pagesize)
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/
DStringFormat.cpp23 va_list args; in StringFormatRaw() local
24 va_start(args, format); in StringFormatRaw()
25 auto result = StringFormatWithArgs(format, args); in StringFormatRaw()
26 va_end(args); in StringFormatRaw()
30 std::string StringFormatWithArgs(const char* format, va_list args) { in StringFormatWithArgs() argument
32 StringAppendFormatWithArgs(&result, format, args); in StringFormatWithArgs()
37 va_list args; in StringAppendFormatRaw() local
38 va_start(args, format); in StringAppendFormatRaw()
39 StringAppendFormatWithArgs(string, format, args); in StringAppendFormatRaw()
40 va_end(args); in StringAppendFormatRaw()
[all …]
DStringFormat.h34 std::string StringFormatWithArgs(const char* format, va_list args);
46 va_list args);
70 std::string StringFormat(const char* format, Args&&... args) { in StringFormat() argument
71 return StringFormatRaw(format, unpackFormatArg(std::forward<Args>(args))...); in StringFormat()
77 Args&&... args) { in StringAppendFormat()
79 unpackFormatArg(std::forward<Args>(args))...); in StringAppendFormat()
/device/generic/goldfish-opengl/system/egl/
DClientAPIExts.cpp31 #define API_ENTRY(fname,params,args) \ argument
34 #define API_ENTRY_RET(rtype,fname,params,args) \ argument
47 #define API_ENTRY(fname,params,args) \ argument
50 #define API_ENTRY_RET(rtype,fname,params,args) \ argument
51 API_ENTRY(fname,params,args)
67 #define API_ENTRY(fname,params,args) \ in initClientFuncs() argument
71 #define API_ENTRY_RET(rtype,fname,params,args) \ in initClientFuncs() argument
72 API_ENTRY(fname,params,args) in initClientFuncs()
93 #define API_ENTRY(fname,params,args) \ argument
105 (*s_client_extensions[idx].fname) args; /* NOLINT */ \
[all …]
/device/google/contexthub/util/
Dnanoapp_prepare.sh35 args=( $@ )
41 if [[ ${args[0]} = "-e" ]]
47 encr_key_num=${args[1]}
48 encr_key_file=${args[2]}
49 args=("${args[@]:3}")
63 if [[ ${args[0]} = "-s" ]]
69 priv1=${args[1]}
70 pub1=${args[2]}
/device/linaro/hikey/gralloc/
Dalloc_device.h22 #define AWAR(fmt, args...) __android_log_print(ANDROID_LOG_WARN, "[Gralloc-Warning]", "%s:%d " fmt,… argument
25 #define AINF(fmt, args...) __android_log_print(ANDROID_LOG_INFO, "[Gralloc]", fmt,##args) argument
28 #define AERR(fmt, args...) __android_log_print(ANDROID_LOG_ERROR, "[Gralloc-ERROR]", "%s:%d " fmt,_… argument
31 #define AERR_IF( eq, fmt, args...) if ( (eq) ) AERR( fmt, args ) argument
/device/linaro/hikey/gralloc960/
Dgralloc_helper.h26 #define AWAR(fmt, args...) \ argument
27 …_android_log_print(ANDROID_LOG_WARN, "[Gralloc-Warning]", "%s:%d " fmt, __func__, __LINE__, ##args)
30 #define AINF(fmt, args...) __android_log_print(ANDROID_LOG_INFO, "[Gralloc]", fmt, ##args) argument
33 #define AERR(fmt, args...) \ argument
34 __android_log_print(ANDROID_LOG_ERROR, "[Gralloc-ERROR]", "%s:%d " fmt, __func__, __LINE__, ##args)
37 #define AERR_IF(eq, fmt, args...) \ argument
39 AERR(fmt, args)
/device/amlogic/yukawa/hal/gralloc/
Dgralloc_helper.h26 #define AWAR(fmt, args...) \ argument
27 …_android_log_print(ANDROID_LOG_WARN, "[Gralloc-Warning]", "%s:%d " fmt, __func__, __LINE__, ##args)
30 #define AINF(fmt, args...) __android_log_print(ANDROID_LOG_INFO, "[Gralloc]", fmt, ##args) argument
33 #define AERR(fmt, args...) \ argument
34 __android_log_print(ANDROID_LOG_ERROR, "[Gralloc-ERROR]", "%s:%d " fmt, __func__, __LINE__, ##args)
37 #define AERR_IF(eq, fmt, args...) \ argument
39 AERR(fmt, args)
/device/generic/goldfish-opengl/fuchsia/
Dreleasepackage.py21 args = parser.parse_args() variable
30 if args.release_dir:
31 release_dir = os.path.abspath(args.release_dir)
39 if args.arch:
40 arch = args.arch
60 if args.ignore_branch:
73 if args.ignore_rebuild:
84 if args.ignore_buildtype:
131 if not args.dry_run:
139 if not args.dry_run:
Dfuchsia_stdio.cc23 va_list args; in printf() local
24 va_start(args, format); in printf()
25 vfprintf(stdout, format, args); in printf()
26 va_end(args); in printf()
40 va_list args; in fprintf() local
41 va_start(args, format); in fprintf()
42 vfprintf(stream, format, args); in fprintf()
43 va_end(args); in fprintf()
/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp153 res->args.handle, res->args.width, res->args.height, res->args.format, in dump_global_state()
155 res->args.target, res->args.bind, res->args.depth, res->args.array_size, in dump_global_state()
156 res->args.last_level, res->args.nr_samples, res->args.flags); in dump_global_state()
175 printf(" Resource %u\n", res->args.handle); in dump_global_state()
182 switch (res->args.format) { in sync_linear_to_iovec()
194 if (box->x > res->args.width || box->y > res->args.height) in sync_linear_to_iovec()
198 uint32_t w = std::min(box->w, res->args.width - box->x); in sync_linear_to_iovec()
199 uint32_t h = std::min(box->h, res->args.height - box->y); in sync_linear_to_iovec()
200 uint32_t stride = ALIGN(res->args.width * bpp, 16U); in sync_linear_to_iovec()
226 switch (res->args.format) { in sync_iovec_to_linear()
[all …]
Dgen_entries.py305 args = parser.parse_args() variable
307 if not args.mode:
311 if args.output:
312 sys.stdout = open(args.output, "w+")
314 if args.file == '--':
315 parse_file("<stdin>", sys.stdin, args.mode)
317 parse_file(args.file, open(args.file), args.mode)
/device/generic/goldfish-opengl/
Dcmake_transform.py39 def __init__(self, *args, **kwargs): argument
40 super(AttrDict, self).__init__(*args, **kwargs)
146 args = parser.parse_args()
148 logging.basicConfig(level=args.loglevel)
150 with open(args.input) as data_file:
156 if (args.output is not None):
157 with open(args.output, 'w') as out_file:
164 root = os.path.join(args.outdir, 'CMakeLists.txt')
165 mkfile = os.path.join(args.outdir, 'Android.mk')
174 location = os.path.join(args.outdir, module['path'], 'CMakeLists.txt')
/device/linaro/hikey/hifi/xaf/host-apf/proxy/
Dxf-trace.c63 va_list args; in xf_trace() local
74 va_start(args, format); in xf_trace()
75 b += vsprintf(b, format, args); in xf_trace()
76 va_end(args); in xf_trace()
/device/generic/goldfish/dhcp/common/include/
Dresult.h34 va_list args; in error() local
35 va_start(args, format); in error()
36 vsnprintf(buffer, sizeof(buffer), format, args); in error()
37 va_end(args); in error()
/device/generic/goldfish/network/netmgr/
Dresult.h34 va_list args; in error() local
35 va_start(args, format); in error()
36 vsnprintf(buffer, sizeof(buffer), format, args); in error()
37 va_end(args); in error()
/device/generic/goldfish/network/wifi_forwarder/
Dresult.h34 va_list args; in error() local
35 va_start(args, format); in error()
36 vsnprintf(buffer, sizeof(buffer), format, args); in error()
37 va_end(args); in error()
/device/generic/goldfish/network/netmgr/commands/
Dwifi_command.h34 Result onCommand(const char* command, const char* args) override;
40 Result onAdd(const std::vector<std::string>& args);
41 Result onBlock(const std::vector<std::string>& args);
42 Result onUnblock(const std::vector<std::string>& args);

123