Lines Matching full:length
47 // Returns the length of the \p string. Assumes \p string is valid.
49 std::size_t length{std::strlen(string)};
50 if (length <= std::numeric_limits<std::int64_t>::max())
51 return static_cast<std::int64_t>(length);
95 const Descriptor *length, std::int64_t value, Terminator &terminator) {
96 auto typeCode{length->type().GetCategoryAndKind()};
103 const Descriptor *length, const Descriptor *errmsg, const char *sourceFile,
113 if (length) {
114 RUNTIME_CHECK(terminator, IsValidIntDescriptor(length));
115 StoreIntToDescriptor(length, 0, terminator);
128 if (length && FitsInDescriptor(length, argLen, terminator)) {
129 StoreIntToDescriptor(length, argLen, terminator);
140 const Descriptor *length, const Descriptor *errmsg, const char *sourceFile,
149 if (length) {
150 RUNTIME_CHECK(terminator, IsValidIntDescriptor(length));
151 StoreIntToDescriptor(length, 0, terminator);
156 // too short, but we still need to compute the length.
157 return stat == StatOk || (length && stat == StatValueTooShort);
187 if (length && FitsInDescriptor(length, offset, terminator)) {
188 StoreIntToDescriptor(length, offset, terminator);
208 const Descriptor *value, const Descriptor *length, bool trim_name,
218 if (length) {
219 RUNTIME_CHECK(terminator, IsValidIntDescriptor(length));
220 StoreIntToDescriptor(length, 0, terminator);
235 if (length && FitsInDescriptor(length, varLen, terminator)) {
236 StoreIntToDescriptor(length, varLen, terminator);