Lines Matching refs:valueObj
274 jobject valueObj = makeIntegerObject(env, value); in SetMapInt32() local
276 env->CallObjectMethod(hashMapObj, hashMapPutID, keyObj, valueObj); in SetMapInt32()
278 env->DeleteLocalRef(valueObj); valueObj = NULL; in SetMapInt32()
319 jobject valueObj = NULL; in ConvertMessageToMap() local
327 valueObj = makeIntegerObject(env, val); in ConvertMessageToMap()
336 valueObj = makeLongObject(env, val); in ConvertMessageToMap()
345 valueObj = makeFloatObject(env, val); in ConvertMessageToMap()
354 valueObj = env->NewStringUTF(val.c_str()); in ConvertMessageToMap()
363 valueObj = makeByteBufferObject( in ConvertMessageToMap()
407 if (valueObj != NULL) { in ConvertMessageToMap()
410 env->CallObjectMethod(hashMap, hashMapPutID, keyObj, valueObj); in ConvertMessageToMap()
413 env->DeleteLocalRef(valueObj); valueObj = NULL; in ConvertMessageToMap()
477 jobject valueObj = env->GetObjectArrayElement(values, i); in ConvertKeyValueArraysToMessage() local
479 if (env->IsInstanceOf(valueObj, stringClass.get())) { in ConvertKeyValueArraysToMessage()
480 const char *value = env->GetStringUTFChars((jstring)valueObj, NULL); in ConvertKeyValueArraysToMessage()
488 env->ReleaseStringUTFChars((jstring)valueObj, value); in ConvertKeyValueArraysToMessage()
490 } else if (env->IsInstanceOf(valueObj, integerClass.get())) { in ConvertKeyValueArraysToMessage()
495 jint value = env->CallIntMethod(valueObj, intValueID); in ConvertKeyValueArraysToMessage()
498 } else if (env->IsInstanceOf(valueObj, longClass.get())) { in ConvertKeyValueArraysToMessage()
503 jlong value = env->CallLongMethod(valueObj, longValueID); in ConvertKeyValueArraysToMessage()
506 } else if (env->IsInstanceOf(valueObj, floatClass.get())) { in ConvertKeyValueArraysToMessage()
511 jfloat value = env->CallFloatMethod(valueObj, floatValueID); in ConvertKeyValueArraysToMessage()
514 } else if (env->IsInstanceOf(valueObj, byteBufClass.get())) { in ConvertKeyValueArraysToMessage()
523 jint position = env->CallIntMethod(valueObj, positionID); in ConvertKeyValueArraysToMessage()
524 jint limit = env->CallIntMethod(valueObj, limitID); in ConvertKeyValueArraysToMessage()
528 void *data = env->GetDirectBufferAddress(valueObj); in ConvertKeyValueArraysToMessage()
540 (jbyteArray)env->CallObjectMethod(valueObj, arrayID); in ConvertKeyValueArraysToMessage()