Home
last modified time | relevance | path

Searched refs:argp (Results 1 – 25 of 238) sorted by relevance

12345678910

/third_party/python/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi_darwin.c44 register char *argp; in ffi_prep_args() local
47 argp = stack; in ffi_prep_args()
51 *(void **) argp = ecif->rvalue; in ffi_prep_args()
52 argp += 4; in ffi_prep_args()
64 if ((sizeof(int) - 1) & (unsigned) argp) in ffi_prep_args()
65 argp = (char *) ALIGN(argp, sizeof(int)); in ffi_prep_args()
74 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args()
78 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args()
82 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args()
86 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args()
[all …]
Dx86-ffi64.c440 char* argp; in ffi_call() local
461 argp = stack + sizeof(RegisterArgs); in ffi_call()
491 argp = (void *) ALIGN (argp, align); in ffi_call()
492 memcpy (argp, avalue[i], size); in ffi_call()
493 argp += size; in ffi_call()
625 char* argp) in ffi_closure_unix64_inner() argument
687 argp = (void *) ALIGN (argp, align); in ffi_closure_unix64_inner()
688 avalue[i] = argp; in ffi_closure_unix64_inner()
689 argp += arg_types[i]->size; in ffi_closure_unix64_inner()
/third_party/mesa3d/src/intel/tools/
Dintel_dump_gpu.c163 gem_ioctl(int fd, unsigned long request, void *argp) in gem_ioctl() argument
168 ret = libc_ioctl(fd, request, argp); in gem_ioctl()
503 void *argp; in ioctl() local
508 argp = va_arg(args, void *); in ioctl()
527 return libc_ioctl(fd, request, argp); in ioctl()
532 struct drm_i915_reset_stats *stats = argp; in ioctl()
539 return libc_ioctl(fd, request, argp); in ioctl()
543 struct drm_i915_getparam *getparam = argp; in ioctl()
574 return libc_ioctl(fd, request, argp); in ioctl()
578 struct drm_i915_gem_context_param *getparam = argp; in ioctl()
[all …]
Dintel_sanitize_gpu.c50 static int (*libc_ioctl)(int fd, unsigned long request, void *argp);
385 void *argp; in ioctl() local
390 argp = va_arg(args, void *); in ioctl()
401 res = gem_close(fd, (struct drm_gem_close*)argp); in ioctl()
405 res = create_with_padding(fd, (struct drm_i915_gem_create*)argp); in ioctl()
411 (struct drm_i915_gem_execbuffer2*)argp); in ioctl()
418 res = libc_ioctl(fd, request, argp); in ioctl()
/third_party/mbedtls/programs/psa/
Dpsa_constant_names.c32 va_list argp; in snprintf() local
39 va_start(argp, fmt); in snprintf()
41 ret = _vsnprintf_s(s, n, _TRUNCATE, fmt, argp); in snprintf()
43 ret = _vsnprintf(s, n, fmt, argp); in snprintf()
49 va_end(argp); in snprintf()
207 int process_signed(signed_value_type type, long min, long max, char **argp) in process_signed() argument
209 for (; *argp != NULL; argp++) { in process_signed()
212 long value = strtol(*argp, &end, 0); in process_signed()
214 printf("Non-numeric value: %s\n", *argp); in process_signed()
218 printf("Value too small: %s\n", *argp); in process_signed()
[all …]
/third_party/mbedtls/programs/test/
Dselftest.c330 char **argp; in main() local
456 for (argp = argv + (argc >= 1 ? 1 : argc); *argp != NULL; ++argp) { in main()
457 if (strcmp(*argp, "--quiet") == 0 || in main()
458 strcmp(*argp, "-q") == 0) { in main()
460 } else if (strcmp(*argp, "--exclude") == 0 || in main()
461 strcmp(*argp, "-x") == 0) { in main()
478 if (*argp != NULL && exclude_mode == 0) { in main()
480 for (; *argp != NULL; argp++) { in main()
482 if (!strcmp(*argp, test->name)) { in main()
491 mbedtls_printf(" Test suite %s not available -> failed\n\n", *argp); in main()
[all …]
/third_party/elfutils/lib/
Derror.c41 va_list argp; in error() local
46 va_start(argp, format); in error()
52 verr (status, format, argp); in error()
55 verrx (status, format, argp); in error()
62 vwarn (format, argp); in error()
65 vwarnx (format, argp); in error()
67 va_end(argp); in error()
/third_party/node/deps/openssl/openssl/crypto/x509/
Dby_store.c108 static int by_store_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argp, in by_store_ctrl_ex() argument
115 if (argp == NULL) in by_store_ctrl_ex()
116 argp = ossl_safe_getenv(X509_get_default_cert_dir_env()); in by_store_ctrl_ex()
117 if (argp == NULL) in by_store_ctrl_ex()
118 argp = X509_get_default_cert_dir(); in by_store_ctrl_ex()
122 char *data = OPENSSL_strdup(argp); in by_store_ctrl_ex()
135 return cache_objects(ctx, argp, NULL, 0, libctx, propq); in by_store_ctrl_ex()
142 const char *argp, long argl, char **retp) in by_store_ctrl() argument
144 return by_store_ctrl_ex(ctx, cmd, argp, argl, retp, NULL, NULL); in by_store_ctrl()
Dby_file.c47 static int by_file_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argp, in by_file_ctrl_ex() argument
72 ok = (X509_load_cert_crl_file_ex(ctx, argp, X509_FILETYPE_PEM, in by_file_ctrl_ex()
75 ok = (X509_load_cert_file_ex(ctx, argp, (int)argl, libctx, in by_file_ctrl_ex()
84 const char *argp, long argl, char **ret) in by_file_ctrl() argument
86 return by_file_ctrl_ex(ctx, cmd, argp, argl, ret, NULL, NULL); in by_file_ctrl()
/third_party/openssl/crypto/x509/
Dby_store.c108 static int by_store_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argp, in by_store_ctrl_ex() argument
115 if (argp == NULL) in by_store_ctrl_ex()
116 argp = ossl_safe_getenv(X509_get_default_cert_dir_env()); in by_store_ctrl_ex()
117 if (argp == NULL) in by_store_ctrl_ex()
118 argp = X509_get_default_cert_dir(); in by_store_ctrl_ex()
122 char *data = OPENSSL_strdup(argp); in by_store_ctrl_ex()
135 return cache_objects(ctx, argp, NULL, 0, libctx, propq); in by_store_ctrl_ex()
142 const char *argp, long argl, char **retp) in by_store_ctrl() argument
144 return by_store_ctrl_ex(ctx, cmd, argp, argl, retp, NULL, NULL); in by_store_ctrl()
Dby_file.c47 static int by_file_ctrl_ex(X509_LOOKUP *ctx, int cmd, const char *argp, in by_file_ctrl_ex() argument
72 ok = (X509_load_cert_crl_file_ex(ctx, argp, X509_FILETYPE_PEM, in by_file_ctrl_ex()
75 ok = (X509_load_cert_file_ex(ctx, argp, (int)argl, libctx, in by_file_ctrl_ex()
84 const char *argp, long argl, char **ret) in by_file_ctrl() argument
86 return by_file_ctrl_ex(ctx, cmd, argp, argl, ret, NULL, NULL); in by_file_ctrl()
/third_party/openssl/test/
Dexdatatest.c30 int idx, long argl, void *argp) in exnew() argument
34 || !TEST_ptr_eq(argp, saved_argp) in exnew()
40 void **from_d, int idx, long argl, void *argp) in exdup() argument
44 || !TEST_ptr_eq(argp, saved_argp) in exdup()
51 int idx, long argl, void *argp) in exfree() argument
55 || !TEST_ptr_eq(argp, saved_argp)) in exfree()
72 int idx, long argl, void *argp) in exnew2() argument
78 || !TEST_ptr_eq(argp, saved_argp) in exnew2()
90 void **from_d, int idx, long argl, void *argp) in exdup2() argument
97 || !TEST_ptr_eq(argp, saved_argp) in exdup2()
[all …]
/third_party/skia/src/utils/
DSkJSONWriter.cpp36 va_list argp; in appendf() local
37 va_start(argp, fmt); in appendf()
39 int length = _vsnprintf_s(buffer, kBufferSize, _TRUNCATE, fmt, argp); in appendf()
41 int length = vsnprintf(buffer, kBufferSize, fmt, argp); in appendf()
44 va_end(argp); in appendf()
/third_party/pulseaudio/src/utils/
Dpadsp.c1561 static int mixer_ioctl(fd_info *i, unsigned long request, void*argp, int *_errno) { in mixer_ioctl() argument
1568 *(int*) argp = SOUND_MASK_PCM | SOUND_MASK_IGAIN; in mixer_ioctl()
1574 *(int*) argp = SOUND_MASK_IGAIN; in mixer_ioctl()
1581 *(int*) argp = 0; in mixer_ioctl()
1583 *(int*) argp |= SOUND_MASK_PCM; in mixer_ioctl()
1585 *(int*) argp |= SOUND_MASK_IGAIN; in mixer_ioctl()
1593 *(int*) argp = SOUND_MASK_IGAIN; in mixer_ioctl()
1603 *(int*) argp = 0; in mixer_ioctl()
1622 *(int*) argp = in mixer_ioctl()
1650 pv->values[0] = ((*(int*) argp & 0xFF)*PA_VOLUME_NORM)/100; in mixer_ioctl()
[all …]
/third_party/openssl/crypto/
Dex_data.c89 long argl, void *argp) in dummy_new() argument
94 long argl, void *argp) in dummy_free() argument
100 long argl, void *argp) in dummy_dup() argument
142 long argl, void *argp, in ossl_crypto_get_ex_new_index_ex() argument
177 a->argp = argp; in ossl_crypto_get_ex_new_index_ex()
196 int CRYPTO_get_ex_new_index(int class_index, long argl, void *argp, in CRYPTO_get_ex_new_index() argument
200 return ossl_crypto_get_ex_new_index_ex(NULL, class_index, argl, argp, in CRYPTO_get_ex_new_index()
250 storage[i]->argl, storage[i]->argp); in ossl_crypto_new_ex_data_ex()
326 storage[i]->argl, storage[i]->argp)) in CRYPTO_dup_ex_data()
402 f->free_func(obj, ptr, ad, storage[i].index, f->argl, f->argp); in CRYPTO_free_ex_data()
[all …]
/third_party/node/deps/openssl/openssl/crypto/
Dex_data.c89 long argl, void *argp) in dummy_new() argument
94 long argl, void *argp) in dummy_free() argument
100 long argl, void *argp) in dummy_dup() argument
142 long argl, void *argp, in ossl_crypto_get_ex_new_index_ex() argument
179 a->argp = argp; in ossl_crypto_get_ex_new_index_ex()
198 int CRYPTO_get_ex_new_index(int class_index, long argl, void *argp, in CRYPTO_get_ex_new_index() argument
202 return ossl_crypto_get_ex_new_index_ex(NULL, class_index, argl, argp, in CRYPTO_get_ex_new_index()
252 storage[i]->argl, storage[i]->argp); in ossl_crypto_new_ex_data_ex()
328 storage[i]->argl, storage[i]->argp)) in CRYPTO_dup_ex_data()
404 f->free_func(obj, ptr, ad, storage[i].index, f->argl, f->argp); in CRYPTO_free_ex_data()
[all …]
/third_party/mbedtls/library/
Dmps_trace.c61 va_list argp; in mbedtls_mps_trace_print_msg() local
62 va_start(argp, format); in mbedtls_mps_trace_print_msg()
63 ret = mbedtls_vsnprintf(str, MPS_TRACE_BUF_SIZE, format, argp); in mbedtls_mps_trace_print_msg()
64 va_end(argp); in mbedtls_mps_trace_print_msg()
Dplatform.c88 va_list argp; in mbedtls_platform_win32_snprintf() local
90 va_start(argp, fmt); in mbedtls_platform_win32_snprintf()
91 ret = mbedtls_vsnprintf(s, n, fmt, argp); in mbedtls_platform_win32_snprintf()
92 va_end(argp); in mbedtls_platform_win32_snprintf()
/third_party/elfutils/debuginfod/
Ddebuginfod-find.c114 static struct argp argp = variable
137 (void) argp_parse (&argp, argc, argv, ARGP_IN_ORDER|ARGP_NO_ARGS, &remaining, NULL); in main()
141 argp_help (&argp, stderr, ARGP_HELP_USAGE, argv[0]); in main()
226 argp_help (&argp, stderr, ARGP_HELP_USAGE, argv[0]); in main()
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
Ddigestauth.c484 char *argp; in check_argument_match() local
499 argp = argb; in check_argument_match()
500 while ( (NULL != argp) && in check_argument_match()
501 ('\0' != argp[0]) ) in check_argument_match()
503 equals = strchr (argp, '='); in check_argument_match()
509 argp); in check_argument_match()
510 if (MHD_YES != test_header (connection, argp, NULL)) in check_argument_match()
525 argp); in check_argument_match()
529 if (! test_header (connection, argp, equals)) in check_argument_match()
532 argp = amper; in check_argument_match()
/third_party/elfutils/src/
Darlib-argp.c85 static const struct argp argp = variable
92 { &argp, 0, "", 2 },
Dranlib.c68 static const struct argp argp = variable
93 (void) argp_parse (&argp, argc, argv, ARGP_IN_ORDER, &remaining, NULL); in main()
102 argp_help (&argp, stderr, ARGP_HELP_SEE, "ranlib"); in main()
/third_party/elfutils/tests/
Ddwflmodtest.c250 { .argp = dwfl_standard_argp () }, in main()
251 { .argp = NULL } in main()
253 const struct argp argp = in main() local
257 (void) argp_parse (&argp, argc, argv, 0, NULL, &dwfl); in main()
/third_party/openssl/doc/man3/
DBIO_get_ex_new_index.pod34 int TYPE_get_ex_new_index(long argl, void *argp,
50 int DH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
54 int DSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
58 int EC_KEY_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
62 int RSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
68 int ENGINE_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_config.c1117 void *argp = (void *)arg; in fconfig_handle_ioctl() local
1120 if (cdev == NULL || argp == NULL) in fconfig_handle_ioctl()
1129 ret = fconfig_make_gadget(cdev, argp); in fconfig_handle_ioctl()
1133 ret = fconfig_drop_gadget(cdev, argp); in fconfig_handle_ioctl()
1137 ret = fconfig_write_dev_desc(cdev, argp); in fconfig_handle_ioctl()
1141 ret = fconfig_add_gadget_cfg(cdev, argp); in fconfig_handle_ioctl()
1145 ret = fconfig_remove_gadget_cfg(cdev, argp); in fconfig_handle_ioctl()
1149 ret = fconfig_write_strings(cdev, argp); in fconfig_handle_ioctl()
1153 ret = fconfig_make_function(cdev, argp); in fconfig_handle_ioctl()
1157 ret = fconfig_drop_function(cdev, argp); in fconfig_handle_ioctl()
[all …]

12345678910