246: char *name = (char *)malloc( length );
sprintf( name, "%s - %s::%s()", _programName, suiteName, testName );
XSetStandardProperties( _display, _window, name, 0, 0, 0, 0, 0 );
294: char str[sizeof("1000000000 of ") + sizeof(_strTotalTests) + sizeof(" (100%)")];
sprintf( str, "%u of %s (%u%%)", _testsDone, _strTotalTests, (_testsDone * 100) / _numTotalTests );
unsigned len = strlen( str );
209: /* issue TYPE command on control connection */
sprintf(cmd, "TYPE %s\r\n", aType==BINARY ? "I" : "A");
ERR_CHECK(IssueCmd(cmd, resp, kRespBufSize, mCntlSock));
213: /* issue SIZE command on control connection */
sprintf(cmd, "SIZE %s\r\n", aSrvPath);
err = IssueCmd(cmd, resp, kRespBufSize, mCntlSock); /* non-fatal */
169: {
sprintf (buffer, "*%s%s\n", _name, resources[loop++]);
assert (strlen (buffer) < bufSize);
594: // prepare http request str
sprintf(buf, "GET %s HTTP/1.0\r\n\r\n", argv[3]);
bufSize = strlen(buf) + 1; // add 1 for NULL termination
134: memset(proxyURL, 0, kProxySrvrLen);
sprintf(proxyURL, "http://%s:%s", argv[2], argv[3]);
204: (void)sprintf(filename, "%ssg%04p.dat", baseName, this);
230: char tmp[300];
sprintf( tmp, "%s (0-50):", _( "Map level" ) );
newMapWin->createLabel( startx, 20, tmp );
levelText = newMapWin->createTextField( 150, 10, 20 );
sprintf( tmp, "%s (0-10):", _( "Map depth" ) );
newMapWin->createLabel( startx, 40, tmp );
43: char szBuffer[512];
sprintf(szBuffer, "%s %lx\n", str, x);
OutputDebugString(szBuffer);
45: if (file == NULL) {
sprintf(errorMessage, "Could not open the font map file: %s.", fileName);
fGUISupport->postErrorMessage(errorMessage, "Font Map Error");
76: scriptStatus == U_USING_FALLBACK_WARNING || scriptStatus == U_USING_DEFAULT_WARNING) {
sprintf(errorMessage, "The script name %s is invalid.", line);
fGUISupport->postErrorMessage(errorMessage, "Font Map Error");
89: #define startRequest sprintf(printBuf, "(")
#define closeRequest sprintf(printBuf, "%s)", printBuf)
#define printRequest(token, req) \
94: #define startResponse sprintf(printBuf, "%s {", printBuf)
#define closeResponse sprintf(printBuf, "%s}", printBuf)
#define printResponse LOGD("%s", printBuf)
Google Home - Google Code - Discuss - Terms of Service - Help - Submit Your Code
©2009 Google - Privacy