Searched refs:arg (Results 201 - 225 of 3333) sorted by relevance

1234567891011>>

/external/libunwind/src/dwarf/
H A DGpe.c35 unw_word_t *valp, void *arg)
38 pi, valp, arg);
32 dwarf_read_encoded_pointer(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unsigned char encoding, const unw_proc_info_t *pi, unw_word_t *valp, void *arg) argument
/external/libunwind/src/ptrace/
H A D_UPT_resume.c29 _UPT_resume (unw_addr_space_t as, unw_cursor_t *c, void *arg) argument
31 struct UPT_info *ui = arg;
/external/ppp/pppd/plugins/rp-pppoe/
H A Dcommon.c171 void (*printer)(void *, char *, ...), void *arg)
178 printer(arg, "PPPOE Discovery V%dT%d ", PPPOE_VER(packet->vertype),
182 printer(arg, "PADI");
185 printer(arg, "PADO");
188 printer(arg, "PADR");
191 printer(arg, "PADS");
194 printer(arg, "PADT");
197 printer(arg, "unknown code %x", packet->code);
199 printer(arg, " session 0x%x length %d\n", ntohs(packet->session), len);
202 printer(arg, "PPPO
170 pppoe_printpkt(PPPoEPacket *packet, void (*printer)(void *, char *, ...), void *arg) argument
[all...]
/external/syslinux/com32/modules/
H A Difplop.c145 int arg = 0; local
148 arg++;
149 args[0] = &argv[arg];
151 while (arg < argc) {
152 if (!strcmp(argv[arg], "--")) {
153 argv[arg] = NULL;
154 args[1] = &argv[arg + 1];
157 arg++;
/external/valgrind/none/tests/solaris/
H A Dcoredump_many_threads.c17 static void *thread_func2(void *arg) { argument
23 static void *thread_func3(void *arg) { argument
29 static void *thread_func4(void *arg) { argument
35 static void *thread_func5(void *arg) { argument
44 static void *thread_func6(void *arg) { argument
50 static void *thread_func7(void *arg) { argument
56 static void *thread_func8(void *arg) { argument
62 static void *thread_func9(void *arg) { argument
/external/bison/lib/
H A Dfd-hook.h35 typedef int (*gl_ioctl_fn) (int fd, int request, void *arg);
57 int fd, int request, void *arg);
88 int fd, int request, void *arg);
94 int fd, int request, void *arg);
99 int fd, int request, void *arg);
/external/clang/test/Sema/
H A Dblock-args.c18 int arg; local
20 ^{return 2;}(arg); // expected-error {{too many arguments to block call}}
22 ^(){return 4;}(arg); // expected-error {{too many arguments to block call}}
23 ^(int x, ...){return 5;}(arg, arg); // Explicit varargs, ok.
/external/compiler-rt/test/ubsan/TestCases/Misc/
H A Dnonnull-arg.cpp41 int *arg = (argv[1][0] == '0') ? 0x0 : &local; local
44 return C(0x0, arg).value();
45 // CTOR: {{.*}}nonnull-arg.cpp:[[@LINE-1]]:21: runtime error: null pointer passed as argument 2, which is declared to never be null
46 // CTOR-NEXT: {{.*}}nonnull-arg.cpp:19:31: note: nonnull attribute specified here
48 return C(0x0, &local).method(arg, 0x0);
49 // METHOD: {{.*}}nonnull-arg.cpp:[[@LINE-1]]:36: runtime error: null pointer passed as argument 1, which is declared to never be null
50 // METHOD-NEXT: {{.*}}nonnull-arg.cpp:22:54: note: nonnull attribute specified here
52 return func(arg);
53 // FUNC: {{.*}}nonnull-arg.cpp:[[@LINE-1]]:19: runtime error: null pointer passed as argument 1, which is declared to never be null
54 // FUNC-NEXT: {{.*}}nonnull-arg
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/functions/structure/
H A DFirstFunction.java35 VariableValue arg = (VariableValue) args[0];
36 if (arg.getReference() == null) {
37 return literalConstant(false, arg);
40 Data thisNode = arg.getReference().getSymlink();
41 return literalConstant(thisNode.isFirstSibling(), arg);
H A DLastFunction.java35 VariableValue arg = (VariableValue) args[0];
36 if (arg.getReference() == null) {
37 return literalConstant(false, arg);
40 Data thisNode = arg.getReference().getSymlink();
41 return literalConstant(thisNode.isLastSibling(), arg);
H A DSubcountFunction.java35 VariableValue arg = (VariableValue) args[0];
36 if (arg.getReference() == null) {
37 return literalConstant(0, arg);
40 Data thisNode = arg.getReference().getSymlink();
41 return literalConstant(thisNode.getChildCount(), arg);
/external/libnl/src/lib/
H A Dcls.c45 void nl_cli_cls_parse_proto(struct rtnl_cls *cls, char *arg) argument
49 if ((proto = nl_str2ether_proto(arg)) < 0)
50 nl_cli_fatal(proto, "Unknown protocol \"%s\".", arg);
55 struct rtnl_ematch_tree *nl_cli_cls_parse_ematch(struct rtnl_cls *cls, char *arg) argument
61 if ((err = rtnl_ematch_parse_expr(arg, &errstr, &tree)) < 0)
/external/toybox/toys/posix/
H A Decho.c44 char *arg, *c; local
47 arg = toys.optargs[i];
48 if (!arg) break;
51 // Should we output arg verbatim?
54 xprintf("%s", arg);
60 for (c = arg;;) {
/external/curl/lib/
H A Dcurl_threads.c46 void *arg; member in struct:curl_actual_call
49 static void *curl_thread_create_thunk(void *arg) argument
51 struct curl_actual_call * ac = arg;
53 void *real_arg = ac->arg;
62 curl_thread_t Curl_thread_create(unsigned int (*func) (void*), void *arg) argument
70 ac->arg = arg;
104 void *arg)
107 return CreateThread(NULL, 0, func, arg, 0, NULL);
110 t = (curl_thread_t)_beginthreadex(NULL, 0, func, arg,
103 Curl_thread_create(unsigned int (CURL_STDCALL *func) (void*), void *arg) argument
[all...]
/external/libdrm/libkms/
H A Dintel.c77 struct drm_i915_gem_create arg; local
109 memset(&arg, 0, sizeof(arg));
110 arg.size = size;
112 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_CREATE, &arg, sizeof(arg));
117 bo->base.handle = arg.handle;
159 struct drm_i915_gem_mmap_gtt arg; local
169 memset(&arg, 0, sizeof(arg));
199 struct drm_gem_close arg; local
[all...]
H A Dexynos.c63 struct drm_exynos_gem_create arg; local
94 memset(&arg, 0, sizeof(arg));
95 arg.size = size;
97 ret = drmCommandWriteRead(kms->fd, DRM_EXYNOS_GEM_CREATE, &arg, sizeof(arg));
102 bo->base.handle = arg.handle;
128 struct drm_mode_map_dumb arg; local
138 memset(&arg, 0, sizeof(arg));
168 struct drm_gem_close arg; local
[all...]
H A Dnouveau.c78 struct drm_nouveau_gem_new arg; local
110 memset(&arg, 0, sizeof(arg));
111 arg.info.size = size;
112 arg.info.domain = NOUVEAU_GEM_DOMAIN_MAPPABLE | NOUVEAU_GEM_DOMAIN_VRAM;
113 arg.info.tile_mode = 0;
114 arg.info.tile_flags = 0;
115 arg.align = 512;
116 arg.channel_hint = 0;
118 ret = drmCommandWriteRead(kms->fd, DRM_NOUVEAU_GEM_NEW, &arg, sizeo
181 struct drm_gem_close arg; local
[all...]
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_pthread_wrappers.h33 void *arg; member in struct:PthreadHelperCreateThreadInfo
36 inline DWORD WINAPI PthreadHelperThreadProc(void *arg) { argument
38 reinterpret_cast<PthreadHelperCreateThreadInfo*>(arg);
39 void *ret = (start_data->start_routine)(start_data->arg);
45 void *(*start_routine)(void *), void *arg) {
49 data->arg = arg;
44 PTHREAD_CREATE(pthread_t *thread, void *attr, void *(*start_routine)(void *), void *arg) argument
/external/elfutils/backends/
H A Dsparc_initreg.c46 void *arg __attribute__ ((unused)))
64 if (!setfunc (-1, 1, (Dwarf_Word *) &regs.tpc, arg))
69 if (!setfunc (0, 1, &zero, arg))
71 if (!setfunc (1, 7, (Dwarf_Word *) &regs.u_regs[0], arg))
75 if (!setfunc (8, 8, (Dwarf_Word *) &regs.u_regs[7], arg))
120 if (!setfunc (16, 8, &locals_outs[0], arg))
124 if (!setfunc (24, 8, &locals_outs[8], arg))
/external/libedit/examples/
H A Dfileman.c32 int valid_argument (char *caller, char *arg);
304 /* List the file(s) named in arg. */
306 com_list (char *arg) argument
308 if (!arg)
309 arg = "";
311 sprintf (syscom, "ls -FClg %s", arg);
316 com_view (char *arg) argument
318 if (!valid_argument ("view", arg))
321 sprintf (syscom, "more %s", arg);
326 com_history(char* arg __attribute_
350 com_stat(char *arg) argument
386 com_help(char *arg) argument
425 com_cd(char *arg) argument
476 valid_argument(char *caller, char *arg) argument
[all...]
/external/syslinux/dos/
H A Dargv.c52 char **arg; local
111 arg = ALIGN_UP(q, char *);
112 *argv = arg;
113 *arg++ = mem; /* argv[0] */
118 *arg++ = r + 1;
122 *arg++ = NULL; /* Null pointer at the end */
123 __mem_end = arg; /* End of memory we used */
/external/toybox/toys/other/
H A Dmountpoint.c33 char *arg = *toys.optargs; local
36 if (lstat(arg, &st1)) perror_exit_raw(arg);
51 arg = xmprintf("%s/..", arg);
52 xstat(arg, &st2);
53 if (CFG_TOYBOX_FREE) free(arg);
/external/iproute2/lib/
H A Dll_addr.c60 int ll_addr_a2n(char *lladdr, int len, const char *arg) argument
62 if (strchr(arg, '.')) {
64 if (get_addr_1(&pfx, arg, AF_INET)) {
65 fprintf(stderr, "\"%s\" is invalid lladdr.\n", arg);
77 char *cp = strchr(arg, ':');
82 if (sscanf(arg, "%x", &temp) != 1) {
83 fprintf(stderr, "\"%s\" is invalid lladdr.\n", arg);
87 fprintf(stderr, "\"%s\" is invalid lladdr.\n", arg);
93 arg = cp;
/external/ltp/testcases/realtime/func/async_handler/
H A Dasync_handler_jk.c55 void *async_event_server(void *arg);
56 void *handler1(void *arg);
79 void *async_event_server(void *arg) argument
82 struct thread *thread = ((struct thread *)arg);
101 thread->func(arg);
110 void *user_thread(void *arg) argument
112 struct thread *thread = ((struct thread *)arg);
113 struct thread *server = (struct thread *)thread->arg;
130 void *handler1(void *arg) argument
/external/strace/tests/
H A Dxstatfsx.c39 #define PRINT_NUM(arg) \
40 if (sizeof(b->arg) == sizeof(int)) \
41 printf(", %s=%u", #arg, (unsigned int) b->arg); \
42 else if (sizeof(b->arg) == sizeof(long)) \
43 printf(", %s=%lu", #arg, (unsigned long) b->arg); \
45 printf(", %s=%llu", #arg, (unsigned long long) b->arg)

Completed in 906 milliseconds

1234567891011>>