/third_party/node/deps/v8/src/utils/ |
H A D | address-map.h | 24 inline void Set(Type value, uint32_t index) { in Set() argument 25 uintptr_t key = Key(value); in Set() 26 LookupOrInsert(key, Hash(key))->value = index; in Set() 29 inline Maybe<uint32_t> Get(Type value) const { in Get() 30 uintptr_t key = Key(value); in Get() 33 return Just(entry->value); in Get() 37 static inline uintptr_t Key(Type value); 43 inline uintptr_t PointerToIndexHashMap<Address>::Key(Address value) { in Key() argument 44 return static_cast<uintptr_t>(value); in Key() 48 inline uintptr_t PointerToIndexHashMap<HeapObject>::Key(HeapObject value) { in Key() argument [all...] |
/third_party/python/Tools/freeze/ |
H A D | parsesetup.py | 29 (name, value) = matchobj.group(1, 2) 31 i = value.find('#') 33 value = value[:i] 34 value = value.strip() 35 variables[name] = value 70 (name, value) = matchobj.group(1, 2) 71 variables[name] = value.strip() 107 value [all...] |
/third_party/python/Tools/peg_generator/pegen/ |
H A D | ast_dump.py | 34 value = getattr(node, name) 38 if value is None and getattr(cls, name, ...) is None: 41 value, simple = _format(value, level) 44 args.append("%s=%s" % (name, value)) 46 args.append(value) 50 value = getattr(node, name) 53 if value is None and getattr(cls, name, ...) is None: 55 value, simple = _format(value, leve [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | classStaticBlock17.js | 18 setX(obj, value) { obj.#x = value } 35 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
39 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
44 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
61 setX(obj, value) { __classPrivateFieldSe [all...] |
H A D | importCallExpressionAsyncES6AMD.js | 33 function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
35 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
36 function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
37 function step(result) { result.done ? resolve(result.value) : adopt(result.value) [all...] |
H A D | importCallExpressionAsyncES6CJS.js | 34 function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
36 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
37 function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
38 function step(result) { result.done ? resolve(result.value) : adopt(result.value) [all...] |
H A D | importCallExpressionInUMD5.js | 25 Object.defineProperty(exports, "__esModule", { value: true });
32 function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
34 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
35 function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
36 function step(result) { result.done ? resolve(result.value) [all...] |
H A D | importCallExpressionNestedUMD.js | 22 Object.defineProperty(exports, "__esModule", { value: true });
27 function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
29 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
30 function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
31 function step(result) { result.done ? resolve(result.value) [all...] |
H A D | tsxStatelessFunctionComponentsWithTypeArguments1.js | 4 declare function ComponentWithTwoAttributes<K,V>(l: {key1: K, value: V}): JSX.Element; 7 function Baz<T,U>(key1: T, value: U) { 8 let a0 = <ComponentWithTwoAttributes key1={key1} value={value} /> 9 let a1 = <ComponentWithTwoAttributes {...{key1, value: value}} key="Component" /> 38 function Baz(key1, value) {
39 var a0 = <ComponentWithTwoAttributes key1={key1} value={value}/>;
40 var a1 = <ComponentWithTwoAttributes {...{ key1: key1, value [all...] |
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | object_writer.h | 78 // Renders a boolean value. 79 virtual ObjectWriter* RenderBool(StringPiece name, bool value) = 0; 81 // Renders an 32-bit integer value. 82 virtual ObjectWriter* RenderInt32(StringPiece name, int32 value) = 0; 84 // Renders an 32-bit unsigned integer value. 85 virtual ObjectWriter* RenderUint32(StringPiece name, uint32 value) = 0; 87 // Renders a 64-bit integer value. 88 virtual ObjectWriter* RenderInt64(StringPiece name, int64 value) = 0; 90 // Renders an 64-bit unsigned integer value. 91 virtual ObjectWriter* RenderUint64(StringPiece name, uint64 value) 120 set_use_strict_base64_decoding(bool value) set_use_strict_base64_decoding() argument [all...] |
/third_party/skia/modules/canvaskit/ |
H A D | viewer_bindings.cpp | 60 .value("Down", skui::InputState::kDown) in EMSCRIPTEN_BINDINGS() 61 .value("Up", skui::InputState::kUp) in EMSCRIPTEN_BINDINGS() 62 .value("Move", skui::InputState::kMove) in EMSCRIPTEN_BINDINGS() 63 .value("Right", skui::InputState::kRight) in EMSCRIPTEN_BINDINGS() 64 .value("Left", skui::InputState::kLeft); in EMSCRIPTEN_BINDINGS() 66 .value("None", skui::ModifierKey::kNone) in EMSCRIPTEN_BINDINGS() 67 .value("Shift", skui::ModifierKey::kShift) in EMSCRIPTEN_BINDINGS() 68 .value("Control", skui::ModifierKey::kControl) in EMSCRIPTEN_BINDINGS() 69 .value("Option", skui::ModifierKey::kOption) in EMSCRIPTEN_BINDINGS() 70 .value("Comman in EMSCRIPTEN_BINDINGS() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | MutableCodePointTrie.java | 23 * add the source value into the value of each trie range. 29 * Constructs a mutable trie that initially maps each Unicode code point to the same value. 34 * determines the number of bits in the data value in the resulting {@link CodePointTrie}. 36 * @param initialValue the initial value that is set for all code points 37 * @param errorValue the value for out-of-range code points and ill-formed UTF-8/16 102 int value = range.getValue(); in fromCodePointMap() 103 if (value != initialValue) { in fromCodePointMap() 105 mutableTrie.set(start, value); in fromCodePointMap() 107 mutableTrie.setRange(start, end, value); in fromCodePointMap() 143 maybeFilterValue(int value, int initialValue, int nullValue, ValueFilter filter) maybeFilterValue() argument 240 writeBlock(int block, int value) writeBlock() argument 252 set(int c, int value) set() argument 262 fillBlock(int block, int start, int limit, int value) fillBlock() argument 275 setRange(int start, int end, int value) setRange() argument 531 allValuesSameAs(int[] p, int pi, int length, int value) allValuesSameAs() argument 552 findAllSameBlock(int[] p, int start, int limit, int value, int blockLength) findAllSameBlock() argument 604 getAllSameOverlap(int[] p, int length, int value, int blockLength) getAllSameOverlap() argument 658 findOrAdd(int index, int count, int value) findOrAdd() argument 681 add(int index, int count, int value) add() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | MutableCodePointTrie.java | 24 * add the source value into the value of each trie range. 30 * Constructs a mutable trie that initially maps each Unicode code point to the same value. 35 * determines the number of bits in the data value in the resulting {@link CodePointTrie}. 37 * @param initialValue the initial value that is set for all code points 38 * @param errorValue the value for out-of-range code points and ill-formed UTF-8/16 100 int value = range.getValue(); in fromCodePointMap() 101 if (value != initialValue) { in fromCodePointMap() 103 mutableTrie.set(start, value); in fromCodePointMap() 105 mutableTrie.setRange(start, end, value); in fromCodePointMap() 140 maybeFilterValue(int value, int initialValue, int nullValue, ValueFilter filter) maybeFilterValue() argument 235 writeBlock(int block, int value) writeBlock() argument 246 set(int c, int value) set() argument 256 fillBlock(int block, int start, int limit, int value) fillBlock() argument 268 setRange(int start, int end, int value) setRange() argument 523 allValuesSameAs(int[] p, int pi, int length, int value) allValuesSameAs() argument 544 findAllSameBlock(int[] p, int start, int limit, int value, int blockLength) findAllSameBlock() argument 596 getAllSameOverlap(int[] p, int length, int value, int blockLength) getAllSameOverlap() argument 650 findOrAdd(int index, int count, int value) findOrAdd() argument 673 add(int index, int count, int value) add() argument [all...] |
/third_party/node/deps/v8/src/json/ |
H A D | json-parser.cc | 140 Handle<Object> value; in InternalizeJsonProperty() local 142 isolate_, value, Object::GetPropertyOrElement(isolate_, holder, name), in InternalizeJsonProperty() 144 if (value->IsJSReceiver()) { in InternalizeJsonProperty() 145 Handle<JSReceiver> object = Handle<JSReceiver>::cast(value); in InternalizeJsonProperty() 175 Handle<Object> argv[] = {name, value}; in InternalizeJsonProperty() 352 base::uc32 value = 0; in ScanUnicodeCharacter() local 356 value = value * 16 + digit; in ScanUnicodeCharacter() 358 return value; in ScanUnicodeCharacter() 361 // Parse any JSON value 444 Handle<Object> value = property.value; BuildJsonObject() local 460 Handle<Object> value = property.value; BuildJsonObject() local 461 elms->set(static_cast<int>(index), *value, mode); BuildJsonObject() local 514 Handle<Object> value = property.value; BuildJsonObject() local 596 Object value = *property.value; BuildJsonObject() local 660 Handle<Object> value = property.value; BuildJsonObject() local 677 Object value = *element_stack[i]; BuildJsonArray() local 719 Handle<Object> value; ParseJsonValue() local 1100 base::uc32 value = 0; DecodeString() local 1175 base::uc32 value = ScanUnicodeCharacter(); ScanJsonString() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/ |
H A D | hash_test.cc | 58 SpyHashState SpyHash(const T& value) { in SpyHash() argument 59 return SpyHashState::combine(SpyHashState(), value); in SpyHash() 68 EXPECT_TRUE((is_hashable<TypeParam>::value)); in TYPED_TEST_P() 94 EXPECT_TRUE((is_hashable<LegacyEnum>::value)); in TEST() 95 EXPECT_TRUE((is_hashable<EnumClass>::value)); in TEST() 96 EXPECT_TRUE((is_hashable<bool>::value)); in TEST() 107 EXPECT_TRUE((is_hashable<float>::value)); in TEST() 108 EXPECT_TRUE((is_hashable<double>::value)); in TEST() 109 EXPECT_TRUE((is_hashable<long double>::value)); in TEST() 129 EXPECT_TRUE((is_hashable<int*>::value)); in TEST() [all...] |
/third_party/alsa-utils/amixer/ |
H A D | volume_mapping.c | 18 * The functions in this file map the value ranges of ALSA mixer controls onto 87 long min, max, value; in get_normalized_volume() local 97 err = get_raw[ctl_dir](elem, channel, &value); in get_normalized_volume() 101 return (value - min) / (double)(max - min); in get_normalized_volume() 104 err = get_dB[ctl_dir](elem, channel, &value); in get_normalized_volume() 109 return (value - min) / (double)(max - min); in get_normalized_volume() 111 normalized = pow(10, (value - max) / 6000.0); in get_normalized_volume() 126 long min, max, value; in set_normalized_volume() local 136 value = lrint_dir(volume * (max - min), dir) + min; in set_normalized_volume() 137 return set_raw[ctl_dir](elem, channel, value); in set_normalized_volume() [all...] |
/third_party/alsa-utils/alsamixer/ |
H A D | volume_mapping.c | 18 * The functions in this file map the value ranges of ALSA mixer controls onto 87 long min, max, value; in get_normalized_volume() local 97 err = get_raw[ctl_dir](elem, channel, &value); in get_normalized_volume() 101 return (value - min) / (double)(max - min); in get_normalized_volume() 104 err = get_dB[ctl_dir](elem, channel, &value); in get_normalized_volume() 109 return (value - min) / (double)(max - min); in get_normalized_volume() 111 normalized = pow(10, (value - max) / 6000.0); in get_normalized_volume() 126 long min, max, value; in set_normalized_volume() local 136 value = lrint_dir(volume * (max - min), dir) + min; in set_normalized_volume() 137 return set_raw[ctl_dir](elem, channel, value); in set_normalized_volume() [all...] |
/third_party/alsa-utils/alsactl/ |
H A D | init_sysfs.c | 23 /* attribute value cache */ 28 char *value; /* points to value_local if value is cached */ member 76 char value[NAME_SIZE]; in sysfs_attr_get_value() local 95 return attr_loop->value; in sysfs_attr_get_value() 125 dbg("cache '%s' with link value '%s'", path_full, pos+1); in sysfs_attr_get_value() 127 attr->value = attr->value_local; in sysfs_attr_get_value() 141 /* read attribute value */ in sysfs_attr_get_value() 147 size = read(fd, value, sizeof(value)); in sysfs_attr_get_value() [all...] |
/third_party/gn/src/gn/ |
H A D | value_extractors.h | 24 bool ExtractListOfStringValues(const Value& value, 30 const Value& value, 38 const Value& value, 45 const Value& value, 53 const Value& value, 61 const Value& value, 70 const Value& value, 83 const Value& value, 89 const Value& value, 95 const Value& value, [all...] |
/third_party/mesa3d/src/mapi/glapi/gen/ |
H A D | gl_enums.py | 44 # Mapping from enum value to (name, priority) tuples. 46 # Mapping from enum name to value 68 * Compare a key enum value to an element in the \c enum_string_table_offsets array. 193 value = self.string_to_int[name] 196 if value < 0: 199 if value > 0xffffffff: 207 if not (value & (value - 1)) and '_BIT' in name: 211 if value == 0xffffffff: 214 if value i [all...] |
/third_party/icu/icu4c/source/tools/genccode/ |
H A D | genccode.c | 105 options[kOptDestDir].value = "."; in main() 150 if (!checkAssemblyHeaderName(options[kOptAssembly].value)) { in main() 152 "Assembly type \"%s\" is unknown.\n", options[kOptAssembly].value); in main() 180 writeCCode(filename, options[kOptDestDir].value, in main() 181 options[kOptName].doesOccur ? options[kOptName].value : NULL, in main() 182 options[kOptFilename].doesOccur ? options[kOptFilename].value : NULL, in main() 187 writeAssemblyCode(filename, options[kOptDestDir].value, in main() 188 options[kOptEntryPoint].doesOccur ? options[kOptEntryPoint].value : NULL, in main() 189 options[kOptFilename].doesOccur ? options[kOptFilename].value : NULL, in main() 195 writeObjectCode(filename, options[kOptDestDir].value, in main() [all...] |
/third_party/libinput/test/ |
H A D | litest-device-aiptek-tablet.c | 31 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 32 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 34 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 35 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = LITEST_AUTO_ASSIGN }, 36 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 41 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 46 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 47 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 49 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 50 { .type = EV_SYN, .code = SYN_REPORT, .value 55 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) get_axis_default() argument [all...] |
/third_party/node/deps/undici/src/lib/fetch/ |
H A D | dataURL.js | 218 // 2. Append a byte whose value is bytePoint to output. 352 // and the extract-value flag. 453 // 2. Let value be the empty string. 454 let value = '' 467 // position, to value. 468 value += collectASequenceOfCodePoints( 489 // U+005C (\) to value and break. 491 value += '\\' 495 // 2. Append the code point at position within input to value. 496 value [all...] |
/third_party/openssl/crypto/ |
H A D | params_from_text.c | 25 const char *value, size_t value_n, in prepare_from_text() 53 r = BN_hex2bn(tmpbn, value); in prepare_from_text() 55 r = BN_asc2bn(tmpbn, value); in prepare_from_text() 69 * BN_bn2nativepad puts the absolute value of the number in the in prepare_from_text() 73 * To subtract 1 from an absolute value of a negative number we in prepare_from_text() 117 *buf_n = strlen(value) + 1; in prepare_from_text() 121 *buf_n = strlen(value) >> 1; in prepare_from_text() 132 const char *value, size_t value_n, int ishex, in construct_from_text() 169 ebcdic2ascii(buf, value, buf_n); in construct_from_text() 171 strncpy(buf, value, buf_ in construct_from_text() 24 prepare_from_text(const OSSL_PARAM *paramdefs, const char *key, const char *value, size_t value_n, const OSSL_PARAM **paramdef, int *ishex, size_t *buf_n, BIGNUM **tmpbn, int *found) prepare_from_text() argument 131 construct_from_text(OSSL_PARAM *to, const OSSL_PARAM *paramdef, const char *value, size_t value_n, int ishex, void *buf, size_t buf_n, BIGNUM *tmpbn) construct_from_text() argument 197 OSSL_PARAM_allocate_from_text(OSSL_PARAM *to, const OSSL_PARAM *paramdefs, const char *key, const char *value, size_t value_n, int *found) OSSL_PARAM_allocate_from_text() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkLRUCache.h | 22 Entry(const K& key, V&& value) in Entry() 24 , fValue(std::move(value)) {} in Entry() 46 Entry** value = fMap.find(key); in find() local 47 if (!value) { in find() 50 Entry* entry = *value; in find() 58 V* insert(const K& key, V value) { in insert() argument 61 Entry* entry = new Entry(key, std::move(value)); in insert() 70 V* insert_or_update(const K& key, V value) { in insert_or_update() argument 72 *found = std::move(value); in insert_or_update() 75 return this->insert(key, std::move(value)); in insert_or_update() 112 Entry** value = fMap.find(key); remove() local [all...] |