• Home
  • Raw
  • Download

Lines Matching refs:impl

31   SR_SemanticResultImpl* impl;  in SR_SemanticResultCreate()  local
39 impl = NEW(SR_SemanticResultImpl, MTAG); in SR_SemanticResultCreate()
40 if (impl == NULL) in SR_SemanticResultCreate()
46 impl->Interface.destroy = &SR_SemanticResult_Destroy; in SR_SemanticResultCreate()
47 impl->Interface.getKeyCount = &SR_SemanticResult_GetKeyCount; in SR_SemanticResultCreate()
48 impl->Interface.getKeyList = &SR_SemanticResult_GetKeyList; in SR_SemanticResultCreate()
49 impl->Interface.getValue = &SR_SemanticResult_GetValue; in SR_SemanticResultCreate()
50 impl->results = NULL; in SR_SemanticResultCreate()
52 rc = HashMapCreate(&impl->results); in SR_SemanticResultCreate()
55 *self = (SR_SemanticResult*) impl; in SR_SemanticResultCreate()
58 impl->Interface.destroy(&impl->Interface); in SR_SemanticResultCreate()
64 SR_SemanticResultImpl* impl = (SR_SemanticResultImpl*) self; in SR_SemanticResult_GetKeyCount() local
67 CHKLOG(rc, impl->results->getSize(impl->results, count)); in SR_SemanticResult_GetKeyCount()
75 SR_SemanticResultImpl* impl = (SR_SemanticResultImpl*) self; in SR_SemanticResult_GetKeyList() local
80 CHKLOG(rc, HashMapGetSize(impl->results, &size)); in SR_SemanticResult_GetKeyList()
96 CHKLOG(rc, HashMapGetKeyAtIndex(impl->results, i, &theKey)); in SR_SemanticResult_GetKeyList()
106 SR_SemanticResultImpl* impl = (SR_SemanticResultImpl*) self; in SR_SemanticResult_GetValue() local
110 CHKLOG(rc, impl->results->get(impl->results, key, (void **)&theValue)); in SR_SemanticResult_GetValue()
125 SR_SemanticResultImpl* impl = (SR_SemanticResultImpl*) self; in SR_SemanticResult_Destroy() local
128 CHKLOG(rc, HashMapRemoveAndFreeAll(impl->results)); in SR_SemanticResult_Destroy()
129 CHKLOG(rc, HashMapDestroy(impl->results)); in SR_SemanticResult_Destroy()
130 FREE(impl); in SR_SemanticResult_Destroy()