Lines Matching refs:allocator_
537 allocator_(allocator), in allocator_() function
592 new (entry) SchemaEntry(pointer_, this, true, allocator_); in allocator_()
621 enum_ = static_cast<uint64_t*>(allocator_->Malloc(sizeof(uint64_t) * v->Size())); in allocator_()
642 … schemaDocument->CreateSchema(¬_, p.Append(GetNotString(), allocator_), *v, document, id_); in allocator_()
679 … properties_ = static_cast<Property*>(allocator_->Malloc(sizeof(Property) * propertyCount_)); in allocator_()
689 PointerType q = p.Append(GetPropertiesString(), allocator_); in allocator_()
693 …Document->CreateSchema(&properties_[index].schema, q.Append(itr->name, allocator_), itr->value, do… in allocator_()
700 PointerType q = p.Append(GetPatternPropertiesString(), allocator_); in allocator_()
701 …patternProperties_ = static_cast<PatternProperty*>(allocator_->Malloc(sizeof(PatternProperty) * v-… in allocator_()
706 PointerType r = q.Append(itr->name, allocator_); in allocator_()
726 PointerType q = p.Append(GetDependenciesString(), allocator_); in allocator_()
732 …properties_[sourceIndex].dependencies = static_cast<bool*>(allocator_->Malloc(sizeof(bool) * prope… in allocator_()
742 …hema(&properties_[sourceIndex].dependenciesSchema, q.Append(itr->name, allocator_), itr->value, do… in allocator_()
754 …additionalPropertiesSchema_, p.Append(GetAdditionalPropertiesString(), allocator_), *v, document, … in allocator_()
762 PointerType q = p.Append(GetItemsString(), allocator_); in allocator_()
766 … itemsTuple_ = static_cast<const Schema**>(allocator_->Malloc(sizeof(const Schema*) * v->Size())); in allocator_()
769 …cument->CreateSchema(&itemsTuple_[itemsTupleCount_++], q.Append(index, allocator_), *itr, document… in allocator_()
782 …teSchema(&additionalItemsSchema_, p.Append(GetAdditionalItemsString(), allocator_), *v, document, … in allocator_()
792 pattern_ = CreatePattern(*v, schemaDocument, p.Append(GetPatternString(), allocator_)); in allocator_()
797 minimum_.CopyFrom(*v, *allocator_); in allocator_()
801 maximum_.CopyFrom(*v, *allocator_); in allocator_()
808 multipleOf_.CopyFrom(*v, *allocator_); in allocator_()
1366 V1 c(v, *allocator_); in AddUniqueElement()
1367 a.PushBack(c, *allocator_); in AddUniqueElement()
1390 PointerType q = p.Append(name, allocator_); in AssignIfExist()
1392 … out.schemas = static_cast<const Schema**>(allocator_->Malloc(out.count * sizeof(const Schema*))); in AssignIfExist()
1395 … schemaDocument.CreateSchema(&out.schemas[i], q.Append(i, allocator_), (*v)[i], document, id_); in AssignIfExist()
1406 …RegexType* r = new (allocator_->Malloc(sizeof(RegexType))) RegexType(value.GetString(), allocator_… in CreatePattern()
1426 RegexType *r = static_cast<RegexType*>(allocator_->Malloc(sizeof(RegexType))); in CreatePattern()
1696 AllocatorType* allocator_; variable
1849 allocator_(allocator),
1860 if (!allocator_)
1861 ownAllocator_ = allocator_ = RAPIDJSON_NEW(Allocator)();
1864 uri_.SetString(uri ? uri : noUri, uriLength, *allocator_);
1865 docId_ = UriType(uri_, allocator_);
1867 typeless_ = static_cast<SchemaType*>(allocator_->Malloc(sizeof(SchemaType)));
1868 …, PointerType(), ValueType(kObjectType).Move(), ValueType(kObjectType).Move(), allocator_, docId_);
1899 allocator_(rhs.allocator_),
1912 rhs.allocator_ = 0;
1990 … currentError_.AddMember(GetValueString(), GValue(value, length, *allocator_).Move(), *allocator_);
1997 … currentError_.AddMember(GetValueString(), GValue(value, length, *allocator_).Move(), *allocator_);
1998 …GetOffsetString(), static_cast<SizeType>(pointer.GetParseErrorOffset() / sizeof(Ch)), *allocator_);
2026 … GValue instanceRef(sb.GetString(), static_cast<SizeType>(sb.GetSize() / sizeof(Ch)), *allocator_);
2027 result.AddMember(GetInstanceRefString(), instanceRef, *allocator_);
2033 error_.AddMember(keyword, error, *allocator_);
2037 errors.PushBack(member->value, *allocator_);
2040 member->value.PushBack(error, *allocator_);
2046 currentError_.AddMember(GetErrorCodeString(), code, *allocator_);
2166 UriType newid = UriType(CreateSchema(schema, pointer, v, document, id), allocator_);
2169 … CreateSchemaRecursive(0, pointer.Append(itr->name, allocator_), itr->value, document, newid);
2173 CreateSchemaRecursive(0, pointer.Append(i, allocator_), v[i], document, id);
2190 …SchemaType* s = new (allocator_->Malloc(sizeof(SchemaType))) SchemaType(this, pointer, v, document…
2223 UriType scopeId = UriType(id, allocator_);
2224 UriType ref = UriType(itr->value, allocator_).Resolve(scopeId, allocator_);
2240 const PointerType pointer(s, len, allocator_);
2265 const PointerType relPointer(s, len, allocator_);
2272 PointerType pointer(basePointer, allocator_);
2274 pointer = pointer.Append(relPointer.GetTokens()[i], allocator_);
2281 … scopeId = pointer.GetUri(document, docId_, &unresolvedTokenIndex, allocator_);
2291 PointerType pointer(allocator_);
2296 … ref, pointer, UriType(ref.GetBaseString(), ref.GetBaseStringLength(), allocator_), true, basePoin…
2303 … scopeId = pointer.GetUri(document, docId_, &unresolvedTokenIndex, allocator_);
2328 UriType tempuri = UriType(finduri, allocator_);
2329 UriType localuri = UriType(baseuri, allocator_);
2334 localuri = UriType(m->value, allocator_).Resolve(baseuri, allocator_);
2346 …, resptr, localuri, full, here.Append(m->name.GetString(), m->name.GetStringLength(), allocator_));
2354 … resval = FindId(*v, finduri, resptr, localuri, full, here.Append(i, allocator_));
2369 new (entry) SchemaEntry(**ref, schema, false, allocator_);
2401 Allocator *allocator_;
3231 error_.CopyFrom(validator.GetError(), allocator_);
3254 StackAllocator allocator_;