/device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/ |
D | fdt_empty_tree.c | 60 int err; in fdt_create_empty_tree() local 62 err = fdt_create(buf, bufsize); in fdt_create_empty_tree() 63 if (err) in fdt_create_empty_tree() 64 return err; in fdt_create_empty_tree() 66 err = fdt_finish_reservemap(buf); in fdt_create_empty_tree() 67 if (err) in fdt_create_empty_tree() 68 return err; in fdt_create_empty_tree() 70 err = fdt_begin_node(buf, ""); in fdt_create_empty_tree() 71 if (err) in fdt_create_empty_tree() 72 return err; in fdt_create_empty_tree() [all …]
|
D | fdt_rw.c | 116 int err; in _fdt_splice_mem_rsv() local 117 err = _fdt_splice(fdt, p, oldn * sizeof(*p), newn * sizeof(*p)); in _fdt_splice_mem_rsv() 118 if (err) in _fdt_splice_mem_rsv() 119 return err; in _fdt_splice_mem_rsv() 129 int err; in _fdt_splice_struct() local 131 if ((err = _fdt_splice(fdt, p, oldlen, newlen))) in _fdt_splice_struct() 132 return err; in _fdt_splice_struct() 143 int err; in _fdt_splice_string() local 145 if ((err = _fdt_splice(fdt, p, 0, newlen))) in _fdt_splice_string() 146 return err; in _fdt_splice_string() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/ |
D | fdt_empty_tree.c | 60 int err; in fdt_create_empty_tree() local 62 err = fdt_create(buf, bufsize); in fdt_create_empty_tree() 63 if (err) in fdt_create_empty_tree() 64 return err; in fdt_create_empty_tree() 66 err = fdt_finish_reservemap(buf); in fdt_create_empty_tree() 67 if (err) in fdt_create_empty_tree() 68 return err; in fdt_create_empty_tree() 70 err = fdt_begin_node(buf, ""); in fdt_create_empty_tree() 71 if (err) in fdt_create_empty_tree() 72 return err; in fdt_create_empty_tree() [all …]
|
D | fdt_rw.c | 87 int err; \ 88 if ((err = _fdt_rw_check_header(fdt)) != 0) \ 89 return err; \ 114 int err; in _fdt_splice_mem_rsv() local 115 err = _fdt_splice(fdt, p, oldn * sizeof(*p), newn * sizeof(*p)); in _fdt_splice_mem_rsv() 116 if (err) in _fdt_splice_mem_rsv() 117 return err; in _fdt_splice_mem_rsv() 127 int err; in _fdt_splice_struct() local 129 err = _fdt_splice(fdt, p, oldlen, newlen); in _fdt_splice_struct() 130 if (err) in _fdt_splice_struct() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
D | example.c | 22 #define CHECK_ERR(err, msg) { \ argument 23 if (err != Z_OK) { \ 24 fprintf(stderr, "%s error: %d\n", msg, err); \ 63 int err; local 66 err = compress(compr, &comprLen, (const Bytef*)hello, len); 67 CHECK_ERR(err, "compress"); 71 err = uncompress(uncompr, &uncomprLen, compr, comprLen); 72 CHECK_ERR(err, "uncompress"); 93 int err; 105 fprintf(stderr, "gzputs err: %s\n", gzerror(file, &err)); [all …]
|
D | uncompr.c | 33 int err; local 47 err = inflateInit(&stream); 48 if (err != Z_OK) return err; 50 err = inflate(&stream, Z_FINISH); 51 if (err != Z_STREAM_END) { 53 if (err == Z_NEED_DICT || (err == Z_BUF_ERROR && stream.avail_in == 0)) 55 return err; 59 err = inflateEnd(&stream); 60 return err;
|
D | compress.c | 30 int err; local 46 err = deflateInit(&stream, level); 47 if (err != Z_OK) return err; 49 err = deflate(&stream, Z_FINISH); 50 if (err != Z_STREAM_END) { 52 return err == Z_OK ? Z_BUF_ERROR : err; 56 err = deflateEnd(&stream); 57 return err;
|
/device/linaro/dragonboard/gralloc/ |
D | gralloc.cpp | 54 int err = 0; in gbm_init() local 60 err = -EINVAL; in gbm_init() 64 return err; in gbm_init() 71 int err; in gbm_mod_perform() local 74 err = gbm_init(dmod); in gbm_mod_perform() 75 if (err) in gbm_mod_perform() 76 return err; in gbm_mod_perform() 84 err = 0; in gbm_mod_perform() 88 err = -EINVAL; in gbm_mod_perform() 93 return err; in gbm_mod_perform() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
D | example.c | 22 #define CHECK_ERR(err, msg) { \ argument 23 if (err != Z_OK) { \ 24 fprintf(stderr, "%s error: %d\n", msg, err); \ 92 int err; local 95 err = compress(compr, &comprLen, (const Bytef*)hello, len); 96 CHECK_ERR(err, "compress"); 100 err = uncompress(uncompr, &uncomprLen, compr, comprLen); 101 CHECK_ERR(err, "uncompress"); 122 int err; 134 fprintf(stderr, "gzputs err: %s\n", gzerror(file, &err)); [all …]
|
D | uncompr.c | 31 int err; local 45 err = inflateInit(&stream); 46 if (err != Z_OK) return err; 48 err = inflate(&stream, Z_FINISH); 49 if (err != Z_STREAM_END) { 51 if (err == Z_NEED_DICT || (err == Z_BUF_ERROR && stream.avail_in == 0)) 53 return err; 57 err = inflateEnd(&stream); 58 return err;
|
D | compress.c | 30 int err; local 46 err = deflateInit(&stream, level); 47 if (err != Z_OK) return err; 49 err = deflate(&stream, Z_FINISH); 50 if (err != Z_STREAM_END) { 52 return err == Z_OK ? Z_BUF_ERROR : err; 56 err = deflateEnd(&stream); 57 return err;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_traceback.py | 39 err = self.get_exception_format(self.syntax_error_with_caret, 41 self.assertTrue(len(err) == 4) 42 self.assertTrue(err[1].strip() == "return x!") 43 self.assertIn("^", err[2]) # third line has caret 44 self.assertTrue(err[1].find("!") == err[2].find("^")) # in the right place 46 err = self.get_exception_format(self.syntax_error_with_caret_2, 48 self.assertIn("^", err[2]) # third line has caret 49 self.assertTrue(err[2].count('\n') == 1) # and no additional newline 50 self.assertTrue(err[1].find("+") == err[2].find("^")) # in the right place 56 err = self.get_exception_format(self.syntax_error_without_caret, [all …]
|
D | test_linuxaudiodev.py | 63 except ValueError, err: 64 self.assertEqual(err.args[0], "expected rate >= 0, not -1") 67 except ValueError, err: 68 self.assertEqual(err.args[0], "expected sample size >= 0, not -2") 71 except ValueError, err: 72 self.assertEqual(err.args[0], "nchannels must be 1 or 2, not 3") 75 except ValueError, err: 76 self.assertEqual(err.args[0], "unknown audio encoding: 177") 79 except ValueError, err: 80 self.assertEqual(err.args[0], "for linear unsigned 16-bit little-endian " [all …]
|
/device/amlogic/yukawa/hdmicec/ |
D | hdmi_cec_test_hal.c | 34 int err, type = -1; in main() local 41 err = (*hdmicec_open)(&HAL_MODULE_INFO_SYM, NULL, (struct hw_device_t **)device2); in main() 42 if (!err) { in main() 58 err = ioctl(fd, CEC_IOC_SET_DEV_TYPE, type); in main() 59 if (!err) { in main() 70 err = cec_device->add_logical_address(cec_device, CEC_ADDR_PLAYBACK_1); in main() 71 if (!err) { in main() 85 err = cec_device->send_message(cec_device, &send_msg); in main() 86 ALOGI("send_message result= %d", err); in main() 94 err = cec_device->send_message(cec_device, &send_msg); in main() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | zlibmodule.c | 73 zlib_error(z_stream zst, int err, char *msg) in zlib_error() argument 78 if (err == Z_VERSION_ERROR) in zlib_error() 83 switch (err) { in zlib_error() 96 PyErr_Format(ZlibError, "Error %d %s", err, msg); in zlib_error() 98 PyErr_Format(ZlibError, "Error %d %s: %.200s", err, msg, zmsg); in zlib_error() 142 int length, level=Z_DEFAULT_COMPRESSION, err; in PyZlib_compress() local 166 err = deflateInit(&zst, level); in PyZlib_compress() 168 switch(err) { in PyZlib_compress() 181 zlib_error(zst, err, "while compressing data"); in PyZlib_compress() 186 err = deflate(&zst, Z_FINISH); in PyZlib_compress() [all …]
|
/device/google/contexthub/firmware/os/core/ |
D | spi.c | 49 int err; member 55 static void spiMasterDone(struct SpiDeviceState *state, int err); 58 static void spiSlaveIdle(struct SpiDeviceState *state, int err); 70 int err = dev->ops->masterStartSync(dev, cs, mode); in spiMasterStart() local 71 if (err < 0) in spiMasterStart() 72 return err; in spiMasterStart() 79 void spi_masterStartAsync_done(struct SpiDevice *dev, int err) in spi_masterStartAsync_done() argument 82 if (err) in spi_masterStartAsync_done() 83 spiMasterDone(state, err); in spi_masterStartAsync_done() 108 int err = dev->ops->masterRxTx(dev, rxBuf, txBuf, size, mode); in spiMasterNext() local [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | zlibmodule.c | 73 zlib_error(z_stream zst, int err, char *msg) in zlib_error() argument 77 switch (err) { in zlib_error() 90 PyErr_Format(ZlibError, "Error %d %s", err, msg); in zlib_error() 92 PyErr_Format(ZlibError, "Error %d %s: %.200s", err, msg, zmsg); in zlib_error() 136 int length, level=Z_DEFAULT_COMPRESSION, err; in PyZlib_compress() local 160 err = deflateInit(&zst, level); in PyZlib_compress() 162 switch(err) { in PyZlib_compress() 175 zlib_error(zst, err, "while compressing data"); in PyZlib_compress() 180 err = deflate(&zst, Z_FINISH); in PyZlib_compress() 183 if (err != Z_STREAM_END) { in PyZlib_compress() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | traceback.c | 121 int err = 0; in _Py_DisplaySourceLine() local 172 return err; in _Py_DisplaySourceLine() 173 if (err != 0) { in _Py_DisplaySourceLine() 175 return err; in _Py_DisplaySourceLine() 203 err = PyFile_WriteString(buf, f); in _Py_DisplaySourceLine() 204 if (err != 0) in _Py_DisplaySourceLine() 209 if (err == 0) in _Py_DisplaySourceLine() 210 err = PyFile_WriteString(p, f); in _Py_DisplaySourceLine() 211 if (err == 0 && strchr(p, '\n') == NULL) in _Py_DisplaySourceLine() 212 err = PyFile_WriteString("\n", f); in _Py_DisplaySourceLine() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | traceback.c | 121 int err = 0; in _Py_DisplaySourceLine() local 172 return err; in _Py_DisplaySourceLine() 173 if (err != 0) { in _Py_DisplaySourceLine() 175 return err; in _Py_DisplaySourceLine() 203 err = PyFile_WriteString(buf, f); in _Py_DisplaySourceLine() 204 if (err != 0) in _Py_DisplaySourceLine() 209 if (err == 0) in _Py_DisplaySourceLine() 210 err = PyFile_WriteString(p, f); in _Py_DisplaySourceLine() 211 if (err == 0 && strchr(p, '\n') == NULL) in _Py_DisplaySourceLine() 212 err = PyFile_WriteString("\n", f); in _Py_DisplaySourceLine() [all …]
|
/device/generic/goldfish/radio/ril/ |
D | reference-ril.c | 324 int err; in callFromCLCCLine() local 328 err = at_tok_start(&line); in callFromCLCCLine() 329 if (err < 0) goto error; in callFromCLCCLine() 331 err = at_tok_nextint(&line, &(p_call->index)); in callFromCLCCLine() 332 if (err < 0) goto error; in callFromCLCCLine() 334 err = at_tok_nextbool(&line, &(p_call->isMT)); in callFromCLCCLine() 335 if (err < 0) goto error; in callFromCLCCLine() 337 err = at_tok_nextint(&line, &state); in callFromCLCCLine() 338 if (err < 0) goto error; in callFromCLCCLine() 340 err = clccStateToRILState(state, &(p_call->state)); in callFromCLCCLine() [all …]
|
D | atchannel.c | 109 int err; in sleepMsec() local 115 err = nanosleep (&ts, &ts); in sleepMsec() 116 } while (err < 0 && errno == EINTR); in sleepMsec() 677 int err = 0; in at_send_command_full_nolock() local 681 err = AT_ERROR_COMMAND_PENDING; in at_send_command_full_nolock() 685 err = writeline (command); in at_send_command_full_nolock() 687 if (err < 0) { in at_send_command_full_nolock() 702 err = pthread_cond_timedwait(&s_commandcond, &s_commandmutex, &ts); in at_send_command_full_nolock() 704 err = pthread_cond_wait(&s_commandcond, &s_commandmutex); in at_send_command_full_nolock() 707 if (err == ETIMEDOUT) { in at_send_command_full_nolock() [all …]
|
/device/google/contexthub/firmware/lib/libm/ |
D | wf_pow.c | 43 exc.err = 0; 52 if (exc.err != 0) 53 errno = exc.err; 64 exc.err = 0; 72 if (exc.err != 0) 73 errno = exc.err; 80 exc.err = 0; 92 if (exc.err != 0) 93 errno = exc.err; 104 exc.err = 0; [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | fixcid.py | 43 err = sys.stderr.write variable 44 dbg = err 49 err('Usage: ' + progname + 51 err('\n') 52 err('-c : substitute inside comments\n') 53 err('-r : reverse direction for following -s options\n') 54 err('-s substfile : add a file of substitutions\n') 55 err('\n') 56 err('Each non-empty non-comment line in a substitution file must\n') 57 err('contain exactly two words: an identifier and its replacement.\n') [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/bl2/ |
D | bl2_image_load_v2.c | 29 int err; in bl2_load_images() local 59 err = load_auth_image(bl2_node_info->image_id, in bl2_load_images() 61 if (err) { in bl2_load_images() 62 ERROR("BL2: Failed to load image (%i)\n", err); in bl2_load_images() 63 plat_error_handler(err); in bl2_load_images() 70 err = bl2_plat_handle_post_image_load(bl2_node_info->image_id); in bl2_load_images() 71 if (err) { in bl2_load_images() 72 ERROR("BL2: Failure in post image load handling (%i)\n", err); in bl2_load_images() 73 plat_error_handler(err); in bl2_load_images()
|
/device/generic/opengl-transport/host/commands/emugen/ |
D | EntryPoint.cpp | 208 int err = 0; in setAttribute() local 214 err = validateVarAttr(varname, lc); in setAttribute() 215 if (err < 0) return err; in setAttribute() 224 err = validateVarAttr(varname, lc); in setAttribute() 225 if (err < 0) return err; in setAttribute() 234 err = validateVarAttr(varname, lc); in setAttribute() 235 if (err < 0) return err; in setAttribute() 259 err = validateVarAttr(varname, lc); in setAttribute() 260 if (err < 0) return err; in setAttribute() 299 err = validateVarAttr(varname, lc); in setAttribute() [all …]
|