Searched refs:compStr (Results 1 – 4 of 4) sorted by relevance
/external/antlr/runtime/C/src/ |
D | antlr3string.c | 76 static ANTLR3_UINT32 compare8 (pANTLR3_STRING string, const char * compStr); 77 static ANTLR3_UINT32 compareUTF16_8 (pANTLR3_STRING string, const char * compStr); 78 static ANTLR3_UINT32 compareUTF16_UTF16(pANTLR3_STRING string, const char * compStr); 79 static ANTLR3_UINT32 compareS (pANTLR3_STRING string, pANTLR3_STRING compStr); 1229 compare8 (pANTLR3_STRING string, const char * compStr) in compare8() argument 1231 return strcmp((const char *)(string->chars), compStr); in compare8() 1239 compareUTF16_8 (pANTLR3_STRING string, const char * compStr) in compareUTF16_8() argument 1246 while (((ANTLR3_UCHAR)(*ourString) != '\0') && ((ANTLR3_UCHAR)(*compStr) != '\0')) in compareUTF16_8() 1248 charDiff = *ourString - *compStr; in compareUTF16_8() 1254 compStr++; in compareUTF16_8() [all …]
|
/external/clang/lib/Sema/ |
D | SemaExprMember.cpp | 302 const char *compStr = CompName->getNameStart(); in CheckExtVectorComponent() local 311 bool HexSwizzle = (*compStr == 's' || *compStr == 'S') && compStr[1]; in CheckExtVectorComponent() 320 if (!strcmp(compStr, "hi") || !strcmp(compStr, "lo") || in CheckExtVectorComponent() 321 !strcmp(compStr, "even") || !strcmp(compStr, "odd")) { in CheckExtVectorComponent() 324 (Idx = vecType->getPointAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent() 325 bool HasRGBA = IsRGBA(*compStr); in CheckExtVectorComponent() 328 if (HasRGBA != IsRGBA(*compStr)) in CheckExtVectorComponent() 332 compStr++; in CheckExtVectorComponent() 333 } while (*compStr && (Idx = vecType->getPointAccessorIdx(*compStr)) != -1); in CheckExtVectorComponent() 336 if (HasRGBA || (*compStr && IsRGBA(*compStr))) { in CheckExtVectorComponent() [all …]
|
/external/antlr/runtime/C/include/ |
D | antlr3string.h | 156 ANTLR3_UINT32 (*compare8) (struct ANTLR3_STRING_struct * string, const char * compStr); 162 ANTLR3_UINT32 (*compare) (struct ANTLR3_STRING_struct * string, const char * compStr); 168 …UINT32 (*compareS) (struct ANTLR3_STRING_struct * string, struct ANTLR3_STRING_struct * compStr);
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExprMember.cpp | 308 const char *compStr = CompName->getNameStart(); in CheckExtVectorComponent() local 317 bool HexSwizzle = (*compStr == 's' || *compStr == 'S') && compStr[1]; in CheckExtVectorComponent() 326 if (!strcmp(compStr, "hi") || !strcmp(compStr, "lo") || in CheckExtVectorComponent() 327 !strcmp(compStr, "even") || !strcmp(compStr, "odd")) { in CheckExtVectorComponent() 330 (Idx = vecType->getPointAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent() 331 bool HasRGBA = IsRGBA(*compStr); in CheckExtVectorComponent() 334 if (HasRGBA != IsRGBA(*compStr)) in CheckExtVectorComponent() 338 compStr++; in CheckExtVectorComponent() 339 } while (*compStr && (Idx = vecType->getPointAccessorIdx(*compStr)) != -1); in CheckExtVectorComponent() 342 if (HasRGBA || (*compStr && IsRGBA(*compStr))) { in CheckExtVectorComponent() [all …]
|