Home
last modified time | relevance | path

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

12345678910>>...12

/device/generic/goldfish-opengl/system/vulkan/
Dfunc_table.cpp3761 if (!strcmp(name, "vkCreateInstance")) in goldfish_vulkan_get_proc_address()
3765 if (!strcmp(name, "vkDestroyInstance")) in goldfish_vulkan_get_proc_address()
3769 if (!strcmp(name, "vkEnumeratePhysicalDevices")) in goldfish_vulkan_get_proc_address()
3773 if (!strcmp(name, "vkGetPhysicalDeviceFeatures")) in goldfish_vulkan_get_proc_address()
3777 if (!strcmp(name, "vkGetPhysicalDeviceFormatProperties")) in goldfish_vulkan_get_proc_address()
3781 if (!strcmp(name, "vkGetPhysicalDeviceImageFormatProperties")) in goldfish_vulkan_get_proc_address()
3785 if (!strcmp(name, "vkGetPhysicalDeviceProperties")) in goldfish_vulkan_get_proc_address()
3789 if (!strcmp(name, "vkGetPhysicalDeviceQueueFamilyProperties")) in goldfish_vulkan_get_proc_address()
3793 if (!strcmp(name, "vkGetPhysicalDeviceMemoryProperties")) in goldfish_vulkan_get_proc_address()
3797 if (!strcmp(name, "vkGetInstanceProcAddr")) in goldfish_vulkan_get_proc_address()
[all …]
Dgoldfish_vulkan.cpp177 if (strcmp(name, "vkCreateInstance") == 0) in GetInstanceProcAddr()
179 if (strcmp(name, "vkDestroyInstance") == 0) in GetInstanceProcAddr()
181 if (strcmp(name, "vkEnumerateInstanceExtensionProperties") == 0) in GetInstanceProcAddr()
184 if (strcmp(name, "vkEnumeratePhysicalDevices") == 0) in GetInstanceProcAddr()
186 if (strcmp(name, "vkEnumeratePhysicalDeviceGroups") == 0) in GetInstanceProcAddr()
189 if (strcmp(name, "vkGetInstanceProcAddr") == 0) in GetInstanceProcAddr()
192 if (strcmp(name, "vkGetMemoryZirconHandleFUCHSIA") == 0) in GetInstanceProcAddr()
194 if (strcmp(name, "vkGetMemoryZirconHandlePropertiesFUCHSIA") == 0) in GetInstanceProcAddr()
196 if (strcmp(name, "vkGetSemaphoreZirconHandleFUCHSIA") == 0) in GetInstanceProcAddr()
198 if (strcmp(name, "vkImportSemaphoreZirconHandleFUCHSIA") == 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/google/marlin/dataservices/rmnetctl/cli/
Drmnetcli.c266 if (!strcmp(*argv, "help")) { in rmnet_api_call()
278 if (!strcmp(*argv, "assocnetdev")) { in rmnet_api_call()
281 } else if (!strcmp(*argv, "unassocnetdev")) { in rmnet_api_call()
284 } else if (!strcmp(*argv, "getnetdevassoc")) { in rmnet_api_call()
290 } else if (!strcmp(*argv, "getledf")) { in rmnet_api_call()
300 } else if (!strcmp(*argv, "getlidf")) { in rmnet_api_call()
309 } else if (!strcmp(*argv, "newvndprefix")) { in rmnet_api_call()
314 } else if (!strcmp(*argv, "newvnd")) { in rmnet_api_call()
318 } else if (!strcmp(*argv, "getvndname")) { in rmnet_api_call()
327 } else if (!strcmp(*argv, "freevnd")) { in rmnet_api_call()
[all …]
/device/generic/goldfish/wifi/ipv6proxy/
Dmain.cpp70 if (strcmp(argv[i], "-o") == 0) { in main()
72 } else if (strcmp(argv[i], "-i") == 0) { in main()
74 } else if (strcmp(argv[i], "-h") == 0 || in main()
75 strcmp(argv[i], "--help") == 0) { in main()
78 } else if (strcmp(argv[i], "-n") == 0) { in main()
/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/lights/
Dlights_qemu.c165 if (0 == strcmp( LIGHT_ID_BACKLIGHT, name )) { in open_lights()
167 } else if (0 == strcmp( LIGHT_ID_KEYBOARD, name )) { in open_lights()
169 } else if (0 == strcmp( LIGHT_ID_BUTTONS, name )) { in open_lights()
171 } else if (0 == strcmp( LIGHT_ID_BATTERY, name )) { in open_lights()
173 } else if (0 == strcmp( LIGHT_ID_NOTIFICATIONS, name )) { in open_lights()
175 } else if (0 == strcmp( LIGHT_ID_ATTENTION, name )) { in open_lights()
/device/generic/goldfish/qemu-props/
Dqemu-props.c113 if (strcmp(temp, "qemu.sf.lcd.density") == 0 ) { in main()
115 } else if (strcmp(temp, "qemu.hw.mainkeys") == 0 ) { in main()
117 } else if (strcmp(temp, "qemu.cmdline") == 0 ) { in main()
119 } else if (strcmp(temp, "dalvik.vm.heapsize") == 0 ) { in main()
121 } 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()
/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/generic/goldfish/libqemu/
Dtest_guest_2.c75 if (!strcmp(arg, "-?") || !strcmp(arg, "-h") || !strcmp(arg, "--help")) { in main()
77 } else if (!strcmp(arg, "-pipe")) { in main()
85 } else if (!strcmp(arg, "-tcp")) { in main()
93 } else if (!strcmp(arg, "-size")) { in main()
Dtest_host_1.c161 if (!strcmp(arg, "-?") || !strcmp(arg, "-h") || !strcmp(arg, "--help")) { in main()
163 } else if (!strcmp(arg, "-unix")) { in main()
171 } else if (!strcmp(arg, "-tcp")) { in main()
/device/google/marlin/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()
333 if (0 == strcmp(LIGHT_ID_BACKLIGHT, name)) in open_lights()
336 else if (0 == strcmp(LIGHT_ID_BATTERY, name)) in open_lights()
339 else if (0 == strcmp(LIGHT_ID_NOTIFICATIONS, name)) in open_lights()
341 else if (0 == strcmp(LIGHT_ID_ATTENTION, name)) in open_lights()
/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.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/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/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()

12345678910>>...12