/third_party/python/Lib/ |
D | imaplib.py | 373 typ, dat = self._untagged_response('OK', [None], name) 375 return typ, dat 376 typ, dat = self.noop() # Prod server for response 377 return self._untagged_response(typ, dat, name) 442 typ, dat = self._simple_command('AUTHENTICATE', mech) 443 if typ != 'OK': 446 return typ, dat 454 typ, dat = self._simple_command(name) 455 return self._untagged_response(typ, dat, name) 475 typ, dat = self._simple_command('CLOSE') [all …]
|
/third_party/python/Lib/ctypes/ |
D | _endian.py | 6 def _other_endian(typ): argument 13 if hasattr(typ, _OTHER_ENDIAN): 14 return getattr(typ, _OTHER_ENDIAN) 16 if isinstance(typ, _array_type): 17 return _other_endian(typ._type_) * typ._length_ 19 if issubclass(typ, Structure): 20 return typ 21 raise TypeError("This type does not support other endian: %s" % typ) 29 typ = desc[1] 31 fields.append((name, _other_endian(typ)) + rest)
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | gen-emoji-table.py | 20 rang, typ = [s.strip() for s in line.split('#')[0].split(';')[:2]] variable 28 if typ not in ranges: 29 ranges[typ] = [] 30 if ranges[typ] and ranges[typ][-1][1] == start - 1: 31 ranges[typ][-1] = (ranges[typ][-1][0], end) 33 ranges[typ].append((start, end)) 55 for typ,s in ranges.items(): 56 if typ != "Extended_Pictographic": continue 58 print("static const struct hb_unicode_range_t _hb_unicode_emoji_%s_table[] =" % typ)
|
/third_party/harfbuzz/src/ |
D | gen-emoji-table.py | 24 rang, typ = [s.strip() for s in line.split('#')[0].split(';')[:2]] variable 32 if typ not in ranges: 33 ranges[typ] = [] 34 if ranges[typ] and ranges[typ][-1][1] == start - 1: 35 ranges[typ][-1] = (ranges[typ][-1][0], end) 37 ranges[typ].append((start, end)) 59 for typ, s in ranges.items(): 60 if typ != "Extended_Pictographic": continue 69 sol.genCode(code, 'is_'+typ)
|
/third_party/flutter/skia/third_party/externals/dawn/generator/ |
D | dawn_json_generator.py | 97 def __init__(self, name, typ, annotation, optional=False, argument 101 self.type = typ 270 … by_category[category] = sorted(by_category[category], key=lambda typ: typ.name.canonical_case()) 362 def convert_cType_to_cppType(typ, annotation, arg, indent=0): argument 363 if typ.category == 'native': 366 if typ.category == 'object': 367 return '{}::Acquire({})'.format(as_cppType(typ.name), arg) 368 elif typ.category == 'structure': 374 for member in typ.members] 379 return as_cppType(typ.name) + ' {\n' + converted_members + '\n}' [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | gen-emoji-table.py | 25 rang, typ = [s.strip() for s in line.split('#')[0].split(';')[:2]] variable 33 if typ not in ranges: 34 ranges[typ] = [] 35 if ranges[typ] and ranges[typ][-1][1] == start - 1: 36 ranges[typ][-1] = (ranges[typ][-1][0], end) 38 ranges[typ].append((start, end)) 60 for typ, s in ranges.items(): 61 if typ != "Extended_Pictographic": continue 70 sol.genCode(code, 'is_'+typ)
|
/third_party/python/Lib/test/test_email/ |
D | test_generator.py | 88 msg = self.msgmaker(self.typ(self.refold_long_expected[0])) 92 self.assertEqual(s.getvalue(), self.typ(self.refold_long_expected[n])) 95 msg = self.msgmaker(self.typ(self.refold_long_expected[0])) 99 self.assertEqual(s.getvalue(), self.typ(self.refold_long_expected[n])) 102 msg = self.msgmaker(self.typ(self.refold_long_expected[0])) 107 self.assertEqual(s.getvalue(), self.typ(self.refold_long_expected[n])) 110 msg = self.msgmaker(self.typ(self.refold_long_expected[0])) 115 self.assertEqual(s.getvalue(), self.typ(self.refold_long_expected[0])) 118 msg = self.msgmaker(self.typ(self.refold_long_expected[0])) 123 self.assertEqual(s.getvalue(), self.typ(self.refold_all_expected[n])) [all …]
|
/third_party/python/Lib/ctypes/test/ |
D | test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong, 19 ("value", typ)] 23 ("value", typ)] 29 for typ in structures: 30 self.assertEqual(typ.value.offset, 1) 31 o = typ() 36 for typ in byteswapped_structures: 37 self.assertEqual(typ.value.offset, 1) 38 o = typ()
|
D | test_repr.py | 19 for typ in subclasses: 20 base = typ.__bases__[0] 22 self.assertEqual("<X object at", repr(typ(42))[:12])
|
/third_party/skia/third_party/externals/dawn/generator/ |
D | dawn_json_generator.py | 161 typ, argument 169 self.type = typ 435 by_category[category], key=lambda typ: typ.name.canonical_case()) 452 'c_methods': lambda typ: c_methods(api_params, typ), 565 def convert_cType_to_cppType(typ, annotation, arg, indent=0): argument 566 if typ.category == 'native': 569 if typ.category == 'object': 570 return '{}::Acquire({})'.format(as_cppType(typ.name), arg) 571 elif typ.category == 'structure': 576 for member in typ.members [all …]
|
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | APIInfo.java | 150 public int getVal(int typ) { in getVal() argument 151 validateType(typ); in getVal() 152 if (typ >= shifts.length) { in getVal() 155 return (info >>> shifts[typ]) & masks[typ]; in getVal() 165 public String get(int typ, boolean brief) { in get() argument 166 validateType(typ); in get() 167 String[] vals = brief ? shortNames[typ] : names[typ]; in get() 169 switch (typ) { in get() 177 int val = (info >>> shifts[typ]) & masks[typ]; in get() 186 public void setType(int typ, int val) { in setType() argument [all …]
|
D | CheckAPI.java | 99 public abstract int getVal(int typ); in getVal() argument 100 public abstract String get(int typ, boolean brief); in get() argument 112 public int getVal(int typ) { in getVal() argument 113 validateType(typ); in getVal() 114 return (info >> (typ*2)) & 0x3; in getVal() 117 public String get(int typ, boolean brief) { in get() argument 118 validateType(typ); in get() 119 String[] vals = brief ? shortNames[typ] : names[typ]; in get() 121 switch (typ) { in get() 129 int val = (info >> (typ*2)) & 0x3; in get() [all …]
|
/third_party/flutter/skia/third_party/externals/wuffs/internal/cgen/ |
D | var.go | 72 func (g *gen) writeLoadDerivedVar(b *buffer, hack string, prefix string, name t.ID, typ *a.TypeExpr… 87 if !typ.IsIOType() { 99 if typ.QID()[1] == t.IDIOWriter { 118 if typ.QID()[1] == t.IDIOWriter { 131 func (g *gen) writeSaveDerivedVar(b *buffer, hack string, prefix string, name t.ID, typ *a.TypeExpr… 146 if !typ.IsIOType() { 158 if typ.QID()[1] == t.IDIOWriter { 218 if typ := n.XType(); typ.HasPointers() { 231 switch typ.Decorator() { 236 inner := typ.Inner() [all …]
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
D | asymmetric_key_data.py | 37 for typ in src: 38 private = 'PSA_KEY_TYPE_' + re.sub(r'(\(|\Z)', r'_KEY_PAIR\1', typ, 1) 39 public = 'PSA_KEY_TYPE_' + re.sub(r'(\(|\Z)', r'_PUBLIC_KEY\1', typ, 1) 42 for size in src[typ]: 43 dst[private][size] = unhexlify(src[typ][size][0]) 44 dst[public][size] = unhexlify(src[typ][size][1])
|
/third_party/typescript/tests/baselines/reference/ |
D | scannerUnicodeEscapeInKeyword2.symbols | 20 type typ\u0065 = 12; // ok 21 >typ\u0065 : Symbol(typ\u0065, Decl(file1.ts, 8, 1)) 23 typ\u0065 notok = 0; // not ok 49 type typ\u{0065} = 12; // ok 50 >typ\u{0065} : Symbol(typ\u{0065}, Decl(file2.ts, 10, 1)) 52 typ\u{0065} notok = 0; // not ok
|
D | scannerUnicodeEscapeInKeyword2.types | 26 type typ\u0065 = 12; // ok 27 >typ\u0065 : 12 29 typ\u0065 notok = 0; // not ok 62 type typ\u{0065} = 12; // ok 63 >typ\u{0065} : 12 65 typ\u{0065} notok = 0; // not ok
|
D | scannerUnicodeEscapeInKeyword2.js | 14 type typ\u0065 = 12; // ok 16 typ\u0065 notok = 0; // not ok 32 type typ\u{0065} = 12; // ok 34 typ\u{0065} notok = 0; // not ok
|
/third_party/typescript/tests/cases/conformance/scanner/ecmascript5/ |
D | scannerUnicodeEscapeInKeyword2.ts | 13 type typ\u0065 = 12; // ok alias 15 typ\u0065 notok = 0; // not ok 32 type typ\u{0065} = 12; // ok alias 34 typ\u{0065} notok = 0; // not ok
|
/third_party/flutter/skia/third_party/externals/wuffs/lang/check/ |
D | type.go | 94 if typ := n.IO().MType(); !typ.IsIOType() { 96 n.Keyword().Str(q.tm), n.IO().Str(q.tm), typ.Str(q.tm)) 106 if typ := n.Arg1().MType(); !typ.EqIgnoringRefinements(arg1Typ) { 108 n.Keyword().Str(q.tm), n.Arg1().Str(q.tm), typ.Str(q.tm), arg1Typ.Str(q.tm)) 126 if typ := o.LHS().MType(); !typ.IsSliceType() { 128 o.LHS().Str(q.tm), typ.Str(q.tm)) 366 if typ, ok := q.localVars[id1]; ok { 367 n.SetMType(typ) 765 typ := lTyp 766 if typ.IsIdeal() { [all …]
|
D | check.go | 281 typ := n.XType() 282 if err := q.tcheckTypeExpr(typ, 0); err != nil { 285 if _, err := q.bcheckTypeExpr(typ); err != nil { 297 for typ.IsArrayType() { 302 typ = typ.Inner() 304 if typ.Decorator() != 0 { 308 nb := typ.Innermost().AsNode().MBounds() 642 typ := o.MType() 643 if b[0] == nil || b[1] == nil || typ == nil { 650 typOK = typ != typeExprPlaceholder && typ != typeExprTypeExpr [all …]
|
/third_party/python/Lib/test/ |
D | test_imaplib.py | 296 typ, data = client.login('user', 'pass') 297 self.assertEqual(typ, 'OK') 324 typ, data = client.append(None, None, None, msg_string.encode('utf-8')) 325 self.assertEqual(typ, 'OK') 339 typ, _ = client.authenticate('MYAUTH', lambda x: b'fake') 340 self.assertEqual(typ, 'OK') 341 typ, _ = client.enable('UTF8=ACCEPT') 342 self.assertEqual(typ, 'OK') 503 typ, data = client.login('user', 'pass') 504 self.assertEqual(typ, 'OK') [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/ |
D | user_ip6_var.h | 107 #define IP6_EXTHDR_GET(val, typ, m, off, len) \ argument 112 (val) = (typ)(mtod((m), caddr_t) + (off)); \ 118 (val) = (typ)(mtod(t, caddr_t) + tmp); \ 120 (val) = (typ)NULL; \
|
/third_party/python/Lib/email/ |
D | contentmanager.py | 41 for typ in type(obj).__mro__: 42 if typ in self.set_handlers: 43 return self.set_handlers[typ] 44 qname = typ.__qualname__ 45 modname = getattr(typ, '__module__', '') 53 name = typ.__name__ 247 for typ in (bytes, bytearray, memoryview): 248 raw_data_manager.add_set_handler(typ, set_bytes_content)
|
/third_party/libuv/src/ |
D | uv-common.h | 323 # define UV_REQ_INIT(req, typ) \ argument 325 (req)->type = (typ); \ 330 # define UV_REQ_INIT(req, typ) \ argument 332 (req)->type = (typ); \ 337 #define uv__req_init(loop, req, typ) \ argument 339 UV_REQ_INIT(req, typ); \
|
/third_party/openssl/crypto/asn1/ |
D | tasn_new.c | 265 ASN1_TYPE *typ; in asn1_primitive_new() local 302 if ((typ = OPENSSL_malloc(sizeof(*typ))) == NULL) { in asn1_primitive_new() 306 typ->value.ptr = NULL; in asn1_primitive_new() 307 typ->type = -1; in asn1_primitive_new() 308 *pval = (ASN1_VALUE *)typ; in asn1_primitive_new()
|