Lines Matching refs:pSmProps

200 static SmProp*	pSmProps = NULL;  variable
208 if( ! pSmProps ) in BuildSmPropertyList()
213 pSmProps = new SmProp[ nSmProps ]; in BuildSmPropertyList()
215 pSmProps[ 0 ].name = const_cast<char*>(SmCloneCommand); in BuildSmPropertyList()
216 pSmProps[ 0 ].type = const_cast<char*>(SmLISTofARRAY8); in BuildSmPropertyList()
217 pSmProps[ 0 ].num_vals = 1; in BuildSmPropertyList()
218 pSmProps[ 0 ].vals = new SmPropValue; in BuildSmPropertyList()
219 pSmProps[ 0 ].vals->length = aExec.Len()+1; in BuildSmPropertyList()
220 pSmProps[ 0 ].vals->value = strdup( aExec.GetBuffer() ); in BuildSmPropertyList()
222 pSmProps[ 1 ].name = const_cast<char*>(SmProgram); in BuildSmPropertyList()
223 pSmProps[ 1 ].type = const_cast<char*>(SmARRAY8); in BuildSmPropertyList()
224 pSmProps[ 1 ].num_vals = 1; in BuildSmPropertyList()
225 pSmProps[ 1 ].vals = new SmPropValue; in BuildSmPropertyList()
226 pSmProps[ 1 ].vals->length = aExec.Len()+1; in BuildSmPropertyList()
227 pSmProps[ 1 ].vals->value = strdup( aExec.GetBuffer() ); in BuildSmPropertyList()
229 pSmProps[ 2 ].name = const_cast<char*>(SmRestartCommand); in BuildSmPropertyList()
230 pSmProps[ 2 ].type = const_cast<char*>(SmLISTofARRAY8); in BuildSmPropertyList()
231 pSmProps[ 2 ].num_vals = 3; in BuildSmPropertyList()
232 pSmProps[ 2 ].vals = new SmPropValue[3]; in BuildSmPropertyList()
233 pSmProps[ 2 ].vals[0].length = aExec.Len()+1; in BuildSmPropertyList()
234 pSmProps[ 2 ].vals[0].value = strdup( aExec.GetBuffer() ); in BuildSmPropertyList()
237 pSmProps[ 2 ].vals[1].length = aRestartOption.Len()+1; in BuildSmPropertyList()
238 pSmProps[ 2 ].vals[1].value = strdup( aRestartOption.GetBuffer() ); in BuildSmPropertyList()
240 pSmProps[ 2 ].vals[2].length = aRestartOptionNoLogo.Len()+1; in BuildSmPropertyList()
241 pSmProps[ 2 ].vals[2].value = strdup( aRestartOptionNoLogo.GetBuffer() ); in BuildSmPropertyList()
253 pSmProps[ 3 ].name = const_cast<char*>(SmUserID); in BuildSmPropertyList()
254 pSmProps[ 3 ].type = const_cast<char*>(SmARRAY8); in BuildSmPropertyList()
255 pSmProps[ 3 ].num_vals = 1; in BuildSmPropertyList()
256 pSmProps[ 3 ].vals = new SmPropValue; in BuildSmPropertyList()
257 pSmProps[ 3 ].vals->value = strdup( aUser.getStr() ); in BuildSmPropertyList()
258 pSmProps[ 3 ].vals->length = strlen( (char *)pSmProps[ 3 ].vals->value )+1; in BuildSmPropertyList()
260 pSmProps[ 4 ].name = const_cast<char*>(SmRestartStyleHint); in BuildSmPropertyList()
261 pSmProps[ 4 ].type = const_cast<char*>(SmCARD8); in BuildSmPropertyList()
262 pSmProps[ 4 ].num_vals = 1; in BuildSmPropertyList()
263 pSmProps[ 4 ].vals = new SmPropValue; in BuildSmPropertyList()
264 pSmProps[ 4 ].vals->value = malloc(1); in BuildSmPropertyList()
265 pSmRestartHint = (unsigned char *)pSmProps[ 4 ].vals->value; in BuildSmPropertyList()
267 pSmProps[ 4 ].vals->length = 1; in BuildSmPropertyList()
271 ppSmProps[ i ] = &pSmProps[i]; in BuildSmPropertyList()