Home
last modified time | relevance | path

Searched refs:lnum (Results 1 – 14 of 14) sorted by relevance

/external/stlport/src/c_locale_win32/
Dc_locale_win32.c392 _Locale_numeric_t *lnum = (_Locale_numeric_t*)malloc(sizeof(_Locale_numeric_t)); in _Locale_numeric_create() local
393 if (!lnum) { *__err_code = _STLP_LOC_NO_MEMORY; return lnum; } in _Locale_numeric_create()
394 memset(lnum, 0, sizeof(_Locale_numeric_t)); in _Locale_numeric_create()
396 if (__GetLCIDFromName(name, &lnum->lc.id, lnum->cp, lc_hint) == -1) in _Locale_numeric_create()
397 { free(lnum); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; } in _Locale_numeric_create()
400 if (lnum->lc.id != INVARIANT_LCID) { in _Locale_numeric_create()
402 __GetLocaleInfoUsingACP(lnum->lc.id, lnum->cp, LOCALE_SDECIMAL, lnum->decimal_point, 4, wbuf, 4); in _Locale_numeric_create()
403 __GetLocaleInfoUsingACP(lnum->lc.id, lnum->cp, LOCALE_STHOUSAND, lnum->thousands_sep, 4, wbuf, 4); in _Locale_numeric_create()
407 lnum->decimal_point[0] = '.'; in _Locale_numeric_create()
410 if (lnum->lc.id != INVARIANT_LCID) { in _Locale_numeric_create()
[all …]
Dc_wlocale_win32.c246 wchar_t _WLocale_decimal_point(_Locale_numeric_t* lnum) { in _WLocale_decimal_point() argument
248 GetLocaleInfoW(lnum->lc.id, LOCALE_SDECIMAL, buf, 4); in _WLocale_decimal_point()
252 wchar_t _WLocale_thousands_sep(_Locale_numeric_t* lnum) { in _WLocale_thousands_sep() argument
254 GetLocaleInfoW(lnum->lc.id, LOCALE_STHOUSAND, buf, 4); in _WLocale_thousands_sep()
258 const wchar_t * _WLocale_true(_Locale_numeric_t* lnum, wchar_t* buf, size_t bufSize) { in _WLocale_true() argument
259 _STLP_MARK_PARAMETER_AS_UNUSED(lnum) in _WLocale_true()
265 const wchar_t * _WLocale_false(_Locale_numeric_t* lnum, wchar_t* buf, size_t bufSize) { in _WLocale_false() argument
266 _STLP_MARK_PARAMETER_AS_UNUSED(lnum) in _WLocale_false()
/external/mksh/src/
Dshf.c765 unsigned long lnum; in shf_vfprintf() local
886 lnum = (long)VA(ssize_t); in shf_vfprintf()
888 lnum = VA(long); in shf_vfprintf()
890 lnum = (long)(short)VA(int); in shf_vfprintf()
892 lnum = (long)VA(int); in shf_vfprintf()
899 lnum = VA(size_t); in shf_vfprintf()
901 lnum = VA(unsigned long); in shf_vfprintf()
903 lnum = (unsigned long)(unsigned short)VA(int); in shf_vfprintf()
905 lnum = (unsigned long)VA(unsigned int); in shf_vfprintf()
924 if (0 > (long)lnum) { in shf_vfprintf()
[all …]
/external/stlport/src/c_locale_dummy/
Dc_locale_dummy.c129 char const* _Locale_numeric_name(const struct _Locale_numeric *lnum, char* buf) in _Locale_numeric_name() argument
146 void _Locale_numeric_destroy(struct _Locale_numeric *lnum) {} in _Locale_numeric_destroy() argument
335 char _Locale_decimal_point(struct _Locale_numeric* lnum) in _Locale_decimal_point() argument
337 char _Locale_thousands_sep(struct _Locale_numeric* lnum) in _Locale_thousands_sep() argument
339 const char* _Locale_grouping(struct _Locale_numeric * lnum) in _Locale_grouping() argument
341 const char * _Locale_true(struct _Locale_numeric * lnum) in _Locale_true() argument
343 const char * _Locale_false(struct _Locale_numeric * lnum) in _Locale_false() argument
347 wchar_t _WLocale_decimal_point(struct _Locale_numeric* lnum) in _WLocale_decimal_point() argument
349 wchar_t _WLocale_thousands_sep(struct _Locale_numeric* lnum) in _WLocale_thousands_sep() argument
352 const wchar_t * _WLocale_true(struct _Locale_numeric* lnum, wchar_t* buf, size_t bufSize) in _WLocale_true() argument
[all …]
/external/quake/quake/src/WinQuake/
Dr_surf.cpp64 int lnum; in R_AddDynamicLights() local
78 for (lnum=0 ; lnum<MAX_DLIGHTS ; lnum++) in R_AddDynamicLights()
80 if ( !(surf->dlightbits & (1<<lnum) ) ) in R_AddDynamicLights()
83 rad = cl_dlights[lnum].radius; in R_AddDynamicLights()
84 dist = DotProduct (cl_dlights[lnum].origin, surf->plane->normal) - in R_AddDynamicLights()
87 minlight = cl_dlights[lnum].minlight; in R_AddDynamicLights()
94 impact[i] = cl_dlights[lnum].origin[i] - in R_AddDynamicLights()
124 if (!cl_dlights[lnum].dark) in R_AddDynamicLights()
Dr_main.cpp530 int lnum; in R_DrawEntitiesOnList() local
570 for (lnum=0 ; lnum<MAX_DLIGHTS ; lnum++) in R_DrawEntitiesOnList()
572 if (cl_dlights[lnum].die >= cl.time) in R_DrawEntitiesOnList()
575 cl_dlights[lnum].origin, in R_DrawEntitiesOnList()
577 add = cl_dlights[lnum].radius - Length(dist); in R_DrawEntitiesOnList()
611 int lnum; in R_DrawViewModel() local
643 for (lnum=0 ; lnum<MAX_DLIGHTS ; lnum++) in R_DrawViewModel()
645 dl = &cl_dlights[lnum]; in R_DrawViewModel()
Dgl_rmain.cpp590 int lnum; in R_DrawAliasModel() local
623 for (lnum=0 ; lnum<MAX_DLIGHTS ; lnum++) in R_DrawAliasModel()
625 if (cl_dlights[lnum].die >= cl.time) in R_DrawAliasModel()
628 cl_dlights[lnum].origin, in R_DrawAliasModel()
630 add = cl_dlights[lnum].radius - Length(dist); in R_DrawAliasModel()
795 int lnum; in R_DrawViewModel() local
831 for (lnum=0 ; lnum<MAX_DLIGHTS ; lnum++) in R_DrawViewModel()
833 dl = &cl_dlights[lnum]; in R_DrawViewModel()
Dgl_rsurf.cpp70 int lnum; in R_AddDynamicLights() local
83 for (lnum=0 ; lnum<MAX_DLIGHTS ; lnum++) in R_AddDynamicLights()
85 if ( !(surf->dlightbits & (1<<lnum) ) ) in R_AddDynamicLights()
88 rad = cl_dlights[lnum].radius; in R_AddDynamicLights()
89 dist = DotProduct (cl_dlights[lnum].origin, surf->plane->normal) - in R_AddDynamicLights()
92 minlight = cl_dlights[lnum].minlight; in R_AddDynamicLights()
99 impact[i] = cl_dlights[lnum].origin[i] - in R_AddDynamicLights()
/external/quake/quake/src/QW/client/
Dr_surf.c64 int lnum; in R_AddDynamicLights() local
78 for (lnum=0 ; lnum<MAX_DLIGHTS ; lnum++) in R_AddDynamicLights()
80 if ( !(surf->dlightbits & (1<<lnum) ) ) in R_AddDynamicLights()
83 rad = cl_dlights[lnum].radius; in R_AddDynamicLights()
84 dist = DotProduct (cl_dlights[lnum].origin, surf->plane->normal) - in R_AddDynamicLights()
87 minlight = cl_dlights[lnum].minlight; in R_AddDynamicLights()
94 impact[i] = cl_dlights[lnum].origin[i] - in R_AddDynamicLights()
Dr_main.c550 int lnum; in R_DrawEntitiesOnList() local
587 for (lnum=0 ; lnum<MAX_DLIGHTS ; lnum++) in R_DrawEntitiesOnList()
589 if (cl_dlights[lnum].die >= cl.time) in R_DrawEntitiesOnList()
592 cl_dlights[lnum].origin, in R_DrawEntitiesOnList()
594 add = cl_dlights[lnum].radius - Length(dist); in R_DrawEntitiesOnList()
628 int lnum; in R_DrawViewModel() local
660 for (lnum=0 ; lnum<MAX_DLIGHTS ; lnum++) in R_DrawViewModel()
662 dl = &cl_dlights[lnum]; in R_DrawViewModel()
Dgl_rmain.c501 int lnum; in R_DrawAliasModel() local
532 for (lnum=0 ; lnum<MAX_DLIGHTS ; lnum++) in R_DrawAliasModel()
534 if (cl_dlights[lnum].die >= cl.time) in R_DrawAliasModel()
537 cl_dlights[lnum].origin, in R_DrawAliasModel()
539 add = cl_dlights[lnum].radius - Length(dist); in R_DrawAliasModel()
707 int lnum; in R_DrawViewModel() local
740 for (lnum=0 ; lnum<MAX_DLIGHTS ; lnum++) in R_DrawViewModel()
742 dl = &cl_dlights[lnum]; in R_DrawViewModel()
Dgl_rsurf.c70 int lnum; in R_AddDynamicLights() local
83 for (lnum=0 ; lnum<MAX_DLIGHTS ; lnum++) in R_AddDynamicLights()
85 if ( !(surf->dlightbits & (1<<lnum) ) ) in R_AddDynamicLights()
88 rad = cl_dlights[lnum].radius; in R_AddDynamicLights()
89 dist = DotProduct (cl_dlights[lnum].origin, surf->plane->normal) - in R_AddDynamicLights()
92 minlight = cl_dlights[lnum].minlight; in R_AddDynamicLights()
99 impact[i] = cl_dlights[lnum].origin[i] - in R_AddDynamicLights()
/external/chromium-trace/trace-viewer/third_party/web_dev_style/web_dev_style/
Dcss_checker.py216 for lnum in range(0, len(lines)):
217 line = lines[lnum]
/external/svox/pico/lib/
Dpicopr.c1316 picoos_int32 lnum; in pr_genCommands() local
1333 lnum = 0; in pr_genCommands()
1348 lnum = PICO_PITCH_DEFAULT; in pr_genCommands()
1352 lnum = PICO_SPEED_DEFAULT; in pr_genCommands()
1356 lnum = PICO_VOLUME_DEFAULT; in pr_genCommands()
1382 … (*first),& (*last),PICODATA_ITEM_CMD,lcmd,PICODATA_ITEMINFO2_CMD_ABSOLUTE,lnum,(picoos_uchar*)""); in pr_genCommands()
1462 lnum = 1; in pr_genCommands()
1466 lnum = 1; in pr_genCommands()
1470 lnum = 0; in pr_genCommands()
1486 … pr_putItem(this, pr,& (*first),& (*last),PICODATA_ITEM_CMD, lcmd,lnum,0,pr->tmpStr1); in pr_genCommands()
[all …]