Home
last modified time | relevance | path

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

1234567891011

/external/python/cpython2/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 …]
/external/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/
Dtypes.pass.cpp29 assert(std::has_facet<std::ctype<char> >(l)); in main()
30 const std::ctype<char>& f = std::use_facet<std::ctype<char> >(l); in main()
33 (void)std::ctype<char>::id; in main()
35 static_assert((std::is_same<std::ctype<char>::char_type, char>::value), ""); in main()
36 static_assert((std::is_base_of<std::ctype_base, std::ctype<char> >::value), ""); in main()
37 static_assert((std::is_base_of<std::locale::facet, std::ctype<char> >::value), ""); in main()
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype/
Dtypes.pass.cpp29 assert(std::has_facet<std::ctype<wchar_t> >(l)); in main()
30 const std::ctype<wchar_t>& f = std::use_facet<std::ctype<wchar_t> >(l); in main()
33 (void)std::ctype<wchar_t>::id; in main()
35 static_assert((std::is_same<std::ctype<wchar_t>::char_type, wchar_t>::value), ""); in main()
36 static_assert((std::is_base_of<std::ctype_base, std::ctype<wchar_t> >::value), ""); in main()
37 static_assert((std::is_base_of<std::locale::facet, std::ctype<wchar_t> >::value), ""); in main()
/external/python/cpython2/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 …]
/external/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/
Ddtor.pass.cpp24 std::locale l(std::locale::classic(), new std::ctype<char>); in main()
29 std::ctype<char>::mask table[256]; in main()
30 std::locale l(std::locale::classic(), new std::ctype<char>(table)); in main()
36 new std::ctype<char>(new std::ctype<char>::mask[256], true)); in main()
/external/boringssl/src/crypto/obj/
Dobjects.txt1003 id-set 0 : set-ctype : content types
1010 set-ctype 0 : setct-PANData
1011 set-ctype 1 : setct-PANToken
1012 set-ctype 2 : setct-PANOnly
1013 set-ctype 3 : setct-OIData
1014 set-ctype 4 : setct-PI
1015 set-ctype 5 : setct-PIData
1016 set-ctype 6 : setct-PIDataUnsigned
1017 set-ctype 7 : setct-HODInput
1018 set-ctype 8 : setct-AuthResBaggage
[all …]
/external/python/cpython2/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 …]
/external/libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/
Dtable.pass.cpp21 typedef std::ctype<char> F; in main()
23 std::locale l(std::locale::classic(), new std::ctype<char>); in main()
28 std::ctype<char>::mask table[256]; in main()
29 std::locale l(std::locale::classic(), new std::ctype<char>(table)); in main()
/external/v8/src/wasm/
Dwasm-interpreter.h46 #define DECLARE_FIELD(field, localtype, ctype) ctype field; argument
53 #define DECLARE_CONSTRUCTOR(field, localtype, ctype) \ argument
54 explicit WasmVal(ctype v) : type(localtype) { val.field = v; }
69 #define DECLARE_CAST(field, localtype, ctype) \ argument
71 inline ctype WasmVal::to_unchecked() { \
75 inline ctype WasmVal::to() { \
/external/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock_dgen.c11 int i, j, k, nlines, nchars, ctype; in main() local
30 ctype = atoi(argv[4]); in main()
35 if (ctype) in main()
46 if (!ctype) { in main()
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/
Dtypes.pass.cpp38 assert(&std::use_facet<std::ctype<char> >(l) in main()
43 assert(&std::use_facet<std::ctype<wchar_t> >(l) in main()
51 assert(&std::use_facet<std::ctype<char> >(l) in main()
56 assert(&std::use_facet<std::ctype<wchar_t> >(l) in main()
/external/webp/src/enc/
Dcost_enc.c61 int ctype, band, ctx; in VP8CalculateLevelCosts() local
65 for (ctype = 0; ctype < NUM_TYPES; ++ctype) { in VP8CalculateLevelCosts()
69 const uint8_t* const p = proba->coeffs_[ctype][band][ctx]; in VP8CalculateLevelCosts()
70 uint16_t* const table = proba->level_cost_[ctype][band][ctx]; in VP8CalculateLevelCosts()
84 proba->remapped_costs_[ctype][n][ctx] = in VP8CalculateLevelCosts()
85 proba->level_cost_[ctype][VP8EncBands[n]][ctx]; in VP8CalculateLevelCosts()
/external/libcxx/test/std/localization/locales/locale/locale.types/locale.category/
Dcategory.pass.cpp32 assert(std::locale::ctype); in main()
38 & std::locale::ctype in main()
44 | std::locale::ctype in main()
53 test(std::locale::ctype); in main()
/external/python/cpython2/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)
/external/llvm/test/Transforms/InstCombine/
D2008-05-09-SinkOfInvoke.ll3 …%"struct.std::ctype<char>" = type { %"struct.std::locale::facet", i32*, i8, i32*, i32*, i16*, i8, …
12 define void @_ZNSt5ctypeIcEC2EPiPKtbm(%"struct.std::ctype<char>"* %this, i32* %unnamed_arg, i16* %_…
27 …%tmp41 = getelementptr %"struct.std::ctype<char>", %"struct.std::ctype<char>"* %this, i32 0, i32 4…
/external/v8/src/runtime/
Druntime-atomics.cc364 #define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype, size) \ in RUNTIME_FUNCTION() argument
366 return DoCompareExchange<ctype>(isolate, source, index, oldobj, newobj); in RUNTIME_FUNCTION()
397 #define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype, size) \ in RUNTIME_FUNCTION() argument
399 return DoAdd<ctype>(isolate, source, index, value); in RUNTIME_FUNCTION()
429 #define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype, size) \ in RUNTIME_FUNCTION() argument
431 return DoSub<ctype>(isolate, source, index, value); in RUNTIME_FUNCTION()
461 #define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype, size) \ in RUNTIME_FUNCTION() argument
463 return DoAnd<ctype>(isolate, source, index, value); in RUNTIME_FUNCTION()
493 #define TYPED_ARRAY_CASE(Type, typeName, TYPE, ctype, size) \ in RUNTIME_FUNCTION() argument
495 return DoOr<ctype>(isolate, source, index, value); in RUNTIME_FUNCTION()
[all …]
/external/nanopb-c/generator/
Dnanopb_generator.py172 self.ctype = None
229 self.ctype, self.pbtype, self.enc_size = datatypes[desc.type]
232 self.ctype = names_from_type_name(desc.type_name)
234 self.default = self.ctype + self.default
238 self.ctype = 'char'
240 self.ctype = 'char'
246 self.ctype = self.struct_name + self.name + 't'
249 self.ctype = 'pb_bytes_array_t'
252 self.ctype = self.submsgname = names_from_type_name(desc.type_name)
268 result += ' struct _%s *%s;' % (self.ctype, self.name)
[all …]
/external/python/cpython2/Doc/includes/
Demail-dir.py72 ctype, encoding = mimetypes.guess_type(path)
73 if ctype is None or encoding is not None:
76 ctype = 'application/octet-stream'
77 maintype, subtype = ctype.split('/', 1)
/external/python/cpython2/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 += " "
/external/openssh/
Dserverloop.c585 char *ctype; in server_input_channel_open() local
590 ctype = packet_get_string(&len); in server_input_channel_open()
596 ctype, rchan, rwindow, rmaxpack); in server_input_channel_open()
598 if (strcmp(ctype, "session") == 0) { in server_input_channel_open()
600 } else if (strcmp(ctype, "direct-tcpip") == 0) { in server_input_channel_open()
602 } else if (strcmp(ctype, "direct-streamlocal@openssh.com") == 0) { in server_input_channel_open()
604 } else if (strcmp(ctype, "tun@openssh.com") == 0) { in server_input_channel_open()
608 debug("server_input_channel_open: confirm %s", ctype); in server_input_channel_open()
621 debug("server_input_channel_open: failure %s", ctype); in server_input_channel_open()
631 free(ctype); in server_input_channel_open()
[all …]
/external/protobuf/src/google/protobuf/
Dunittest_lite.proto88 optional string optional_string_piece = 24 [ctype=STRING_PIECE];
89 optional string optional_cord = 25 [ctype=CORD];
127 repeated string repeated_string_piece = 54 [ctype=STRING_PIECE];
128 repeated string repeated_cord = 55 [ctype=CORD];
155 optional string default_string_piece = 84 [ctype=STRING_PIECE,default="abc"];
156 optional string default_cord = 85 [ctype=CORD,default="123"];
233 [ctype=STRING_PIECE];
234 optional string optional_cord_extension_lite = 25 [ctype=CORD];
275 [ctype=STRING_PIECE];
276 repeated string repeated_cord_extension_lite = 55 [ctype=CORD];
[all …]
Dunittest.proto106 optional string optional_string_piece = 24 [ctype=STRING_PIECE];
107 optional string optional_cord = 25 [ctype=CORD];
144 repeated string repeated_string_piece = 54 [ctype=STRING_PIECE];
145 repeated string repeated_cord = 55 [ctype=CORD];
171 optional string default_string_piece = 84 [ctype=STRING_PIECE,default="abc"];
172 optional string default_cord = 85 [ctype=CORD,default="123"];
247 optional string optional_string_piece_extension = 24 [ctype=STRING_PIECE];
248 optional string optional_cord_extension = 25 [ctype=CORD];
287 repeated string repeated_string_piece_extension = 54 [ctype=STRING_PIECE];
288 repeated string repeated_cord_extension = 55 [ctype=CORD];
[all …]
/external/v8/src/
Dflag-definitions.h26 #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ argument
27 V8_EXPORT_PRIVATE extern ctype FLAG_##nam;
28 #define FLAG_READONLY(ftype, ctype, nam, def, cmt) \ argument
29 static ctype const FLAG_##nam = def;
35 #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ argument
36 V8_EXPORT_PRIVATE extern ctype FLAG_##nam;
38 #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ argument
39 V8_EXPORT_PRIVATE ctype FLAG_##nam = def;
46 #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ argument
47 static ctype const FLAGDEFAULT_##nam = def;
[all …]
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
Dunittest_reference_types_nano.proto43 optional string optional_string_piece = 24 [ctype=STRING_PIECE];
44 optional string optional_cord = 25 [ctype=CORD];
71 repeated string repeated_string_piece = 54 [ctype=STRING_PIECE];
72 repeated string repeated_cord = 55 [ctype=CORD];
/external/valgrind/auxprogs/
Dupdate-demangler53 cp ../gcc-$old_gcc_revision/include/safe-ctype.h .
60 cp ../gcc-$old_gcc_revision/libiberty/safe-ctype.c .
81 cp ../gcc-$new_gcc_revision/include/safe-ctype.h .
88 cp ../gcc-$new_gcc_revision/libiberty/safe-ctype.c .

1234567891011