/external/icu/icu4c/source/test/cintltst/ |
D | cstrtest.c | 56 log_err("uprv_tolower(abc) failed\n"); in TestAPI() 63 log_err("uprv_tolower(ABC) failed\n"); in TestAPI() 70 log_err("uprv_toupper(abc) failed\n"); in TestAPI() 77 log_err("uprv_toupper(ABC) failed\n"); in TestAPI() 83 …log_err("FAIL: *** T_CString_toLowerCase() failed. Expected: \"hello there\", Got: \"%s\"\n", src); in TestAPI() 87 …log_err("FAIL: *** T_CString_toUpperCase() failed. Expected: \"HELLO THERE\", Got: \"%s\"\n", src); in TestAPI() 92 …log_err("FAIL: ****T_CString_stringToInteger(\"34556\", 10) failed. Expected: 34556, Got: %d\n", i… in TestAPI() 96 …log_err("FAIL: ****T_CString_stringToInteger(\"100\", 16) failed. Expected: 256, Got: %d\n", intVa… in TestAPI() 100 … log_err("FAIL: ****integerToString(src, 34566, 10); failed. Expected: \"34556\", Got: %s\n", src); in TestAPI() 104 … log_err("FAIL: ****integerToString(src, 431, 16); failed. Expected: \"1AF\", Got: %s\n", src); in TestAPI() [all …]
|
D | custrtst.c | 118 log_err("There is an error in u_strlen()"); in TestStringFunctions() 132 log_err("an error occured in u_memcpy()\n"); in TestStringFunctions() 134 log_err("an error occured in u_memcpy() or u_memcmp()\n"); in TestStringFunctions() 138 log_err("an error occured in u_memcmp()\n"); in TestStringFunctions() 146 log_err("an error occured in u_memset()\n"); in TestStringFunctions() 150 log_err("u_memset() went too far\n"); in TestStringFunctions() 158 log_err("an error occured in u_memcpy() or u_memcmp()\n"); in TestStringFunctions() 167 log_err("an error occured in u_memmove()\n"); in TestStringFunctions() 171 log_err("an error occured in u_memmove()\n"); in TestStringFunctions() 186 log_err("something threw an error in u_strcpy() or u_strcmp()\n"); in TestStringFunctions() [all …]
|
D | nccbtst.c | 195 log_err("u-> ibm-949 with skip did not match.\n"); in TestSkip() 199 log_err("u-> ibm-943 with skip did not match.\n"); in TestSkip() 214 log_err("u->ibm-930 with skip with untaken fallbacks did not match.\n"); in TestSkip() 235 log_err("u->US-ASCII with skip did not match.\n"); in TestSkip() 246 log_err("u->ibm-367 with skip did not match.\n"); in TestSkip() 257 log_err("u->LATIN_1 with skip did not match.\n"); in TestSkip() 268 log_err("u->windows-1252 with skip did not match.\n"); in TestSkip() 432 log_err("u-> ibm-943 with skip did not match.\n"); in TestSkip() 437 log_err("u-> euc-jp with skip did not match.\n"); in TestSkip() 442 log_err("u-> euc-tw with skip did not match.\n"); in TestSkip() [all …]
|
D | ncnvtst.c | 152 log_err("u-> ibm-920 [UCNV_SBCS] not match.\n"); in TestSurrogateBehaviour() 158 log_err("u-> LATIN_1 not match.\n"); in TestSurrogateBehaviour() 172 log_err("u-> ibm-1363 [UCNV_DBCS portion] not match.\n"); in TestSurrogateBehaviour() 175 log_err("u-> ibm-1363 [UCNV_DBCS portion] not match.\n"); in TestSurrogateBehaviour() 179 log_err("u-> ibm-1363 [UCNV_MBCS] not match.\n"); in TestSurrogateBehaviour() 182 log_err("u-> ibm-1363 [UCNV_MBCS] not match.\n"); in TestSurrogateBehaviour() 198 log_err("u-> not match.\n"); in TestSurrogateBehaviour() 201 log_err("u-> not match.\n"); in TestSurrogateBehaviour() 264 log_err("u-> iso-2022-kr [UCNV_DBCS] not match.\n"); in TestSurrogateBehaviour() 267 log_err("u-> iso-2022-kr [UCNV_DBCS] not match.\n"); in TestSurrogateBehaviour() [all …]
|
D | utf16tst.c | 83 log_err("ERROR: %x is a single character\n", c); in TestCodeUnitValues() 92 log_err("ERROR: %x is a first surrogate\n", c); in TestCodeUnitValues() 101 log_err("ERROR: %x is a second surrogate\n", c); in TestCodeUnitValues() 133 … log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], U16_LENGTH(c)); in TestCharLength() 140 log_err("ERROR: UTF16_NEED_MULTIPLE_UCHAR failed for %lx\n", c); in TestCharLength() 190 …log_err("ERROR: UTF16_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, resu… in TestGetChar() 195 …log_err("ERROR: U16_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, result… in TestGetChar() 202 …log_err("ERROR: UTF16_GET_CHAR_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, expect… in TestGetChar() 207 … log_err("ERROR: U16_GET failed for offset=%ld. Expected:%lx Got:%lx\n", offset, expected, c); in TestGetChar() 213 …log_err("ERROR: U16_GET_OR_FFFD failed for offset=%ld. Expected:%lx Got:%lx\n", offset, expected, … in TestGetChar() [all …]
|
D | utf8tst.c | 81 log_err("0x%02x ", *(uchars+i)); in printUChars() 138 … log_err("ERROR: 0x%02x is a single byte but results in single: %c lead: %c trail: %c\n", in TestCodeUnitValues() 147 … log_err("ERROR: 0x%02x is a lead byte but results in single: %c lead: %c trail: %c\n", in TestCodeUnitValues() 156 … log_err("ERROR: 0x%02x is a trail byte but results in single: %c lead: %c trail: %c\n", in TestCodeUnitValues() 193 … log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], U8_LENGTH(c)); in TestCharLength() 200 log_err("ERROR: UTF8_NEED_MULTIPLE_UCHAR failed for %lx\n", c); in TestCharLength() 252 log_err("ERROR: UTF8_GET_CHAR_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", in TestGetChar() 259 log_err("ERROR: U8_GET_UNSAFE failed for offset=%ld. Expected:%lx Got:%lx\n", in TestGetChar() 268 …log_err("ERROR: UTF8_GET_CHAR_SAFE failed for offset=%ld. Expected:%lx Got:%lx\n", offset, expecte… in TestGetChar() 274 … log_err("ERROR: U8_GET failed for offset=%ld. Expected:%lx Got:%lx\n", offset, expected, c); in TestGetChar() [all …]
|
D | usrchtst.c | 213 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose() 218 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose() 224 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose() 230 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose() 236 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose() 242 log_err("Error: NULL arguments should produce an error and a NULL result\n"); in TestOpenClose() 265 log_err("Error: NULL break iterator is valid for opening search\n"); in TestOpenClose() 290 log_err("Error: Break iterator is valid for opening search\n"); in TestOpenClose() 320 log_err("Error opening search %s\n", u_errorName(status)); in TestInitialization() 332 log_err("Error opening search %s\n", u_errorName(status)); in TestInitialization() [all …]
|
D | chashtst.c | 110 log_err("FAIL: uhash_open failed with %s and returned 0x%08x\n", in TestBasic() 115 log_err("FAIL: uhash_open returned NULL\n"); in TestBasic() 140 log_err("FAIL: compareChars failed\n"); in TestBasic() 146 log_err("FAIL: compareIChars failed\n"); in TestBasic() 170 log_err("FAIL: uhash_open failed with %s and returned 0x%08x\n", in TestOtherAPI() 175 log_err("FAIL: uhash_open returned NULL\n"); in TestOtherAPI() 182 log_err("FAIL: uhas_count() failed. Expected: 1, Got: %d\n", uhash_count(hash)); in TestOtherAPI() 185 log_err("FAIL: uhash_find failed\n"); in TestOtherAPI() 193 log_err("FAIL: uhas_count() failed. Expected: 5, Got: %d\n", uhash_count(hash)); in TestOtherAPI() 197 log_err("FAIL: uhash_geti failed\n"); in TestOtherAPI() [all …]
|
D | ccapitst.c | 149 log_err("FAILURE! uenum_next(allNamesEnum...) set an error: %s\n", u_errorName(err)); in ListNames() 160 log_err("FAILURE! uenum_reset(allNamesEnum, &err); doesn't work\n"); in ListNames() 180 log_err("ucnv_getAvailableName() with index < 0) should return NULL\n"); in ListNames() 188 log_err("FAILURE! ucnv_countAliases(\"utf-8\") -> %d aliases\n", count); in ListNames() 194 log_err("FAILURE! ucnv_getAlias(\"utf-8\", 0) -> %s\n", myErrorName(err)); in ListNames() 196 log_err("FAILURE! ucnv_getAlias(\"utf-8\", 0) -> %s instead of UTF-8\n", alias); in ListNames() 202 … log_err("FAILURE! ucnv_getAlias(\"utf-8\", %d) -> %s\n", aliasNum, myErrorName(err)); in ListNames() 205 …log_err("FAILURE! ucnv_getAlias(\"utf-8\", %d) -> alias %s insanely long, corrupt?!\n", aliasNum, … in ListNames() 217 log_err("FAILURE! ucnv_getAliases(\"utf-8\") -> %s\n", myErrorName(err)); in ListNames() 223 … log_err("FAILURE! ucnv_getAlias(\"utf-8\", %d) -> %s\n", aliasNum, myErrorName(err)); in ListNames() [all …]
|
D | cstrcase.c | 59 …log_err("error in u_strToLower(root locale)=%ld error=%s string matches: %s\t\nlowerRoot=%s\t\nbuf… in TestCaseLower() 81 log_err("error in u_strToLower(turkish locale)=%ld error=%s string matches: %s\n", in TestCaseLower() 99 log_err("error in u_strToLower(root locale preflighting)=%ld error=%s string matches: %s\n", in TestCaseLower() 112 log_err("error in u_strToLower(root locale dest=NULL)=%ld error=%s\n", in TestCaseLower() 126 … log_err("error in u_strToLower(root locale destCapacity=-1)=%ld error=%s buffer[0]==0x%lx\n", in TestCaseLower() 157 log_err("error in u_strToUpper(root locale)=%ld error=%s string matches: %s\n", in TestCaseUpper() 175 log_err("error in u_strToUpper(turkish locale)=%ld error=%s string matches: %s\n", in TestCaseUpper() 190 log_err("error in u_strToUpper(turkish locale pure preflighting)=%ld error=%s\n", in TestCaseUpper() 205 log_err("error in u_strToUpper(turkish locale src=NULL)=%ld error=%s buffer[0]==0x%lx\n", in TestCaseUpper() 220 … log_err("error in u_strToUpper(turkish locale srcLength=-2)=%ld error=%s buffer[0]==0x%lx\n", in TestCaseUpper() [all …]
|
D | cucdtst.c | 231 log_err("Failed case conversion with itself: U+%04x\n", i); in TestUpperLower() 233 log_err("Failed case conversion with itself: U+%04x\n", i); in TestUpperLower() 239 …log_err("FAILED u_tolower() for %lx Expected %lx Got %lx\n", upper[i], lower[i], u_tolower(upper[i… in TestUpperLower() 248 log_err("Failed isLowerCase test at %c\n", upperTest[i]); in TestUpperLower() 252 log_err("Failed isUpperCase test at %c\n", lowerTest[i]); in TestUpperLower() 256 log_err("Failed case conversion from %c To %c :\n", lowerTest[i], upperTest[i]); in TestUpperLower() 260 log_err("Failed case conversion : %c To %c \n", upperTest[i], lowerTest[i]); in TestUpperLower() 264 log_err("Failed case conversion with itself: %c\n", upperTest[i]); in TestUpperLower() 268 log_err("Failed case conversion with itself: %c\n", lowerTest[i]); in TestUpperLower() 334 log_err("u_istitle failed for 0x%4X. Expected TRUE, got FALSE\n",expected[i]); in TestUpperLower() [all …]
|
D | cucdapi.c | 38 log_err("Failed: %s - %s\n", msg, u_errorName(errorCode)); in assertEqualScripts() 131 … log_err("Errors uscript_getScriptCode() for Japanese locale: num=%d, expected %d \n", in TestUScriptCodeAPI() 136 log_err("Japanese locale: code #%d was %d (%s) but expected %d (%s)\n", j, in TestUScriptCodeAPI() 217 log_err("Error getting abbreviations Got: %s Expected: %s\n",name,expectedNames[i]); in TestUScriptCodeAPI() 222 log_err("Errors uchar_getScriptAbbr() : %i \n",numErrors); in TestUScriptCodeAPI() 252 log_err("Error getting abbreviations Got: %s Expected: %s\n",name,expectedAbbr[i]); in TestUScriptCodeAPI() 257 log_err("Errors uchar_getScriptAbbr() : %i \n",numErrors); in TestUScriptCodeAPI() 327 log_err("uscript_getScript for codepoint \\U%08X failed\n",codepoints[i]); in TestUScriptCodeAPI() 331 log_err("uscript_getScript for codepoint \\U%08X failed. Error: %s\n", in TestUScriptCodeAPI() 338 log_err("uscript_getScript failed.\n"); in TestUScriptCodeAPI() [all …]
|
D | ncnvfbts.c | 176 log_err("FAIL: Error is setting fallback. Errocode=%s\n", myErrorName(status)); in testConvertFromUnicode() 202 …log_err("Error, overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, … in testConvertFromUnicode() 223 log_err("Problem doing toUnicode, errcode %d %s\n", myErrorName(status), gNuConvTestName); in testConvertFromUnicode() 256 log_err("Expected %d chars out, got %d %s\n", expectLen, targ-junkout, gNuConvTestName); in testConvertFromUnicode() 267 log_err("\ndid not get the expected offsets while %s \n", gNuConvTestName); in testConvertFromUnicode() 268 log_err("Got : "); in testConvertFromUnicode() 271 log_err("%d, ", junokout[p-junkout]); in testConvertFromUnicode() 272 log_err("\nExpected: "); in testConvertFromUnicode() 274 log_err("%d,", expectOffsets[i]); in testConvertFromUnicode() 286 log_err("String does not match. %s\n", gNuConvTestName); in testConvertFromUnicode() [all …]
|
D | cnumtst.c | 155 log_err("Error in unum_parseInt64(): %s \n", myErrorName(*status)); in TestInt64Parse() 215 log_err("Error: could not create NumberFormat (french): %s\n", myErrorName(status)); in TestNumberFormat() 222 … log_err("Error: could not create NumberFormat using \n unum_open(currency, NULL, &status) %s\n", in TestNumberFormat() 228 … log_err("Error: could not create NumberFormat using unum_open(currency, french, &status): %s\n", in TestNumberFormat() 235 …log_err("Error: could not create NumberFormat using unum_open(percent, NULL, &status): %s\n", myEr… in TestNumberFormat() 240 …log_err("Error: could not create NumberFormat using unum_open(percent, french, &status): %s\n", my… in TestNumberFormat() 246 …log_err("Error: could not create NumberFormat using unum_open(spellout, NULL, &status): %s\n", myE… in TestNumberFormat() 253 log_err("Error: could not clone unum_clone(def, &status): %s\n", myErrorName(status)); in TestNumberFormat() 263 log_err("error in countAvailable"); in TestNumberFormat() 272 log_err("No locale for which number formatting patterns are applicable\n"); in TestNumberFormat() [all …]
|
D | cbiapts.c | 201 log_err("FAIL: Error in ubrk_open() for line breakiterator: %s\n", myErrorName(status)); in TestBreakIteratorCAPI() 210 … log_err("FAIL: Error in ubrk_open() for character breakiterator: %s\n", myErrorName(status)); in TestBreakIteratorCAPI() 219 log_err("FAIL: expected NULL from opening an invalid break iterator.\n"); in TestBreakIteratorCAPI() 222 …log_err("FAIL: Error in ubrk_open() for BOGUS breakiterator. Expected U_ILLEGAL_ARGUMENT_ERROR\n"); in TestBreakIteratorCAPI() 226 …log_err("FAIL: Error in ubrk_open() for BOGUS breakiterator. Expected U_ILLEGAL_ARGUMENT_ERROR\n G… in TestBreakIteratorCAPI() 238 log_err("FAIL: Error in ubrk_countAvialable() returned %d\n", count); in TestBreakIteratorCAPI() 247 log_err("No locale for which breakiterator is applicable\n"); in TestBreakIteratorCAPI() 257 log_err("error ubrk_start(word) did not return 0\n"); in TestBreakIteratorCAPI() 261 log_err("error ubrk_next(word) did not return 4\n"); in TestBreakIteratorCAPI() 265 log_err("error ubrl_following(word,4) did not return 6\n"); in TestBreakIteratorCAPI() [all …]
|
D | custrtrn.c | 154 log_err("u_strToUTF32(preflight with length): " in Test_strToUTF32() 163 log_err("u_strToUTF32(with length): " in Test_strToUTF32() 187 log_err("u_strToUTF32(preflight with NUL-termination): " in Test_strToUTF32() 196 log_err("u_strToUTF32(with NUL-termination): " in Test_strToUTF32() 226 log_err("u_strToUTF32(preflight surr16+%ld) sets %s != U_INVALID_CHAR_FOUND\n", in Test_strToUTF32_surrogates() 234 log_err("u_strToUTF32(surr16+%ld) sets %s != U_INVALID_CHAR_FOUND\n", in Test_strToUTF32_surrogates() 242 log_err("u_strToUTF32(preflight surr16+%ld/NUL) sets %s != U_INVALID_CHAR_FOUND\n", in Test_strToUTF32_surrogates() 250 log_err("u_strToUTF32(surr16+%ld/NUL) sets %s != U_INVALID_CHAR_FOUND\n", in Test_strToUTF32_surrogates() 259 …log_err("u_strToUTF32(preflight surr16+4) sets %s != U_BUFFER_OVERFLOW_ERROR or an unexpected leng… in Test_strToUTF32_surrogates() 267 …log_err("u_strToUTF32(surr16+4) sets %s != U_ZERO_ERROR or does not produce the expected string\n", in Test_strToUTF32_surrogates() [all …]
|
D | cloctst.c | 306 log_err("ERROR: in uloc_getLanguage %s\n", myErrorName(status)); in TestBasicGetters() 309 log_err(" Language code mismatch: %s versus %s\n", temp, rawData2[LANG][i]); in TestBasicGetters() 320 log_err("ERROR: in uloc_getCountry %s\n", myErrorName(status)); in TestBasicGetters() 323 log_err(" Country code mismatch: %s versus %s\n", temp, rawData2[CTRY][i]); in TestBasicGetters() 334 log_err("ERROR: in uloc_getVariant %s\n", myErrorName(status)); in TestBasicGetters() 337 log_err("Variant code mismatch: %s versus %s\n", temp, rawData2[VAR][i]); in TestBasicGetters() 346 … log_err("ERROR: in uloc_getName(%s,NULL,0,..), expected U_BUFFER_OVERFLOW_ERROR!\n", testLocale); in TestBasicGetters() 349 log_err("ERROR: in uloc_getName %s\n", myErrorName(status)); in TestBasicGetters() 352 log_err(" Mismatch in getName: %s versus %s\n", name, rawData2[NAME][i]); in TestBasicGetters() 369 log_err(" Mismatch in uloc_setDefault: qq_BLA versus %s\n", uloc_getDefault()); in TestNullDefault() [all …]
|
/external/icu/icu4c/source/test/iotest/ |
D | filetst.c | 64 log_err("Can't %s test file.\n", description); in TestFileFromICU() 82 log_err("sizeof(void*)=%d hasn't been tested before", (int)sizeof(void*)); in TestFileFromICU() 108 log_err("Got feof while writing the file.\n"); in TestFileFromICU() 123 log_err("Can't read test file."); in TestFileFromICU() 128 log_err("Got feof while reading the file and not at the end of the file.\n"); in TestFileFromICU() 133 log_err("u_fgetc 1 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU() 138 log_err("u_fgetc 2 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU() 143 log_err("u_fgetc 3 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU() 150 …log_err("u_fgetcx returned \\u%04X\\u%04X\\u%04X. Expected 'Sin'.", myString[0], myString[1], mySt… in TestFileFromICU() 161 log_err("%%d Got: %d, Expected: %d\n", *newValuePtr, *n); in TestFileFromICU() [all …]
|
D | trnstst.c | 30 log_err("Couldn't open test file for writing\n"); in TestTranslitOps() 37 log_err("Error opening transliterator %s\n", u_errorName(err)); in TestTranslitOps() 47 log_err("Error setting transliterator %s\n", u_errorName(err)); in TestTranslitOps() 54 log_err("Error, a transliterator was already set!\n"); in TestTranslitOps() 60 log_err("Error setting transliterator on NULL file err=%s\n", u_errorName(err)); in TestTranslitOps() 65 log_err("Error getting the same transliterator was not returned on NULL file\n"); in TestTranslitOps() 72 log_err("Error setting transliterator on error status err=%s\n", u_errorName(err)); in TestTranslitOps() 77 log_err("Error getting the same transliterator on error status\n"); in TestTranslitOps() 86 log_err("Err setting transliterator %s\n", u_errorName(err)); in TestTranslitOps() 93 log_err("Err, transliterator that came back was not the original one.\n"); in TestTranslitOps() [all …]
|
D | strtst.c | 54 log_err("sizeof(void*)=%d hasn't been tested before", (int)sizeof(void*)); in TestString() 62 log_err("%%d Got: %d, Expected: %d\n", *newValuePtr, *n); in TestString() 69 log_err("%%i Got: %i, Expected: %i\n", *newValuePtr, *n); in TestString() 76 log_err("%%o Got: %o, Expected: %o\n", *newValuePtr, *n); in TestString() 83 log_err("%%u Got: %u, Expected: %u\n", *newValuePtr, *n); in TestString() 90 log_err("%%x Got: %x, Expected: %x\n", *newValuePtr, *n); in TestString() 97 log_err("%%X Got: %X, Expected: %X\n", *newValuePtr, *n); in TestString() 104 log_err("%%f Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestString() 111 log_err("%%e Got: %e, Expected: %e\n", *newDoubleValuePtr, myFloat); in TestString() 118 log_err("%%E Got: %E, Expected: %E\n", *newDoubleValuePtr, myFloat); in TestString() [all …]
|
/external/icu/icu4c/source/samples/uciter8/ |
D | uciter8.c | 37 #define log_err printf macro 62 log_err("%s->getIndex(length)=%d != %d=%s->getIndex(length)\n", n1, length, pos2, n2); in compareIterators() 71 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 77 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n2, middle, pos2); in compareIterators() 85 … log_err("%s->current()=U+%04x != U+%04x=%s->current() at middle=%d\n", n1, c1, c2, n2, middle); in compareIterators() 94 …log_err("%s->next()=U+%04x != U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter… in compareIterators() 104 …log_err("%s->previous()=U+%04x != U+%04x=%s->previous() at %d (started in middle)\n", n1, c1, c2, … in compareIterators() 112 log_err("%s->move(start) failed\n", n1); in compareIterators() 116 log_err("%s->hasNext() at the start returns false\n", n1); in compareIterators() 122 log_err("%s->move(start) failed\n", n2); in compareIterators() [all …]
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt_multi.c | 14 log_err("Failed to deduct types for %s BPF program", title); in prog_attach() 20 log_err("Failed to find %s BPF program", title); in prog_attach() 27 log_err("Failed to attach %s BPF program", title); in prog_attach() 69 log_err("Failed to call setsockopt(IP_TOS)"); in run_getsockopt_test() 77 log_err("Failed to call getsockopt(IP_TOS)"); in run_getsockopt_test() 82 log_err("Unexpected getsockopt 0x%x != 0x80 without BPF", buf); in run_getsockopt_test() 100 log_err("Failed to call getsockopt(IP_TOS)"); in run_getsockopt_test() 105 log_err("Unexpected getsockopt 0x%x != 0x90", buf); in run_getsockopt_test() 124 log_err("Failed to call getsockopt(IP_TOS)"); in run_getsockopt_test() 129 log_err("Unexpected getsockopt 0x%x != 0xA0", buf); in run_getsockopt_test() [all …]
|
D | sockopt_sk.c | 19 log_err("Failed to create socket"); in getsetsockopt() 28 log_err("Failed to call setsockopt(IP_TOS)"); in getsetsockopt() 36 log_err("Failed to call getsockopt(IP_TOS)"); in getsetsockopt() 41 log_err("Unexpected getsockopt(IP_TOS) buf[0] 0x%02x != 0x08", in getsetsockopt() 51 log_err("Unexpected success from setsockopt(IP_TTL)"); in getsetsockopt() 60 log_err("Failed to call setsockopt"); in getsetsockopt() 68 log_err("Failed to call getsockopt"); in getsetsockopt() 73 log_err("Unexpected optlen %d != 1", optlen); in getsetsockopt() 77 log_err("Unexpected buf[0] 0x%02x != 0x01", buf.u8[0]); in getsetsockopt() 86 log_err("Failed to call setsockopt(SO_SNDBUF)"); in getsetsockopt() [all …]
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_tcp_check_syncookie_user.c | 27 log_err("Failed to create server socket"); in start_server() 32 log_err("Failed to bind server socket"); in start_server() 37 log_err("Failed to listen on server socket"); in start_server() 57 log_err("Failed to get server addr"); in connect_to_server() 63 log_err("Failed to create client socket"); in connect_to_server() 68 log_err("Fail to connect to server"); in connect_to_server() 91 log_err("Failed to get fd by prog id %d", prog_id); in get_map_fd_by_prog_id() 99 log_err("Failed to get info by prog fd %d", prog_fd); in get_map_fd_by_prog_id() 104 log_err("No maps found for prog fd %d", prog_fd); in get_map_fd_by_prog_id() 112 log_err("Failed to get fd by map id %d", map_ids[0]); in get_map_fd_by_prog_id() [all …]
|
D | cgroup_helpers.c | 55 log_err("Opening cgroup.controllers: %s", path); in enable_all_controllers() 62 log_err("Reading cgroup.controllers: %s", path); in enable_all_controllers() 75 log_err("Opening cgroup.subtree_control: %s", path); in enable_all_controllers() 81 log_err("Enabling controller %s: %s", c, path); in enable_all_controllers() 106 log_err("unshare"); in setup_cgroup_environment() 111 log_err("mount fakeroot"); in setup_cgroup_environment() 116 log_err("mount cgroup2"); in setup_cgroup_environment() 124 log_err("mkdir cgroup work dir"); in setup_cgroup_environment() 138 log_err("Removing cgroup: %s", filename); in nftwfunc() 154 log_err("Opening Cgroup Procs: %s", cgroup_procs_path); in join_cgroup_from_top() [all …]
|