Home
last modified time | relevance | path

Searched refs:compStr (Results 1 – 3 of 3) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3string.c76 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);
1169 compare8 (pANTLR3_STRING string, const char * compStr) in compare8() argument
1171 return strcmp((const char *)(string->chars), compStr); in compare8()
1179 compareUTF16_8 (pANTLR3_STRING string, const char * compStr) in compareUTF16_8() argument
1186 while (((ANTLR3_UCHAR)(*ourString) != '\0') && ((ANTLR3_UCHAR)(*compStr) != '\0')) in compareUTF16_8()
1188 charDiff = *ourString - *compStr; in compareUTF16_8()
1194 compStr++; in compareUTF16_8()
[all …]
/external/clang/lib/Sema/
DSemaExprMember.cpp302 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/antlr-3.4/runtime/C/include/
Dantlr3string.h156 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);