Home
last modified time | relevance | path

Searched refs:compStr (Results 1 – 4 of 4) 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/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);
/external/clang/lib/Sema/
DSemaExprMember.cpp289 const char *compStr = CompName->getNameStart(); in CheckExtVectorComponent() local
298 bool HexSwizzle = *compStr == 's' || *compStr == 'S'; in CheckExtVectorComponent()
307 if (!strcmp(compStr, "hi") || !strcmp(compStr, "lo") || in CheckExtVectorComponent()
308 !strcmp(compStr, "even") || !strcmp(compStr, "odd")) { in CheckExtVectorComponent()
311 (Idx = vecType->getPointAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent()
312 bool HasRGBA = IsRGBA(*compStr); in CheckExtVectorComponent()
316 if (HasRGBA != IsRGBA(*compStr)) in CheckExtVectorComponent()
320 compStr++; in CheckExtVectorComponent()
321 } while (*compStr && (Idx = vecType->getPointAccessorIdx(*compStr)) != -1); in CheckExtVectorComponent()
323 if (HexSwizzle) compStr++; in CheckExtVectorComponent()
[all …]
DSemaPseudoObject.cpp489 const char *compStr = setterName->getNameStart(); in findGetter() local
490 compStr += 3; in findGetter()
491 IdentifierInfo *getterName = &S.Context.Idents.get(compStr); in findGetter()