PageRenderTime 67ms queryTime 1432ms sortTime 4224ms getByIdsTime 51ms findMatchingLines 89ms

100+ results results for 'ERROR' (67 ms)

Not the results you expected?
dhd_cdc.c https://github.com/mstsirkin/linux.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
Makefile https://github.com/mstsirkin/linux.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
tiocx.c https://github.com/mstsirkin/linux.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
tiocx.c https://github.com/v-b-n/XCeLL-V69-2.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
flash.c https://github.com/lilstevie/uboot-tegra.git | C | 573 lines
                    
234	if (info->sector_count > CONFIG_SYS_MAX_FLASH_SECT) {
                    
235		printf ("** ERROR: sector count %d > max (%d) **\n",
                    
236			info->sector_count, CONFIG_SYS_MAX_FLASH_SECT);
                    
                
XmlBeanCompilationTests.java https://bitbucket.org/ssteinmetz/openesb-components.git | Java | 327 lines
                    
68        xm_opts = new XmlOptions();
                    
69        xm_opts.setErrorListener(xm_errors);
                    
70        xm_opts.setSavePrettyPrint();
                    
256            for (Iterator i = err.iterator(); i.hasNext();) {
                    
257                XmlError xErr = (XmlError) i.next();
                    
258                System.out.println(xErr);
                    
258                System.out.println(xErr);
                    
259                //compare to the expected xm_errors
                    
260                if ((xErr.getErrorCode().compareTo("src-resolve") == 0) &&
                    
315    if (xm_errors.size() >= 1)
                    
316    throw new Exception("API STS ERRORS: " + xm_errors.toString());
                    
317
                    
322    if (xm_errors.size() >= 1)
                    
323    throw new Exception("API SCOMP ERRORS: " + xm_errors.toString());
                    
324    }  */
                    
                
XmlBeanCompilationTests.java https://bitbucket.org/ldassonville/openesb-components.git | Java | 327 lines
                    
68        xm_opts = new XmlOptions();
                    
69        xm_opts.setErrorListener(xm_errors);
                    
70        xm_opts.setSavePrettyPrint();
                    
256            for (Iterator i = err.iterator(); i.hasNext();) {
                    
257                XmlError xErr = (XmlError) i.next();
                    
258                System.out.println(xErr);
                    
258                System.out.println(xErr);
                    
259                //compare to the expected xm_errors
                    
260                if ((xErr.getErrorCode().compareTo("src-resolve") == 0) &&
                    
315    if (xm_errors.size() >= 1)
                    
316    throw new Exception("API STS ERRORS: " + xm_errors.toString());
                    
317
                    
322    if (xm_errors.size() >= 1)
                    
323    throw new Exception("API SCOMP ERRORS: " + xm_errors.toString());
                    
324    }  */
                    
                
IMLoginManager.java https://gitlab.com/lisit1003/TTAndroidClient | Java | 506 lines
                    
25import com.mogujie.tt.entity.User;
                    
26import com.mogujie.tt.imlib.common.ErrorCode;
                    
27import com.mogujie.tt.imlib.db.IMDbManager;
                    
248	public void onLoginFailed(int errorCode) {
                    
249		logger.i("login#onLoginFailed -> errorCode:%d", errorCode);
                    
250
                    
255		intent.putExtra(SysConstant.lOGIN_ERROR_CODE_KEY, errorCode);
                    
256		if (errorCode == ErrorCode.E_MSG_SERVER_ERROR_CODE) {
                    
257			intent.putExtra(SysConstant.KEY_MSG_SERVER_ERROR_CODE, msgServerErrorCode);
                    
280		Intent intent = new Intent(IMActions.ACTION_LOGIN_RESULT);
                    
281		intent.putExtra(SysConstant.lOGIN_ERROR_CODE_KEY, ErrorCode.S_OK);
                    
282		if (ctx != null) {
                    
479			// todo eric right now, no detail failed reason
                    
480			onLoginFailed(ErrorCode.E_MSG_SERVER_ERROR_CODE);
                    
481
                    
                
CServerList.cpp https://github.com/azboul/multitheftauto.git | C++ | 452 lines
                    
321        int len = recvfrom ( m_Socket, szBuffer, SERVER_LIST_QUERY_BUFFER, MSG_PARTIAL, (sockaddr *) &clntAddr, &addrLen );
                    
322        int error = WSAGetLastError();
                    
323        if ( len >= 0 ) {
                    
                
dhd_cdc.c https://github.com/caspandre/linux.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
slrnrc.vim https://github.com/Brijen/macvim.git | Vim Script | 194 lines
                    
16" In some places whitespace is illegal
                    
17syn match slrnrcSpaceError	contained "\s"
                    
18
                    
57" Match as a "string" too
                    
58syn region  slrnrcVarIntStr	contained matchgroup=slrnrcVarInt start=+"+ end=+"+ oneline contains=slrnrcVarInt,slrnrcSpaceError
                    
59
                    
72" Match as a "string" too
                    
73syn region  slrnrcVarStrStr	contained matchgroup=slrnrcVarStr start=+"+ end=+"+ oneline contains=slrnrcVarStr,slrnrcSpaceError
                    
74
                    
88syn match   slrnrcColorObj	contained "\<quotes\d\+\>"
                    
89syn keyword slrnrcColorObj	contained article author boldtext box cursor date description error frame from_myself group grouplens_display header_name header_number headers
                    
90syn keyword slrnrcColorObj	contained high_score italicstext menu menu_press message neg_score normal pgpsignature pos_score quotes response_char selection signature status
                    
163  HiLink slrnrcTodo		Todo
                    
164  HiLink slrnrcSpaceError	Error
                    
165  HiLink slrnrcNumber		Number
                    
                
AFHTTPRequestOperation.m https://bitbucket.org/PixelPatrol/hack1display.git | Objective C | 319 lines
                    
112@implementation AFHTTPRequestOperation
                    
113@synthesize HTTPError = _HTTPError;
                    
114@synthesize successCallbackQueue = _successCallbackQueue;
                    
134
                    
135- (NSError *)error {
                    
136    if (!self.HTTPError && self.response) {
                    
146                [userInfo setValue:[NSString stringWithFormat:NSLocalizedStringFromTable(@"Expected status code in (%@), got %d", @"AFNetworking", nil), AFStringFromIndexSet([[self class] acceptableStatusCodes]), statusCode] forKey:NSLocalizedDescriptionKey];
                    
147                self.HTTPError = [[NSError alloc] initWithDomain:AFNetworkingErrorDomain code:NSURLErrorBadServerResponse userInfo:userInfo];
                    
148            } else if (![self hasAcceptableContentType]) {
                    
151                    [userInfo setValue:[NSString stringWithFormat:NSLocalizedStringFromTable(@"Expected content type %@, got %@", @"AFNetworking", nil), [[self class] acceptableContentTypes], [self.response MIMEType]] forKey:NSLocalizedDescriptionKey];
                    
152                    self.HTTPError = [[NSError alloc] initWithDomain:AFNetworkingErrorDomain code:NSURLErrorCannotDecodeContentData userInfo:userInfo];
                    
153                }
                    
258- (void)setCompletionBlockWithSuccess:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
                    
259                              failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
                    
260{
                    
                
dm-clone.rst https://github.com/kvaneesh/linux.git | ReStructuredText | 333 lines
                    
2773. During background hydration, if we fail to read the source or write to the
                    
278   destination device, we print an error message, but the hydration process
                    
279   continues indefinitely, until it succeeds. We should stop the background
                    
                
optimize.js https://github.com/shiki/r.js.git | JavaScript | 293 lines
                    
168                } catch (e) {
                    
169                    logger.error('Parse error looking for plugin resources in ' +
                    
170                                 fileName + ', skipping.');
                    
177                if (!optFunc) {
                    
178                    throw new Error('optimizer with name of "' +
                    
179                                    optimizerName +
                    
186            // A hacky solution to add semicolons at the end of every optimized script.
                    
187            // This should prevent erratic errors like this:
                    
188            //
                    
239                fileContents = originalFileContents;
                    
240                logger.error("Could not optimized CSS file: " + fileName + ", error: " + e);
                    
241            }
                    
284                } catch (e) {
                    
285                    logger.error('Cannot uglify file: ' + fileName + '. Skipping it. Error is:\n' + e.toString());
                    
286                }
                    
                
CatalogStar.java https://github.com/jankotek/Pixy2.git | Java | 459 lines
                    
104	/**
                    
105	 * Gets the mean error of position in arcsec.
                    
106	 * @return the mean error of position in arcsec.
                    
107	 */
                    
108	public double getPositionErrorInArcsec ( ) {
                    
109		return 1.0;
                    
112	/**
                    
113	 * Gets the maximum error of position in arcsec. It is the search
                    
114	 * area size to identify with other stars.
                    
114	 * area size to identify with other stars.
                    
115	 * @return the maximum error of position in arcsec.
                    
116	 */
                    
116	 */
                    
117	public double getMaximumPositionErrorInArcsec ( ) {
                    
118		return 5.0;
                    
                
md5.c https://github.com/kosaki/ruby.git | C | 422 lines
                    
91	if (strcmp(hex_output, test[i + 1]))
                    
92	    printf("**** ERROR, should be: %s\n", test[i + 1]);
                    
93    }
                    
                
itkImageToHistogramFilterTest.cxx https://github.com/crtc/ITK-PBNRR-GITHUB.git | C++ | 402 lines
                    
343       {
                    
344       std::cerr << "Error in bin= " << bin << " channel = " << channel << std::endl;
                    
345       std::cerr << "Frequency was= " <<  histogram->GetFrequency( bin, channel ) << " Instead of the expected " << expectedFrequency << std::endl;
                    
                
i3200_edac.c https://github.com/gby/linux.git | C | 550 lines
                    
45
                    
46#define I3200_ERRSTS		0xc8	/* Error Status Register (16b)
                    
47		 *
                    
60		 *  6:2  reserved
                    
61		 *  1    Multi-bit DRAM ECC Error Flag (DMERR)
                    
62		 *  0    Single-bit DRAM ECC Error Flag (DSERR)
                    
79
                    
80#define I3200_C0ECCERRLOG	0x280	/* Channel 0 ECC Error Log (64b)
                    
81		 *
                    
81		 *
                    
82		 * 63:48 Error Column Address (ERRCOL)
                    
83		 * 47:32 Error Row Address (ERRROW)
                    
83		 * 47:32 Error Row Address (ERRROW)
                    
84		 * 31:29 Error Bank Address (ERRBANK)
                    
85		 * 28:27 Error Rank Address (ERRRANK)
                    
                
xfs_buf.h https://github.com/gby/linux.git | C Header | 396 lines
                    
166	unsigned int		b_state;	/* internal state flags */
                    
167	int			b_io_error;	/* internal IO error state */
                    
168	wait_queue_head_t	b_waiters;	/* unpin waiters */
                    
188	unsigned int		b_offset;	/* page offset in first page */
                    
189	int			b_error;	/* error code on I/O */
                    
190
                    
200	 *
                    
201	 * last_error is used to ensure that we are getting repeated errors, not
                    
202	 * different errors. e.g. a block device might change ENOSPC to EIO when
                    
202	 * different errors. e.g. a block device might change ENOSPC to EIO when
                    
203	 * a failure timeout occurs, so we want to re-initialise the error
                    
204	 * retry behaviour appropriately when that happens.
                    
207	unsigned long		b_first_retry_time; /* in jiffies */
                    
208	int			b_last_error;
                    
209
                    
                
cp874.py https://github.com/hsablonniere/play.git | Python | 307 lines
                    
10
                    
11    def encode(self,input,errors='strict'):
                    
12        return codecs.charmap_encode(input,errors,encoding_table)
                    
13
                    
14    def decode(self,input,errors='strict'):
                    
15        return codecs.charmap_decode(input,errors,decoding_table)
                    
18    def encode(self, input, final=False):
                    
19        return codecs.charmap_encode(input,self.errors,encoding_table)[0]
                    
20
                    
22    def decode(self, input, final=False):
                    
23        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
                    
24
                    
                
posixpath.py https://github.com/hsablonniere/play.git | Python | 404 lines
                    
132        st = os.lstat(path)
                    
133    except (os.error, AttributeError):
                    
134        return False
                    
142        st = os.lstat(path)
                    
143    except os.error:
                    
144        return False
                    
183        s2 = os.lstat(join(path, '..'))
                    
184    except os.error:
                    
185        return False # It doesn't exist -- so not a mount point :-)
                    
221        names = os.listdir(top)
                    
222    except os.error:
                    
223        return
                    
228            st = os.lstat(name)
                    
229        except os.error:
                    
230            continue
                    
                
interpolate.js https://github.com/TEHEK/angular.js.git | JavaScript | 353 lines
                    
5  throw $interpolateMinErr('noconcat',
                    
6      "Error while interpolating: {0}\nStrict Contextual Escaping disallows " +
                    
7      "interpolations that concatenate multiple expressions when a trusted value is " +
                    
                
CServerList.cpp https://github.com/aparvath/multitheftauto.git | C++ | 452 lines
                    
321        int len = recvfrom ( m_Socket, szBuffer, SERVER_LIST_QUERY_BUFFER, MSG_PARTIAL, (sockaddr *) &clntAddr, &addrLen );
                    
322        int error = WSAGetLastError();
                    
323        if ( len >= 0 ) {
                    
                
startup_stm32f102x6.s https://gitlab.com/balldir/BMP280_stm32f103 | Assembly | 355 lines
                    
122        DCD     I2C1_EV_IRQHandler        ; I2C1 Event
                    
123        DCD     I2C1_ER_IRQHandler        ; I2C1 Error
                    
124        DCD     0                         ; Reserved
                    
                
download-deps.py https://github.com/dumganhar/cocos2d-x.git | Python | 344 lines
                    
50from sys import stdout
                    
51from distutils.errors import DistutilsError
                    
52from distutils.dir_util import copy_tree, remove_tree
                    
117            u = urllib2.urlopen(self._url)
                    
118        except urllib2.HTTPError as e:
                    
119            if e.code == 404:
                    
119            if e.code == 404:
                    
120                print("==> Error: Could not find the file from url: '%s'" % (self._url))
                    
121            print("==> Http request failed, error code: " + str(e.code) + ", reason: " + e.read())
                    
                
dhd_cdc.c https://github.com/yz2365/linux-2.6.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
Makefile https://github.com/yz2365/linux-2.6.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
tiocx.c https://github.com/yz2365/linux-2.6.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
MultiOperationTest.java https://github.com/yeaya/xixibase.git | Java | 446 lines
                    
107	@Test
                    
108	public void testMultiGetError() {
                    
109		assertNull(cc1.multiGet(null));
                    
401	@Test
                    
402	public void testMultiError() {
                    
403		int ret = cc1.multiAdd(null);
                    
404		assertEquals(ret, 0);
                    
405		assertNotNull(cc1.getLastError());
                    
406		int max = 100;
                    
409		assertEquals(ret, 0);
                    
410		assertNotNull(cc1.getLastError());
                    
411		ArrayList<String> keys = new ArrayList<String>();
                    
                
tiocx.c https://github.com/kcs10dc/htc-kernel-msm7x30.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
Router.php https://gitlab.com/BambooTech/summa-examen | PHP | 515 lines
                    
293		{
                    
294			show_error('Unable to determine what should be displayed. A default route has not been specified in the routing file.');
                    
295		}
                    
                
IndirectFitOutputOptionsModel.cpp https://github.com/mantidproject/mantid.git | C++ | 329 lines
                    
115  if (singleFitWorkspaceName.empty())
                    
116    errors.emplace_back("Select a valid Single Fit Result workspace.");
                    
117  if (outputName.empty())
                    
208  else
                    
209    throw std::runtime_error(noWorkspaceErrorMessage("plotting"));
                    
210}
                    
263  } else
                    
264    throw std::runtime_error(noWorkspaceErrorMessage("plotting"));
                    
265}
                    
277  else
                    
278    throw std::runtime_error(noWorkspaceErrorMessage("saving"));
                    
279}
                    
304  else
                    
305    throw std::runtime_error(errors[0]);
                    
306}
                    
                
persistentsettings.cpp https://github.com/KDAB/KDAB-Creator.git | C++ | 410 lines
                    
160    default:
                    
161        qWarning() << "ParseValueStackEntry::Internal error adding " << key << v << " to "
                    
162                 << QVariant::typeToName(type) << value();
                    
206        case QXmlStreamReader::Invalid:
                    
207            qWarning("Error reading %s:%d: %s", qPrintable(file.fileName()),
                    
208                     int(r.lineNumber()), qPrintable(r.errorString()));
                    
385    Utils::FileSaver saver(fileName, QIODevice::Text);
                    
386    if (!saver.hasError()) {
                    
387        const Context ctx;
                    
                
tiocx.c https://github.com/galaxyishere/samsung-kernel-latona.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
SerialDateUtilities.java https://github.com/ph4r05/WirelessSensorNodeGeolocation.git | Java | 388 lines
                    
42 * 25-Jun-2002 : Fixed a bug in the dayCountActual() method (DG);
                    
43 * 03-Oct-2002 : Fixed errors reported by Checkstyle (DG);
                    
44 *
                    
                
settings.js https://github.com/ChuguluGames/mediawiki-svn.git | JavaScript | 439 lines
                    
71                if (a.length != dimensions) {
                    
72                    throw new Error("Expected a tuple of " + dimensions + " dimensions separated with " + separator + " but got " + value);
                    
73                } else {
                    
101        }
                    
102        throw new Error("Expected a floating point number but got " + s);
                    
103    } else if (type == "int") {
                    
111        }
                    
112        throw new Error("Expected an integer but got " + s);
                    
113    } else if (type == "boolean") {
                    
123        }
                    
124        throw new Error("Expected either 'true' or 'false' but got " + s);
                    
125    } else if (type == "function") {
                    
137        }
                    
138        throw new Error("Expected a function or the name of a function but got " + s);
                    
139    } else if (type == "enum") {
                    
                
compiler.py https://github.com/nrb/django.git | Python | 293 lines
                    
127                    alias = seen[model]
                    
128                except KeyError:
                    
129                    if model is proxied_model:
                    
                
mmap.c https://github.com/jehc/MondocosmOS.git | C | 409 lines
                    
123    if (!(flags & MAP_ANONYMOUS)) {
                    
124        /* msync() won't work here, so we return an error if write is
                    
125           possible while it is a shared mapping */
                    
247        (offset & ~qemu_host_page_mask) != (start & ~qemu_host_page_mask)) {
                    
248        /* msync() won't work here, so we return an error if write is
                    
249           possible while it is a shared mapping */
                    
388#else
                    
389    qerror("target_mremap: unsupported\n");
                    
390#endif
                    
                
sys.c https://github.com/kipill-nn/Kernel-for-Mega.git | C | 487 lines
                    
71	if (error)
                    
72		fs_warn(sdp, "freeze %d error %d", n, error);
                    
73
                    
418{
                    
419	int error;
                    
420
                    
421	sdp->sd_kobj.kset = gfs2_kset;
                    
422	error = kobject_init_and_add(&sdp->sd_kobj, &gfs2_ktype, NULL,
                    
423				     "%s", sdp->sd_table_name);
                    
423				     "%s", sdp->sd_table_name);
                    
424	if (error)
                    
425		goto fail;
                    
448fail:
                    
449	fs_err(sdp, "error %d adding sysfs files", error);
                    
450	return error;
                    
                
binfmt_aout.c https://github.com/kipill-nn/Kernel-for-Mega.git | C | 481 lines
                    
88 * field, which also makes sure the core-dumps won't be recursive if the
                    
89 * dumping of the process results in another error..
                    
90 */
                    
222	struct exec ex;
                    
223	unsigned long error;
                    
224	unsigned long fd_offset;
                    
292		down_write(&current->mm->mmap_sem);
                    
293		error = do_brk(text_addr & PAGE_MASK, map_size);
                    
294		up_write(&current->mm->mmap_sem);
                    
294		up_write(&current->mm->mmap_sem);
                    
295		if (error != (text_addr & PAGE_MASK)) {
                    
296			send_sig(SIGKILL, current, 0);
                    
296			send_sig(SIGKILL, current, 0);
                    
297			return error;
                    
298		}
                    
                
xilinx_spi.c https://github.com/kipill-nn/Kernel-for-Mega.git | C | 463 lines
                    
49#define XSPI_SR_TX_FULL_MASK	0x08	/* Transmit FIFO is full */
                    
50#define XSPI_SR_MODE_FAULT_MASK	0x10	/* Mode fault error */
                    
51
                    
65
                    
66#define XSPI_INTR_MODE_FAULT		0x01	/* Mode fault error */
                    
67#define XSPI_INTR_SLAVE_MODE_FAULT	0x02	/* Selected as slave while
                    
                
e1000_hw.h https://github.com/kipill-nn/Kernel-for-Mega.git | C Header | 601 lines
                    
153	u8  status;      /* Descriptor status */
                    
154	u8  errors;      /* Descriptor Errors */
                    
155	__le16 special;
                    
175		struct {
                    
176			__le32 status_error;     /* ext status/error */
                    
177			__le16 length;
                    
201		struct {
                    
202			__le32 status_error;     /* ext status/error */
                    
203			__le16 length0;          /* length of buffer 0 */
                    
364struct e1000_phy_stats {
                    
365	u32 idle_errors;
                    
366	u32 receive_errors;
                    
                
tiocx.c https://github.com/kipill-nn/Kernel-for-Mega.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
XmlBeanCompilationTests.java https://bitbucket.org/pymma/openesb-components.git | Java | 327 lines
                    
68        xm_opts = new XmlOptions();
                    
69        xm_opts.setErrorListener(xm_errors);
                    
70        xm_opts.setSavePrettyPrint();
                    
256            for (Iterator i = err.iterator(); i.hasNext();) {
                    
257                XmlError xErr = (XmlError) i.next();
                    
258                System.out.println(xErr);
                    
258                System.out.println(xErr);
                    
259                //compare to the expected xm_errors
                    
260                if ((xErr.getErrorCode().compareTo("src-resolve") == 0) &&
                    
315    if (xm_errors.size() >= 1)
                    
316    throw new Exception("API STS ERRORS: " + xm_errors.toString());
                    
317
                    
322    if (xm_errors.size() >= 1)
                    
323    throw new Exception("API SCOMP ERRORS: " + xm_errors.toString());
                    
324    }  */
                    
                
tiocx.c https://github.com/mdeejay/shooter_u-gb-crc.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
dhd_cdc.c https://github.com/sonney2k/linux.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
cp874.py https://github.com/Frostman/play.git | Python | 307 lines
                    
10
                    
11    def encode(self,input,errors='strict'):
                    
12        return codecs.charmap_encode(input,errors,encoding_table)
                    
13
                    
14    def decode(self,input,errors='strict'):
                    
15        return codecs.charmap_decode(input,errors,decoding_table)
                    
18    def encode(self, input, final=False):
                    
19        return codecs.charmap_encode(input,self.errors,encoding_table)[0]
                    
20
                    
22    def decode(self, input, final=False):
                    
23        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
                    
24
                    
                
posixpath.py https://github.com/Frostman/play.git | Python | 404 lines
                    
132        st = os.lstat(path)
                    
133    except (os.error, AttributeError):
                    
134        return False
                    
142        st = os.lstat(path)
                    
143    except os.error:
                    
144        return False
                    
183        s2 = os.lstat(join(path, '..'))
                    
184    except os.error:
                    
185        return False # It doesn't exist -- so not a mount point :-)
                    
221        names = os.listdir(top)
                    
222    except os.error:
                    
223        return
                    
228            st = os.lstat(name)
                    
229        except os.error:
                    
230            continue
                    
                
yuv4mpeg.c https://github.com/hgmeier/xbmc.git | C | 402 lines
                    
107        if (yuv4_generate_header(s, buf2) < 0) {
                    
108            av_log(s, AV_LOG_ERROR, "Error. YUV4MPEG stream header write failed.\n");
                    
109            return AVERROR(EIO);
                    
154    if (s->nb_streams != 1)
                    
155        return AVERROR(EIO);
                    
156
                    
157    if (s->streams[0]->codec->pix_fmt == PIX_FMT_YUV411P) {
                    
158        av_log(s, AV_LOG_ERROR, "Warning: generating rarely used 4:1:1 YUV stream, some mjpegtools might not work.\n");
                    
159    }
                    
163             (s->streams[0]->codec->pix_fmt != PIX_FMT_YUV444P)) {
                    
164        av_log(s, AV_LOG_ERROR, "ERROR: yuv4mpeg only handles yuv444p, yuv422p, yuv420p, yuv411p and gray pixel formats. Use -pix_fmt to select one.\n");
                    
165        return AVERROR(EIO);
                    
241            else if (strncmp("444alpha", tokstart, 8)==0) {
                    
242                av_log(s, AV_LOG_ERROR, "Cannot handle 4:4:4:4 YUV4MPEG stream.\n");
                    
243                return -1;
                    
                
test-log-stack-tracer.cc https://github.com/schiznik/android_external_v8.git | C++ | 399 lines
                    
143#else
                    
144#error Host architecture is neither 32-bit nor 64-bit.
                    
145#endif
                    
235#else
                    
236#error Host architecture is neither 32-bit nor 64-bit.
                    
237#endif
                    
359#else
                    
360#error Unexpected platform.
                    
361#endif
                    
                
dhd_cdc.c https://github.com/LILA-99/linux-2.6.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
transaction-abort-index-metadata-revert.html https://github.com/rillian/firefox.git | HTML | 276 lines
                    
25        assert_throws(
                    
26            'InvalidStateError', () => index.get('query'),
                    
27            'IDBIndex.get should throw InvalidStateError, indicating that ' +
                    
35        assert_throws(
                    
36            'InvalidStateError', () => index.get('query'),
                    
37            'IDBIndex.get should throw InvalidStateError, indicating that ' +
                    
60        assert_throws(
                    
61            'InvalidStateError', () => index.get('query'),
                    
62            'IDBIndex.get should throw InvalidStateError, indicating that ' +
                    
71        assert_throws(
                    
72            'TransactionInactiveError', () => index.get('query'),
                    
73            'IDBIndex.get should throw TransactionInactiveError, indicating ' +
                    
81        assert_throws(
                    
82            'TransactionInactiveError', () => index.get('query'),
                    
83            'IDBIndex.get should throw TransactionInactiveError, indicating ' +
                    
                
tiocx.c https://github.com/chris41g/LoStKernel.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
Inspector.mm https://github.com/rillian/firefox.git | Objective C++ | 362 lines
                    
110    NSLog(@"ResetBootstrapPort: task_get_bootstrap_port failed: %s (%d)",
                    
111          mach_error_string(kr), kr);
                    
112    return kr;
                    
122    MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
                    
123          bootstrap_strerror(kr),
                    
124#else
                    
124#else
                    
125          mach_error_string(kr),
                    
126#endif
                    
133    NSLog(@"ResetBootstrapPort: task_set_bootstrap_port failed: %s (%d)",
                    
134          mach_error_string(kr), kr);
                    
135    return kr;
                    
                
dhd_cdc.c https://github.com/rostedt/linux.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
Makefile https://github.com/rostedt/linux.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
tiocx.c https://github.com/rostedt/linux.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
dhd_cdc.c https://github.com/fweisbec/linux-dynticks.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
tiocx.c https://github.com/fweisbec/linux-dynticks.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
Makefile https://github.com/fweisbec/linux-dynticks.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
cp874.py https://github.com/evnm/play.git | Python | 307 lines
                    
10
                    
11    def encode(self,input,errors='strict'):
                    
12        return codecs.charmap_encode(input,errors,encoding_table)
                    
13
                    
14    def decode(self,input,errors='strict'):
                    
15        return codecs.charmap_decode(input,errors,decoding_table)
                    
18    def encode(self, input, final=False):
                    
19        return codecs.charmap_encode(input,self.errors,encoding_table)[0]
                    
20
                    
22    def decode(self, input, final=False):
                    
23        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
                    
24
                    
                
posixpath.py https://github.com/evnm/play.git | Python | 404 lines
                    
132        st = os.lstat(path)
                    
133    except (os.error, AttributeError):
                    
134        return False
                    
142        st = os.lstat(path)
                    
143    except os.error:
                    
144        return False
                    
183        s2 = os.lstat(join(path, '..'))
                    
184    except os.error:
                    
185        return False # It doesn't exist -- so not a mount point :-)
                    
221        names = os.listdir(top)
                    
222    except os.error:
                    
223        return
                    
228            st = os.lstat(name)
                    
229        except os.error:
                    
230            continue
                    
                
fixtures.js https://github.com/JianMeng/sproutcore.git | JavaScript | 403 lines
                    
69    if (query.get('location') !== SC.Query.LOCAL) {
                    
70      throw SC.$error('SC.Fixture data source can only fetch local queries');
                    
71    }
                    
73    if (!query.get('recordType') && !query.get('recordTypes')) {
                    
74      throw SC.$error('SC.Fixture data source can only fetch queries with one or more record types');
                    
75    }
                    
                
dhd_cdc.c https://github.com/zsiec/linux.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
tiocx.c https://github.com/zsiec/linux.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
minval_i8.c https://bitbucket.org/Underworld79/toolchain_gcc-4.8.git | C | 545 lines
                    
114      if (rank != GFC_DESCRIPTOR_RANK (retarray))
                    
115	runtime_error ("rank of return array incorrect in"
                    
116		       " MINVAL intrinsic: is %ld, should be %ld",
                    
248  else
                    
249    runtime_error ("Funny sized logical array");
                    
250
                    
307      if (rank != GFC_DESCRIPTOR_RANK (retarray))
                    
308	runtime_error ("rank of return array incorrect in MINVAL intrinsic");
                    
309
                    
489      if (rank != GFC_DESCRIPTOR_RANK (retarray))
                    
490	runtime_error ("rank of return array incorrect in"
                    
491		       " MINVAL intrinsic: is %ld, should be %ld",
                    
502	      if (extent[n] != ret_extent)
                    
503		runtime_error ("Incorrect extent in return value of"
                    
504			       " MINVAL intrinsic in dimension %ld:"
                    
                
minval_i4.c https://bitbucket.org/Underworld79/toolchain_gcc-4.8.git | C | 545 lines
                    
114      if (rank != GFC_DESCRIPTOR_RANK (retarray))
                    
115	runtime_error ("rank of return array incorrect in"
                    
116		       " MINVAL intrinsic: is %ld, should be %ld",
                    
248  else
                    
249    runtime_error ("Funny sized logical array");
                    
250
                    
307      if (rank != GFC_DESCRIPTOR_RANK (retarray))
                    
308	runtime_error ("rank of return array incorrect in MINVAL intrinsic");
                    
309
                    
489      if (rank != GFC_DESCRIPTOR_RANK (retarray))
                    
490	runtime_error ("rank of return array incorrect in"
                    
491		       " MINVAL intrinsic: is %ld, should be %ld",
                    
502	      if (extent[n] != ret_extent)
                    
503		runtime_error ("Incorrect extent in return value of"
                    
504			       " MINVAL intrinsic in dimension %ld:"
                    
                
minval_i2.c https://bitbucket.org/Underworld79/toolchain_gcc-4.8.git | C | 545 lines
                    
114      if (rank != GFC_DESCRIPTOR_RANK (retarray))
                    
115	runtime_error ("rank of return array incorrect in"
                    
116		       " MINVAL intrinsic: is %ld, should be %ld",
                    
248  else
                    
249    runtime_error ("Funny sized logical array");
                    
250
                    
307      if (rank != GFC_DESCRIPTOR_RANK (retarray))
                    
308	runtime_error ("rank of return array incorrect in MINVAL intrinsic");
                    
309
                    
489      if (rank != GFC_DESCRIPTOR_RANK (retarray))
                    
490	runtime_error ("rank of return array incorrect in"
                    
491		       " MINVAL intrinsic: is %ld, should be %ld",
                    
502	      if (extent[n] != ret_extent)
                    
503		runtime_error ("Incorrect extent in return value of"
                    
504			       " MINVAL intrinsic in dimension %ld:"
                    
                
minval_i1.c https://bitbucket.org/Underworld79/toolchain_gcc-4.8.git | C | 545 lines
                    
114      if (rank != GFC_DESCRIPTOR_RANK (retarray))
                    
115	runtime_error ("rank of return array incorrect in"
                    
116		       " MINVAL intrinsic: is %ld, should be %ld",
                    
248  else
                    
249    runtime_error ("Funny sized logical array");
                    
250
                    
307      if (rank != GFC_DESCRIPTOR_RANK (retarray))
                    
308	runtime_error ("rank of return array incorrect in MINVAL intrinsic");
                    
309
                    
489      if (rank != GFC_DESCRIPTOR_RANK (retarray))
                    
490	runtime_error ("rank of return array incorrect in"
                    
491		       " MINVAL intrinsic: is %ld, should be %ld",
                    
502	      if (extent[n] != ret_extent)
                    
503		runtime_error ("Incorrect extent in return value of"
                    
504			       " MINVAL intrinsic in dimension %ld:"
                    
                
tiocx.c https://github.com/CMODROM/lulz-kernel_gt-i9100.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
cpufreq.c https://bitbucket.org/sola/android_board_imx53qsb_kernel.git | C | 527 lines
                    
273
                    
274	printk(KERN_ERR "Error: No valid cpufreq relation\n");
                    
275	return cpu_freq_khz_max;
                    
                
tiocx.c https://github.com/mkedwards/samsung-kernel-c1.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
tiocx.c https://github.com/albertsu/kernel_common.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
component.php https://gitlab.com/alexprowars/bitrix | PHP | 304 lines
                    
5{
                    
6	ShowError(GetMessage("BLOG_MODULE_NOT_INSTALL"));
                    
7	return;
                    
45$arResult["OK_MESSAGE"] = Array();
                    
46$arResult["ERROR_MESSAGE"] = Array();
                    
47
                    
66			{
                    
67				$errorMessage = "";
                    
68				$okMessage = "";
                    
126									else
                    
127										$errorMessage = GetMessage("BLOG_BLOG_BLOG_MES_SHOW_ERROR");
                    
128								}
                    
136				if ($errorMessage <> '')
                    
137					$arResult["ERROR_MESSAGE"][] = $errorMessage;
                    
138				if ($okMessage <> '')
                    
                
action.php https://gitlab.com/alexprowars/bitrix | PHP | 344 lines
                    
167	// Second exit point
                    
168		if (!empty($arError)):
                    
169			$DB->Rollback();
                    
211	}
                    
212	$MID = ForumAddMessage(($FORUM_TOPIC_ID > 0 ? "REPLY" : "NEW"), $arParams["FORUM_ID"], $FORUM_TOPIC_ID, 0, $arFieldsG, $strErrorMessage, $arNote, false,
                    
213		$post["captcha_word"], 0, $post["captcha_code"]);
                    
217			"code" => "message is not added 2",
                    
218			"title" => (empty($strErrorMessage) ? GetMessage("F_ERR_ADD_MESSAGE") : $strErrorMessage));
                    
219		$arResult['RESULT'] = false;
                    
233		if ($post["TOPIC_SUBSCRIBE"] == "Y"):
                    
234			ForumSubscribeNewMessagesEx($arParams["FORUM_ID"], $FORUM_TOPIC_ID, "N", $strErrorMessage, $strOKMessage);
                    
235			BXClearCache(true, "/bitrix/forum/user/".$USER->GetID()."/subscribe/");
                    
296		if ($res1):
                    
297			$arError[] = array(
                    
298				"code" => "file upload error",
                    
                
AFHTTPRequestOperation.m https://bitbucket.org/zuffko/kttdropboxresttest.git | Objective C | 319 lines
                    
112@implementation AFHTTPRequestOperation
                    
113@synthesize HTTPError = _HTTPError;
                    
114@synthesize successCallbackQueue = _successCallbackQueue;
                    
134
                    
135- (NSError *)error {
                    
136    if (!self.HTTPError && self.response) {
                    
146                [userInfo setValue:[NSString stringWithFormat:NSLocalizedStringFromTable(@"Expected status code in (%@), got %d", @"AFNetworking", nil), AFStringFromIndexSet([[self class] acceptableStatusCodes]), statusCode] forKey:NSLocalizedDescriptionKey];
                    
147                self.HTTPError = [[NSError alloc] initWithDomain:AFNetworkingErrorDomain code:NSURLErrorBadServerResponse userInfo:userInfo];
                    
148            } else if (![self hasAcceptableContentType]) {
                    
151                    [userInfo setValue:[NSString stringWithFormat:NSLocalizedStringFromTable(@"Expected content type %@, got %@", @"AFNetworking", nil), [[self class] acceptableContentTypes], [self.response MIMEType]] forKey:NSLocalizedDescriptionKey];
                    
152                    self.HTTPError = [[NSError alloc] initWithDomain:AFNetworkingErrorDomain code:NSURLErrorCannotDecodeContentData userInfo:userInfo];
                    
153                }
                    
258- (void)setCompletionBlockWithSuccess:(void (^)(AFHTTPRequestOperation *operation, id responseObject))success
                    
259                              failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure
                    
260{
                    
                
dhd_cdc.c https://github.com/paxswill/linux.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
qxtdiscoverableservice.cpp https://bitbucket.org/jhandley/libqxt.git | C++ | 379 lines
                    
48        self->state = QxtDiscoverableService::Unknown;
                    
49        emit self->qxt_p().registrationError((QxtDiscoverableService::ErrorCode)errCode);
                    
50    }
                    
60    QxtDiscoverableService* pub = &self->qxt_p();
                    
61    if(errCode == kDNSServiceErr_NoError) {
                    
62        QxtDiscoverableServiceName name(fullname);
                    
71        self->state = QxtDiscoverableService::Unknown;
                    
72        emit pub->resolveError((QxtDiscoverableService::ErrorCode)errCode);
                    
73    }
                    
280        qxt_d().state = Unknown;
                    
281        emit registrationError(err);
                    
282    } else {
                    
295 * \sa resolved
                    
296 * \sa resolveError
                    
297 */
                    
                
i3200_edac.c https://github.com/tklauser/linux-nios2.git | C | 550 lines
                    
45
                    
46#define I3200_ERRSTS		0xc8	/* Error Status Register (16b)
                    
47		 *
                    
60		 *  6:2  reserved
                    
61		 *  1    Multi-bit DRAM ECC Error Flag (DMERR)
                    
62		 *  0    Single-bit DRAM ECC Error Flag (DSERR)
                    
79
                    
80#define I3200_C0ECCERRLOG	0x280	/* Channel 0 ECC Error Log (64b)
                    
81		 *
                    
81		 *
                    
82		 * 63:48 Error Column Address (ERRCOL)
                    
83		 * 47:32 Error Row Address (ERRROW)
                    
83		 * 47:32 Error Row Address (ERRROW)
                    
84		 * 31:29 Error Bank Address (ERRBANK)
                    
85		 * 28:27 Error Rank Address (ERRRANK)
                    
                
Makefile https://bitbucket.org/Tim1928/samsung-kernel-msm7x30.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
cp874.py https://bitbucket.org/khurley/python.git | Python | 307 lines
                    
10
                    
11    def encode(self,input,errors='strict'):
                    
12        return codecs.charmap_encode(input,errors,encoding_table)
                    
13
                    
14    def decode(self,input,errors='strict'):
                    
15        return codecs.charmap_decode(input,errors,decoding_table)
                    
18    def encode(self, input, final=False):
                    
19        return codecs.charmap_encode(input,self.errors,encoding_table)[0]
                    
20
                    
22    def decode(self, input, final=False):
                    
23        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
                    
24
                    
                
filelist.py https://bitbucket.org/khurley/python.git | Python | 354 lines
                    
14from distutils.util import convert_path
                    
15from distutils.errors import DistutilsTemplateError, DistutilsInternalError
                    
16from distutils import log
                    
93            if len(words) < 2:
                    
94                raise DistutilsTemplateError, \
                    
95                      "'%s' expects <pattern1> <pattern2> ..." % action
                    
100            if len(words) < 3:
                    
101                raise DistutilsTemplateError, \
                    
102                      "'%s' expects <dir> <pattern1> <pattern2> ..." % action
                    
108            if len(words) != 2:
                    
109                raise DistutilsTemplateError, \
                    
110                     "'%s' expects a single <dir_pattern>" % action
                    
114        else:
                    
115            raise DistutilsTemplateError, "unknown action '%s'" % action
                    
116
                    
                
posixpath.py https://bitbucket.org/khurley/python.git | Python | 404 lines
                    
132        st = os.lstat(path)
                    
133    except (os.error, AttributeError):
                    
134        return False
                    
142        st = os.lstat(path)
                    
143    except os.error:
                    
144        return False
                    
183        s2 = os.lstat(join(path, '..'))
                    
184    except os.error:
                    
185        return False # It doesn't exist -- so not a mount point :-)
                    
221        names = os.listdir(top)
                    
222    except os.error:
                    
223        return
                    
228            st = os.lstat(name)
                    
229        except os.error:
                    
230            continue
                    
                
qxtdiscoverableservice.cpp https://bitbucket.org/ghl800/libqxt.git | C++ | 379 lines
                    
48        self->state = QxtDiscoverableService::Unknown;
                    
49        emit self->qxt_p().registrationError((QxtDiscoverableService::ErrorCode)errCode);
                    
50    }
                    
60    QxtDiscoverableService* pub = &self->qxt_p();
                    
61    if(errCode == kDNSServiceErr_NoError) {
                    
62        QxtDiscoverableServiceName name(fullname);
                    
71        self->state = QxtDiscoverableService::Unknown;
                    
72        emit pub->resolveError((QxtDiscoverableService::ErrorCode)errCode);
                    
73    }
                    
280        qxt_d().state = Unknown;
                    
281        emit registrationError(err);
                    
282    } else {
                    
295 * \sa resolved
                    
296 * \sa resolveError
                    
297 */
                    
                
package-tree.html https://bitbucket.org/ianmayo/debrief.git | HTML | 192 lines
                    
92</UL>
                    
93<LI TYPE="circle">class org.xml.sax.helpers.DefaultHandler (implements org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler)
                    
94<UL>
                    
                
rtc-imxdi.c https://bitbucket.org/Tim1928/samsung-kernel-msm7x30.git | C | 522 lines
                    
56#define DSR_WCF   (1 << 8)       /* Write Complete Flag */
                    
57#define DSR_WEF   (1 << 7)       /* Write Error Flag */
                    
58#define DSR_CAF   (1 << 4)       /* Clock Alarm Flag */
                    
64#define DIER_WCIE (1 << 8)       /* Write Complete Interrupt Enable */
                    
65#define DIER_WEIE (1 << 7)       /* Write Error Interrupt Enable */
                    
66#define DIER_CAIE (1 << 4)       /* Clock Alarm Interrupt Enable */
                    
120/*
                    
121 * This function attempts to clear the dryice write-error flag.
                    
122 *
                    
122 *
                    
123 * A dryice write error is similar to a bus fault and should not occur in
                    
124 * normal operation.  Clearing the flag requires another write, so the root
                    
142	dev_err(&imxdi->pdev->dev,
                    
143			"ERROR: Cannot clear write-error flag!\n");
                    
144}
                    
                
Router.php https://gitlab.com/kiiraklis94/eBanking-Web-App | PHP | 515 lines
                    
293		{
                    
294			show_error('Unable to determine what should be displayed. A default route has not been specified in the routing file.');
                    
295		}
                    
                
Makefile https://bitbucket.org/nuclearmistake/trinity_four.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
slrnrc.vim https://github.com/cagelf/vim.git | Vim Script | 194 lines
                    
16" In some places whitespace is illegal
                    
17syn match slrnrcSpaceError	contained "\s"
                    
18
                    
57" Match as a "string" too
                    
58syn region  slrnrcVarIntStr	contained matchgroup=slrnrcVarInt start=+"+ end=+"+ oneline contains=slrnrcVarInt,slrnrcSpaceError
                    
59
                    
72" Match as a "string" too
                    
73syn region  slrnrcVarStrStr	contained matchgroup=slrnrcVarStr start=+"+ end=+"+ oneline contains=slrnrcVarStr,slrnrcSpaceError
                    
74
                    
88syn match   slrnrcColorObj	contained "\<quotes\d\+\>"
                    
89syn keyword slrnrcColorObj	contained article author boldtext box cursor date description error frame from_myself group grouplens_display header_name header_number headers
                    
90syn keyword slrnrcColorObj	contained high_score italicstext menu menu_press message neg_score normal pgpsignature pos_score quotes response_char selection signature status
                    
163  HiLink slrnrcTodo		Todo
                    
164  HiLink slrnrcSpaceError	Error
                    
165  HiLink slrnrcNumber		Number
                    
                
tiocx.c https://github.com/Rodderik/android_kernel_samsung_sprinttab.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
Makefile https://gitlab.com/jhalayashraj/nkernel | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
rtc-imxdi.c https://gitlab.com/jhalayashraj/nkernel | C | 522 lines
                    
56#define DSR_WCF   (1 << 8)       /* Write Complete Flag */
                    
57#define DSR_WEF   (1 << 7)       /* Write Error Flag */
                    
58#define DSR_CAF   (1 << 4)       /* Clock Alarm Flag */
                    
64#define DIER_WCIE (1 << 8)       /* Write Complete Interrupt Enable */
                    
65#define DIER_WEIE (1 << 7)       /* Write Error Interrupt Enable */
                    
66#define DIER_CAIE (1 << 4)       /* Clock Alarm Interrupt Enable */
                    
120/*
                    
121 * This function attempts to clear the dryice write-error flag.
                    
122 *
                    
122 *
                    
123 * A dryice write error is similar to a bus fault and should not occur in
                    
124 * normal operation.  Clearing the flag requires another write, so the root
                    
142	dev_err(&imxdi->pdev->dev,
                    
143			"ERROR: Cannot clear write-error flag!\n");
                    
144}
                    
                
NdkCaptureRequest.h https://gitlab.com/jhalayashraj/android_frameworks_av4 | C Header | 309 lines
                    
35#include <android/native_window.h>
                    
36#include "NdkCameraError.h"
                    
37#include "NdkCameraMetadata.h"
                    
96 *                                be filled in the output argument.</li>
                    
97 *         <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if window or output is NULL.</li></ul>
                    
98 *
                    
119 *         <li>{@link ACAMERA_OK} if the method call succeeds.</li>
                    
120 *         <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if request or output is NULL.</li></ul>
                    
121 */
                    
134 *         <li>{@link ACAMERA_OK} if the method call succeeds.</li>
                    
135 *         <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if request or output is NULL.</li></ul>
                    
136 */
                    
152 *         <li>{@link ACAMERA_OK} if the method call succeeds.</li>
                    
153 *         <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if metadata or entry is NULL.</li>
                    
154 *         <li>{@link ACAMERA_ERROR_METADATA_NOT_FOUND} if the capture request does not contain an
                    
                
tiocx.c https://github.com/peteralfonso/platform_kernel_msm.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
tiocx.c https://github.com/bananacakes/bravo_2.6.35_gb-mr.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
tiocx.c https://github.com/mwalt2/shooter-2.6.35_mr-kernel.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
Makefile https://gitlab.com/culot/kernel_lge_madai | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
crm_lead_to_opportunity.py https://gitlab.com/thanhchatvn/cloud-odoo | Python | 265 lines
                    
6import re
                    
7from openerp.exceptions import UserError
                    
8
                    
89            if lead.probability == 100:
                    
90                raise UserError(_("Closed/Dead leads cannot be converted into opportunities."))
                    
91        return False
                    
                
fcntl-linux.h https://gitlab.com/infected_/linaro_aarch64-linux-gnu-5.3.x | C Header | 419 lines
                    
19#ifndef	_FCNTL_H
                    
20# error "Never use <bits/fcntl-linux.h> directly; include <fcntl.h> instead."
                    
21#endif
                    
                
fcntl-linux.h https://gitlab.com/infected_/linaro_aarch64-linux-android-5.3.x | C Header | 419 lines
                    
19#ifndef	_FCNTL_H
                    
20# error "Never use <bits/fcntl-linux.h> directly; include <fcntl.h> instead."
                    
21#endif
                    
                
Router.php https://gitlab.com/joshuacurci/swim-crm | PHP | 515 lines
                    
293		{
                    
294			show_error('Unable to determine what should be displayed. A default route has not been specified in the routing file.');
                    
295		}
                    
                
compiler.py https://bitbucket.org/pcelta/python-django.git | Python | 293 lines
                    
127                    alias = seen[model]
                    
128                except KeyError:
                    
129                    if model is proxied_model:
                    
                
compiler.py https://bitbucket.org/pcelta/python-django.git | Python | 293 lines
                    
127                    alias = seen[model]
                    
128                except KeyError:
                    
129                    if model is proxied_model:
                    
                
mmap.c https://bitbucket.org/lisovy/apohw.git | C | 409 lines
                    
123    if (!(flags & MAP_ANONYMOUS)) {
                    
124        /* msync() won't work here, so we return an error if write is
                    
125           possible while it is a shared mapping */
                    
247        (offset & ~qemu_host_page_mask) != (start & ~qemu_host_page_mask)) {
                    
248        /* msync() won't work here, so we return an error if write is
                    
249           possible while it is a shared mapping */
                    
388#else
                    
389    qerror("target_mremap: unsupported\n");
                    
390#endif
                    
                
hci_smd.c https://bitbucket.org/thenameisnigel/android_kernel_lge_ls840.git | C | 560 lines
                    
158	if (!skb) {
                    
159		BT_ERR("Error in allocating socket buffer");
                    
160		smd_read(hsmd->data_channel, NULL, len);
                    
165	if (rc < len) {
                    
166		BT_ERR("Error in reading from the channel");
                    
167		goto out_data;
                    
175	if (rc < 0) {
                    
176		BT_ERR("Error in passing the packet to HCI Layer");
                    
177		/*
                    
216		if (!skb) {
                    
217			BT_ERR("Error in allocating socket buffer");
                    
218			smd_read(hsmd->event_channel, NULL, len);
                    
223		if (rc < len) {
                    
224			BT_ERR("Error in reading from the event channel");
                    
225			goto out_event;
                    
                
tiocx.c https://bitbucket.org/thenameisnigel/android_kernel_lge_ls840.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
tiocx.c https://github.com/yhuang2000/kernel-35.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
tiocx.c https://github.com/VorkTeam/vorkKernel-DESIRE.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
Makefile https://github.com/herbertx/cryptodev.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
ProcessManager.java https://github.com/dbaeumges/android_platform_libcore.git | Java | 409 lines
                    
141                        // This should never happen.
                    
142                        throw new AssertionError("unexpected interrupt");
                    
143                    }
                    
153                // Something weird is happening; abort!
                    
154                throw new AssertionError("unexpected wait() behavior");
                    
155            }
                    
171            String workingDirectory, FileDescriptor in, FileDescriptor out,
                    
172            FileDescriptor err, boolean redirectErrorStream) throws IOException;
                    
173
                    
177    Process exec(String[] taintedCommand, String[] taintedEnvironment, File workingDirectory,
                    
178            boolean redirectErrorStream) throws IOException {
                    
179        // Make sure we throw the same exceptions as the RI.
                    
221            try {
                    
222                pid = exec(command, environment, workingPath, in, out, err, redirectErrorStream);
                    
223            } catch (IOException e) {
                    
                
tiocx.c https://github.com/herbertx/cryptodev.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
tiocx.c https://github.com/zossso/cm-kernel.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
Makefile https://bitbucket.org/cyanogenmod/android_kernel_asus_tf700t.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
Makefile https://bitbucket.org/cyanogenmod/android_kernel_asus_tf300t.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
class-bp-rest-attachments-group-avatar-endpoint.php https://github.com/livinglab/openlab.git | PHP | 500 lines
                    
110	 * @param WP_REST_Request $request Full details about the request.
                    
111	 * @return WP_REST_Response|WP_Error
                    
112	 */
                    
131		if ( ! $avatar->full && ! $avatar->thumb ) {
                    
132			return new WP_Error(
                    
133				'bp_rest_attachments_group_avatar_no_image',
                    
168	 * @param WP_REST_Request $request Full details about the request.
                    
169	 * @return true|WP_Error
                    
170	 */
                    
171	public function get_item_permissions_check( $request ) {
                    
172		$retval      = new WP_Error(
                    
173			'bp_rest_group_invalid_id',
                    
189		 *
                    
190		 * @param true|WP_Error   $retval  Returned value.
                    
191		 * @param WP_REST_Request $request The request sent to the API.
                    
                
dhd_cdc.c https://github.com/realfirst/linux.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
txn_guide.c https://github.com/akiernan/omnibus.git | C | 471 lines
                    
113    if (ret != 0) {
                    
114	fprintf(stderr, "Error creating environment handle: %s\n",
                    
115	    db_strerror(ret));
                    
126    if (ret != 0) {
                    
127	fprintf(stderr, "Error setting lock detect: %s\n",
                    
128	    db_strerror(ret));
                    
144    if (ret != 0) {
                    
145	fprintf(stderr, "Error opening environment: %s\n",
                    
146	    db_strerror(ret));
                    
180	    fprintf(stderr, "%s database close failed: %s\n",
                    
181		file_name, db_strerror(ret_t));
                    
182	    ret = ret_t;
                    
190	    fprintf(stderr, "environment close failed: %s\n",
                    
191		db_strerror(ret_t));
                    
192		ret = ret_t;
                    
                
logcget.html https://github.com/akiernan/omnibus.git | HTML | 283 lines
                    
47            <span>
                    
48                  method returns a non-zero error value on failure and 0 on success.
                    
49            </span>
                    
133                <p>
                    
134                 The <code class="methodname">DB_LOGC-&gt;get()</code> method will return <a href="../../programmer_reference/program_errorret.html#program_errorret.DB_NOTFOUND" class="olink">DB_NOTFOUND</a> if
                    
135                 DB_FIRST is set and the log is empty.
                    
146                <p>
                    
147                 The <code class="methodname">DB_LOGC-&gt;get()</code> method will return <a href="../../programmer_reference/program_errorret.html#program_errorret.DB_NOTFOUND" class="olink">DB_NOTFOUND</a> if
                    
148                 DB_LAST is set and the log is empty.
                    
165                <p>
                    
166                 The <code class="methodname">DB_LOGC-&gt;get()</code> method will return <a href="../../programmer_reference/program_errorret.html#program_errorret.DB_NOTFOUND" class="olink">DB_NOTFOUND</a> if
                    
167                 DB_NEXT is set and the last log record has already been returned or
                    
185                <p>
                    
186                 The <code class="methodname">DB_LOGC-&gt;get()</code> method will return <a href="../../programmer_reference/program_errorret.html#program_errorret.DB_NOTFOUND" class="olink">DB_NOTFOUND</a> if
                    
187                 DB_PREV is set and the first log record has already been returned or
                    
                
tiocx.c https://github.com/cushman/linux.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
Makefile https://github.com/cushman/linux.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
CServerList.cpp https://github.com/araguzers/multitheftauto.git | C++ | 452 lines
                    
321        int len = recvfrom ( m_Socket, szBuffer, SERVER_LIST_QUERY_BUFFER, MSG_PARTIAL, (sockaddr *) &clntAddr, &addrLen );
                    
322        int error = WSAGetLastError();
                    
323        if ( len >= 0 ) {
                    
                
md5.c https://github.com/yuvrajm/ruby.git | C | 422 lines
                    
91	if (strcmp(hex_output, test[i + 1]))
                    
92	    printf("**** ERROR, should be: %s\n", test[i + 1]);
                    
93    }
                    
                
module_test.rb https://gitlab.com/mpivaa/rails | Ruby | 509 lines
                    
157  def test_missing_delegation_target
                    
158    assert_raise(ArgumentError) do
                    
159      Name.send :delegate, :nowhere
                    
160    end
                    
161    assert_raise(ArgumentError) do
                    
162      Name.send :delegate, :noplace, :tos => :hollywood
                    
185  def test_delegation_prefix_with_instance_variable
                    
186    assert_raise ArgumentError do
                    
187      Class.new do
                    
208    project = Project.new(false, false)
                    
209    assert_raise(NoMethodError) { project.name }
                    
210  end
                    
213    rails = Project.new("Rails", "David")
                    
214    assert_raise(NoMethodError) { rails.name }
                    
215  end
                    
                
Router.php https://gitlab.com/jLKisni/furandpaw-frontend | PHP | 515 lines
                    
293		{
                    
294			show_error('Unable to determine what should be displayed. A default route has not been specified in the routing file.');
                    
295		}
                    
                
CmdMute.cs https://bitbucket.org/LegoBricker/mchmok.git | C# | 320 lines
                    
135                    Help(p);
                    
136                    //_s.logger.ErrorLog(e);
                    
137                    return;
                    
                
cp874.py https://github.com/rpattabi/ironruby.git | Python | 307 lines
                    
10
                    
11    def encode(self,input,errors='strict'):
                    
12        return codecs.charmap_encode(input,errors,encoding_table)
                    
13
                    
14    def decode(self,input,errors='strict'):
                    
15        return codecs.charmap_decode(input,errors,decoding_table)
                    
18    def encode(self, input, final=False):
                    
19        return codecs.charmap_encode(input,self.errors,encoding_table)[0]
                    
20
                    
22    def decode(self, input, final=False):
                    
23        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
                    
24
                    
                
mmap.c https://github.com/coriolis/vmxray.git | C | 409 lines
                    
123    if (!(flags & MAP_ANONYMOUS)) {
                    
124        /* msync() won't work here, so we return an error if write is
                    
125           possible while it is a shared mapping */
                    
247        (offset & ~qemu_host_page_mask) != (start & ~qemu_host_page_mask)) {
                    
248        /* msync() won't work here, so we return an error if write is
                    
249           possible while it is a shared mapping */
                    
388#else
                    
389    qerror("target_mremap: unsupported\n");
                    
390#endif
                    
                
mmap.c https://github.com/coriolis/vmxray.git | C | 409 lines
                    
123    if (!(flags & MAP_ANONYMOUS)) {
                    
124        /* msync() won't work here, so we return an error if write is
                    
125           possible while it is a shared mapping */
                    
247        (offset & ~qemu_host_page_mask) != (start & ~qemu_host_page_mask)) {
                    
248        /* msync() won't work here, so we return an error if write is
                    
249           possible while it is a shared mapping */
                    
388#else
                    
389    qerror("target_mremap: unsupported\n");
                    
390#endif
                    
                
SkEdge.cpp https://github.com/mkedwards/external__skia.git | C++ | 473 lines
                    
171
                    
172    // each subdivision (shift value) cuts this dist (error) by 1/4
                    
173    return (32 - SkCLZ(dist)) >> 1;
                    
                
cx25821-videoioctl.c https://github.com/arkas/Samsung-GT-I5510-Kernel.git | C | 496 lines
                    
194	poll_wait(file, &buf->vb.done, wait);
                    
195	if (buf->vb.state == VIDEOBUF_DONE || buf->vb.state == VIDEOBUF_ERROR)
                    
196		return POLLIN | POLLRDNORM;
                    
                
TestCrearEventoController.java https://bitbucket.org/dacuna/social-sansanoscl.git | Java | 338 lines
                    
77		Map<String, ? extends Object> result = controller.create((Object) data, session);
                    
78		assertEquals(true, result.containsKey("error.exist"));
                    
79	}
                    
94		Map<String, ? extends Object> result = controller.create((Object) data, session);
                    
95		assertEquals(true, result.containsKey("error.exist"));
                    
96	}
                    
111		Map<String, ? extends Object> result = controller.create((Object) data, session);
                    
112		assertEquals(true, result.containsKey("error.exist"));
                    
113	}
                    
128		Map<String, ? extends Object> result = controller.create((Object) data, session);
                    
129		assertEquals(true, result.containsKey("error.exist"));
                    
130	}
                    
145		Map<String, ? extends Object> result = controller.create((Object) data, session);
                    
146		assertEquals(true, result.containsKey("error.exist"));
                    
147	}
                    
                
dhd_cdc.c https://bitbucket.org/ayysir/asdk-grouper.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
tiocx.c https://bitbucket.org/ayysir/asdk-grouper.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
Makefile https://bitbucket.org/ayysir/asdk-grouper.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
dhd_cdc.c https://github.com/haripotter/linux.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
tiocx.c https://github.com/haripotter/linux.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
Makefile https://github.com/haripotter/linux.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
dhd_cdc.c https://github.com/Izidor/linux-2.6.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
Makefile https://github.com/Izidor/linux-2.6.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
tiocx.c https://github.com/Izidor/linux-2.6.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
ImfCRgbaFile.h https://bitbucket.org/odellus/opencv.git | C Header | 467 lines
                    
456/*
                    
457** Most recent error message
                    
458*/
                    
459
                    
460const char *		ImfErrorMessage (void);
                    
461
                    
                
xilinx_spi.c https://github.com/slade87/semc_mimmi_kernel_3.0.1.G.0.75.git | C | 463 lines
                    
49#define XSPI_SR_TX_FULL_MASK	0x08	/* Transmit FIFO is full */
                    
50#define XSPI_SR_MODE_FAULT_MASK	0x10	/* Mode fault error */
                    
51
                    
65
                    
66#define XSPI_INTR_MODE_FAULT		0x01	/* Mode fault error */
                    
67#define XSPI_INTR_SLAVE_MODE_FAULT	0x02	/* Selected as slave while
                    
                
e1000_hw.h https://github.com/slade87/semc_mimmi_kernel_3.0.1.G.0.75.git | C Header | 601 lines
                    
153	u8  status;      /* Descriptor status */
                    
154	u8  errors;      /* Descriptor Errors */
                    
155	__le16 special;
                    
175		struct {
                    
176			__le32 status_error;     /* ext status/error */
                    
177			__le16 length;
                    
201		struct {
                    
202			__le32 status_error;     /* ext status/error */
                    
203			__le16 length0;          /* length of buffer 0 */
                    
364struct e1000_phy_stats {
                    
365	u32 idle_errors;
                    
366	u32 receive_errors;
                    
                
tiocx.c https://github.com/slade87/semc_mimmi_kernel_3.0.1.G.0.75.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
binfmt_aout.c https://github.com/slade87/semc_mimmi_kernel_3.0.1.G.0.75.git | C | 481 lines
                    
88 * field, which also makes sure the core-dumps won't be recursive if the
                    
89 * dumping of the process results in another error..
                    
90 */
                    
222	struct exec ex;
                    
223	unsigned long error;
                    
224	unsigned long fd_offset;
                    
292		down_write(&current->mm->mmap_sem);
                    
293		error = do_brk(text_addr & PAGE_MASK, map_size);
                    
294		up_write(&current->mm->mmap_sem);
                    
294		up_write(&current->mm->mmap_sem);
                    
295		if (error != (text_addr & PAGE_MASK)) {
                    
296			send_sig(SIGKILL, current, 0);
                    
296			send_sig(SIGKILL, current, 0);
                    
297			return error;
                    
298		}
                    
                
buffered_read_stream.hpp https://bitbucket.org/mihail_rylov/ayuine2c-winrt.git | C++ Header | 416 lines
                    
116  /// Close the stream.
                    
117  boost::system::error_code close(boost::system::error_code& ec)
                    
118  {
                    
133  std::size_t write_some(const ConstBufferSequence& buffers,
                    
134      boost::system::error_code& ec)
                    
135  {
                    
163  /// Fill the buffer with some data. Returns the number of bytes placed in the
                    
164  /// buffer as a result of the operation, or 0 if an error occurred.
                    
165  std::size_t fill(boost::system::error_code& ec)
                    
232  /// Read some data from the stream. Returns the number of bytes read or 0 if
                    
233  /// an error occurred.
                    
234  template <typename MutableBufferSequence>
                    
235  std::size_t read_some(const MutableBufferSequence& buffers,
                    
236      boost::system::error_code& ec)
                    
237  {
                    
                
buffered_read_stream.hpp https://bitbucket.org/mihail_rylov/ayuine2c.git | C++ Header | 416 lines
                    
116  /// Close the stream.
                    
117  boost::system::error_code close(boost::system::error_code& ec)
                    
118  {
                    
133  std::size_t write_some(const ConstBufferSequence& buffers,
                    
134      boost::system::error_code& ec)
                    
135  {
                    
163  /// Fill the buffer with some data. Returns the number of bytes placed in the
                    
164  /// buffer as a result of the operation, or 0 if an error occurred.
                    
165  std::size_t fill(boost::system::error_code& ec)
                    
232  /// Read some data from the stream. Returns the number of bytes read or 0 if
                    
233  /// an error occurred.
                    
234  template <typename MutableBufferSequence>
                    
235  std::size_t read_some(const MutableBufferSequence& buffers,
                    
236      boost::system::error_code& ec)
                    
237  {
                    
                
lte-ie7.js https://gitlab.com/lkotoula/syndromidocs | JavaScript | 387 lines
                    
88			'icon_info_alt' : '&#x70;',
                    
89			'icon_error-oct_alt' : '&#x71;',
                    
90			'icon_error-circle_alt' : '&#x72;',
                    
90			'icon_error-circle_alt' : '&#x72;',
                    
91			'icon_error-triangle_alt' : '&#x73;',
                    
92			'icon_question_alt2' : '&#x74;',
                    
199			'icon_info' : '&#xe060;',
                    
200			'icon_error-circle' : '&#xe061;',
                    
201			'icon_error-oct' : '&#xe062;',
                    
201			'icon_error-oct' : '&#xe062;',
                    
202			'icon_error-triangle' : '&#xe063;',
                    
203			'icon_question_alt' : '&#xe064;',
                    
                
i3200_edac.c https://gitlab.com/openbar/rpi-linux | C | 550 lines
                    
45
                    
46#define I3200_ERRSTS		0xc8	/* Error Status Register (16b)
                    
47		 *
                    
60		 *  6:2  reserved
                    
61		 *  1    Multi-bit DRAM ECC Error Flag (DMERR)
                    
62		 *  0    Single-bit DRAM ECC Error Flag (DSERR)
                    
79
                    
80#define I3200_C0ECCERRLOG	0x280	/* Channel 0 ECC Error Log (64b)
                    
81		 *
                    
81		 *
                    
82		 * 63:48 Error Column Address (ERRCOL)
                    
83		 * 47:32 Error Row Address (ERRROW)
                    
83		 * 47:32 Error Row Address (ERRROW)
                    
84		 * 31:29 Error Bank Address (ERRBANK)
                    
85		 * 28:27 Error Rank Address (ERRRANK)
                    
                
CServerList.cpp https://github.com/MarcBujold/multitheftauto.git | C++ | 452 lines
                    
321        int len = recvfrom ( m_Socket, szBuffer, SERVER_LIST_QUERY_BUFFER, MSG_PARTIAL, (sockaddr *) &clntAddr, &addrLen );
                    
322        int error = WSAGetLastError();
                    
323        if ( len >= 0 ) {
                    
                
AtmosphereBayeuxServlet.java https://github.com/ayush/atmosphere.git | Java | 295 lines
                    
284                        try {
                    
285                            ((HttpServletResponse) continuation.getResponse()).sendError(HttpServletResponse.SC_SERVICE_UNAVAILABLE);
                    
286                        } catch (IOException e) {
                    
                
foldit.el https://bitbucket.org/hoangtu/emacs.git | Emacs Lisp | 357 lines
                    
265    (overlay-put ovl 'keymap foldit-hs-keymap)
                    
266    (overlay-put ovl 'face 'next-error)
                    
267    (overlay-put ovl 'face 'lazy-highlight)
                    
333        )
                    
334    (error (message "foldit-remove-temp-at-point-overlay: %s"
                    
335                    (propertize (error-message-string err))))))
                    
                
tiocx.c https://github.com/ccampos784/sch-i500-gingerbread.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
apidirectmessage.php https://gitlab.com/BeS/io.schiessle.org | PHP | 450 lines
                    
67        if (!$this->scoped instanceof Profile) {
                    
68            // TRANS: Client error given when a user was not found (404).
                    
69            $this->clientError(_('No such user.'), 404);
                    
139        default:
                    
140            // TRANS: Client error displayed when coming across a non-supported API method.
                    
141            $this->clientError(_('API method not found.'), $code = 404);
                    
                
etsec.c https://gitlab.com/storedmirrors/qemu | C | 468 lines
                    
35#include "registers.h"
                    
36#include "qapi/error.h"
                    
37#include "qemu/log.h"
                    
387
                    
388static void etsec_realize(DeviceState *dev, Error **errp)
                    
389{
                    
457    qdev_set_nic_properties(dev, nd);
                    
458    sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal);
                    
459
                    
                
arm_gic_common.c https://gitlab.com/storedmirrors/qemu | C | 394 lines
                    
21#include "qemu/osdep.h"
                    
22#include "qapi/error.h"
                    
23#include "qemu/module.h"
                    
186
                    
187static void arm_gic_common_realize(DeviceState *dev, Error **errp)
                    
188{
                    
192    if (s->num_cpu > GIC_NCPU) {
                    
193        error_setg(errp, "requested %u CPUs exceeds GIC maximum %d",
                    
194                   s->num_cpu, GIC_NCPU);
                    
197    if (s->num_irq > GIC_MAXIRQ) {
                    
198        error_setg(errp,
                    
199                   "requested %u interrupt lines exceeds GIC maximum %d",
                    
207    if (s->num_irq < 32 || (s->num_irq % 32)) {
                    
208        error_setg(errp,
                    
209                   "%d interrupt lines unsupported: not divisible by 32",
                    
                
Router.php https://gitlab.com/rolion/car_ci_angular | PHP | 515 lines
                    
293		{
                    
294			show_error('Unable to determine what should be displayed. A default route has not been specified in the routing file.');
                    
295		}
                    
                
tiocx.c https://github.com/nbeebe24/linux_samsung-2.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
flash.c https://github.com/elettronicagf/u-boot-omap3.git | C | 573 lines
                    
234	if (info->sector_count > CONFIG_SYS_MAX_FLASH_SECT) {
                    
235		printf ("** ERROR: sector count %d > max (%d) **\n",
                    
236			info->sector_count, CONFIG_SYS_MAX_FLASH_SECT);
                    
                
Makefile https://github.com/cloudbring/linux.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
Makefile https://github.com/Doap/linux.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
Makefile https://github.com/semyazza/linux.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
README.md https://bitbucket.org/tstki/dragontavern-logger.git | Markdown | 191 lines
                    
46* Last used dataview combobox row is now remembered between sessions.
                    
47* The webbrowser is now "silent". Meaning, the occassional javascript error you might get upon launch will no longer occur.
                    
48* Added ability to call 'Soul Stealer', 'Flaming Weapon', 'Legendary Luck' and 'Reaper' immortal powers from the menu for a single character.
                    
182* Window saves it's size and location.
                    
183* Some spelling errors fixed in the elite sublocations (let me know if you find any more!)
                    
184
                    
                
Makefile https://bitbucket.org/codefirex/kernel_lge_gee_mako.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
tiocx.c https://github.com/fards/kernel_2.6.36_nvidia_base.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
pkcs8.c https://gitlab.com/generic-library/openssl | C | 392 lines
                    
220    if (!app_passwd(bio_err, passargin, passargout, &passin, &passout)) {
                    
221        BIO_printf(bio_err, "Error getting passwords\n");
                    
222        goto end;
                    
254        if (!(p8inf = EVP_PKEY2PKCS8_broken(pkey, p8_broken))) {
                    
255            BIO_printf(bio_err, "Error converting key\n");
                    
256            ERR_print_errors(bio_err);
                    
280                                     NULL, 0, iter, p8inf))) {
                    
281                BIO_printf(bio_err, "Error encrypting key\n");
                    
282                ERR_print_errors(bio_err);
                    
319        if (!p8) {
                    
320            BIO_printf(bio_err, "Error reading key\n");
                    
321            ERR_print_errors(bio_err);
                    
333    if (!p8inf) {
                    
334        BIO_printf(bio_err, "Error decrypting key\n");
                    
335        ERR_print_errors(bio_err);
                    
                
comp_udp.h https://gitlab.com/YaoQ/mbed-for-linknode | C Header | 191 lines
                    
78#define UDP_FRM_NUM_FRM_NUM_Msk (0x7ffu << UDP_FRM_NUM_FRM_NUM_Pos) /**< \brief (UDP_FRM_NUM) Frame Number as Defined in the Packet Field Formats */
                    
79#define UDP_FRM_NUM_FRM_ERR (0x1u << 16) /**< \brief (UDP_FRM_NUM) Frame Error */
                    
80#define UDP_FRM_NUM_FRM_OK (0x1u << 17) /**< \brief (UDP_FRM_NUM) Frame OK */
                    
178#define UDP_CSR_RXBYTECNT(value) ((UDP_CSR_RXBYTECNT_Msk & ((value) << UDP_CSR_RXBYTECNT_Pos)))
                    
179#define UDP_CSR_ISOERROR (0x1u << 3) /**< \brief (UDP_CSR[6]) A CRC error has been detected in an isochronous transfer */
                    
180/* -------- UDP_FDR[6] : (UDP Offset: 0x050) Endpoint FIFO Data Register -------- */
                    
                
ImfCRgbaFile.h https://gitlab.com/generic-library/opencv | C Header | 467 lines
                    
456/*
                    
457** Most recent error message
                    
458*/
                    
459
                    
460const char *		ImfErrorMessage (void);
                    
461
                    
                
osc.h https://github.com/osuar/iarc.git | C Header | 429 lines
                    
157# else
                    
158#  error BOARD_OSC0_STARTUP_US is too high
                    
159# endif
                    
174# ifdef BOARD_OSC0_HZ
                    
175#  error BOARD_OSC0_STARTUP_US must be defined by the board code
                    
176# endif
                    
225# else
                    
226#  error BOARD_OSC1_STARTUP_US is too high
                    
227# endif
                    
                
runCommand.java https://bitbucket.org/rlyspn/androidrr.git | Java | 332 lines
                    
51                
                    
52                // check if usage is requested before checking args parse errors etc:
                    
53                {
                    
64                
                    
65                if (opts == null) // this means there were args parsing errors
                    
66                {
                    
66                {
                    
67                    parsedopts.error (m_out, STDOUT_WIDTH);
                    
68                    usageexit (parser, IOptsParser.SHORT_USAGE, null);
                    
130                {
                    
131                    throw new EMMARuntimeException (IAppErrorCodes.ARGS_IO_FAILURE, ioe);
                    
132                }
                    
156                        {
                    
157                            // TODO: is the right error code?
                    
158                            throw new EMMARuntimeException (IAppErrorCodes.ARGS_IO_FAILURE, ioe);
                    
                
IProperties.java https://bitbucket.org/rlyspn/androidrr.git | Java | 370 lines
                    
172                {
                    
173                    throw new Error (cnse.toString ()); // never happens
                    
174                }
                    
190                    {
                    
191                        throw new Error (cnse.toString ()); // never happens
                    
192                    }
                    
                
tiocx.c https://github.com/delcibao/Shooter-2.6.35_mr.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
foldit.el https://github.com/emish/emacs.git | Emacs Lisp | 357 lines
                    
265    (overlay-put ovl 'keymap foldit-hs-keymap)
                    
266    (overlay-put ovl 'face 'next-error)
                    
267    (overlay-put ovl 'face 'lazy-highlight)
                    
333        )
                    
334    (error (message "foldit-remove-temp-at-point-overlay: %s"
                    
335                    (propertize (error-message-string err))))))
                    
                
lzma.js https://bitbucket.org/tapanij/ogthreejs.git | JavaScript | 510 lines
                    
505  if ( !decoder.decode(inStream, outStream, outSize) ){
                    
506    throw "Error in data stream";
                    
507  }
                    
                
cx25821-videoioctl.c https://github.com/johnjelinek/photon4g.motorola.git | C | 496 lines
                    
194	poll_wait(file, &buf->vb.done, wait);
                    
195	if (buf->vb.state == VIDEOBUF_DONE || buf->vb.state == VIDEOBUF_ERROR)
                    
196		return POLLIN | POLLRDNORM;
                    
                
tiocx.c https://github.com/johnjelinek/photon4g.motorola.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
ax_enable_builddir.m4 https://github.com/vadmium/module-init-tools.git | m4 | 302 lines
                    
114      else
                    
115        AC_MSG_ERROR([could not change to default builddir "./$SUB"])
                    
116      fi
                    
                
tiocx.c https://github.com/LeeDroid-/Pyramid-2.6.35-MR.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
gsl_matrix_ulong.h https://github.com/mantidproject/3rdpartyincludes.git | C Header | 358 lines
                    
282        {
                    
283          GSL_ERROR_VAL("first index out of range", GSL_EINVAL, 0) ;
                    
284        }
                    
286        {
                    
287          GSL_ERROR_VAL("second index out of range", GSL_EINVAL, 0) ;
                    
288        }
                    
302        {
                    
303          GSL_ERROR_VOID("first index out of range", GSL_EINVAL) ;
                    
304        }
                    
306        {
                    
307          GSL_ERROR_VOID("second index out of range", GSL_EINVAL) ;
                    
308        }
                    
322        {
                    
323          GSL_ERROR_NULL("first index out of range", GSL_EINVAL) ;
                    
324        }
                    
                
gsl_matrix_uchar.h https://github.com/mantidproject/3rdpartyincludes.git | C Header | 358 lines
                    
282        {
                    
283          GSL_ERROR_VAL("first index out of range", GSL_EINVAL, 0) ;
                    
284        }
                    
286        {
                    
287          GSL_ERROR_VAL("second index out of range", GSL_EINVAL, 0) ;
                    
288        }
                    
302        {
                    
303          GSL_ERROR_VOID("first index out of range", GSL_EINVAL) ;
                    
304        }
                    
306        {
                    
307          GSL_ERROR_VOID("second index out of range", GSL_EINVAL) ;
                    
308        }
                    
322        {
                    
323          GSL_ERROR_NULL("first index out of range", GSL_EINVAL) ;
                    
324        }
                    
                
context.ipp https://github.com/mantidproject/3rdpartyincludes.git | C++ Header | 527 lines
                    
203  {
                    
204    ec = boost::system::error_code(::ERR_get_error(),
                    
205        boost::asio::error::get_ssl_category());
                    
305  {
                    
306    ec = boost::system::error_code(::ERR_get_error(),
                    
307        boost::asio::error::get_ssl_category());
                    
344  {
                    
345    ec = boost::system::error_code(::ERR_get_error(),
                    
346        boost::asio::error::get_ssl_category());
                    
384  {
                    
385    ec = boost::system::error_code(::ERR_get_error(),
                    
386        boost::asio::error::get_ssl_category());
                    
423  {
                    
424    ec = boost::system::error_code(::ERR_get_error(),
                    
425        boost::asio::error::get_ssl_category());
                    
                
Router.php https://gitlab.com/Kuzunoha_Inari/hangmanMVC---SisWeb | PHP | 515 lines
                    
293		{
                    
294			show_error('Unable to determine what should be displayed. A default route has not been specified in the routing file.');
                    
295		}
                    
                
tiocx.c https://bitbucket.org/likewise/linux-syrinx.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
Makefile https://bitbucket.org/EaglesBlood_Development/eb_mako.git | Makefile | 386 lines
                    
101
                    
102ERRORS = \
                    
103	E2BIG \
                    
330	@(								\
                    
331	echo -e "\n<!-- Error Codes -->") >>$@
                    
332	@(								\
                    
333	for ident in $(ERRORS) ; do					\
                    
334	  echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>"	\
                    
335	    "error code\">" >>$@ ;					\
                    
                
template.rb https://bitbucket.org/zachjarvinen/rails.git | Ruby | 340 lines
                    
82    #
                    
83    # To do so, simply raise +WrongEncodingError+ as follows:
                    
84    #
                    
84    #
                    
85    #     raise WrongEncodingError.new(
                    
86    #       problematic_string,
                    
90    eager_autoload do
                    
91      autoload :Error
                    
92      autoload :Handlers
                    
145    rescue Exception => e
                    
146      handle_render_error(view, e)
                    
147    end
                    
158    #
                    
159    # Notice this method raises an error if the template to be refreshed does not have a
                    
160    # virtual path set (true just for inline templates).
                    
                
tiocx.c https://github.com/mingwandroid/kernel_2.6.36_nvidia_base_meego.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
AudioSystem.h https://github.com/mstorsjo/vlc-android.git | C Header | 304 lines
                    
31
                    
32typedef void (*audio_error_callback)(status_t err);
                    
33
                    
86
                    
87    static void setErrorCallback(audio_error_callback cb);
                    
88
                    
124    // has exited standby.
                    
125    // returned status (from utils/Errors.h) can be:
                    
126    // - NO_ERROR: successful operation, halFrames and dspFrames point to valid data
                    
284    static sp<IAudioFlinger> gAudioFlinger;
                    
285    static audio_error_callback gAudioErrorCallback;
                    
286
                    
                
releasenotes.md https://github.com/basho/basho_docs.git | Markdown | 151 lines
                    
25
                    
26Updates in TS 1.5 include multi-line paste functionality, built-in help for SQL commands, and enhanced error handling in riak shell.
                    
27
                    
78    * [[riak_test PR 1212](https://github.com/basho/riak_test/pull/1212)]
                    
79* Multi-line paste and in-line SQL help is now available in riak shell. SQL comments are supported in the following types: `/* blah multiline */` and `-- single line`. Riak shell has also been updated to better handle errors. And it now pretty print floats, as well.
                    
80    * [[riak_shell PR 60](https://github.com/basho/riak_shell/pull/60)]
                    
116
                    
117* [[Issue 1418](https://github.com/basho/riak_kv/issues/1418)/[PR 1544](https://github.com/basho/riak_kv/pull/1544) & [PR 1204](https://github.com/basho/riak_test/pull/1204 )] A bad error atom type was causing the protobuf and TTB services to crash. Error reporting for overload and other types of error conditions have been added.
                    
118* [[riak_shell Issue 33](https://github.com/basho/riak_shell/issues/33)/[riak_shell PR 59](https://github.com/basho/riak_shell/pull/59)] When unknown crashes occurred server-side, riak shell would get the report and crash itsef. Now, riak shell does not crash upon receiving unknown server-side crashes, and instead prompts you to report the bug to Basho.
                    
121* [[PR 1479](https://github.com/basho/riak_kv/pull/1479)] The length of the queue was supposed to be configurable, but was being overridden by supervisor. The queue is now actually configurable.
                    
122* [[PR 1478](https://github.com/basho/riak_kv/pull/1478)] A rare error in the EXPLAIN statement was caused by a function_clause error in `riak_pb_ts_codec:encode_field_type/1` due to a typo in the code. The typo has been fixed.
                    
123* [[Issue 1472](https://github.com/basho/riak_kv/issues/1472)/[PR 1474](https://github.com/basho/riak_kv/pull/1474)] The error message has been improved when selecting an empty time range.
                    
125* [[PR 1545](https://github.com/basho/riak_kv/pull/1545 ) & [riak_test PR 1208](https://github.com/basho/riak_test/pull/1208)] Attempting to insert data into a non-existant table would cause crash.
                    
126* [[PR 1130](https://github.com/basho/riak_ql/pull/148 )] It was possible to create a table without specifying a local key - the primary key would be copied over. This led to strange tables with no valid use. This now correctly returns an error.
                    
127* [[PR 1286](https://github.com/basho/riak_ql/pull/147/files )] Aggregation functions like MAX, MIN etc would cast timestamps to sint64 by default. They now correctly return values of type timestamp which appear correctly as times in riak-shell.
                    
                
mmap.c https://bitbucket.org/ace0/xen-restore-information.git | C | 409 lines
                    
123    if (!(flags & MAP_ANONYMOUS)) {
                    
124        /* msync() won't work here, so we return an error if write is
                    
125           possible while it is a shared mapping */
                    
247        (offset & ~qemu_host_page_mask) != (start & ~qemu_host_page_mask)) {
                    
248        /* msync() won't work here, so we return an error if write is
                    
249           possible while it is a shared mapping */
                    
388#else
                    
389    qerror("target_mremap: unsupported\n");
                    
390#endif
                    
                
tiocx.c https://github.com/playfulgod/android-huawei-kernel-common.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
dhd_cdc.c https://github.com/bigfeng12/linux.git | C | 502 lines
                    
151
                    
152	/* Respond "bcmerror" and "bcmerrorstr" with local cache */
                    
153	if (cmd == BRCMF_C_GET_VAR && buf) {
                    
255	if (id != prot->reqid) {
                    
256		BRCMF_ERROR(("%s: %s: unexpected request id %d (expected %d)\n",
                    
257			     brcmf_ifname(drvr, ifidx), __func__, id,
                    
263	/* Check the ERROR flag */
                    
264	if (flags & CDCF_IOC_ERROR) {
                    
265		ret = le32_to_cpu(msg->status);
                    
461	drvr->dstats.tx_packets = drvr->tx_packets;
                    
462	drvr->dstats.tx_errors = drvr->tx_errors;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
463	drvr->dstats.rx_packets = drvr->rx_packets;
                    
464	drvr->dstats.rx_errors = drvr->rx_errors;
                    
465	drvr->dstats.rx_dropped = drvr->rx_dropped;
                    
                
cx25821-videoioctl.c https://github.com/Mohanshbhr/G3MOD.git | C | 496 lines
                    
194	poll_wait(file, &buf->vb.done, wait);
                    
195	if (buf->vb.state == VIDEOBUF_DONE || buf->vb.state == VIDEOBUF_ERROR)
                    
196		return POLLIN | POLLRDNORM;
                    
                
tiocx.c https://github.com/Mohanshbhr/G3MOD.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
tiocx.c https://github.com/xdabravoteam/cm-kernel.git | C | 562 lines
                    
115	struct cx_dev *cx_dev = to_cx_dev(dev);
                    
116	int error = 0;
                    
117
                    
120		if (id) {
                    
121			if ((error = cx_drv->probe(cx_dev, id)) < 0)
                    
122				return error;
                    
127
                    
128	return error;
                    
129}
                    
                
 

Source

Language