39+ results for 'isspace (int)' (0 ms)
Not the results you expected?
utstrsuppt.c (https://gitlab.com/kush/linux) C · 428 lines
src.c (https://github.com/ssssssssssss/emscripten.git) C · 196 lines
23 // These will be compiled as actual function calls.
24 int (*funcs[])(int) = {
25 isascii,
150 printf("\n");
151 printf("isspace(-45): %d\n", isspace(-45));
152 printf("isspace( 10): %d\n", isspace(10));
153 printf("isspace('a'): %d\n", isspace('a'));
154 printf("isspace('A'): %d\n", isspace('A'));
155 printf("isspace('5'): %d\n", isspace('5'));
156 printf("isspace('.'): %d\n", isspace('.'));
157 printf("isspace(183): %d\n", isspace(183));
crn_strutils.cpp (https://gitlab.com/BoTranVan/crunch) C++ · 613 lines
fts3_icu.c (https://github.com/nachoalthabe/chromium.git) C · 258 lines
fts2_icu.c (https://github.com/nachoalthabe/chromium.git) C · 258 lines
src.c (https://github.com/reobwuein/emscripten.git) C · 194 lines
124 printf("isxdigit('a'): %d\n", ((*__ctype_b_loc ())[(int) (('a'))] & (unsigned short int) _ISxdigit) != 0);
125 printf("isxdigit('A'): %d\n", ((*__ctype_b_loc ())[(int) (('A'))] & (unsigned short int) _ISxdigit) != 0);
126 printf("isxdigit('5'): %d\n", ((*__ctype_b_loc ())[(int) (('5'))] & (unsigned short int) _ISxdigit) != 0);
148 printf("\n");
149 printf("isspace(-45): %d\n", ((*__ctype_b_loc ())[(int) ((-45))] & (unsigned short int) _ISspace) != 0);
150 printf("isspace( 10): %d\n", ((*__ctype_b_loc ())[(int) ((10))] & (unsigned short int) _ISspace) != 0);
151 printf("isspace('a'): %d\n", ((*__ctype_b_loc ())[(int) (('a'))] & (unsigned short int) _ISspace) != 0);
152 printf("isspace('A'): %d\n", ((*__ctype_b_loc ())[(int) (('A'))] & (unsigned short int) _ISspace) != 0);
153 printf("isspace('5'): %d\n", ((*__ctype_b_loc ())[(int) (('5'))] & (unsigned short int) _ISspace) != 0);
154 printf("isspace('.'): %d\n", ((*__ctype_b_loc ())[(int) (('.'))] & (unsigned short int) _ISspace) != 0);
155 printf("isspace(183): %d\n", ((*__ctype_b_loc ())[(int) ((183))] & (unsigned short int) _ISspace) != 0);
wrapfunc.c (https://github.com/chrishaukap/GameDev.git) C · 518 lines
125 while ((c = Getc(str)) != EOF) {
126 if (!isspace(c)) {
127 Ungetc(c, str);
191 } else {
192 if (!empty || !isspace(c)) {
193 Putc(c, ts);
265 while ((c = Getc(str)) != EOF) {
266 if (!isspace(c)) {
267 Ungetc(c, str);
290 while ((c = Getc(str)) != EOF) {
291 if (!isspace(c))
292 break;
364 } else {
365 if (!empty || !isspace(c)) {
366 Putc(c, ts);
dotlex.c (https://bitbucket.org/akristmann/custom_build.git) C · 360 lines
tkObj.c (https://gitlab.com/OpenSourceMirror/sourcenav) C · 660 lines
35 #define GET_SIMPLEPIXEL(objPtr) \
36 ((int) (objPtr)->internalRep.twoPtrValue.ptr1)
169 if (d < 0) {
170 pixelPtr->returnValue = (int) (d - 0.5);
171 } else {
172 pixelPtr->returnValue = (int) (d + 0.5);
173 }
299 }
300 while ((*rest != '\0') && isspace(UCHAR(*rest))) {
301 rest++;
339 i = (int) d;
340 if ((units < 0) && (i == d)) {
os_xml.c (https://gitlab.com/Blueprint-Marketing/ossec-hids) C · 536 lines
226 else if ((location == 0) && ((c == _R_CONFE) || isspace(c))) {
227 int _ge = 0;
240 _currentlycont = _lxml->cur - 1;
241 if (isspace(c)) {
242 if ((_ga = _getattributes(fp, parent, _lxml)) < 0) {
369 /* Allocate for the "check" */
370 tmp2 = (int *) realloc(_lxml->ck, (_lxml->cur + 1) * sizeof(int));
371 if (tmp2 == NULL) {
472 unsigned short int _err = 1;
473 if (isspace(c)) {
474 while ((c = _xml_fgetc(fp)) != EOF) {
475 if (isspace(c)) {
476 continue;
ext_icu_uchar.php (https://gitlab.com/Blueprint-Marketing/hhvm) PHP · 619 lines
uint256.h (https://github.com/namecoin/namecoin.git) C Header · 765 lines
Font.hs (https://bitbucket.org/jmelo_lyncode/thesis.git) Haskell · 360 lines
169 -- Internal.
170 readsPrec p str = [(cread (dropWhile isSpace str),[])]
171 where
199 readsPrec p b =
200 case dropWhile (isSpace) (map toLower b) of
201 'n':'o':'r':'m':'a':'l':xs -> [(NormalWeight,xs)]
238 readsPrec p b =
239 case dropWhile (isSpace) (map toLower b) of
240 'l':'u':'c':'i':'d':'a':xs -> [(Lucida,xs)]
276 readsPrec p b =
277 case dropWhile (isSpace) (map toLower b) of
278 'r':xs -> [(Roman,xs)]
309 readsPrec p b =
310 case dropWhile (isSpace) (map toLower b) of
311 'n':'o':'r':'m':'a':'l':xs -> [(NormalWidth,xs)]
axis_label_rotated.php (https://github.com/fusenigk/mantisbt-1.git) PHP · 512 lines
21 * // Increase axis space
22 * $chart->xAxis->axisSpace = .2;
23 * </code>
98 $reducement = (int) ( $propertyValue - $propertyValue % 360 );
99 $this->properties['angle'] = (float) $propertyValue - $reducement;
256 {
257 $axisSpaceFactor = abs(
258 ( $this->direction->x == 0 ? 0 :
267 $start->x += max( 0., $axisSpaceFactor * $this->offset ) * $axisWidth;
268 $start->y += max( 0., $axisSpaceFactor * $this->offset ) * $axisHeight;
270 $end->x += min( 0., $axisSpaceFactor * $this->offset ) * $axisWidth;
271 $end->y += min( 0., $axisSpaceFactor * $this->offset ) * $axisHeight;
uint256.h (https://github.com/libcoin/libcoin.git) C Header · 839 lines
pystring.cpp (https://github.com/mgmt1969/oiio.git) C++ · 1056 lines
Helpers.cs (https://github.com/dotnet/roslyn.git) C# · 172 lines
PCollection_HExtendedString.cxx (https://github.com/jehc/MondocosmOS.git) C++ · 583 lines
buffer_tests.py (https://gitlab.com/envieidoc/Clover) Python · 206 lines
50 def test_isspace(self):
51 self.assertFalse(self.marshal(b'').isspace())
52 self.assertFalse(self.marshal(b'a').isspace())
53 self.assertTrue(self.marshal(b' ').isspace())
54 self.assertTrue(self.marshal(b'\t').isspace())
55 self.assertTrue(self.marshal(b'\r').isspace())
56 self.assertTrue(self.marshal(b'\n').isspace())
57 self.assertTrue(self.marshal(b' \t\r\n').isspace())
58 self.assertFalse(self.marshal(b' \t\r\na').isspace())
59 self.assertRaises(TypeError, self.marshal(b'abc').isspace, 42)
ctype.h (https://bitbucket.org/bohlooli/csipsimple2.git) C Header · 175 lines
47 */
48 PJ_INLINE(int) pj_isalnum(unsigned char c) { return isalnum(c); }
56 */
57 PJ_INLINE(int) pj_isalpha(unsigned char c) { return isalpha(c); }
65 */
66 PJ_INLINE(int) pj_isascii(unsigned char c) { return c<128; }
74 */
75 PJ_INLINE(int) pj_isdigit(unsigned char c) { return isdigit(c); }
83 */
84 PJ_INLINE(int) pj_isspace(unsigned char c) { return isspace(c); }
sim.c (https://github.com/pandora2000/aiueo.git) C · 526 lines
strings.cpp (https://github.com/boq/dirtsand.git) C++ · 592 lines
428 while (*scanp && max) {
429 if (!separator && isspace(*scanp)) {
430 subs.push_back(DS::String::FromUtf8(cptr, scanp - cptr));
431 --max;
432 while (*scanp && isspace(*scanp))
433 ++scanp;
508 char* startp = strbuf;
509 while (isspace(*startp))
510 ++startp;
521 scanp = startp + strlen(startp);
522 while (scanp > startp && isspace(*(scanp-1)))
523 --scanp;
miolexscan.in (https://bitbucket.org/yingted/openturing.git) Autoconf · 958 lines
342 for (cnt = 0 ; cnt < (int) pmLexRecord -> table -> numNotEOS ; cnt++)
343 {
534 if (!isspace(myChar) || (myChar == NL))
535 {
590 if (isspace (pmLexRecord -> line [pmLexRecord -> pos + 1]))
591 {
599 if (pmLexRecord -> line [pmLexRecord -> pos + myLen] &&
600 !isspace (pmLexRecord -> line [pmLexRecord -> pos + myLen]) &&
601 (strncmp (pmLexRecord -> line + pmLexRecord -> pos,
622 if (pmLexRecord -> line[pmLexRecord -> pos] == EOS || isspace(pmLexRecord -> line[pmLexRecord -> pos]))
623 return;
combine_lwa_cmd.c (https://github.com/kstovall/psrfits_utils.git) C · 788 lines
85 /***** check for surplus non-whitespace */
86 while( isspace((int) *end) ) end+=1;
87 if( *end ) goto nothingFound;
156 /***** check for surplus non-whitespace */
157 while( isspace((int) *end) ) end+=1;
158 if( *end ) break;
197 /***** check for surplus non-whitespace */
198 while( isspace((int) *end) ) end+=1;
199 if( *end ) goto nothingFound;
267 /***** check for surplus non-whitespace */
268 while( isspace((int) *end) ) end+=1;
269 if( *end ) break;
307 /***** check for surplus non-whitespace */
308 while( isspace((int) *end) ) end+=1;
309 if( *end ) goto nothingFound;
parsing.py (https://bitbucket.org/lsjcp/jornada-api.git) Python · 250 lines
31 val = val.strip()
32 if val != "" and not val.isspace():
33 if len(val)<2:
55 val = val.strip()
56 if val != "" and not val.isspace():
57 rc+=val + " "
62 val = val.strip()
63 if val != "" and not val.isspace():
64 rc+= val + " "
69 val = val.strip()
70 if val != "" and not val.isspace():
71 rc += val + " "
81 val = val.strip()
82 if val != "" and not val.isspace():
83 rc.append(val+ " ")
Lexer.java (https://gitlab.com/essere.lab.public/qualitas.class-corpus) Java · 482 lines
analysis.c (https://github.com/ekcell/lovdbyless.git) C · 1552 lines
33 return tk_set(tk, start, (int)(end - start),
34 (int)(start - text), (int)(end - text), pos_inc);
35 }
157 int num_bytes;
158 if ((num_bytes = (int)mbrtowc(wchr, s, MB_CUR_MAX, state)) < 0) {
159 const char *t = s;
162 ZEROSET(state, mbstate_t);
163 num_bytes = (int)mbrtowc(wchr, t, MB_CUR_MAX, state);
164 } while ((num_bytes < 0) && (*t != 0));
514 ts->t = t;
515 return w_tk_set(&(CTS(ts)->token), wbuf, (int)(start - ts->text),
516 (int)(t - ts->text), 1);
620 i = (int)(t - ts->t);
621 if (i > MAX_WORD_SIZE) {
strutilascii.c (https://gitlab.com/oyvholm/mc) C · 783 lines
119 static int
120 str_ascii_isspace (const char *text)
121 {
122 return g_ascii_isspace ((gchar) text[0]);
123 }
274 if ((int) length <= width)
275 {
289 /* add space before text */
290 if ((int) remain <= ident)
291 goto finally;
742 result.cprev_noncomb_char = str_ascii_cprev_noncomb_char;
743 result.char_isspace = str_ascii_isspace;
744 result.char_ispunct = str_ascii_ispunct;
lexer.c (https://bitbucket.org/hyades/compiler.git) C · 1210 lines
IndentingTransformerImpl.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 353 lines
✨ Summary
This Java code implements a custom XML parser that extends the standard SAX (Simple API for XML) parser. It adds features such as indentation, whitespace trimming, and handling of specific XML elements like CDATA sections and comments. The parser outputs white space to reflect the current indentation level, making the parsed XML more readable.
This Java code implements a custom XML parser that extends the standard SAX (Simple API for XML) parser. It adds features such as indentation, whitespace trimming, and handling of specific XML elements like CDATA sections and comments. The parser outputs white space to reflect the current indentation level, making the parsed XML more readable.
axis_label_rotated.php (https://github.com/Proudio-Interactive/phpUnderControl.git) PHP · 433 lines
21 * // Increase axis space
22 * $chart->xAxis->axisSpace = .2;
23 * </code>
98 $reducement = (int) ( $propertyValue - $propertyValue % 360 );
99 $this->properties['angle'] = (float) $propertyValue - $reducement;
154 $gridBoundings = null;
155 list( $xSpace, $ySpace ) = $this->getAxisSpace( $renderer, $boundings, $axis, $innerBoundings, $gridBoundings );
210 $axisSpaceFactor = abs(
211 ( $this->direction->x == 0 ? 0 :
217 $start = new ezcGraphCoordinate(
218 $start->x + max( 0., $axisSpaceFactor * $this->offset ) * ( $end->x - $start->x ),
219 $start->y + max( 0., $axisSpaceFactor * $this->offset ) * ( $end->y - $start->y )
token.c (https://bitbucket.org/becoggins/nmr_wash.git) C · 944 lines
FileTokenizer.cpp (https://bitbucket.org/pshriwise/moab.git) C++ · 445 lines
71 // If the current character is not a space, we've found a token.
72 if( !isspace( *nextToken ) ) break;
83 char* result = nextToken;
84 while( nextToken != bufferEnd && !isspace( static_cast< unsigned char >( *nextToken ) ) )
85 ++nextToken;
105 // terminating the token.
106 while( nextToken != bufferEnd && !isspace( *nextToken ) )
107 ++nextToken;
208 result = (int)i;
209 if( i != (long)result ) MB_SET_ERR_RET_VAL( "Numeric overflow at line " << line_number(), false );
401 // If the current character is not a space, the we've failed.
402 if( !isspace( *nextToken ) )
403 if( report_error ) MB_SET_ERR_RET_VAL( "Expected newline at line " << line_number(), false );
color.c (https://github.com/ab3416/linux-2.6.git) C · 324 lines
axis_label_rotated.php (https://github.com/proyectoalba/alba.git) PHP · 429 lines
22 * // Increase axis space
23 * $chart->xAxis->axisSpace = .2;
24 * </code>
98 $reducement = (int) ( $propertyValue - $propertyValue % 360 );
99 $this->properties['angle'] = (float) $propertyValue - $reducement;
148 $gridBoundings = new ezcGraphBoundings(
149 $boundings->x0 + $renderer->xAxisSpace,
150 $boundings->y0 + $renderer->yAxisSpace,
151 $boundings->x1 - $renderer->xAxisSpace,
152 $boundings->y1 - $renderer->yAxisSpace
173 $height = abs(
174 $renderer->yAxisSpace * $this->direction->x +
175 $renderer->xAxisSpace * $this->direction->y
axis.php (https://github.com/proyectoalba/alba.git) PHP · 438 lines
14 * The position of the null value.
15 * @property float $axisSpace
16 * Percent of the chart space used to display axis labels and
75 $this->properties['nullPosition'] = false;
76 $this->properties['axisSpace'] = .1;
77 $this->properties['majorGrid'] = false;
131 break;
132 case 'axisSpace':
133 if ( !is_numeric( $propertyValue ) ||
140 $this->properties['axisSpace'] = (float) $propertyValue;
141 break;
179 $this->properties['labelSize'] = (int) $propertyValue;
180 break;
lobject.c (https://github.com/Fleurer/lua_5.1.4_commentary.git) C · 214 lines
buffer.c (https://bitbucket.org/ultra_iter/vim-qt.git) C · 5722 lines
swigmain.cxx
(https://swig.svn.sourceforge.net/svnroot/swig)
C++ · 206 lines
✨ Summary
This C++ code is the main entry point for SWIG, a software development tool that generates wrappers for various programming languages. It collects command line options, registers built-in language modules, and instantiates a module for code generation. The program then starts parsing the input files and generating the corresponding wrappers.
This C++ code is the main entry point for SWIG, a software development tool that generates wrappers for various programming languages. It collects command line options, registers built-in language modules, and instantiates a module for code generation. The program then starts parsing the input files and generating the corresponding wrappers.