Lines Matching refs:buffer
164 char buffer[1024]; in fcopy() local
168 while ( 0 != (nBytes = fread( buffer, 1, sizeof(buffer), fpin )) ) in fcopy()
170 nBytesWritten += fwrite( buffer, 1, nBytes, fpout ); in fcopy()
343 char buffer[2048]; in SendHTTPRequest() local
346 sprintf( buffer, in SendHTTPRequest()
356 sprintf( buffer, in SendHTTPRequest()
367 printf( "%s", buffer ); in SendHTTPRequest()
370 if ( SOCKET_ERROR != send( s, buffer, strlen(buffer), 0 ) ) in SendHTTPRequest()
376 nBytes = fread( buffer, 1, sizeof(buffer), fp ); in SendHTTPRequest()
381 fwrite( buffer, 1, nBytes, stdout ); in SendHTTPRequest()
382 success = SOCKET_ERROR != send( s, buffer, nBytes, 0 ); in SendHTTPRequest()
391 memset( buffer, 0, sizeof(buffer) ); in SendHTTPRequest()
392 success = SOCKET_ERROR != recv( s, buffer, sizeof(buffer), 0 ); in SendHTTPRequest()
395 char szHTTPSignature[sizeof(buffer)] = ""; in SendHTTPRequest()
398 sscanf( buffer, "%s %d ", szHTTPSignature, &uHTTPReturnCode ); in SendHTTPRequest()
404 printf( "%s", buffer ); in SendHTTPRequest()
405 memset( buffer, 0, sizeof(buffer) ); in SendHTTPRequest()
406 } while ( 0 < recv( s, buffer, sizeof(buffer), 0 ) ); in SendHTTPRequest()
817 char buffer[256 + 1]; in read_from_file() local
820 while( 0 != ( nBytesRead = fread( buffer, 1, sizeof(buffer) - 1, fp ) ) ) in read_from_file()
822 buffer[nBytesRead] = 0; in read_from_file()
823 content += buffer; in read_from_file()
1040 char buffer[sizeof("true")];
1042 bAccessible = fgets( buffer, sizeof(buffer), fin ) && 0 == strcmp( buffer, "true" );