Lines Matching defs:string
74 // Get the error string.
318 jstring string = NULL;
329 // Check if an object containing a string was specified.
332 // Retrieve the string object.
333 string = (jstring)pEnv->GetObjectField(object, stringFieldId);
340 // The string itself was specified.
341 string = (jstring)object;
344 // Check if the string could be retrieved.
345 if (NULL != string)
347 // Get a local copy of the string.
348 pLocal = (M4OSA_Char*)pEnv->GetStringUTFChars(string, M4OSA_NULL);
355 // Allocate memory for the string.
359 // Copy the string.
366 // Check if the string could not be copied.
375 // Release the local copy of the string.
376 pEnv->ReleaseStringUTFChars(string, (const char *)pLocal);
380 // Check if the string was empty or could be copied.
392 pEnv->DeleteLocalRef(string);
395 // Return the string.