/third_party/node/test/parallel/ |
H A D | test-process-cpuUsage.js | 6 // Validate the result of calling with no previous value argument. 9 // Validate the result of calling with a previous value argument. 35 // Ensure that an invalid shape for the previous value argument throws an error. 51 ].forEach((value) => { 53 () => process.cpuUsage(value), 58 common.invalidArgTypeHelper(value.user) 66 ].forEach((value) => { 68 () => process.cpuUsage(value), 73 common.invalidArgTypeHelper(value.system) 82 ].forEach((value) [all...] |
/third_party/musl/src/linux/ |
H A D | xattr.c | 4 ssize_t getxattr(const char *path, const char *name, void *value, size_t size) in getxattr() argument 6 return syscall(SYS_getxattr, path, name, value, size); in getxattr() 9 ssize_t lgetxattr(const char *path, const char *name, void *value, size_t size) in lgetxattr() argument 11 return syscall(SYS_lgetxattr, path, name, value, size); in lgetxattr() 14 ssize_t fgetxattr(int filedes, const char *name, void *value, size_t size) in fgetxattr() argument 16 return syscall(SYS_fgetxattr, filedes, name, value, size); in fgetxattr() 34 int setxattr(const char *path, const char *name, const void *value, size_t size, int flags) in setxattr() argument 36 return syscall(SYS_setxattr, path, name, value, size, flags); in setxattr() 39 int lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags) in lsetxattr() argument 41 return syscall(SYS_lsetxattr, path, name, value, siz in lsetxattr() 44 fsetxattr(int filedes, const char *name, const void *value, size_t size, int flags) fsetxattr() argument [all...] |
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/ |
H A D | any.js | 3 Object.defineProperty(exports, "__esModule", { value: true }); 6 return { typeUrl: "", value: Buffer.alloc(0) }; 12 value: isSet(object.value) ? Buffer.from(bytesFromBase64(object.value)) : Buffer.alloc(0), 18 message.value !== undefined && 19 (obj.value = base64FromBytes(message.value !== undefined ? message.value : Buffer.alloc(0))); 63 function isSet(value) { [all...] |
/third_party/libinput/test/ |
H A D | litest-device-touchscreen-invalid-range.c | 31 { .type = EV_ABS, .code = ABS_MT_SLOT, .value = LITEST_AUTO_ASSIGN }, 32 { .type = EV_ABS, .code = ABS_MT_TRACKING_ID, .value = LITEST_AUTO_ASSIGN }, 33 { .type = EV_ABS, .code = ABS_MT_POSITION_X, .value = LITEST_AUTO_ASSIGN }, 34 { .type = EV_ABS, .code = ABS_MT_POSITION_Y, .value = LITEST_AUTO_ASSIGN }, 35 { .type = EV_ABS, .code = ABS_MT_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 36 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 41 { .type = EV_ABS, .code = ABS_MT_SLOT, .value = LITEST_AUTO_ASSIGN }, 42 { .type = EV_ABS, .code = ABS_MT_POSITION_X, .value = LITEST_AUTO_ASSIGN }, 43 { .type = EV_ABS, .code = ABS_MT_POSITION_Y, .value = LITEST_AUTO_ASSIGN }, 44 { .type = EV_ABS, .code = ABS_MT_PRESSURE, .value [all...] |
H A D | litest-device-touchscreen-fuzz.c | 30 { .type = EV_ABS, .code = ABS_MT_SLOT, .value = LITEST_AUTO_ASSIGN }, 31 { .type = EV_ABS, .code = ABS_MT_TRACKING_ID, .value = LITEST_AUTO_ASSIGN }, 32 { .type = EV_ABS, .code = ABS_MT_POSITION_X, .value = LITEST_AUTO_ASSIGN }, 33 { .type = EV_ABS, .code = ABS_MT_POSITION_Y, .value = LITEST_AUTO_ASSIGN }, 34 { .type = EV_ABS, .code = ABS_MT_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 35 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 40 { .type = EV_ABS, .code = ABS_MT_SLOT, .value = LITEST_AUTO_ASSIGN }, 41 { .type = EV_ABS, .code = ABS_MT_POSITION_X, .value = LITEST_AUTO_ASSIGN }, 42 { .type = EV_ABS, .code = ABS_MT_POSITION_Y, .value = LITEST_AUTO_ASSIGN }, 43 { .type = EV_ABS, .code = ABS_MT_PRESSURE, .value [all...] |
H A D | litest-device-huion-pentablet.c | 30 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 31 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 32 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 33 { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 1 }, 34 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 43 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 44 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 45 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 46 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 51 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) in get_axis_default() argument [all...] |
H A D | litest-device-synaptics-st.c | 30 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 31 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 32 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 33 { .type = EV_ABS, .code = ABS_TOOL_WIDTH, .value = 7 }, 34 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 39 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 40 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 41 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 46 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 51 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) in get_axis_default() argument [all...] |
/third_party/ltp/testcases/kernel/syscalls/prctl/ |
H A D | prctl08.c | 13 * value, and a "current" value. PR_SET_TIMERSLACK sets the "current" 14 * timer slack value for the calling thread. 17 * the same as the "current" value of the creating thread. 19 * - The maximum timer slack value is ULONG_MAX. On 32bit machines, it 20 * is a valid value(about 4s). On 64bit machines, it is about 500 years 21 * and no person will set this over 4s. prctl return value is int, so 22 * we test themaximum value is INT_MAX. 24 * - we also check current value via /proc/self/timerslack_ns if it is 40 static void check_get_timerslack(char *message, unsigned long value); 64 check_get_timerslack(char *message, unsigned long value) check_get_timerslack() argument 78 check_inherit_timerslack(char *message, unsigned long value) check_inherit_timerslack() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | HashUtils.h | 28 size_t Hash(const T& value) { in Hash() argument 29 return std::hash<T>()(value); in Hash() 34 size_t Hash(const TypedInteger<Tag, T>& value) { in Hash() argument 35 return Hash(static_cast<T>(value)); in Hash() 38 // When hashing sparse structures we want to iteratively build a hash value with only parts of the 47 void HashCombine(size_t* hash, const T& value) { in HashCombine() argument 55 *hash ^= Hash(value) + offset + (*hash << 6) + (*hash >> 2); in HashCombine() 59 void HashCombine(size_t* hash, const T& value, const Args&... args) { in HashCombine() argument 60 HashCombine(hash, value); in HashCombine() 77 size_t Hash(const std::bitset<N>& value) { in Hash() argument [all...] |
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | ExperimentalTestDataProvider.java | 48 double value = 0.0; in getDouble() 49 while (Double.compare(0.0, value) == 0) { in getDouble() 50 value = RANDOM.nextDouble(); in getDouble() 52 return value; in getDouble() 56 float value = 0.0f; in getFloat() 57 while (Float.compare(0.0f, value) == 0) { in getFloat() 58 value = RANDOM.nextFloat(); in getFloat() 60 return value; in getFloat() 104 /** Number of samples that should be taken from each value array. */ 127 int value in getInt() [all...] |
/third_party/rust/crates/serde/test_suite/tests/macros/ |
H A D | mod.rs | 10 ($($value:expr),+) => {{ 12 $(set.insert($value);)+ 21 ($($key:expr => $value:expr),+) => {{ 23 $(map.insert($key, $value);)+ 32 ($($value:expr),+) => {{ 34 $(set.insert($value);)+ 37 ($hasher:ident @ $($value:expr),+) => {{ 40 $(set.insert($value);)+ 49 ($($key:expr => $value:expr),+) => {{ 51 $(map.insert($key, $value);) [all...] |
/third_party/vk-gl-cts/framework/egl/ |
H A D | egluStrUtil.hpp | 35 int value; member 36 ConfigAttribValueFmt (deUint32 attribute_, int value_) : attribute(attribute_), value(value_) {} in ConfigAttribValueFmt() 42 int value; member 43 SurfaceAttribValueFmt (deUint32 attribute_, int value_) : attribute(attribute_), value(value_) {} in SurfaceAttribValueFmt() 49 int value; member 50 ContextAttribValueFmt (deUint32 attribute_, int value_) : attribute(attribute_), value(value_) {} in ContextAttribValueFmt() 71 inline ConfigAttribValueFmt getConfigAttribValueStr (deUint32 attribute, int value) { return ConfigAttribValueFmt(attribute, value); } in getConfigAttribValueStr() argument 74 inline SurfaceAttribValueFmt getSurfaceAttribValueStr (deUint32 attribute, int value) { return SurfaceAttribValueFmt(attribute, value); } in getSurfaceAttribValueStr() argument 77 getContextAttribValueStr(deUint32 attribute, int value) getContextAttribValueStr() argument [all...] |
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrGenericVector.hpp | 70 explicit GenericVec4 (const tcu::Vector<ScalarType, 4>& value) in GenericVec4() argument 72 *this = value; in GenericVec4() 83 GenericVec4& operator= (const GenericVec4& value) in operator =() argument 85 v.iData[0] = value.v.iData[0]; in operator =() 86 v.iData[1] = value.v.iData[1]; in operator =() 87 v.iData[2] = value.v.iData[2]; in operator =() 88 v.iData[3] = value.v.iData[3]; in operator =() 93 GenericVec4& operator= (const tcu::Vector<ScalarType, 4>& value) in operator =() argument 95 getAccess<ScalarType>()[0] = value[0]; in operator =() 96 getAccess<ScalarType>()[1] = value[ in operator =() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | capture_gles_3_0_autogen.cpp | 171 const GLfloat *value) in CaptureClearBufferfv() 180 ParamCapture valueParam("value", ParamType::TGLfloatConstPointer); in CaptureClearBufferfv() 181 InitParamValue(ParamType::TGLfloatConstPointer, value, &valueParam.value); in CaptureClearBufferfv() 182 CaptureClearBufferfv_value(glState, isCallValid, buffer, drawbuffer, value, &valueParam); in CaptureClearBufferfv() 187 ParamCapture valueParam("value", ParamType::TGLfloatConstPointer); in CaptureClearBufferfv() 189 &valueParam.value); in CaptureClearBufferfv() 200 const GLint *value) in CaptureClearBufferiv() 209 ParamCapture valueParam("value", ParamType::TGLintConstPointer); in CaptureClearBufferiv() 210 InitParamValue(ParamType::TGLintConstPointer, value, in CaptureClearBufferiv() 167 CaptureClearBufferfv(const State &glState, bool isCallValid, GLenum buffer, GLint drawbuffer, const GLfloat *value) CaptureClearBufferfv() argument 196 CaptureClearBufferiv(const State &glState, bool isCallValid, GLenum buffer, GLint drawbuffer, const GLint *value) CaptureClearBufferiv() argument 225 CaptureClearBufferuiv(const State &glState, bool isCallValid, GLenum buffer, GLint drawbuffer, const GLuint *value) CaptureClearBufferuiv() argument 1880 CaptureProgramParameteri(const State &glState, bool isCallValid, ShaderProgramID programPacked, GLenum pname, GLint value) CaptureProgramParameteri() argument 2202 CaptureUniform1uiv(const State &glState, bool isCallValid, UniformLocation locationPacked, GLsizei count, const GLuint *value) CaptureUniform1uiv() argument 2246 CaptureUniform2uiv(const State &glState, bool isCallValid, UniformLocation locationPacked, GLsizei count, const GLuint *value) CaptureUniform2uiv() argument 2292 CaptureUniform3uiv(const State &glState, bool isCallValid, UniformLocation locationPacked, GLsizei count, const GLuint *value) CaptureUniform3uiv() argument 2340 CaptureUniform4uiv(const State &glState, bool isCallValid, UniformLocation locationPacked, GLsizei count, const GLuint *value) CaptureUniform4uiv() argument 2385 CaptureUniformMatrix2x3fv(const State &glState, bool isCallValid, UniformLocation locationPacked, GLsizei count, GLboolean transpose, const GLfloat *value) CaptureUniformMatrix2x3fv() argument 2417 CaptureUniformMatrix2x4fv(const State &glState, bool isCallValid, UniformLocation locationPacked, GLsizei count, GLboolean transpose, const GLfloat *value) CaptureUniformMatrix2x4fv() argument 2449 CaptureUniformMatrix3x2fv(const State &glState, bool isCallValid, UniformLocation locationPacked, GLsizei count, GLboolean transpose, const GLfloat *value) CaptureUniformMatrix3x2fv() argument 2481 CaptureUniformMatrix3x4fv(const State &glState, bool isCallValid, UniformLocation locationPacked, GLsizei count, GLboolean transpose, const GLfloat *value) CaptureUniformMatrix3x4fv() argument 2513 CaptureUniformMatrix4x2fv(const State &glState, bool isCallValid, UniformLocation locationPacked, GLsizei count, GLboolean transpose, const GLfloat *value) CaptureUniformMatrix4x2fv() argument 2545 CaptureUniformMatrix4x3fv(const State &glState, bool isCallValid, UniformLocation locationPacked, GLsizei count, GLboolean transpose, const GLfloat *value) CaptureUniformMatrix4x3fv() argument [all...] |
/third_party/node/deps/npm/node_modules/jackspeak/dist/commonjs/ |
H A D | index.js | 5 Object.defineProperty(exports, "__esModule", { value: true }); 23 const toEnvVal = (value, delim = '\n') => { 24 const str = typeof value === 'string' 25 ? value 26 : typeof value === 'boolean' 27 ? value 30 : typeof value === 'number' 31 ? String(value) 32 : Array.isArray(value) 33 ? value [all...] |
/third_party/lame/ACM/tinyxml/ |
H A D | tinyxml.cpp | 238 TiXmlNode* TiXmlNode::FirstChild( const std::string& value ) const in FirstChild() 243 if ( node->Value() == value ) in FirstChild() 250 TiXmlNode* TiXmlNode::LastChild( const std::string& value ) const in LastChild() 255 if ( node->Value() == value ) in LastChild() 290 TiXmlNode* TiXmlNode::NextSibling( const std::string& value ) const in NextSibling() 295 if ( node->Value() == value ) in NextSibling() 302 TiXmlNode* TiXmlNode::PreviousSibling( const std::string& value ) const in PreviousSibling() 307 if ( node->Value() == value ) in PreviousSibling() 340 TiXmlElement* TiXmlNode::FirstChildElement( const std::string& value ) const in FirstChildElement() 344 for ( node = FirstChild( value ); in FirstChildElement() 767 stream << value; SetIntValue() local 776 stream << value; SetDoubleValue() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | arg.h | 94 : value(ptr ? reinterpret_cast<uintptr_t>(ptr) : 0) {} in VoidPtr() 95 uintptr_t value; member 100 bool value; member 139 AbslCord, absl::Cord>::value>::type* = nullptr> 140 StringConvertResult FormatConvertImpl(const AbslCord& value, in FormatConvertImpl() argument 149 size_t to_write = value.size(); in FormatConvertImpl() 159 for (string_view piece : value.Chunks()) { in FormatConvertImpl() 231 template <typename T, enable_if_t<std::is_same<T, bool>::value, int> = 0> 240 typename std::enable_if<std::is_enum<T>::value && 241 !HasUserDefinedConvert<T>::value, [all...] |
/third_party/libsnd/src/ALAC/ |
H A D | ag_enc.c | 105 uint32_t value ; in dyn_code() local 114 value = (((1 << MAX_PREFIX_16) - 1) << MAX_DATATYPE_BITS_16) + n ; in dyn_code() 121 value = (((1 << divx) - 1) << (numBits - divx)) + mod + 1 - de ; in dyn_code() 127 value = (((1 << MAX_PREFIX_16) - 1) << MAX_DATATYPE_BITS_16) + n ; in dyn_code() 133 return (int32_t) value ; in dyn_code() 141 uint32_t value ; in dyn_code_32bit() local 152 value = (((1 << divx) - 1) << (numBits - divx)) + mod + 1 - de ; in dyn_code_32bit() 160 value = (((1 << MAX_PREFIX_32) - 1)) ; in dyn_code_32bit() 167 *outValue = value ; in dyn_code_32bit() 173 static inline void ALWAYS_INLINE dyn_jam_noDeref (unsigned char *out, uint32_t bitPos, uint32_t numBits, uint32_t value) in dyn_jam_noDeref() argument 195 dyn_jam_noDeref_large(unsigned char *out, uint32_t bitPos, uint32_t numBits, uint32_t value) dyn_jam_noDeref_large() argument 238 uint32_t value ; dyn_comp() local [all...] |
/third_party/node/deps/v8/include/v8-include/cppgc/ |
H A D | type-traits.h | 58 constexpr bool IsTraceableV = IsTraceable<T>::value; 86 template <typename T, bool = HasGarbageCollectedTypeMarker<T>::value, 87 bool = HasGarbageCollectedMixinTypeMarker<T>::value> 97 template <typename T, bool = HasGarbageCollectedTypeMarker<T>::value> 109 : std::integral_constant<bool, IsGarbageCollectedType<T>::value || 110 IsGarbageCollectedMixinType<T>::value> { 114 template <typename T, bool = (HasGarbageCollectedTypeMarker<T>::value && 115 HasGarbageCollectedMixinTypeMarker<T>::value)> 136 static constexpr bool value = member 137 decltype(SubclassCheck(std::declval<BasicMemberCandidate*>()))::value; 170 static constexpr bool value = global() member [all...] |
/third_party/elfio/elfio/ |
H A D | elfio_dynamic.hpp | 59 Elf_Xword value = 0; in get_entries_num() local 62 get_entry( i, tag, value, str ); in get_entries_num() 75 Elf_Xword& value, in get_entry() 83 generic_get_entry_dyn<Elf32_Dyn>( index, tag, value ); in get_entry() 86 generic_get_entry_dyn<Elf64_Dyn>( index, tag, value ); in get_entry() 94 const char* result = strsec.get_string( (Elf_Word)value ); in get_entry() 109 void add_entry( Elf_Xword tag, Elf_Xword value ) in add_entry() 112 generic_add_entry_dyn<Elf32_Dyn>( tag, value ); in add_entry() 115 generic_add_entry_dyn<Elf64_Dyn>( tag, value ); in add_entry() 124 Elf_Xword value in add_entry() local 73 get_entry( Elf_Xword index, Elf_Xword& tag, Elf_Xword& value, std::string& str ) const get_entry() argument [all...] |
/third_party/eudev/src/udev/ |
H A D | udev-builtin-blkid.c | 34 static void print_property(struct udev_device *dev, bool test, const char *name, const char *value) { in print_property() argument 40 udev_builtin_add_property(dev, test, "ID_FS_TYPE", value); in print_property() 43 udev_builtin_add_property(dev, test, "ID_FS_USAGE", value); in print_property() 46 udev_builtin_add_property(dev, test, "ID_FS_VERSION", value); in print_property() 49 blkid_safe_string(value, s, sizeof(s)); in print_property() 51 blkid_encode_string(value, s, sizeof(s)); in print_property() 55 blkid_safe_string(value, s, sizeof(s)); in print_property() 57 blkid_encode_string(value, s, sizeof(s)); in print_property() 61 blkid_safe_string(value, s, sizeof(s)); in print_property() 63 blkid_encode_string(value, in print_property() [all...] |
/third_party/json/include/nlohmann/detail/ |
H A D | string_concat.hpp | 81 enable_if_t < !detect_string_can_append<OutStringType, Arg>::value 82 && detect_string_can_append_op<OutStringType, Arg>::value, int > = 0 > 86 enable_if_t < !detect_string_can_append<OutStringType, Arg>::value 87 && !detect_string_can_append_op<OutStringType, Arg>::value 88 && detect_string_can_append_iter<OutStringType, Arg>::value, int > = 0 > 92 enable_if_t < !detect_string_can_append<OutStringType, Arg>::value 93 && !detect_string_can_append_op<OutStringType, Arg>::value 94 && !detect_string_can_append_iter<OutStringType, Arg>::value 95 && detect_string_can_append_data<OutStringType, Arg>::value, int > = 0 > 99 enable_if_t<detect_string_can_append<OutStringType, Arg>::value, in [all...] |
/third_party/node/test/js-native-api/test_conversions/ |
H A D | test_conversions.c | 11 bool value; in AsBool() local 12 NODE_API_CALL(env, napi_get_value_bool(env, args[0], &value)); in AsBool() 15 NODE_API_CALL(env, napi_get_boolean(env, value, &output)); in AsBool() 25 int32_t value; in AsInt32() local 26 NODE_API_CALL(env, napi_get_value_int32(env, args[0], &value)); in AsInt32() 29 NODE_API_CALL(env, napi_create_int32(env, value, &output)); in AsInt32() 39 uint32_t value; in AsUInt32() local 40 NODE_API_CALL(env, napi_get_value_uint32(env, args[0], &value)); in AsUInt32() 43 NODE_API_CALL(env, napi_create_uint32(env, value, &output)); in AsUInt32() 53 int64_t value; in AsInt64() local 67 double value; AsDouble() local 81 char value[100]; AsString() local [all...] |
/third_party/node/src/ |
H A D | memory_tracker.h | 81 * // Classes that only want to return its sizeof() value can use the 154 const std::unique_ptr<T, D>& value, 159 const std::shared_ptr<T>& value, 164 const BaseObjectPtrImpl<T, kIsWeak>& value, 175 const T& value, 181 const std::queue<T>& value, 186 const std::pair<T, U>& value, 193 const MemoryRetainer& value, 196 const MemoryRetainer* value, 200 const std::basic_string<T>& value, [all...] |
/third_party/skia/src/core/ |
H A D | SkWriter32.h | 86 void overwriteTAt(size_t offset, const T& value) { 89 *(T*)(fData + offset) = value; 92 bool writeBool(bool value) { 93 this->write32(value); 94 return value; 97 void writeInt(int32_t value) { 98 this->write32(value); 101 void write8(int32_t value) { in write8() argument 102 *(int32_t*)this->reserve(sizeof(value)) = value in write8() 105 write16(int32_t value) write16() argument 109 write32(int32_t value) write32() argument 113 writeScalar(SkScalar value) writeScalar() argument [all...] |