/external/nanopb-c/tests/anonymous_oneof/ |
decode_oneof.c | 12 int test_oneof_1(pb_istream_t *stream, int option) 31 if (option == 1) 36 else if (option == 2) 41 else if (option == 3) 58 int option; local 65 option = atoi(argv[1]); 81 status = test_oneof_1(&stream, option);
|
/external/nanopb-c/tests/oneof/ |
decode_oneof.c | 12 int test_oneof_1(pb_istream_t *stream, int option) 31 if (option == 1) 36 else if (option == 2) 41 else if (option == 3) 56 int test_oneof_2(pb_istream_t *stream, int option) 68 if (option == 1) 73 else if (option == 2) 78 else if (option == 3) 95 int option; local 102 option = atoi(argv[1]) [all...] |
/external/openssh/openbsd-compat/ |
getopt.h | 43 struct option { struct 44 /* name of long option */ 48 * whether option takes an argument 51 /* if not NULL, set *flag to val when option found */ 58 const struct option *, int *); 60 const struct option *, int *);
|
/external/perfetto/src/perfetto_cmd/ |
trigger_perfetto.cc | 43 static const struct option long_options[] = { 51 int option = getopt_long(argc, argv, "h", long_options, &option_index); local 53 if (option == 'h') 56 if (option == -1)
|
/external/python/cpython2/Python/ |
getopt.c | 53 int option; local 89 if ((option = *opt_ptr++) == '\0') 92 if (option == 'J') { 98 if (option == 'X') { 105 if ((ptr = strchr(optstring, option)) == NULL) { 107 fprintf(stderr, "Unknown option: -%c\n", option); 122 "Argument expected for the -%c option\n", option); 130 return option; [all...] |
/external/python/cpython3/Python/ |
getopt.c | 58 wchar_t option; local 93 if ((option = *opt_ptr++) == L'\0') 96 if (option == L'-') { 97 // Parse long option. 99 fprintf(stderr, "expected long option\n"); 109 fprintf(stderr, "unknown option %ls\n", argv[_PyOS_optind - 1]); 125 if (option == 'J') { 131 if ((ptr = wcschr(optstring, option)) == NULL) { 133 fprintf(stderr, "Unknown option: -%c\n", (char)option); [all...] |
/external/tcpdump/ |
getopt_long.h | 44 struct option { struct 45 /* name of long option */ 49 * whether option takes an argument 52 /* if not NULL, set *flag to val when option found */ 59 const struct option *, int *); 61 const struct option *, int *);
|
/external/u-boot/arch/arm/mach-imx/ |
cache.c | 44 enum dcache_option option = DCACHE_WRITETHROUGH; local 46 enum dcache_option option = DCACHE_WRITEBACK; 60 option); 63 option);
|
/external/u-boot/board/phytec/phycore_rk3288/ |
som.h | 13 unsigned char option[12]; /* coding for variants */ member in struct:rk3288_som
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapFactory_OptionsTest.java | 50 BitmapFactory.Options option = new BitmapFactory.Options(); local 52 assertFalse(option.mCancel); 53 option.requestCancelDecode(); 54 assertTrue(option.mCancel);
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_dccp.h | 33 __u8 option; member in struct:xt_dccp_info
|
xt_tcpudp.h | 25 __u8 option; member in struct:xt_tcp
|
/external/ImageMagick/MagickWand/ |
conjure.c | 102 "-list type print a list of supported option arguments", 142 #define ThrowConjureException(asperity,tag,option) \ 145 option); \ 149 #define ThrowConjureInvalidArgumentException(option,argument) \ 152 "InvalidArgument","'%s': %s",option,argument); \ 159 *option; 187 option=(char *) NULL; 198 option=argv[i]; 199 if (IsCommandOption(option) != MagickFalse) 201 if (LocaleCompare("concurrent",option+1) == 0 157 *option; local [all...] |
/external/ImageMagick/coders/ |
dot.c | 57 #include "MagickCore/option.h" 106 *option; 151 option=GetImageOption(image_info,"dot:layout-engine"); 152 if (option == (const char *) NULL) 155 gvLayout(graphic_context,graph,(char *) option); 104 *option; local
|
/external/f2fs-tools/mkfs/ |
f2fs_format_main.c | 111 int32_t option=0; local 113 while ((option = getopt(argc,argv,option_string)) != EOF) { 114 switch (option) { 196 MSG(0, "\tError: Unknown option %c\n",option); 334 MSG(0, "\tUse the -f option to force overwrite.\n");
|
/external/icu/icu4c/source/test/intltest/ |
idnaconf.h | 44 int option; // 0 UseSTD3ASCIIRules, 1 ALLOW_UNASSIGNED member in class:IdnaConfTest
|
/external/iptables/include/linux/netfilter/ |
xt_dccp.h | 21 __u8 option; member in struct:xt_dccp_info
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_dccp.h | 22 __u8 option; member in struct:xt_dccp_info
|
/external/libcups/cups/ |
getdevices.c | 54 cups_option_t option; /* in/exclude-schemes option */ local 86 option.name = "include-schemes"; 87 option.value = (char *)include_schemes; 89 cupsEncodeOptions2(request, 1, &option, IPP_TAG_OPERATION); 94 option.name = "exclude-schemes"; 95 option.value = (char *)exclude_schemes; 97 cupsEncodeOptions2(request, 1, &option, IPP_TAG_OPERATION);
|
testconflicts.c | 36 *optr, /* Pointer to first option name */ 40 char *option, /* Current option */ local 64 option = NULL; 72 if (!cupsResolveConflicts(ppd, option, choice, &num_options, &options)) 74 else if ((!option && num_options > 0) || (option && num_options > 1)) 78 if (!option || _cups_strcasecmp(option, options[i].name)) 85 if (option) [all...] |
/external/ltp/testcases/kernel/syscalls/sysfs/ |
sysfs05.c | 32 * Uses SIGUSR1 to pause before test if option set. 38 * option and for invalid filesystem name. 42 * Pause for SIGUSR1 if option specified. 46 * Execute system call with invaid option parameter and for 81 static int option[3] = { 1, 4, 1 }; /* valid and invalid option */ variable 90 "Invalid option", EINVAL, "EINVAL"}, { 110 TEST(ltp_syscall(__NR_sysfs, option[i], fsname[i]));
|
sysfs06.c | 32 * Uses SIGUSR1 to pause before test if option set. 38 * option and for invalid filesystem index and when 43 * Pause for SIGUSR1 if option specified. 47 * Execute system call with invaid option parameter and for 82 static int option[3] = { 2, 4, 2 }; /* valid and invalid option */ variable 91 "Invalid option", EINVAL, "EINVAL"}, { 114 (__NR_sysfs, option[i], fsindex[i], bad_addr));
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
TestModuleConfigHandler.java | 32 private static final String OPTION_TAG = "option"; 41 // com.android.compatibility.common.tradefed.testtype.JarHostTest option 43 // com.android.tradefed.targetprep.suite.SuiteApkInstaller option 81 Option.Builder option = Option.newBuilder(); local 82 option.setName(attributes.getValue(NAME_TAG)); 83 option.setValue(attributes.getValue(VALUE_TAG)); 86 option.setKey(keyStr); 89 mTestCase.addOptions(option); [all...] |
ArgumentParser.java | 41 * Gets parameter list of an option 43 * @return List<String> of parameters or null if no such option 45 public List<String> getParameterList(String option) { 46 return getArgumentMap().get(option); 50 * Gets parameter element by index of an option 54 public String getParameterElement(String option, int index) { 57 ele = getArgumentMap().get(option).get(index); 64 * Checks if arguments contin an option 68 public boolean containsOption(String option) { 69 return getArgumentMap().containsKey(option); 82 String option = mArguments[i].substring(1); local [all...] |
/bootable/recovery/applypatch/ |
applypatch_modes.cpp | 112 static constexpr struct option OPTIONS[]{ 142 std::string option = OPTIONS[option_index].name; local 143 if (option == "bonus") { 145 } else if (option == "check") { 148 } else if (option == "flash") { 151 } else if (option == "license") { 153 } else if (option == "patch") { 156 } else if (option == "source") { 158 } else if (option == "target") {
|