Lines Matching +defs:val +defs:buf
59 #define PUTPROP(props, key, val) \
62 jstring jval = (*env)->NewStringUTF(env, val); \
71 "val" is a nchar (typedefed in java_props.h) type string */
73 #define PUTPROP_ForPlatformNString(props, key, val) \
76 jstring jval = GetStringPlatform(env, val); \
125 char buf[64];
143 jio_snprintf(buf, sizeof(buf), "%s.display", baseKey);
144 GETPROP(props, buf, jVMVal);
147 PUTPROP(props, buf, platformDispVal);
154 jio_snprintf(buf, sizeof(buf), "%s.format", baseKey);
155 GETPROP(props, buf, jVMVal);
158 PUTPROP(props, buf, platformFmtVal);
171 char buf[128];
202 jio_snprintf(buf, sizeof(buf), "%d.%d", JAVA_MAX_SUPPORTED_VERSION,
204 PUTPROP(props, "java.class.version", buf);
368 const char * val = (*env)->GetStringUTFChars(env, jVMVal, 0);
369 fmtdefault = !strcmp(val, "true");
370 (*env)->ReleaseStringUTFChars(env, jVMVal, val);