/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | example_util.h | 26 // Parses 'v' using strto(ul|l|d)(). If error is non-NULL, '*error' is set to 28 // calls. An error is only printed on the first occurrence. 29 uint32_t ExUtilGetUInt(const char* const v, int base, int* const error); 30 int ExUtilGetInt(const char* const v, int base, int* const error); 31 float ExUtilGetFloat(const char* const v, int* const error); 36 // actually parsed is returned, or -1 if an error occurred. 40 // webp_data is overwritten. Returns false in case of error. 58 // Returns false in case of error (memory allocation failure, non
|
/third_party/skia/src/sksl/ |
H A D | SkSLErrorReporter.cpp | 15 void ErrorReporter::error(skstd::string_view msg, PositionInfo position) { in error() function in SkSL::ErrorReporter 24 void ErrorReporter::error(int line, skstd::string_view msg) { in error() function in SkSL::ErrorReporter 33 this->error(msg, PositionInfo(/*file=*/nullptr, line)); in error()
|
/third_party/skia/third_party/externals/freetype/include/freetype/ |
H A D | ftadvanc.h | 26 #error "freetype.h of FreeType 1 has been loaded!" 27 #error "Please fix the directory search order for header files" 28 #error "so that freetype.h of FreeType 2 is found first." 110 * FreeType error code. 0 means success. 163 * FreeType error code. 0 means success.
|
H A D | ftcid.h | 25 #error "freetype.h of FreeType 1 has been loaded!" 26 #error "Please fix the directory search order for header files" 27 #error "so that freetype.h of FreeType 2 is found first." 76 * FreeType error code. 0~means success. 79 * This function only works with CID faces, returning an error 111 * FreeType error code. 0~means success. 115 * an error otherwise. 145 * FreeType error code. 0~means success. 149 * an error otherwise.
|
H A D | ftdriver.h | 26 #error "freetype.h of FreeType 1 has been loaded!" 27 #error "Please fix the directory search order for header files" 28 #error "so that freetype.h of FreeType 2 is found first." 376 * engine for the 'cff' module (omitting the error handling). 653 * an `FT_Err_Unimplemented_Feature` error. 680 * additional error checking 781 * hinting (omitting the error handling). 832 * error handling).
|
H A D | ftgzip.h | 25 #error "freetype.h of FreeType 1 has been loaded!" 26 #error "Please fix the directory search order for header files" 27 #error "so that freetype.h of FreeType 2 is found first." 78 * FreeType error code. 0~means success. 127 * FreeType error code. 0~means success.
|
H A D | ftparams.h | 25 #error "freetype.h of FreeType 1 has been loaded!" 26 #error "Please fix the directory search order for header files" 27 #error "so that freetype.h of FreeType 2 is found first."
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
H A D | pserror.h | 5 * Adobe's code for error handling (specification). 61 * A poor-man error facility. 65 * Java. Instead, we are stuck with using error codes that must be 67 * model our error mechanism on a Java-like exception mechanism. 68 * When we assign an error code we are thus `throwing' an error. 70 * The preservation of an error code is done by coding convention. 71 * Upon a function call if the error code is anything other than 73 * will return without altering that error. This will allow the 74 * error t [all...] |
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | of.c | 150 * and function numbers respectively. On error a negative error code is 156 int error; in of_pci_get_devfn() local 158 error = of_property_read_u32_array(np, "reg", reg, ARRAY_SIZE(reg)); in of_pci_get_devfn() 159 if (error) in of_pci_get_devfn() 160 return error; in of_pci_get_devfn() 171 * Returns 0 on success or a negative error-code on failure. 176 int error; in of_pci_parse_bus_range() local 178 error = of_property_read_u32_array(node, "bus-range", bus_range, in of_pci_parse_bus_range() 180 if (error) in of_pci_parse_bus_range() 204 int error; of_get_pci_domain_nr() local [all...] |
/kernel/linux/linux-5.10/net/strparser/ |
H A D | strparser.c | 39 /* Unrecoverable error in receive */ in strp_abort_strp() 51 /* Report an error on the lower socket */ in strp_abort_strp() 67 desc->error = err; in strp_parser_err() 116 desc->error = -ENOMEM; in __strp_recv() 122 desc->error = -ENOMEM; in __strp_recv() 136 desc->error = err; in __strp_recv() 148 desc->error = -EINVAL; in __strp_recv() 155 desc->error = -ENOMEM; in __strp_recv() 174 desc->error = -ENOMEM; in __strp_recv() 197 desc->error in __strp_recv() [all...] |
/kernel/linux/linux-5.10/fs/befs/ |
H A D | btree.c | 131 * byte order. Otherwise return BEFS_ERR on error. 146 goto error; in befs_bt_read_super() 160 goto error; in befs_bt_read_super() 166 error: in befs_bt_read_super() 258 goto error; in befs_btree_find() 266 goto error; in befs_btree_find() 309 error: in befs_btree_find() 431 goto error; in befs_btree_read() 438 goto error; in befs_btree_read() 520 error in befs_btree_read() [all...] |
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | tps6524x-regulator.c | 144 int error = 0; in __read_reg() local 168 error = spi_sync(hw->spi, &m); in __read_reg() 169 if (error < 0) in __read_reg() 170 return error; in __read_reg() 197 int error = 0; in __write_reg() local 221 error = spi_sync(hw->spi, &m); in __write_reg() 222 if (error < 0) in __write_reg() 223 return error; in __write_reg() 234 return error; in __write_reg() 262 goto error; in rmw_protect() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/imx/ |
H A D | imx-media-fim.c | 128 static void send_fim_event(struct imx_media_fim *fim, unsigned long error) in send_fim_event() argument 139 * from the nominal frame rate, send the frame interval error event. The 146 long long interval, error; in frame_interval_monitor() local 153 /* max error is less than l00µs, so use 32-bit division or fail */ in frame_interval_monitor() 155 error = abs(interval - NSEC_PER_USEC * (u64)fim->nominal); in frame_interval_monitor() 156 if (error > U32_MAX) in frame_interval_monitor() 157 error = U32_MAX; in frame_interval_monitor() 159 error = abs((u32)error / NSEC_PER_USEC); in frame_interval_monitor() 161 if (fim->tolerance_max && error > in frame_interval_monitor() [all...] |
/kernel/linux/linux-6.6/fs/befs/ |
H A D | btree.c | 131 * byte order. Otherwise return BEFS_ERR on error. 146 goto error; in befs_bt_read_super() 160 goto error; in befs_bt_read_super() 166 error: in befs_bt_read_super() 258 goto error; in befs_btree_find() 266 goto error; in befs_btree_find() 309 error: in befs_btree_find() 431 goto error; in befs_btree_read() 438 goto error; in befs_btree_read() 520 error in befs_btree_read() [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | tps6524x-regulator.c | 144 int error = 0; in __read_reg() local 168 error = spi_sync(hw->spi, &m); in __read_reg() 169 if (error < 0) in __read_reg() 170 return error; in __read_reg() 197 int error = 0; in __write_reg() local 221 error = spi_sync(hw->spi, &m); in __write_reg() 222 if (error < 0) in __write_reg() 223 return error; in __write_reg() 234 return error; in __write_reg() 262 goto error; in rmw_protect() [all...] |
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | of.c | 164 * and function numbers respectively. On error a negative error code is 170 int error; in of_pci_get_devfn() local 172 error = of_property_read_u32_array(np, "reg", reg, ARRAY_SIZE(reg)); in of_pci_get_devfn() 173 if (error) in of_pci_get_devfn() 174 return error; in of_pci_get_devfn() 185 * Returns 0 on success or a negative error-code on failure. 190 int error; in of_pci_parse_bus_range() local 192 error = of_property_read_u32_array(node, "bus-range", bus_range, in of_pci_parse_bus_range() 194 if (error) in of_pci_parse_bus_range() 226 int error; of_get_pci_domain_nr() local [all...] |
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 235 int error; in gpio_keys_polled_probe() local 316 error = devm_gpio_request_one(dev, button->gpio, in gpio_keys_polled_probe() 318 if (error) in gpio_keys_polled_probe() 319 return dev_err_probe(dev, error, in gpio_keys_polled_probe() 348 error = input_setup_polling(input, gpio_keys_polled_poll); in gpio_keys_polled_probe() 349 if (error) { in gpio_keys_polled_probe() 350 dev_err(dev, "unable to set up polling, err=%d\n", error); in gpio_keys_polled_probe() 351 return error; in gpio_keys_polled_probe() 356 error = input_register_device(input); in gpio_keys_polled_probe() 357 if (error) { in gpio_keys_polled_probe() [all...] |
/kernel/linux/linux-6.6/net/strparser/ |
H A D | strparser.c | 39 /* Unrecoverable error in receive */ in strp_abort_strp() 51 /* Report an error on the lower socket */ in strp_abort_strp() 67 desc->error = err; in strp_parser_err() 116 desc->error = -ENOMEM; in __strp_recv() 122 desc->error = -ENOMEM; in __strp_recv() 136 desc->error = err; in __strp_recv() 148 desc->error = -EINVAL; in __strp_recv() 155 desc->error = -ENOMEM; in __strp_recv() 174 desc->error = -ENOMEM; in __strp_recv() 197 desc->error in __strp_recv() [all...] |
/third_party/gn/src/base/files/ |
H A D | file_util_win.cc | 54 // Returns ERROR_SUCCESS on success or the Windows error code corresponding to 55 // the first error encountered. 100 // Returns ERROR_SUCCESS on success, or a Windows error code on failure. 209 const DWORD error = DoDeleteFile(path, recursive); in RandomDataToGUIDString() local 210 return error == ERROR_SUCCESS; in RandomDataToGUIDString() 224 File::Error* error) { in RandomDataToGUIDString() 240 // |to_path| does not exist. In this case, the more relevant error comes in RandomDataToGUIDString() 242 if (error) { in RandomDataToGUIDString() 244 *error = replace_error == File::FILE_ERROR_NOT_FOUND ? move_error in RandomDataToGUIDString() 363 bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error) { in CreateDirectoryAndGetError() argument 222 ReplaceFile(const FilePath& from_path, const FilePath& to_path, File::Error* error) RandomDataToGUIDString() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | csrmbcs.cpp | 118 charValue(0), index(-1), nextIndex(0), error(false), done(false) in IteratedChar() 128 error = false; 159 if (iter.error) { in match_mbcs() 243 it->error = false; in nextChar() 259 // else we'll handle the error later. in nextChar() 263 it->error = true; in nextChar() 296 it->error = false; in nextChar() 313 // else we'll handle the error later. in nextChar() 318 it->error = true; in nextChar() 332 it->error in nextChar() [all...] |
/third_party/libsnd/src/ |
H A D | mat5.c | 87 { int subformat, error = 0 ; in mat5_open() local 90 { if ((error = mat5_read_header (psf))) in mat5_open() 91 return error ; in mat5_open() 109 if ((error = mat5_write_header (psf, SF_FALSE))) in mat5_open() 110 return error ; in mat5_open() 123 error = pcm_init (psf) ; in mat5_open() 127 error = float32_init (psf) ; in mat5_open() 131 error = double64_init (psf) ; in mat5_open() 137 return error ; in mat5_open() 248 if (psf->error) in mat5_write_header() [all...] |
H A D | voc.c | 105 { int subformat, error = 0 ; in voc_open() local 111 { if ((error = voc_read_header (psf))) in voc_open() 112 return error ; in voc_open() 123 if ((error = voc_write_header (psf, SF_FALSE))) in voc_open() 124 return error ; in voc_open() 136 error = pcm_init (psf) ; in voc_open() 140 error = alaw_init (psf) ; in voc_open() 144 error = ulaw_init (psf) ; in voc_open() 150 return error ; in voc_open() 518 if (psf->error) in voc_write_header() [all...] |
/third_party/libsnd/programs/ |
H A D | sndfile-info.c | 69 { int error = 0 ; in main() local 72 error += instrument_dump (argv [k]) ; in main() 73 return error ; in main() 77 { int error = 0 ; in main() local 80 error += broadcast_dump (argv [k]) ; in main() 81 return error ; in main() 85 { int error = 0 ; in main() local 88 error += chanmap_dump (argv [k]) ; in main() 89 return error ; in main() 93 { int error in main() local [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | csrmbcs.cpp | 118 charValue(0), index(-1), nextIndex(0), error(false), done(false) in IteratedChar() 128 error = false; 159 if (iter.error) { in match_mbcs() 243 it->error = false; in nextChar() 259 // else we'll handle the error later. in nextChar() 263 it->error = true; in nextChar() 296 it->error = false; in nextChar() 313 // else we'll handle the error later. in nextChar() 318 it->error = true; in nextChar() 332 it->error in nextChar() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | validate_constants.cpp | 432 if (auto error = ValidateConstantBool(_, inst)) return error; in ConstantPass() 436 if (auto error = ValidateConstantComposite(_, inst)) return error; in ConstantPass() 439 if (auto error = ValidateConstantSampler(_, inst)) return error; in ConstantPass() 442 if (auto error = ValidateConstantNull(_, inst)) return error; in ConstantPass() 445 if (auto error = ValidateSpecConstant(_, inst)) return error; in ConstantPass() [all...] |