Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

jrtypes.c File Reference


Detailed Description

Java architecture types convenient for C/C++ source code.

Full escriptions of all of the following variables may be found in jrtypes.h

Control

$URL: https://svn.apache.org/path/name/jrtypes.c $ $Id: jrtypes.c 0 09/28/2005 dlydick $

Copyright 2005 The Apache Software Foundation or its licensors, as applicable.

Licensed under the Apache License, Version 2.0 ("the License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Version:
$LastChangedRevision: 0 $
Date:
$LastChangedDate: 09/28/2005 $
Author:
$LastChangedBy: dlydick $ Original code contributed by Daniel Lydick on 09/28/2005.

Reference

Definition in file jrtypes.c.

#include "arch.h"
#include "jvmcfg.h"

Go to the source code of this file.

Defines

#define I_AM_JRTYPES_C
 Permit use of TRUE, FALSE, NEITHER_TRUE_NOR_FALSE with jvmcfg.h.

Functions

static void jrtypes_c_dummy (void)

Variables

const jboolean jfalse
 Java constant false.
const jvoidjnull = ((jvoid *) ((rvoid *) 0) /**< Null pointer value */ )
 Java constant null.
static char * jrtypes_c_copyright = "\0" "$URL: https://svn.apache.org/path/name/jrtypes.c $ $Id: jrtypes.c 0 09/28/2005 dlydick $" " " "Copyright 2005 The Apache Software Foundation or its licensors, as applicable."
const jboolean jtrue
 Java constant true.
const rboolean rfalse = ((rboolean) 0)
 Real machine constant FALSE.
const rboolean rneither_true_nor_false = ((rboolean) 2)
 Real machine constant neither.
const void * rnull = ((rvoid *) 0)
 Real machine constant NULL.
const rboolean rtrue = ((rboolean) 1)
 Real machine constant TRUE.


Define Documentation

#define I_AM_JRTYPES_C
 

Permit use of TRUE, FALSE, NEITHER_TRUE_NOR_FALSE with jvmcfg.h.

Definition at line 51 of file jrtypes.c.


Function Documentation

static void jrtypes_c_dummy void   )  [static]
 

Definition at line 43 of file jrtypes.c.


Variable Documentation

char* jrtypes_c_copyright = "\0" "$URL: https://svn.apache.org/path/name/jrtypes.c $ $Id: jrtypes.c 0 09/28/2005 dlydick $" " " "Copyright 2005 The Apache Software Foundation or its licensors, as applicable." [static]
 

Definition at line 43 of file jrtypes.c.

const jvoid* jnull = ((jvoid *) ((rvoid *) 0) /**< Null pointer value */ )
 

Java constant null.

Definition at line 55 of file jrtypes.c.

const jboolean jfalse
 

Initial value:

 ((jboolean)  0 /**< Defined by <jni.h>
                                    * (@e never used in core code) */ )
Java constant false.

Definition at line 57 of file jrtypes.c.

Referenced by jlClass_isArray(), jlClass_isPrimative(), jlThread_currentThread(), jlThread_destroy(), jlThread_interrupt(), jlThread_setPriority(), jlThread_start(), and jlThread_yield().

const jboolean jtrue
 

Initial value:

 ((jboolean)  1 /**< Defined by <jni.h>
                                    * (@e never used in core code) */ )
Java constant true.

Definition at line 59 of file jrtypes.c.

Referenced by jlClass_isArray(), jlThread_destroy(), jlThread_interrupt(), jlThread_interrupted(), jlThread_setPriority(), jlThread_start(), and jlThread_yield().

const void* rnull = ((rvoid *) 0)
 

Real machine constant NULL.

Definition at line 65 of file jrtypes.c.

Referenced by argv_init(), cfattrib_loadattribute(), class_load_from_prchar(), class_load_primative(), class_static_setup(), classfile_allocate_primative(), classfile_loadclassdata(), exit_exception_setup(), field_index_get_class_static_pjvalue(), field_index_get_object_instance_pjvalue(), gc_object_delete_stub(), heap_free_data_bimodal(), heap_get_common_bimodal(), heap_get_common_simple_bimodal(), heap_get_data_bimodal(), heap_init_bimodal(), jvmutil_print_stack_common(), linkage_resolve_class(), manifest_get_main(), object_instance_finalize(), object_new_setup(), object_run_method(), opcode_load_run_throwable(), opcode_run(), thread_init(), thread_new(), timeslice_init(), timeslice_run(), and utf_isarray().

const rboolean rfalse = ((rboolean) 0)
 

Real machine constant FALSE.

Definition at line 67 of file jrtypes.c.

Referenced by argv_init(), cfattrib_iscodeattribute(), cfattrib_loadattribute(), cfmsgs_typemsg(), class_allocate_slot(), class_get_static_field_data(), classfile_allocate_primative(), classfile_loadclassdata(), field_index_get_object_instance_lookup(), field_index_is_class_static(), field_index_is_object_instance(), gc_class_delete_stub(), gc_class_field_mkref_stub(), gc_class_field_rmref_stub(), gc_class_mkref_from_class_stub(), gc_class_mkref_from_object_stub(), gc_class_new_stub(), gc_class_reload_stub(), gc_class_rmref_from_class_stub(), gc_class_rmref_from_object_stub(), gc_object_field_mkref_stub(), gc_object_field_rmref_stub(), gc_object_mkref_from_class_stub(), gc_object_mkref_from_object_stub(), gc_object_new_stub(), gc_object_rmref_from_class_stub(), gc_object_rmref_from_object_stub(), gc_stack_mkref_from_jvm_stub(), gc_stack_new_stub(), gc_stack_rmref_from_jvm_stub(), heap_free_common_bimodal(), heap_init_bimodal(), jlThread_isAlive(), jvmutil_print_errtype_stack(), jvmutil_print_stack(), jvmutil_print_stack_details(), linkage_resolve_class(), manifest_get_main(), nts_prchar2utf(), nts_prchar2utf_classname(), nts_prchar_isprimativeformatted(), object_allocate_slot(), object_run_method(), objectutil_synchronize(), opcode_load_run_throwable(), opcode_run(), sysDbgMsg(), thread_init(), threadstate_process_blockingevent(), timeslice_init(), timeslice_shutdown(), unicode_cnv2utf(), and utf_isarray().

const rboolean rtrue = ((rboolean) 1)
 

Real machine constant TRUE.

Definition at line 68 of file jrtypes.c.

Referenced by argv_init(), cfattrib_iscodeattribute(), cfattrib_loadattribute(), class_allocate_slot(), class_get_num_static_fields(), class_get_static_field_lookups(), classfile_allocate_primative(), classfile_loadclassdata(), field_index_get_object_instance_lookup(), field_index_is_class_static(), field_index_is_object_instance(), heap_get_common_simple_bimodal(), heap_init_bimodal(), heap_init_simple(), jlObject_wait4ever(), jlObject_waittimed(), jlThread_checkAccess(), jlThread_countStackFrames(), jlThread_interrupt(), jlThread_interrupted(), jlThread_isDaemon(), jlThread_setDaemon(), jlThread_setPriority(), jlThread_start(), jvmutil_print_stack_common(), jvmutil_print_stack_details(), jvmutil_print_stack_locals(), linkage_resolve_class(), nts_prchar_isprimativeformatted(), object_allocate_slot(), object_init(), object_instance_finalize(), objectutil_synchronize(), opcode_load_run_throwable(), opcode_run(), thread_init(), thread_state_get_name(), threadstate_activate_blocked(), threadstate_activate_blockingevent(), threadstate_activate_start(), threadstate_activate_unblocked(), threadstate_process_blocked(), threadstate_process_new(), threadstate_process_release(), threadstate_process_runnable(), threadstate_process_running(), threadstate_process_start(), threadstate_request_new(), threadstate_request_release(), threadstate_request_runnable(), timeslice_init(), timeslice_run(), timeslice_tick(), utf_pcfs_strcmp(), and utf_utf_isclassformatted().

const rboolean rneither_true_nor_false = ((rboolean) 2)
 

Real machine constant neither.

Typically used during initialization to indicate a boolean is not ready.

Definition at line 69 of file jrtypes.c.

Referenced by classfile_loadclassdata(), and linkage_resolve_class().


Generated on Fri Sep 30 19:00:15 2005 by  doxygen 1.4.4