/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/ |
D | DepexParser.c | 171 …((strncmp (*Pindex, " ", 1) == 0) || (strncmp (*Pindex, "\n", 1) == 0) || (strncmp (*Pindex, "\r",… in LeftTrim() 248 if ((strncmp (*Pindex, "0x", 2) != 0) && (strncmp (*Pindex, "0X", 2) != 0)) { in ParseHex32() 297 if ((strncmp (*Pindex, "0x", 2) != 0) && (strncmp (*Pindex, "0X", 2) != 0)) { in ParseHex16() 346 if ((strncmp (*Pindex, "0x", 2) != 0) && (strncmp (*Pindex, "0X", 2) != 0)) { in ParseHex8() 394 if (strncmp (*Pindex, "{", 1) != 0) { in ParseGuid() 406 if (strncmp (*Pindex, ",", 1) != 0) { in ParseGuid() 420 if (strncmp (*Pindex, ",", 1) != 0) { in ParseGuid() 435 if (strncmp (*Pindex, ",", 1) != 0) { in ParseGuid() 449 if (strncmp (*Pindex, "}", 1) != 0) { in ParseGuid() 491 if (strncmp (*Pindex, OPERATOR_AND, strlen (OPERATOR_AND)) == 0) { in ParseRightFactor() [all …]
|
D | GenDepex.c | 408 if (strncmp (Pend, DEPENDENCY_END, strlen (DEPENDENCY_END)) == 0) { in GenerateDependencyExpression() 439 if (strncmp (Ptrx, DEPENDENCY_START, strlen (DEPENDENCY_START)) == 0) { in GenerateDependencyExpression() 498 } else if (strncmp (Ptrx, OPERATOR_SOR, strlen (OPERATOR_SOR)) == 0) { in GenerateDependencyExpression() 536 } else if (strncmp (Ptrx, OPERATOR_BEFORE, strlen (OPERATOR_BEFORE)) == 0) { in GenerateDependencyExpression() 569 } else if (strncmp (Ptrx, OPERATOR_AFTER, strlen (OPERATOR_AFTER)) == 0) { in GenerateDependencyExpression() 603 } else if (strncmp (Ptrx, OPERATOR_AND, strlen (OPERATOR_AND)) == 0) { in GenerateDependencyExpression() 619 } else if (strncmp (Ptrx, OPERATOR_OR, strlen (OPERATOR_OR)) == 0) { in GenerateDependencyExpression() 635 } else if (strncmp (Ptrx, OPERATOR_NOT, strlen (OPERATOR_NOT)) == 0) { in GenerateDependencyExpression() 662 } else if (strncmp (Ptrx, OPERATOR_LEFT_PARENTHESIS, strlen (OPERATOR_LEFT_PARENTHESIS)) == 0) { in GenerateDependencyExpression() 668 … } else if (strncmp (Ptrx, OPERATOR_RIGHT_PARENTHESIS, strlen (OPERATOR_RIGHT_PARENTHESIS)) == 0) { in GenerateDependencyExpression() [all …]
|
/device/google/marlin/power/ |
D | power-8996.c | 84 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_cam_preview_hint() 107 } else if ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) && in process_cam_preview_hint() 123 if (((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_cam_preview_hint() 125 ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) && in process_cam_preview_hint() 153 if (strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) { in process_boost() 156 } else if (strncmp(governor, INTERACTIVE_GOVERNOR, in process_boost() 184 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint() 212 } else if ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) && in process_video_encode_hint() 232 if (((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint() 234 ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) && in process_video_encode_hint() [all …]
|
D | metadata-parser.c | 74 (strncmp(attribute, "hint_id", strlen("hint_id")) == 0)) { in parse_cam_preview_metadata() 81 (strncmp(attribute, "state", strlen("state")) == 0)) { in parse_cam_preview_metadata() 106 (strncmp(attribute, "hint_id", strlen("hint_id")) == 0)) { in parse_video_encode_metadata() 113 (strncmp(attribute, "state", strlen("state")) == 0)) { in parse_video_encode_metadata() 138 (strncmp(attribute, "hint_id", strlen("hint_id")) == 0)) { in parse_video_decode_metadata() 145 (strncmp(attribute, "state", strlen("state")) == 0)) { in parse_video_decode_metadata()
|
D | power-helper.c | 336 if (true || strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) { in power_hint() 378 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in power_set_interactive() 387 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in power_set_interactive() 396 } else if ((strncmp(governor, MSMDCVS_GOVERNOR, strlen(MSMDCVS_GOVERNOR)) == 0) && in power_set_interactive() 494 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in power_set_interactive() 498 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in power_set_interactive() 502 } else if ((strncmp(governor, MSMDCVS_GOVERNOR, strlen(MSMDCVS_GOVERNOR)) == 0) && in power_set_interactive() 586 if (strncmp(line + begin, param_names[index], strlen(param_names[index]))) { in extract_stats()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/SetStamp/ |
D | SetStamp.c | 94 if (strncmp (buffer, "NOW NOW", 7) == 0) { in GetDateTime() 289 if (strncmp ((char *) header, "MZ", 2) != 0) { in SetStamp() 309 if (strncmp ((char *) header, "PE\0\0", 4) != 0) { in SetStamp() 422 if (strncmp ((char *) header, "NB", 2) == 0) { in SetStamp()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ModifyInf/ |
D | ModifyInf.c | 186 if (strncmp (Section, Pattern, strlen (Section))) { in ApplyPattern() 213 if (!strncmp (Line, Pattern, Pattern1 - Pattern)) { in ApplyPattern() 231 if (!strncmp (Line, Pattern, Pattern2 - Pattern)) { in ApplyPattern()
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | res_init.c | 254 (!strncmp(line, name, sizeof(name) - 1) && \ in res_init() 458 if (!strncmp(cp, "ndots:", sizeof("ndots:") - 1)) { in res_setoptions() 468 } else if (!strncmp(cp, "debug", sizeof("debug") - 1)) { in res_setoptions() 477 } else if (!strncmp(cp, "inet6", sizeof("inet6") - 1)) { in res_setoptions() 479 } else if (!strncmp(cp, "no_tld_query", sizeof("no_tld_query") - 1)) { in res_setoptions()
|
/device/linaro/hikey/gralloc960/ |
D | mali_gralloc_module.cpp | 57 if (!strncmp(name, GRALLOC_HARDWARE_MODULE_ID, MALI_GRALLOC_HARDWARE_MAX_STR_LEN)) in mali_gralloc_module_device_open() 64 if (!strncmp(name, GRALLOC_HARDWARE_GPU0, MALI_GRALLOC_HARDWARE_MAX_STR_LEN)) in mali_gralloc_module_device_open() 70 else if (!strncmp(name, GRALLOC_HARDWARE_FB0, MALI_GRALLOC_HARDWARE_MAX_STR_LEN)) in mali_gralloc_module_device_open()
|
D | framebuffer_device.cpp | 323 if (0 == strncmp(finfo.id, "CLCD FB", 7)) in init_frame_buffer_locked() 327 else if (0 == strncmp(finfo.id, "ARM Mali HDLCD", 14)) in init_frame_buffer_locked() 331 else if (0 == strncmp(finfo.id, "ARM HDLCD Control", 16)) in init_frame_buffer_locked()
|
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/ |
D | strncmp.c | 39 strncmp(const char *s1, const char *s2, size_t n) in strncmp() function
|
D | stdlib.mk | 19 strncmp.c \
|
/device/linaro/bootloader/edk2/CryptoPkg/Include/ |
D | OpenSslSupport.h | 206 int strncmp (const char *, const char *, size_t); 215 int strncmp (const char *, const char *, size_t); 273 #define strncmp(string1,string2,count) (int)(AsciiStrnCmp(string1,string2,(UINTN)(count))) macro
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/stdlib/ |
D | string.h | 62 int strncmp(const char *, const char *, size_t) __pure;
|
/device/linaro/bootloader/edk2/StdLib/LibC/String/ |
D | Comparison.c | 70 int strncmp(const char *s1, const char *s2, size_t n) in strncmp() function
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/ |
D | GuidChk.c | 896 if (strncmp (Cptr, "FFS_FILEGUID", 12) == 0) { in ProcessPkgFileGuids() 1203 if (strncmp (Cptr, "FILE_GUID", 9) == 0) { in ProcessINFFileGuids() 1371 if (!strncmp (Cptr, "define", 6)) { in ProcessCFileSigs() 1393 if (strncmp (Cptr, "EFI_SIGNATURE_16", 16) == 0) { in ProcessCFileSigs() 1395 } else if (strncmp (Cptr, "EFI_SIGNATURE_32", 16) == 0) { in ProcessCFileSigs() 1397 } else if (strncmp (Cptr, "EFI_SIGNATURE_64", 16) == 0) { in ProcessCFileSigs() 1448 if (!strncmp (Cptr, "define", 6)) { in ProcessCFileGuids() 1549 if (!strncmp (Cptr, "define", 6)) { in ProcessCFileGuids() 1754 if (!strncmp (Cptr, "define", 6)) { in IsIA64GuidLine() 1778 if (strncmp (Cptr, "GuidL", 5) == 0) { in IsIA64GuidLine() [all …]
|
/device/linaro/bootloader/edk2/BeagleBoardPkg/Debugger_scripts/ |
D | rvi_symbols_macros.inc | 17 return strncmp(guid1, guid2, 16); 33 if (strncmp(mem_ptr, "IBI SYST", 8) == 0)
|
/device/google/bonito/json-c/ |
D | json_tokener.c | 369 (strncmp(json_inf_str, infbuf, size_inf) == 0) in json_tokener_parse_ex() 395 || (strncmp(json_null_str, tok->pb->buf, size) == 0) in json_tokener_parse_ex() 406 (strncmp(json_nan_str, tok->pb->buf, size_nan) == 0) in json_tokener_parse_ex() 641 || (strncmp(json_true_str, tok->pb->buf, size1) == 0) in json_tokener_parse_ex() 651 || (strncmp(json_false_str, tok->pb->buf, size2) == 0)) { in json_tokener_parse_ex()
|
/device/google/crosshatch/json-c/ |
D | json_tokener.c | 369 (strncmp(json_inf_str, infbuf, size_inf) == 0) in json_tokener_parse_ex() 395 || (strncmp(json_null_str, tok->pb->buf, size) == 0) in json_tokener_parse_ex() 406 (strncmp(json_nan_str, tok->pb->buf, size_nan) == 0) in json_tokener_parse_ex() 641 || (strncmp(json_true_str, tok->pb->buf, size1) == 0) in json_tokener_parse_ex() 651 || (strncmp(json_false_str, tok->pb->buf, size2) == 0)) { in json_tokener_parse_ex()
|
/device/google/contexthub/contexthubhal/ |
D | NanohubHidlAdapter.cpp | 568 if (strncmp(hh_data[0].c_str(), "load", 4) == 0) { in debug() 572 } else if (strncmp(hh_data[0].c_str(), "unload", 6) == 0) { in debug() 574 } else if (strncmp(hh_data[0].c_str(), "enable", 6) == 0) { in debug() 576 } else if (strncmp(hh_data[0].c_str(), "disable", 7) == 0) { in debug()
|
/device/generic/goldfish/qemu-props/ |
D | qemu-props.c | 143 int is_boot_completed = (strncmp(temp, "1", 1) == 0) ? 1 : 0; in main()
|
/device/generic/goldfish/network/netmgr/ |
D | address_assigner.cpp | 41 if (strncmp(name, mInterfacePrefix, mPrefixLength) != 0) { in onInterfaceState()
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
D | string.h | 279 int strncmp(const char *S1, const char *S2, size_t N);
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/app/ |
D | xa-factory.c | 152 if (!strncmp(id, xf_component_id[i].id, length)) in xf_component_factory()
|
/device/google/contexthub/util/common/ |
D | JSONObject.cpp | 338 } else if (offset + 4 <= size && !strncmp("null", &data[offset], 4)) { in Parse() 341 } else if (offset + 4 <= size && !strncmp("true", &data[offset], 4)) { in Parse() 344 } else if (offset + 5 <= size && !strncmp("false", &data[offset], 5)) { in Parse()
|