Home
last modified time | relevance | path

Searched refs:strncmp (Results 1 – 25 of 80) sorted by relevance

1234

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/
DDepexParser.c171 …((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 …]
DGenDepex.c408 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/
Dpower-8996.c82 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_cam_preview_hint()
105 } else if ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) && in process_cam_preview_hint()
121 if (((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_cam_preview_hint()
123 ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) && in process_cam_preview_hint()
151 if (strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) { in process_boost()
154 } else if (strncmp(governor, INTERACTIVE_GOVERNOR, in process_boost()
198 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
226 } else if ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) && in process_video_encode_hint()
246 if (((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
248 ((strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) && in process_video_encode_hint()
[all …]
Dmetadata-parser.c74 (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()
Dpower.c159 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint()
165 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint()
173 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint()
175 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint()
209 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_encode_hint()
215 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
224 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_encode_hint()
227 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
444 if (true || strncmp(governor, SCHED_GOVERNOR, strlen(SCHED_GOVERNOR)) == 0) { in power_hint()
493 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in set_interactive()
[all …]
/device/lge/bullhead/power/
Dpower.c149 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint()
155 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint()
163 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint()
165 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint()
199 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_encode_hint()
205 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
214 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_encode_hint()
217 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
369 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in set_interactive()
378 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive()
[all …]
Dpower-8994.c79 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
92 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
127 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override()
139 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override()
Dmetadata-parser.c79 (strncmp(attribute, "hint_id", strlen("hint_id")) == 0)) { in parse_video_encode_metadata()
86 (strncmp(attribute, "state", strlen("state")) == 0)) { in parse_video_encode_metadata()
111 (strncmp(attribute, "hint_id", strlen("hint_id")) == 0)) { in parse_video_decode_metadata()
118 (strncmp(attribute, "state", strlen("state")) == 0)) { in parse_video_decode_metadata()
Dpower-8992.c125 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
149 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
189 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override()
203 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override()
/device/huawei/angler/power/
Dpower-8992.c79 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
92 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
127 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override()
139 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override()
Dpower.c155 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint()
161 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint()
169 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_decode_hint()
171 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_decode_hint()
205 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_encode_hint()
211 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
220 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in process_video_encode_hint()
223 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
416 if ((strncmp(governor, ONDEMAND_GOVERNOR, strlen(ONDEMAND_GOVERNOR)) == 0) && in set_interactive()
425 } else if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive()
[all …]
Dmetadata-parser.c79 (strncmp(attribute, "hint_id", strlen("hint_id")) == 0)) { in parse_video_encode_metadata()
86 (strncmp(attribute, "state", strlen("state")) == 0)) { in parse_video_encode_metadata()
111 (strncmp(attribute, "hint_id", strlen("hint_id")) == 0)) { in parse_video_decode_metadata()
118 (strncmp(attribute, "state", strlen("state")) == 0)) { in parse_video_decode_metadata()
Dpower-8994.c125 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
149 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in process_video_encode_hint()
189 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override()
203 if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) && in set_interactive_override()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/SetStamp/
DSetStamp.c94 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/
DModifyInf.c186 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/
Dres_init.c254 (!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/bootloader/arm-trusted-firmware/lib/stdlib/
Dstrncmp.c39 strncmp(const char *s1, const char *s2, size_t n) in strncmp() function
/device/linaro/bootloader/edk2/CryptoPkg/Include/
DOpenSslSupport.h198 int strncmp (const char *, const char *, size_t);
207 int strncmp (const char *, const char *, size_t);
265 #define strncmp(string1,string2,count) (int)(AsciiStrnCmp(string1,string2,(UINTN)(count))) macro
/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/
Dstring.h61 int strncmp(const char *, const char *, size_t) __pure;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/
DGuidChk.c896 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/StdLib/LibC/String/
DComparison.c70 int strncmp(const char *s1, const char *s2, size_t n) in strncmp() function
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
Dusb.c1227 if (!strncmp(cmdbuf + 7, "max-download-size", 17)) { in fb_getvar()
1233 } else if (!strncmp(cmdbuf + 7, "partition-type:", 15)) { in fb_getvar()
1243 if (!strncmp(cmdbuf +22, "system", 6) || !strncmp(cmdbuf +22, "userdata", 8) || in fb_getvar()
1244 !strncmp(cmdbuf +22, "cache", 5)) { in fb_getvar()
1254 } else if (!strncmp(cmdbuf + 7, "partition-size:", 15)) { in fb_getvar()
1269 } else if (!strncmp(cmdbuf + 7, "serialno", 8)) { in fb_getvar()
1275 } else if (!strncmp(cmdbuf + 7, "version-bootloader", 18)) { in fb_getvar()
1280 } else if (!strncmp(cmdbuf + 7, "version-baseband", 16)) { in fb_getvar()
1285 } else if (!strncmp(cmdbuf + 7, "product", 8)) { in fb_getvar()
/device/generic/goldfish/qemu-props/
Dqemu-props.c117 int is_boot_completed = (strncmp(temp, "1", 1) == 0) ? 1 : 0; in main()
/device/linaro/bootloader/edk2/BeagleBoardPkg/Debugger_scripts/
Drvi_symbols_macros.inc17 return strncmp(guid1, guid2, 16);
33 if (strncmp(mem_ptr, "IBI SYST", 8) == 0)
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Debugger_scripts/
Drvi_symbols_macros.inc17 return strncmp(guid1, guid2, 16);
33 if (strncmp(mem_ptr, "IBI SYST", 8) == 0)

1234