Home
last modified time | relevance | path

Searched refs:ps (Results 1 – 23 of 23) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
Dmultibyte_Utf8.c73 ProcessOneByte(unsigned char ch, mbstate_t *ps) in ProcessOneByte() argument
79 if(ps->A > 3) { in ProcessOneByte()
81 ps->A = 0; // Initial State in ProcessOneByte()
83 ps->C[ps->A] = ch; // Save the current byte in ProcessOneByte()
86 if(ps->A == 0) { // Initial State. First byte of sequence. in ProcessOneByte()
87 ps->E = Mask | 0x80; in ProcessOneByte()
93 ps->E = 1; // Consume this byte in ProcessOneByte()
97 ps->B = ps->D[0] = ch; in ProcessOneByte()
101 ps->A = 1; // Next state is State-1 in ProcessOneByte()
108 Length = ps->E & 0xF; in ProcessOneByte()
[all …]
Dmultibyte_sb.c54 mbsinit(const mbstate_t *ps) in mbsinit() argument
65 mbstate_t *ps in mbrlen() argument
96 mbstate_t *ps in mbrtowc() argument
132 mbstate_t *ps in wcrtomb() argument
169 mbstate_t *ps in mbsrtowcs() argument
222 mbstate_t *ps in wcsrtombs() argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dparser.c74 parser_state *ps; in PyParser_New() local
78 ps = (parser_state *)PyMem_MALLOC(sizeof(parser_state)); in PyParser_New()
79 if (ps == NULL) in PyParser_New()
81 ps->p_grammar = g; in PyParser_New()
83 ps->p_flags = 0; in PyParser_New()
85 ps->p_tree = PyNode_New(start); in PyParser_New()
86 if (ps->p_tree == NULL) { in PyParser_New()
87 PyMem_FREE(ps); in PyParser_New()
90 s_reset(&ps->p_stack); in PyParser_New()
91 (void) s_push(&ps->p_stack, PyGrammar_FindDFA(g, start), ps->p_tree); in PyParser_New()
[all …]
Dparsetok.c141 parser_state *ps; in parsetok() local
147 if ((ps = PyParser_New(g, start)) == NULL) { in parsetok()
155 ps->p_flags |= CO_FUTURE_PRINT_FUNCTION; in parsetok()
158 ps->p_flags |= CO_FUTURE_UNICODE_LITERALS; in parsetok()
211 PyParser_AddToken(ps, (int)type, str, tok->lineno, col_offset, in parsetok()
222 n = ps->p_tree; in parsetok()
223 ps->p_tree = NULL; in parsetok()
229 *flags = ps->p_flags; in parsetok()
231 PyParser_Delete(ps); in parsetok()
Dparser.h34 void PyParser_Delete(parser_state *ps);
35 int PyParser_AddToken(parser_state *ps, int type, char *str, int lineno, int col_offset,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dparser.c74 parser_state *ps; in PyParser_New() local
78 ps = (parser_state *)PyMem_MALLOC(sizeof(parser_state)); in PyParser_New()
79 if (ps == NULL) in PyParser_New()
81 ps->p_grammar = g; in PyParser_New()
83 ps->p_flags = 0; in PyParser_New()
85 ps->p_tree = PyNode_New(start); in PyParser_New()
86 if (ps->p_tree == NULL) { in PyParser_New()
87 PyMem_FREE(ps); in PyParser_New()
90 s_reset(&ps->p_stack); in PyParser_New()
91 (void) s_push(&ps->p_stack, PyGrammar_FindDFA(g, start), ps->p_tree); in PyParser_New()
[all …]
Dparsetok.c132 parser_state *ps; in parsetok() local
136 if ((ps = PyParser_New(g, start)) == NULL) { in parsetok()
144 ps->p_flags |= CO_FUTURE_PRINT_FUNCTION; in parsetok()
147 ps->p_flags |= CO_FUTURE_UNICODE_LITERALS; in parsetok()
198 PyParser_AddToken(ps, (int)type, str, tok->lineno, col_offset, in parsetok()
209 n = ps->p_tree; in parsetok()
210 ps->p_tree = NULL; in parsetok()
216 *flags = ps->p_flags; in parsetok()
218 PyParser_Delete(ps); in parsetok()
Dparser.h34 void PyParser_Delete(parser_state *ps);
35 int PyParser_AddToken(parser_state *ps, int type, char *str, int lineno, int col_offset,
/device/linaro/bootloader/edk2/StdLib/Include/
Dwchar.h1407 int mbsinit(const mbstate_t *ps);
1461 … mbrtowc(wchar_t * __restrict pwc, const char * __restrict S, size_t n, mbstate_t * __restrict ps);
1483 size_t wcrtomb(char * __restrict S, wchar_t wc, mbstate_t * __restrict ps);
1515 …wcs(wchar_t * __restrict dst, const char ** __restrict src, size_t len, mbstate_t * __restrict ps);
1550 …mbs(char * __restrict dst, const wchar_t ** __restrict src, size_t len, mbstate_t * __restrict ps);
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dmrhoist.c1746 int MR_pointerStackPush(PointerStack *ps,void *dataPointer) argument
1748 int MR_pointerStackPush(ps,dataPointer)
1749 PointerStack *ps;
1757 if (ps->count == ps->size) {
1758 newSize=20+ps->size*2;
1761 for (i=0; i < ps->size; i++) {
1762 newStack[i]=ps->data[i];
1764 if (ps->data != NULL) free( (char *) ps->data);
1765 ps->data=newStack;
1766 ps->size=newSize;
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dmathmodule.c907 double *ps, Py_ssize_t *m_ptr) in _fsum_realloc() argument
915 if (p == ps) { in _fsum_realloc()
918 memcpy(v, ps, sizeof(double) * n); in _fsum_realloc()
967 double x, y, t, ps[NUM_PARTIALS], *p = ps; in math_fsum() local
979 assert((m == NUM_PARTIALS && p == ps) || in math_fsum()
1025 else if (n >= m && _fsum_realloc(&p, n, ps, &m)) in math_fsum()
1075 if (p != ps) in math_fsum()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dmathmodule.c907 double *ps, Py_ssize_t *m_ptr) in _fsum_realloc() argument
915 if (p == ps) { in _fsum_realloc()
918 memcpy(v, ps, sizeof(double) * n); in _fsum_realloc()
967 double x, y, t, ps[NUM_PARTIALS], *p = ps; in math_fsum() local
979 assert((m == NUM_PARTIALS && p == ps) || in math_fsum()
1025 else if (n >= m && _fsum_realloc(&p, n, ps, &m)) in math_fsum()
1075 if (p != ps) in math_fsum()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ipf/
DIpfDefines.h537 #define ITIR(ppn48_63, key, ps) \ argument
538 ( ( ps << ITIR_PS ) | \
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c567 uint16_t als0, als1, ps; in handle_i2c_event() local
678 ps = *(uint16_t*)(xfer->txrxBuf); in handle_i2c_event()
681 DEBUG_PRINT("prox sample ready: prox=%u\n", ps); in handle_i2c_event()
684 if (ps > ROHM_RPR0521_THRESHOLD_ASSERT_NEAR) { in handle_i2c_event()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dregrtest.py981 ps = copy_reg.dispatch_table.copy()
1011 dash_R_cleanup(fs, ps, pic, zdc, abcs)
1016 dash_R_cleanup(fs, ps, pic, zdc, abcs)
1030 def dash_R_cleanup(fs, ps, pic, zdc, abcs): argument
1046 copy_reg.dispatch_table.update(ps)
Dtest_bytes.py409 ps = pickle.dumps(b, proto)
410 q = pickle.loads(ps)
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c790 uint16_t ps = *((uint16_t *) xfer->txrxBuf); in handleProxSample() local
793 DEBUG_PRINT("prox sample ready: prox=%u\n", ps); in handleProxSample()
797 sample.fdata = ps; in handleProxSample()
802 if (ps > AMS_TMD4903_PROX_THRESHOLD_LOW) { in handleProxSample()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpdb.doc195 alias ps pi self
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/
DCHANGES_FROM_133_before_mr13.txt348 Suggested by Sramji Ramanathan (ps@kumaran.com).
686 Sramji Ramanathan (ps@kumaran.com) has supplied makefiles for
747 Suggested by Sramji Ramanathan (ps@kumaran.com).
1723 Ramanathan (ps@kumaran.com).
2742 Reported by Ramanathan Santhanam (ps@kumaran.com).
DCHANGES_SUMMARY.txt1392 Ramanathan (ps@kumaran.com).
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/
DCHANGES_FROM_133_BEFORE_MR13.txt348 Suggested by Sramji Ramanathan (ps@kumaran.com).
686 Sramji Ramanathan (ps@kumaran.com) has supplied makefiles for
747 Suggested by Sramji Ramanathan (ps@kumaran.com).
1723 Ramanathan (ps@kumaran.com).
2742 Reported by Ramanathan Santhanam (ps@kumaran.com).
DCHANGES_SUMMARY.txt1392 Ramanathan (ps@kumaran.com).
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/
Dmcuimage.bin104 …��n�� ��.�T6��0��x��-��A��F+H FF�F�L���F�(@��#��"�bB����p pp�ps`�`�`3a���3�s��� 0�*$…