28 static bool _Objects_Name_char_is_printable(
char c )
32 uc = (
unsigned char) c;
33 return uc >=
' ' && uc <=
'~';
51 lname[ 0 ] = (name.
name_u32 >> 24) & 0xff;
52 lname[ 1 ] = (name.
name_u32 >> 16) & 0xff;
53 lname[ 2 ] = (name.
name_u32 >> 8) & 0xff;
54 lname[ 3 ] = (name.
name_u32 >> 0) & 0xff;
63 while ( *s !=
'\0' ) {
64 if ( i < buffer_size ) {
65 *d = _Objects_Name_char_is_printable(*s) ? *s :
'*';
74 if ( buffer_size > 0 ) {
110 the_object =
_Objects_Get( tmpId, &lock_context, information );
111 if ( the_object == NULL ) {
Objects_Information * _Objects_Get_information_id(Objects_Id id)
Gets information of an object from an ID.
#define OBJECTS_ID_OF_SELF
size_t _Objects_Name_to_string(Objects_Name name, bool is_string, char *buffer, size_t buffer_size)
Converts the specified object name to a text representation.
#define _ISR_lock_ISR_enable(_context)
Restores the saved interrupt state of the ISR lock context.
char * _Objects_Get_name_as_string(Objects_Id id, size_t length, char *name)
Gets object name in the form of a C string.
static __inline__ struct _Thread_Control * _Thread_Get_executing(void)
Returns the thread control block of the executing thread.
static __inline__ bool _Objects_Has_string_name(const Objects_Information *information)
Returns if the object has a string name.
Inlined Routines from the Thread Handler.
Objects_Control * _Objects_Get(Objects_Id id, ISR_lock_Context *lock_context, const Objects_Information *information)
Maps the specified object identifier to the associated local object control block.
Local ISR lock context for acquire and release pairs.