Home
last modified time | relevance | path

Searched refs:adapt (Results 1 - 16 of 16) sorted by relevance

/third_party/python/Lib/test/test_sqlite3/
H A Dtest_types.py434 sqlite.adapt(1.) # No float adapter registered
438 sqlite.adapt(1, None)
445 sqlite.adapt(1., DefectProto)
452 sqlite.adapt(DefectSelfAdapt(1.))
458 self.assertEqual(sqlite.adapt(1., CustomProto), "adapted")
462 self.assertEqual(float(val), sqlite.adapt(val))
466 self.assertEqual(alt, sqlite.adapt(1., None, alt))
/third_party/node/lib/
H A Dpunycode.js189 const adapt = function(delta, numPoints, firstTime) {
274 bias = adapt(i - oldi, out, oldi == 0);
375 bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
/third_party/icu/icu4c/source/test/intltest/
H A Dpunyref.cpp110 static punycode_uint adapt( in adapt() function
202 bias = adapt(delta, h + 1, h == b); in punycode_encode()
273 bias = adapt(i - oldi, out + 1, oldi == 0); in punycode_decode()
/third_party/python/Lib/encodings/
H A Dpunycode.py91 def adapt(delta, first, numchars): function
114 bias = adapt(delta, points==0, baselen+points+1)
178 bias = adapt(delta, (extpos == 0), len(base))
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/
H A DPunycodeReference.java124 private static int adapt(int delta, int numpoints, boolean firsttime ){ in adapt() method in PunycodeReference
212 bias = adapt(delta, h + 1, (h == b)); in encode()
358 bias = adapt(i - oldi, out + 1, (oldi == 0)); in decode()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
H A DPunycodeReference.java121 private static int adapt(int delta, int numpoints, boolean firsttime ){ in adapt() method in PunycodeReference
209 bias = adapt(delta, h + 1, (h == b)); in encode()
355 bias = adapt(i - oldi, out + 1, (oldi == 0)); in decode()
/third_party/node/deps/openssl/openssl/crypto/
H A Dpunycode.c31 * function adapt(delta,numpoints,firsttime):
43 static int adapt(unsigned int delta, unsigned int numpoints, in adapt() function
109 * let bias = adapt(i - oldi, length(output) + 1, test oldi is 0?)
177 bias = adapt(i - oldi, written_out + 1, (oldi == 0)); in ossl_punycode_decode()
/third_party/openssl/crypto/
H A Dpunycode.c31 * function adapt(delta,numpoints,firsttime):
43 static int adapt(unsigned int delta, unsigned int numpoints, in adapt() function
109 * let bias = adapt(i - oldi, length(output) + 1, test oldi is 0?)
177 bias = adapt(i - oldi, written_out + 1, (oldi == 0)); in ossl_punycode_decode()
/third_party/mbedtls/scripts/
H A Dconfig.py130 def adapt(self, adapter): member in Config
595 config.adapt(args.adapter)
/third_party/node/deps/v8/src/base/numbers/
H A Dfast-dtoa.cc380 // fractionals. We will not write any decimal separator though, but adapt
486 // fractional digits. We don't emit any decimal separator, but adapt kappa
/third_party/python/Lib/test/
H A Dtest_sysconfig.py358 # exec-prefix but not the user scheme, so we have to adapt the paths
360 adapt = sys.base_prefix != sys.base_exec_prefix
363 if adapt:
367 # virtual environment? Likewise, we have to adapt the paths
/third_party/mbedtls/tests/scripts/
H A Ddepends.py148 conf.adapt(config.full_adapter)
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
H A DFormatSpec.java277 * parsing of templates that, over time, might need to adapt to real world changes (e.g. suffix
/third_party/node/deps/v8/src/init/
H A Dbootstrapper.cc544 bool adapt) { in SimpleCreateFunction()
553 if (adapt) { in SimpleCreateFunction()
564 int len, bool adapt) { in InstallFunctionWithBuiltinId()
568 SimpleCreateFunction(isolate, internalized_name, call, len, adapt); in InstallFunctionWithBuiltinId()
575 int len, bool adapt, PropertyAttributes attrs = DONT_ENUM) { in SimpleInstallFunction()
581 SimpleCreateFunction(isolate, internalized_name, call, len, adapt); in SimpleInstallFunction()
588 const char* symbol_string, Builtin call, int len, bool adapt, in InstallFunctionAtSymbol()
593 SimpleCreateFunction(isolate, internalized_symbol, call, len, adapt); in InstallFunctionAtSymbol()
630 Builtin call, bool adapt) { in SimpleInstallGetter()
635 SimpleCreateFunction(isolate, getter_name, call, 0, adapt); in SimpleInstallGetter()
541 SimpleCreateFunction(Isolate* isolate, Handle<String> name, Builtin call, int len, bool adapt) SimpleCreateFunction() argument
562 InstallFunctionWithBuiltinId( Isolate* isolate, Handle<JSObject> base, const char* name, Builtin call, int len, bool adapt) InstallFunctionWithBuiltinId() argument
573 SimpleInstallFunction( Isolate* isolate, Handle<JSObject> base, const char* name, Builtin call, int len, bool adapt, PropertyAttributes attrs = DONT_ENUM) SimpleInstallFunction() argument
586 InstallFunctionAtSymbol( Isolate* isolate, Handle<JSObject> base, Handle<Symbol> symbol, const char* symbol_string, Builtin call, int len, bool adapt, PropertyAttributes attrs = DONT_ENUM) InstallFunctionAtSymbol() argument
626 SimpleInstallGetter(Isolate* isolate, Handle<JSObject> base, Handle<Name> name, Handle<Name> property_name, Builtin call, bool adapt) SimpleInstallGetter() argument
645 SimpleInstallGetter(Isolate* isolate, Handle<JSObject> base, Handle<Name> name, Builtin call, bool adapt) SimpleInstallGetter() argument
[all...]
/third_party/node/deps/ada/
H A Dada.cpp7988 static constexpr int32_t adapt(int32_t d, int32_t n, bool firsttime) {
8047 bias = adapt(i - oldi, written_out + 1, oldi == 0);
8106 bias = adapt(i - oldi, int32_t(written_out + 1), oldi == 0);
8172 bias = adapt(d, int32_t(h + 1), h == b);
/third_party/skia/third_party/externals/microhttpd/doc/
H A Dtexinfo.tex54 % It is possible to adapt texinfo.tex for other languages, to some

Completed in 42 milliseconds