Home
last modified time | relevance | path

Searched refs:ctype (Results 1 – 25 of 32) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dunicodectype.c59 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToTitlecase() local
60 int delta = ctype->title; in _PyUnicode_ToTitlecase()
62 if (ctype->flags & NODELTA_MASK) in _PyUnicode_ToTitlecase()
76 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsTitlecase() local
78 return (ctype->flags & TITLE_MASK) != 0; in _PyUnicode_IsTitlecase()
86 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToDecimalDigit() local
88 return (ctype->flags & DECIMAL_MASK) ? ctype->decimal : -1; in _PyUnicode_ToDecimalDigit()
103 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToDigit() local
105 return (ctype->flags & DIGIT_MASK) ? ctype->digit : -1; in _PyUnicode_ToDigit()
120 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsNumeric() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dunicodectype.c59 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToTitlecase() local
60 int delta = ctype->title; in _PyUnicode_ToTitlecase()
62 if (ctype->flags & NODELTA_MASK) in _PyUnicode_ToTitlecase()
76 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsTitlecase() local
78 return (ctype->flags & TITLE_MASK) != 0; in _PyUnicode_IsTitlecase()
86 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToDecimalDigit() local
88 return (ctype->flags & DECIMAL_MASK) ? ctype->decimal : -1; in _PyUnicode_ToDecimalDigit()
103 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToDigit() local
105 return (ctype->flags & DIGIT_MASK) ? ctype->digit : -1; in _PyUnicode_ToDigit()
120 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsNumeric() local
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dregenc.h93 #define CTYPE_TO_BIT(ctype) (1<<(ctype)) argument
94 #define CTYPE_IS_WORD_GRAPH_PRINT(ctype) \ argument
95 ((ctype) == ONIGENC_CTYPE_WORD || (ctype) == ONIGENC_CTYPE_GRAPH ||\
96 (ctype) == ONIGENC_CTYPE_PRINT)
101 int ctype; member
119 ONIG_EXTERN int onigenc_not_support_get_ctype_code_range P_((OnigCtype ctype, OnigCodePoint* sb_out…
140 …XTERN int onigenc_mb2_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ctype));
143 …XTERN int onigenc_mb4_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ctype));
147 ONIG_EXTERN int onigenc_unicode_is_code_ctype P_((OnigCodePoint code, unsigned int ctype));
148 ONIG_EXTERN int onigenc_utf16_32_get_ctype_code_range P_((OnigCtype ctype, OnigCodePoint *sb_out, c…
[all …]
Dregenc.c558 onigenc_not_support_get_ctype_code_range(OnigCtype ctype ARG_UNUSED, in onigenc_not_support_get_ctype_code_range()
787 return pb->ctype; in onigenc_minimum_property_name_to_ctype()
795 unsigned int ctype) in onigenc_mb2_is_code_ctype() argument
798 return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype); in onigenc_mb2_is_code_ctype()
800 if (CTYPE_IS_WORD_GRAPH_PRINT(ctype)) { in onigenc_mb2_is_code_ctype()
810 unsigned int ctype) in onigenc_mb4_is_code_ctype() argument
813 return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype); in onigenc_mb4_is_code_ctype()
815 if (CTYPE_IS_WORD_GRAPH_PRINT(ctype)) { in onigenc_mb4_is_code_ctype()
Dregparse.c1209 NCTYPE(node)->ctype = type; in node_new_ctype()
2318 int ctype; member
2955 tok->u.prop.ctype = ONIGENC_CTYPE_WORD; in fetch_token_in_cc()
2960 tok->u.prop.ctype = ONIGENC_CTYPE_WORD; in fetch_token_in_cc()
2965 tok->u.prop.ctype = ONIGENC_CTYPE_DIGIT; in fetch_token_in_cc()
2970 tok->u.prop.ctype = ONIGENC_CTYPE_DIGIT; in fetch_token_in_cc()
2975 tok->u.prop.ctype = ONIGENC_CTYPE_SPACE; in fetch_token_in_cc()
2980 tok->u.prop.ctype = ONIGENC_CTYPE_SPACE; in fetch_token_in_cc()
2986 tok->u.prop.ctype = ONIGENC_CTYPE_XDIGIT; in fetch_token_in_cc()
2992 tok->u.prop.ctype = ONIGENC_CTYPE_XDIGIT; in fetch_token_in_cc()
[all …]
Doniguruma.h165 int (*is_code_ctype)(OnigCodePoint code, OnigCtype ctype);
166 …int (*get_ctype_code_range)(OnigCtype ctype, OnigCodePoint* sb_out, const OnigCodePoint* ranges…
301 #define ONIGENC_IS_CODE_CTYPE(enc,code,ctype) (enc)->is_code_ctype(code,ctype) argument
332 #define ONIGENC_GET_CTYPE_CODE_RANGE(enc,ctype,sbout,ranges) \ argument
333 (enc)->get_ctype_code_range(ctype,sbout,ranges)
Dregparse.h73 #define NCTYPE(node) (&((node)->u.ctype))
251 int ctype; member
265 CtypeNode ctype; member
Dregcomp.c1649 switch (NCTYPE(node)->ctype) { in compile_tree()
2426 if (NCTYPE(y)->ctype == NCTYPE(x)->ctype && in is_not_included()
2457 switch (NCTYPE(y)->ctype) { in is_not_included()
2533 switch (NCTYPE(y)->ctype) { in is_not_included()
4678 switch (NCTYPE(node)->ctype) { in optimize_node_left()
6193 switch (NCTYPE(node)->ctype) { in print_indent_tree()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
Dmessage.py450 ctype = _splitparam(value)[0].lower()
452 if ctype.count('/') != 1:
454 return ctype
462 ctype = self.get_content_type()
463 return ctype.split('/')[0]
471 ctype = self.get_content_type()
472 return ctype.split('/')[1]
483 def set_default_type(self, ctype): argument
490 self._default_type = ctype
593 ctype = 'text/plain'
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dasdl_c.py120 ctype = get_c_type(name)
121 s = "typedef enum _%s { %s } %s;" % (name, enums, ctype)
126 ctype = get_c_type(name)
132 ctype = get_c_type(name)
190 ctype = get_c_type(field.type)
244 ctype = "asdl_int_seq *"
246 ctype = "asdl_seq *"
248 ctype = get_c_type(f.type)
249 args.append((ctype, name, f.opt or f.seq))
255 ctype = get_c_type(type)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DMimeWriter.py128 def startbody(self, ctype, plist=[], prefix=1): argument
139 ctype = ctype + ';\n %s=\"%s\"' % (name, value)
140 self.addheader("Content-Type", ctype, prefix=prefix)
Dmimetypes.py245 ctype = _winreg.EnumKey(mimedb, i)
249 ctype = ctype.encode(default_encoding) # omit in 3.x!
253 yield ctype
259 for ctype in enum_types(mimedb):
261 with _winreg.OpenKey(mimedb, ctype) as key:
272 self.add_type(ctype, suffix, strict)
Dcgi.py150 ctype, pdict = parse_header(environ['CONTENT_TYPE'])
151 if ctype == 'multipart/form-data':
153 elif ctype == 'application/x-www-form-urlencoded':
483 ctype, pdict = parse_header(self.headers['content-type'])
485 ctype, pdict = "text/plain", {}
487 ctype, pdict = 'application/x-www-form-urlencoded', {}
488 self.type = ctype
505 if ctype == 'application/x-www-form-urlencoded':
507 elif ctype[:10] == 'multipart/':
DSimpleHTTPServer.py82 ctype = self.guess_type(path)
92 self.send_header("Content-type", ctype)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/
Dbase.py24 ctype = '%s/%s' % (_maintype, _subtype)
25 self.add_header('Content-Type', ctype, **_params)
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/enc/
Dascii.c33 ascii_is_code_ctype(OnigCodePoint code, unsigned int ctype) in ascii_is_code_ctype() argument
36 return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype); in ascii_is_code_ctype()
Dunicode.c32 #define ONIGENC_IS_UNICODE_ISO_8859_1_CTYPE(code,ctype) \ argument
33 ((EncUNICODE_ISO_8859_1_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
10748 onigenc_unicode_is_code_ctype(OnigCodePoint code, unsigned int ctype) in onigenc_unicode_is_code_ctype() argument
10752 ctype <= ONIGENC_MAX_STD_CTYPE && in onigenc_unicode_is_code_ctype()
10755 return ONIGENC_IS_UNICODE_ISO_8859_1_CTYPE(code, ctype); in onigenc_unicode_is_code_ctype()
10758 if (ctype >= CODE_RANGES_NUM) { in onigenc_unicode_is_code_ctype()
10764 return onig_is_in_code_range((UChar* )CodeRanges[ctype], code); in onigenc_unicode_is_code_ctype()
10769 onigenc_unicode_ctype_code_range(int ctype, const OnigCodePoint* ranges[]) in onigenc_unicode_ctype_code_range() argument
10771 if (ctype >= CODE_RANGES_NUM) { in onigenc_unicode_ctype_code_range()
10777 *ranges = CodeRanges[ctype]; in onigenc_unicode_ctype_code_range()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/
Dfunction.py20 self.ctype = "PyObject *"
24 return "%s%s" % (self.ctype, self.name)
27 self.ctype = self._codes[code]
28 if self.ctype[-1] != "*":
29 self.ctype += " "
Dmember.py66 ctype = self.struct.get_type(self.name)
67 return c2t[ctype]
/device/linaro/bootloader/edk2/StdLib/Include/sys/
D_ctype.h17 #error This file, <sys/_ctype.h>, may only be included by <ctype.h>.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
DSimpleHTTPServer.py89 ctype = self.guess_type(path)
100 self.send_header("Content-type", ctype)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/
Dwebchecker.py554 ctype = cgi.parse_header(info['content-type'])[0].lower()
555 if ';' in ctype:
557 ctype = ctype.split(';', 1)[0].strip()
561 ctype, encoding = mimetypes.guess_type(url)
562 if ctype == 'text/html':
565 self.note(1, " Not HTML, mime type %s", ctype)
/device/linaro/bootloader/edk2/StdLib/LibC/Ctype/
DCtype.inf4 # by the <ctype.h> header of the C Standard Library, ISO/IEC 9899:1990 with
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
Dparser.dlg16 #include <ctype.h>
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_ssl.py472 ctype = (self.sslconn and "encrypted") or "unencrypted"
474 % (repr(msg), ctype, repr(msg.lower()), ctype))

12