Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Time/CalendarTimeToString.hc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#include "newmacros.h"
#include "runtime.h"

#define CT_v206	((void*)startLabel+24)
#define FN_LAMBDA204	((void*)startLabel+56)
#define CT_v208	((void*)startLabel+76)
#define CF_LAMBDA204	((void*)startLabel+84)
#define ST_v207	((void*)startLabel+88)
extern Node FN_Time_46formatCalendarTime[];
extern Node CF_Locale_46defaultTimeLocale[];

static Node startLabel[] = {
  bytes2word(0,0,0,0)
, useLabel(CT_v206)
,};
Node FN_Time_46calendarTimeToString[] = {
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,PUSH_HEAP,HEAP_CVAL_I4)
, bytes2word(HEAP_CVAL_I5,HEAP_OFF_N1,3,RETURN)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
,	/* CT_v206: (byte 0) */
  HW(3,0)
, 0
,};
Node CF_Time_46calendarTimeToString[] = {
  VAPTAG(useLabel(FN_Time_46calendarTimeToString))
, VAPTAG(useLabel(FN_LAMBDA204))
, CAPTAG(useLabel(FN_Time_46formatCalendarTime),1)
, useLabel(CF_Locale_46defaultTimeLocale)
, bytes2word(0,0,0,0)
, useLabel(CT_v208)
,	/* FN_LAMBDA204: (byte 0) */
  bytes2word(NEEDHEAP_I32,PUSH_CADR_N1,2,STRING)
, bytes2word(RETURN,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, CONSTRW(1,0)
, useLabel(ST_v207)
,	/* CT_v208: (byte 0) */
  HW(0,0)
, 0
,	/* CF_LAMBDA204: (byte 0) */
  VAPTAG(useLabel(FN_LAMBDA204))
,	/* ST_v207: (byte 0) */
  bytes2word(37,99,0,0)
,};

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].