Lines Matching refs:pRes
76 scanNameEntry(char const* pzName, tOptionValue* pRes);
79 scanXmlEntry( char const* pzName, tOptionValue* pRes );
295 scanNameEntry(char const* pzName, tOptionValue* pRes)
308 addStringValue(&(pRes->v.nestVal), pzName, nameLen, NULL,(size_t)0);
332 addStringValue(&(pRes->v.nestVal), pzName, nameLen, NULL, (size_t)0);
341 pNV = addStringValue( &(pRes->v.nestVal), pzName, nameLen, pzVal,
373 pNV = addStringValue( &(pRes->v.nestVal), pzName, nameLen,
394 scanXmlEntry( char const* pzName, tOptionValue* pRes )
450 addStringValue(&(pRes->v.nestVal), pzName, nameLen, NULL, (size_t)0);
492 addStringValue( &(pRes->v.nestVal), pzName, nameLen, NULL, (size_t)0);
497 &(pRes->v.nestVal), pzName, nameLen, pzVal, valLen);
505 addBoolValue( &(pRes->v.nestVal), pzName, nameLen, pzVal, valLen );
509 addNumberValue( &(pRes->v.nestVal), pzName, nameLen, pzVal, valLen );
519 addNestedValue( &(pRes->v.nestVal), pzName, nameLen, pz, valLen );
644 tOptionValue* pRes;
659 pRes = AGALOC( sizeof(*pRes) + nameLen + 1, "nested args" );
660 if (pRes == NULL) {
664 pRes->valType = OPARG_TYPE_HIERARCHY;
665 pRes->pzName = (char*)(pRes + 1);
666 memcpy( pRes->pzName, pzName, nameLen );
667 pRes->pzName[ nameLen ] = NUL;
671 AGFREE( pRes );
674 pRes->v.nestVal = pAL;
684 pzTxt = scanNameEntry( pzTxt, pRes );
688 case '<': pzTxt = scanXmlEntry( pzTxt, pRes );
695 pAL = pRes->v.nestVal;
698 return pRes;
702 AGFREE( pRes->v.nestVal );
703 AGFREE( pRes );