Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 275) sorted by relevance

1234567891011

/device/generic/goldfish-opengl/system/vulkan/
Dfunc_table.cpp5290 if (!strcmp(name, "vkCreateInstance")) in goldfish_vulkan_get_proc_address()
5294 if (!strcmp(name, "vkDestroyInstance")) in goldfish_vulkan_get_proc_address()
5298 if (!strcmp(name, "vkEnumeratePhysicalDevices")) in goldfish_vulkan_get_proc_address()
5302 if (!strcmp(name, "vkGetPhysicalDeviceFeatures")) in goldfish_vulkan_get_proc_address()
5306 if (!strcmp(name, "vkGetPhysicalDeviceFormatProperties")) in goldfish_vulkan_get_proc_address()
5310 if (!strcmp(name, "vkGetPhysicalDeviceImageFormatProperties")) in goldfish_vulkan_get_proc_address()
5314 if (!strcmp(name, "vkGetPhysicalDeviceProperties")) in goldfish_vulkan_get_proc_address()
5318 if (!strcmp(name, "vkGetPhysicalDeviceQueueFamilyProperties")) in goldfish_vulkan_get_proc_address()
5322 if (!strcmp(name, "vkGetPhysicalDeviceMemoryProperties")) in goldfish_vulkan_get_proc_address()
5326 if (!strcmp(name, "vkGetInstanceProcAddr")) in goldfish_vulkan_get_proc_address()
[all …]
Dgoldfish_vulkan.cpp236 if (strcmp(name, "vkCreateInstance") == 0) in GetInstanceProcAddr()
238 if (strcmp(name, "vkDestroyInstance") == 0) in GetInstanceProcAddr()
240 if (strcmp(name, "vkEnumerateInstanceExtensionProperties") == 0) in GetInstanceProcAddr()
243 if (strcmp(name, "vkEnumeratePhysicalDevices") == 0) in GetInstanceProcAddr()
245 if (strcmp(name, "vkEnumerateInstanceVersion") == 0) in GetInstanceProcAddr()
247 if (strcmp(name, "vkEnumeratePhysicalDeviceGroups") == 0) in GetInstanceProcAddr()
250 if (strcmp(name, "vkEnumeratePhysicalDeviceGroupsKHR") == 0) in GetInstanceProcAddr()
253 if (strcmp(name, "vkGetInstanceProcAddr") == 0) in GetInstanceProcAddr()
255 if (strcmp(name, "vkCreateDebugReportCallbackEXT") == 0) in GetInstanceProcAddr()
257 if (strcmp(name, "vkDestroyDebugReportCallbackEXT") == 0) in GetInstanceProcAddr()
[all …]
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c99 if (strcmp(sensor, "accel") == 0) { in setType()
101 } else if (strcmp(sensor, "gyro") == 0) { in setType()
103 } else if (strcmp(sensor, "mag") == 0) { in setType()
105 } else if (strcmp(sensor, "uncal_accel") == 0) { in setType()
107 } else if (strcmp(sensor, "uncal_gyro") == 0) { in setType()
109 } else if (strcmp(sensor, "uncal_mag") == 0) { in setType()
111 } else if (strcmp(sensor, "als") == 0) { in setType()
113 } else if (strcmp(sensor, "prox") == 0) { in setType()
115 } else if (strcmp(sensor, "baro") == 0) { in setType()
117 } else if (strcmp(sensor, "temp") == 0) { in setType()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dfuture.c28 if (strcmp(feature, FUTURE_NESTED_SCOPES) == 0) { in future_check_features()
30 } else if (strcmp(feature, FUTURE_GENERATORS) == 0) { in future_check_features()
32 } else if (strcmp(feature, FUTURE_DIVISION) == 0) { in future_check_features()
34 } else if (strcmp(feature, FUTURE_ABSOLUTE_IMPORT) == 0) { in future_check_features()
36 } else if (strcmp(feature, FUTURE_WITH_STATEMENT) == 0) { in future_check_features()
38 } else if (strcmp(feature, FUTURE_PRINT_FUNCTION) == 0) { in future_check_features()
40 } else if (strcmp(feature, FUTURE_UNICODE_LITERALS) == 0) { in future_check_features()
42 } else if (strcmp(feature, "braces") == 0) { in future_check_features()
90 !strcmp(PyString_AS_STRING(modname), "__future__")) { in future_parse()
Dgetopt.c60 else if (strcmp(argv[_PyOS_optind], "/?") == 0) { in _PyOS_GetOpt()
70 else if (strcmp(argv[_PyOS_optind], "--") == 0) { in _PyOS_GetOpt()
75 else if (strcmp(argv[_PyOS_optind], "--help") == 0) { in _PyOS_GetOpt()
80 else if (strcmp(argv[_PyOS_optind], "--version") == 0) { in _PyOS_GetOpt()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/
DGenFvImageLib.c234 if (strcmp (Value, TRUE_STRING) == 0) { in ParseFvInf()
236 } else if (strcmp (Value, FALSE_STRING) != 0) { in ParseFvInf()
253 if (strcmp (Value, TRUE_STRING) == 0) { in ParseFvInf()
255 } else if (strcmp (Value, FALSE_STRING) != 0) { in ParseFvInf()
272 if (strcmp (Value, TRUE_STRING) == 0) { in ParseFvInf()
274 } else if (strcmp (Value, FALSE_STRING) != 0) { in ParseFvInf()
291 if (strcmp (Value, TRUE_STRING) == 0) { in ParseFvInf()
293 } else if (strcmp (Value, FALSE_STRING) != 0) { in ParseFvInf()
310 if (strcmp (Value, TRUE_STRING) == 0) { in ParseFvInf()
312 } else if (strcmp (Value, FALSE_STRING) != 0) { in ParseFvInf()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dfuture.c28 if (strcmp(feature, FUTURE_NESTED_SCOPES) == 0) { in future_check_features()
30 } else if (strcmp(feature, FUTURE_GENERATORS) == 0) { in future_check_features()
32 } else if (strcmp(feature, FUTURE_DIVISION) == 0) { in future_check_features()
34 } else if (strcmp(feature, FUTURE_ABSOLUTE_IMPORT) == 0) { in future_check_features()
36 } else if (strcmp(feature, FUTURE_WITH_STATEMENT) == 0) { in future_check_features()
38 } else if (strcmp(feature, FUTURE_PRINT_FUNCTION) == 0) { in future_check_features()
40 } else if (strcmp(feature, FUTURE_UNICODE_LITERALS) == 0) { in future_check_features()
42 } else if (strcmp(feature, "braces") == 0) { in future_check_features()
Dgetopt.c52 else if (strcmp(argv[_PyOS_optind], "/?") == 0) { in _PyOS_GetOpt()
62 else if (strcmp(argv[_PyOS_optind], "--") == 0) { in _PyOS_GetOpt()
67 else if (strcmp(argv[_PyOS_optind], "--help") == 0) { in _PyOS_GetOpt()
72 else if (strcmp(argv[_PyOS_optind], "--version") == 0) { in _PyOS_GetOpt()
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/
DLzmaCompress.c269 if (strcmp(args[param], "-e") == 0 || strcmp(args[param], "-d") == 0) { in main2()
272 } else if (strcmp(args[param], "--f86") == 0) { in main2()
274 } else if (strcmp(args[param], "-o") == 0 || in main2()
275 strcmp(args[param], "--output") == 0) { in main2()
280 } else if (strcmp(args[param], "--debug") == 0) { in main2()
290 strcmp(args[param], "-h") == 0 || in main2()
291 strcmp(args[param], "--help") == 0 in main2()
296 strcmp(args[param], "-v") == 0 || in main2()
297 strcmp(args[param], "--verbose") == 0 in main2()
304 strcmp(args[param], "-q") == 0 || in main2()
[all …]
/device/generic/goldfish/qemu-props/
Dqemu-props.c116 if (strcmp(temp, "qemu.sf.lcd.density") == 0 ) { in main()
118 } else if (strcmp(temp, "qemu.hw.mainkeys") == 0 ) { in main()
120 } else if (strcmp(temp, "qemu.cmdline") == 0 ) { in main()
122 } else if (strcmp(temp, "dalvik.vm.heapsize") == 0 ) { in main()
124 } else if (strcmp(temp, "ro.opengles.version") == 0 ) { in main()
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgetservbyname.c58 if (strcmp(name, p->s_name) == 0) in getservbyname()
61 if (strcmp(name, *cp) == 0) in getservbyname()
65 if (proto == 0 || strcmp(p->s_proto, proto) == 0) in getservbyname()
Dgetprotoname.c51 if (strcmp(p->p_name, name) == 0) in getprotobyname()
54 if (strcmp(*cp, name) == 0) in getprotobyname()
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/common/
Dboard_arm_trusted_boot.c156 if (strcmp(oid, TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_get_nv_ctr()
158 } else if (strcmp(oid, NON_TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_get_nv_ctr()
258 if (strcmp(cookie, TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_get_nv_ctr()
261 } else if (strcmp(cookie, NON_TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_get_nv_ctr()
282 if (strcmp(cookie, TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_set_nv_ctr()
285 } else if (strcmp(cookie, NON_TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_set_nv_ctr()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/genmk/
Dgenmk_old.c355 if ( strcmp(hdr,"stdpccts.h")!=0 ) printf("HDR_FILE = %s%s\n", DIR(), hdr);
367 if ( strcmp(outdir, ".")!=0 ) printf(" -I%s", outdir);
371 if ( strcmp(outdir,".")!=0 ) printf(" -o %s", outdir);
374 if ( strcmp(hdr,"stdpccts.h")!=0 ) printf(" -gh %s", hdr);
385 if ( strcmp(dlg_class,"DLGLexer")!=0 ) printf(" -cl %s", dlg_class);
386 if ( strcmp(outdir,".")!=0 ) printf(" -o %s", outdir);
453 if ( strcmp(hdr,"stdpccts.h")!=0 ) {
512 if ( gen_CPP && strcmp(hdr,"stdpccts.h")!=0 ) printf(" $(HDR_FILE)");
549 if ( gen_CPP && strcmp(hdr,"stdpccts.h")!=0 ) printf(" $(HDR_FILE)");
638 if ( strcmp(outdir, ".")!=0 ) printf(" %s*%s", DIR(), OBJ_FILE_SUFFIX);
[all …]
Dgenmk.c491 if ( strcmp(hdr,"stdpccts.h")!=0 ) printf("HDR_FILE = %s%s\n", DIR(), hdr);
510 if ( strcmp(outdir, ".")!=0 ) printf(" -I%s", outdir);
514 if ( strcmp(outdir,".")!=0 ) printf(" -o %s", outdir);
517 if ( strcmp(hdr,"stdpccts.h")!=0 ) printf(" -gh %s", hdr);
528 if ( strcmp(dlg_class,"DLGLexer")!=0 ) printf(" -cl %s", dlg_class);
529 if ( strcmp(outdir,".")!=0 ) printf(" -o %s", outdir);
535 if ( strcmp(outdir,".")!=0 ) printf(" -out-dir %s", outdir);
626 if ( strcmp(hdr,"stdpccts.h")!=0 ) {
693 if ( gen_CPP && strcmp(hdr,"stdpccts.h")!=0 ) printf(" $(HDR_FILE)");
709 if ( gen_CPP && strcmp(hdr,"stdpccts.h")!=0 ) printf(" $(HDR_FILE)");
[all …]
/device/google/wahoo/liblight/
Dlights.c105 if (strcmp(color_id_prop, "GRA00") == 0) { in init_globals()
107 } else if (strcmp(color_id_prop, "SLV00") == 0) { in init_globals()
109 } else if (strcmp(color_id_prop, "BLU00") == 0) { in init_globals()
332 if (0 == strcmp(LIGHT_ID_BACKLIGHT, name)) in open_lights()
335 else if (0 == strcmp(LIGHT_ID_BATTERY, name)) in open_lights()
338 else if (0 == strcmp(LIGHT_ID_NOTIFICATIONS, name)) in open_lights()
340 else if (0 == strcmp(LIGHT_ID_ATTENTION, name)) in open_lights()
/device/google/contexthub/util/common/
Dfile.cpp48 if (!strcmp("r", mode)) { in setTo()
50 } else if (!strcmp("w", mode)) { in setTo()
52 } else if (!strcmp("rw", mode)) { in setTo()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dparser.c149 strcmp(l->lb_str, s) != 0) in classify()
153 s[0] == 'p' && strcmp(s, "print") == 0) { in classify()
190 if (STR(ch) == NULL || strcmp(STR(ch), "from") != 0) in future_hack()
194 strcmp(STR(CHILD(ch, 0)), "__future__") != 0) in future_hack()
207 if (strcmp(str_ch, FUTURE_WITH_STATEMENT) == 0) { in future_hack()
209 } else if (strcmp(str_ch, FUTURE_PRINT_FUNCTION) == 0) { in future_hack()
211 } else if (strcmp(str_ch, FUTURE_UNICODE_LITERALS) == 0) { in future_hack()
278 strcmp(d->d_name, in PyParser_AddToken()
296 strcmp(d->d_name, "import_stmt") == 0) in PyParser_AddToken()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dparser.c149 strcmp(l->lb_str, s) != 0) in classify()
153 s[0] == 'p' && strcmp(s, "print") == 0) { in classify()
190 if (STR(ch) == NULL || strcmp(STR(ch), "from") != 0) in future_hack()
194 strcmp(STR(CHILD(ch, 0)), "__future__") != 0) in future_hack()
207 if (strcmp(str_ch, FUTURE_WITH_STATEMENT) == 0) { in future_hack()
209 } else if (strcmp(str_ch, FUTURE_PRINT_FUNCTION) == 0) { in future_hack()
211 } else if (strcmp(str_ch, FUTURE_UNICODE_LITERALS) == 0) { in future_hack()
278 strcmp(d->d_name, in PyParser_AddToken()
296 strcmp(d->d_name, "import_stmt") == 0) in PyParser_AddToken()
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_trusted_boot.c30 if (strcmp(oid, TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_set_nv_ctr()
32 } else if (strcmp(oid, NON_TRUSTED_FW_NVCOUNTER_OID) == 0) { in plat_set_nv_ctr()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DOsPath.c75 (Length == 3 && isalpha (FilePath[0]) && (strcmp(FilePath + 1, ":\\") == 0)) ||
76 (strcmp(FilePath, "/") == 0)
190 (Length == 3 && isalpha (Return[0]) && (strcmp(Return + 1, ":\\") == 0)) ||
191 (strcmp(Return, "/") == 0)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dsymtablemodule.c22 if (strcmp(startstr, "exec") == 0) in symtable_symtable()
24 else if (strcmp(startstr, "eval") == 0) in symtable_symtable()
26 else if (strcmp(startstr, "single") == 0) in symtable_symtable()
/device/google/contexthub/util/sensortest/
Dsensortest.cpp102 if (!strcmp(argv[currArgumentIndex], "-h")) { in parseArguments()
104 } else if (!strcmp(argv[currArgumentIndex], "-l")) { in parseArguments()
107 } else if (!strcmp(argv[currArgumentIndex], "-e")) { in parseArguments()
140 } else if (!strcmp(argv[currArgumentIndex], "-b")) { in parseArguments()
173 } else if (!strcmp(argv[currArgumentIndex], "-c")) { in parseArguments()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dsymtablemodule.c22 if (strcmp(startstr, "exec") == 0) in symtable_symtable()
24 else if (strcmp(startstr, "eval") == 0) in symtable_symtable()
26 else if (strcmp(startstr, "single") == 0) in symtable_symtable()
/device/linaro/bootloader/edk2/BaseTools/Source/C/BootSectImage/
Dbootsectimage.c454 (strcmp (FilSysType, FAT12_FILSYSTYPE) != 0) && in GetFatType()
455 (strcmp (FilSysType, FAT_FILSYSTYPE) != 0)) { in GetFatType()
460 (strcmp (FilSysType, FAT16_FILSYSTYPE) != 0) && in GetFatType()
461 (strcmp (FilSysType, FAT_FILSYSTYPE) != 0)) { in GetFatType()
469 if (strcmp (FilSysType, FAT32_FILSYSTYPE) != 0) { in GetFatType()
870 if (strcmp (*argv, "-f") == 0 || strcmp (*argv, "--force") == 0) { in main()
872 } else if (strcmp (*argv, "-p") == 0 || strcmp (*argv, "--parse") == 0) { in main()
880 } else if (strcmp (*argv, "-g") == 0 || strcmp (*argv, "--patch") == 0) { in main()
890 } else if (strcmp (*argv, "-m") == 0 || strcmp (*argv, "--mbr") == 0) { in main()
892 } else if (strcmp (*argv, "-v") == 0 || strcmp (*argv, "--verbose") == 0) { in main()
[all …]

1234567891011