Searched refs:strLength (Results 1 – 3 of 3) sorted by relevance
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/internal/ |
| H A D | cstring.d | 159 static To[] trustedRealloc(To[] buf, size_t i, To[] res, size_t strLength, bool res_is_onstack) in trustedRealloc() argument 171 if (newlen <= strLength) in trustedRealloc() 172 newlen = strLength + 1; // +1 for terminating 0 in trustedRealloc() 191 size_t strLength; variable 194 strLength = str.length; 213 p = trustedRealloc(p, i, res._buff, strLength, p_is_onstack);
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/ |
| H A D | cstring.d | 133 size_t strLength; variable 136 strLength = str.length; 149 heapBuffer = trustedReallocStack(p, strLength); 299 private To[] trustedReallocStack(To)(scope To[] buf, size_t strLength) in trustedReallocStack() 307 if (newlen <= strLength) in trustedReallocStack() 308 newlen = strLength + 1; // +1 for terminating 0 in trustedReallocStack()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CStringChecker.cpp | 205 SVal strLength); 699 SVal strLength) { in setCStringLength() argument 700 assert(!strLength.isUndef() && "Attempt to set an undefined string length"); in setCStringLength() 732 if (strLength.isUnknown()) in setCStringLength() 735 return state->set<CStringLength>(MR, strLength); in setCStringLength() 753 SVal strLength = svalBuilder.getMetadataSymbolVal(CStringChecker::getTag(), in getCStringLengthForRegion() local 759 if (Optional<NonLoc> strLn = strLength.getAs<NonLoc>()) { in getCStringLengthForRegion() 771 state = state->set<CStringLength>(MR, strLength); in getCStringLengthForRegion() 774 return strLength; in getCStringLengthForRegion() 1397 SVal strLength = getCStringLength(C, state, Arg.Expression, ArgVal); in evalstrLengthCommon() local [all …]
|