Lines Matching full:functions
354 SimpleBindingMemoryManager(const SimpleBindingMMFunctions& Functions,
368 SimpleBindingMMFunctions Functions;
373 const SimpleBindingMMFunctions& Functions,
375 : Functions(Functions), Opaque(Opaque) {
376 assert(Functions.AllocateCodeSection &&
378 assert(Functions.AllocateDataSection &&
380 assert(Functions.FinalizeMemory &&
382 assert(Functions.Destroy &&
387 Functions.Destroy(Opaque);
392 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID);
397 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID,
403 bool result = Functions.FinalizeMemory(Opaque, &errMsgCString);
431 SimpleBindingMMFunctions functions;
432 functions.AllocateCodeSection = AllocateCodeSection;
433 functions.AllocateDataSection = AllocateDataSection;
434 functions.FinalizeMemory = FinalizeMemory;
435 functions.Destroy = Destroy;
436 return wrap(new SimpleBindingMemoryManager(functions, Opaque));