/third_party/python/Lib/ |
H A D | imaplib.py | 193 self.untagged_responses = {} # {typ: [data, ...], ...} 367 (typ, [data]) = <instance>.recent() 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) 397 (typ, [data]) = <instance>.append(mailbox, flags, date_time, message) 442 typ, dat = self._simple_command('AUTHENTICATE', mech) 443 if typ != 'OK': 446 return typ, da [all...] |
/third_party/python/Lib/ctypes/ |
H A D | _endian.py | 6 def _other_endian(typ): 12 # check _OTHER_ENDIAN attribute (present if typ is primitive type) 13 if hasattr(typ, _OTHER_ENDIAN): 14 return getattr(typ, _OTHER_ENDIAN) 15 # if typ is array 16 if isinstance(typ, _array_type): 17 return _other_endian(typ._type_) * typ._length_ 18 # if typ is structure 19 if issubclass(typ, Structur [all...] |
/third_party/python/Lib/test/test_email/ |
H A 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(sel 225 typ = str global() variable in TestGenerator 233 typ = lambda self, x: x.encode('ascii') global() variable in TestBytesGenerator [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-emoji-table.py | 25 rang, typ = [s.strip() for s in line.split('#')[0].split(';')[:2]] 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 ! [all...] |
/third_party/skia/third_party/externals/dawn/generator/ |
H A D | dawn_json_generator.py | 161 typ, 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): 566 if typ.category == 'native': 569 if typ.category == 'object': 570 return '{}::Acquire({})'.format(as_cppType(typ [all...] |
/third_party/python/Lib/ctypes/test/ |
H A 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()
|
H A 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/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
H A 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() 186 setType(int typ, int val) setType() argument 200 setType(int typ, String val) setType() argument 591 getTypeValName(int typ, int val) getTypeValName() argument 630 validateType(int typ) validateType() argument [all...] |
H A 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() 133 setType(int typ, int val) setType() argument 139 setType(int typ, String val) setType() argument 500 validateType(int typ) validateType() argument 520 getVal(int typ) getVal() argument 524 get(int typ, boolean brief) get() argument [all...] |
/third_party/mbedtls/scripts/mbedtls_dev/ |
H A D | asymmetric_key_data.py | 26 for typ in src: 27 private = 'PSA_KEY_TYPE_' + re.sub(r'(\(|\Z)', r'_KEY_PAIR\1', typ, 1) 28 public = 'PSA_KEY_TYPE_' + re.sub(r'(\(|\Z)', r'_PUBLIC_KEY\1', typ, 1) 31 for size in src[typ]: 32 dst[private][size] = unhexlify(src[typ][size][0]) 33 dst[public][size] = unhexlify(src[typ][size][1])
|
H A D | c_parsing_helper.py | 34 def normalize_type(cls, typ: str) -> str: 36 typ = re.sub(r'\s+', r' ', typ) 37 typ = re.sub(r'\s*\*', r' *', typ) 38 return typ
|
H A D | c_wrapper_generator.py | 349 def __init__(self, typ: str) -> None: 350 super().__init__("Unknown type for printf format generation: " + typ) 394 def _printf_simple_format(self, typ: str) -> Optional[str]: 395 """Use this printf format for a value of typ. 397 Return None if values of typ need more complex handling. 399 return self._PRINTF_SIMPLE_FORMAT.get(typ) 407 def _printf_type_cast(self, typ: str) -> Optional[str]: 408 """Cast values of typ to this type before passing them to printf. 412 return self._PRINTF_TYPE_CAST.get(typ) 416 def _printf_parameters(self, typ [all...] |
/third_party/mbedtls/tests/scripts/ |
H A D | generate_psa_wrappers.py | 211 def _printf_parameters(self, typ: str, var: str) -> Tuple[str, List[str]]: 212 if typ.startswith('const '): 213 typ = typ[6:] 214 if typ == 'uint8_t *': 217 if typ.endswith('operation_t *'): 219 if typ in self._PAKE_STUFF: 221 if typ == 'psa_key_attributes_t *': 225 return super()._printf_parameters(typ, var)
|
/third_party/typescript/tests/baselines/reference/ |
H A D | globalThisAmbientModules.js | 3 export type typ = 1 4 export var val: typ 7 namespace namespaceModule { export type typ = 1 } 11 type GlobalOk2 = globalThis.namespaceModule.typ
|
H A 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/python/Lib/test/ |
H A D | test_imaplib.py | 299 typ, data = client.login('user', 'pass') 300 self.assertEqual(typ, 'OK') 327 typ, data = client.append(None, None, None, msg_string.encode('utf-8')) 328 self.assertEqual(typ, 'OK') 342 typ, _ = client.authenticate('MYAUTH', lambda x: b'fake') 343 self.assertEqual(typ, 'OK') 344 typ, _ = client.enable('UTF8=ACCEPT') 345 self.assertEqual(typ, 'OK') 506 typ, data = client.login('user', 'pass') 507 self.assertEqual(typ, 'O [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon.h | 130 blkbits, ivbits, typ) \ 138 { OSSL_FUNC_CIPHER_UPDATE, (void (*)(void))ossl_cipher_generic_##typ##_update },\ 139 { OSSL_FUNC_CIPHER_FINAL, (void (*)(void))ossl_cipher_generic_##typ##_final }, \ 157 kbits, blkbits, ivbits, typ) \ 165 { OSSL_FUNC_CIPHER_UPDATE, (void (*)(void))ossl_cipher_generic_##typ##_update },\ 166 { OSSL_FUNC_CIPHER_FINAL, (void (*)(void))ossl_cipher_generic_##typ##_final }, \ 185 kbits, blkbits, ivbits, typ) \ 207 blkbits, ivbits, typ) \ 209 blkbits, ivbits, typ) \ 211 blkbits, ivbits, typ) [all...] |
/third_party/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon.h | 129 blkbits, ivbits, typ) \ 137 { OSSL_FUNC_CIPHER_UPDATE, (void (*)(void))ossl_cipher_generic_##typ##_update },\ 138 { OSSL_FUNC_CIPHER_FINAL, (void (*)(void))ossl_cipher_generic_##typ##_final }, \ 156 kbits, blkbits, ivbits, typ) \ 164 { OSSL_FUNC_CIPHER_UPDATE, (void (*)(void))ossl_cipher_generic_##typ##_update },\ 165 { OSSL_FUNC_CIPHER_FINAL, (void (*)(void))ossl_cipher_generic_##typ##_final }, \ 184 kbits, blkbits, ivbits, typ) \ 206 blkbits, ivbits, typ) \ 208 blkbits, ivbits, typ) \ 210 blkbits, ivbits, typ) [all...] |
/third_party/python/Lib/email/ |
H A 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__ 249 for typ in (bytes, bytearray, memoryview): 250 raw_data_manager.add_set_handler(typ, set_bytes_content) 251 del typ
|
/third_party/python/Lib/idlelib/ |
H A D | run.py | 223 def get_message_lines(typ, exc, tb): 225 if typ in (AttributeError, NameError): 229 sys.__excepthook__(typ, exc, tb) 232 return traceback.format_exception_only(typ, exc) 240 typ, val, tb = excinfo = sys.exc_info() 244 def print_exc(typ, exc, tb): 265 lines = get_message_lines(typ, exc, tb) 269 print_exc(typ, val, tb) 624 typ, val, tb = self.user_exc_info 632 sys.last_type = typ [all...] |
/third_party/libuv/src/ |
H A D | uv-common.h | 354 # define UV_REQ_INIT(req, typ) \ 356 (req)->type = (typ); \ 361 # define UV_REQ_INIT(req, typ) \ 363 (req)->type = (typ); \ 368 #define uv__req_init(loop, req, typ) \ 370 UV_REQ_INIT(req, typ); \
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | asn1parse.c | 234 int typ; in asn1parse_main() local 252 typ = ASN1_TYPE_get(at); in asn1parse_main() 253 if ((typ == V_ASN1_OBJECT) in asn1parse_main() 254 || (typ == V_ASN1_BOOLEAN) in asn1parse_main() 255 || (typ == V_ASN1_NULL)) { in asn1parse_main() 256 BIO_printf(bio_err, "Can't parse %s type\n", ASN1_tag2str(typ)); in asn1parse_main()
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | tasn_new.c | 264 ASN1_TYPE *typ; in asn1_primitive_new() local 301 if ((typ = OPENSSL_malloc(sizeof(*typ))) == NULL) { in asn1_primitive_new() 305 typ->value.ptr = NULL; in asn1_primitive_new() 306 typ->type = -1; in asn1_primitive_new() 307 *pval = (ASN1_VALUE *)typ; in asn1_primitive_new()
|
/third_party/node/deps/uv/src/ |
H A D | uv-common.h | 323 # define UV_REQ_INIT(req, typ) \ 325 (req)->type = (typ); \ 330 # define UV_REQ_INIT(req, typ) \ 332 (req)->type = (typ); \ 337 #define uv__req_init(loop, req, typ) \ 339 UV_REQ_INIT(req, typ); \
|
/third_party/openssl/apps/ |
H A D | asn1parse.c | 237 int typ; in asn1parse_main() local 255 typ = ASN1_TYPE_get(at); in asn1parse_main() 256 if ((typ == V_ASN1_OBJECT) in asn1parse_main() 257 || (typ == V_ASN1_BOOLEAN) in asn1parse_main() 258 || (typ == V_ASN1_NULL)) { in asn1parse_main() 259 BIO_printf(bio_err, "Can't parse %s type\n", ASN1_tag2str(typ)); in asn1parse_main()
|