Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 25 of 271) sorted by relevance

1234567891011

/trunk/main/sal/workben/
H A Dtestfile.cxx74 printf("\nPress Return !\n"); in PressKey()
84 printf( "%s", aString.getStr() ); in printFileName()
337 printf( "FileType: Directory \n" ); in showFileType()
339 printf( "FileType: Volume \n" ); in showFileType()
341 printf( "FileType: Regular \n" ); in showFileType()
343 printf( "FileType: Unknown \n" ); in showFileType()
351 printf( "No Attributes \n" ); in showAttributes()
353 printf( "Attribute: ReadOnly \n" ); in showAttributes()
355 printf( "Attribute: Hidden \n" ); in showAttributes()
357 printf( "Attribute: Executable \n"); in showAttributes()
[all …]
H A Dtgetpwnam.cxx64 printf("starting thread 1 ...\n"); in workfunc1()
83 printf("starting thread 2 ...\n"); in workfunc2()
123 printf("Name: %s\n", pwd->pw_name); in main()
124 printf("Passwd: %s\n", pwd->pw_passwd); in main()
125 printf("Uid: %d\n", pwd->pw_uid); in main()
126 printf("Gid: %d\n", pwd->pw_gid); in main()
128 printf("Change: %s", ctime(&pwd->pw_change)); in main()
129 printf("Class: %s\n", pwd->pw_class); in main()
131 printf("Age: %s\n", pwd->pw_age); in main()
132 printf("Comment: %s\n", pwd->pw_comment); in main()
[all …]
H A Dt_digest.c184 printf("error calculating MD2 on '%s'\n",*P); in main()
185 printf("got %s instead of %s\n",p,*R); in main()
189 printf("test (MD2) %d ok\n",i); in main()
205 printf("error calculating MD5 on '%s'\n",*P); in main()
206 printf("got %s instead of %s\n",p,*R); in main()
210 printf("test (MD5) %d ok\n",i); in main()
226 printf("error calculating SHA-0 on '%s'\n",*P); in main()
227 printf("got %s instead of %s\n",p,*R); in main()
231 printf("test (SHA-0) %d ok\n",i); in main()
250 printf("error calculating SHA-0 on '%s'\n",p); in main()
[all …]
/trunk/main/registry/source/
H A Dregimpl.cxx74 printf("\""); in printString()
78 printf("\\%c", static_cast< char >(c)); in printString()
80 printf("%c", static_cast< char >(c)); in printString()
82 printf("\\u%04X", static_cast< unsigned int >(c)); in printString()
85 printf("\""); in printString()
93 printf("|"); in printFieldOrReferenceFlag()
96 printf("%s", name); in printFieldOrReferenceFlag()
103 printf("none"); in printFieldOrReferenceFlags()
136 printf("|"); in printFieldOrReferenceFlags()
138 printf("<invalid (0x%04X)>", static_cast< unsigned int >(flags)); in printFieldOrReferenceFlags()
[all …]
/trunk/main/sal/qa/osl/process/
H A Dosl_Thread.cxx95 printf("# %d %d nsecs\n", t1.Seconds, t1.Nanosec); in start()
106 printf("# %d %d nsecs\n", t2.Seconds, t2.Nanosec); in stop()
126 printf("# %d %d nsecs\n", m_nSeconds, m_nNanoSec ); in stop()
219 printf("Prio is High\n"); in outputPriority()
223 printf("Prio is above normal\n"); in outputPriority()
227 printf("Prio is normal\n"); in outputPriority()
231 printf("Prio is below normal\n"); in outputPriority()
235 printf("Prio is lowest\n"); in outputPriority()
239 printf("Prio is unknown\n"); in outputPriority()
280 printf("error: not terminated.\n"); in ~myThread()
[all …]
/trunk/main/sal/qa/osl/socket/
H A Dosl_StreamSocket.cxx93 printf("# AcceptorSocket bind address failed.\n" ) ; in run()
99 printf("# AcceptorSocket listen address failed.\n" ) ; in run()
109 printf("AcceptorThread: acceptConnection failed! \n"); in run()
126 printf("# error: Acceptor thread not terminated.\n" ); in ~AcceptorThread()
152 printf("# ServerSocketThread: AcceptorSocket bind address failed.\n" ) ; in run()
158 printf("# ServerSocketThread: AcceptorSocket listen address failed.\n" ) ; in run()
168 printf("ServerSocketThread: acceptConnection failed! \n"); in run()
193 printf("#init ServerSocketThread\n"); in ServerSocketThread()
201 printf("# error: ServerSocketThread has not terminated.\n" ); in ~ServerSocketThread()
237 printf("# ClientSocketThread: connect failed! \n"); in run()
[all …]
H A Dsockethelper.cxx77 printf("#%s #printUString_u# ", msg ); in printUString()
81 printf("%s\n", aString.getStr( ) ); in printUString()
124 printf("hostname is %s \n", hostname ); in getThisHostname()
147 printf("#Local IP Address: %s\n", inet_ntoa(**addrptr)); in getIPbyName()
201 printf("printBool " ); in printBool()
202 ( sal_True == bOk ) ? printf("YES!" ): printf("NO!"); in printBool()
203 printf("\n"); in printBool()
210 printf("ByteSequence is: " ); in printByteSequence_IP()
213 printf("%d ", 256 + bsByteSeq[i] ); in printByteSequence_IP()
215 printf("%d ", bsByteSeq[i] ); in printByteSequence_IP()
[all …]
/trunk/main/sdext/source/pdfimport/xpdfwrapper/
H A Dpdfioutdev_gpl.cxx150 printf( " JPEG %d", (int)o_rOutputBuf.size() ); in writeJpeg_()
152 printf("\n"); in writeJpeg_()
174 printf( " PBM %d", size + header_size ); in writePbm_()
176 printf("\n"); in writePbm_()
225 printf( " PPM %d", size ); in writePpm_()
227 printf("\n"); in writePpm_()
275 printf( " PNG %d", (int)o_rOutputBuf.size() ); in writePng_()
277 printf("\n"); in writePng_()
292 printf( " PNG %d", (int)o_rOutputBuf.size() ); in writePng_()
294 printf("\n"); in writePng_()
[all …]
/trunk/main/tools/workben/
H A Durltest.cxx95 printf(" BAD BASE %s\n", in testRelToAbs()
107 printf(" BAD GetNewAbsURL %s -> %s (%s)\n", pTest[i].m_pRel, in testRelToAbs()
120 printf(" BAD GetAbsURL %s -> %s (%s)\n", pTest[i].m_pRel, in testRelToAbs()
125 printf("\n"); in testRelToAbs()
172 printf(" NO PATH\n"); in testSetFSys()
182 printf(" ok %s %s -> %s\n", in testSetFSys()
190 printf(" BAD %s %s -> %s, %s (%s)\n", in testSetFSys()
199 printf("\n"); in testSetFSys()
233 printf( in abbreviate()
236 printf(" "); in abbreviate()
[all …]
H A Dsolar.c66 #define printTypeSize(Type,Name) printf( "sizeof(%s)\t= %d\n", Name, \
70 #define printTypeSign(Type,Name) printf( "%s\t= %s %s\n", Name, \
114 printf( "Pascal calling convention\n" ); in GetStackAlignment()
140 printf( "value = %d", p );
143 printf( " %d", value );
145 printf( "\n" );
291 printf( "can read address %p\n", p ); in CheckCharAccess()
293 printf( "can not read address %p\n", p ); in CheckCharAccess()
296 printf( "can write address %p\n", p ); in CheckCharAccess()
298 printf( "can not write address %p\n", p ); in CheckCharAccess()
[all …]
/trunk/main/sal/qa/rtl/cipher/
H A Drtl_cipher.cxx177 printf(" init Key: %s\n", createHex(pKeyBuffer, nKeyLen).getStr()); in test_encode()
178 printf(" init Arg: %s\n", createHex(pArgBuffer, nArgLen).getStr()); in test_encode()
195 printf(" Key: %s\n", createHex(pKeyBuffer, nKeyLen).getStr()); in test_encode()
196 printf(" Arg: %s\n", createHex(pArgBuffer, nArgLen).getStr()); in test_encode()
197 printf(" Plain: %s\n", createHex(pPlainTextBuffer, nPlainTextLen).getStr()); in test_encode()
198 printf( "Cipher Buf: %s\n", createHex(pCipherBuffer, nCipherLen).getStr()); in test_encode()
243 printf(" init Key: %s\n", createHex(pKeyBuffer, nKeyLen).getStr()); in test_encode_and_decode()
244 printf(" init Arg: %s\n", createHex(pArgBuffer, nArgLen).getStr()); in test_encode_and_decode()
261 printf(" Key: %s\n", createHex(pKeyBuffer, nKeyLen).getStr()); in test_encode_and_decode()
262 printf(" Arg: %s\n", createHex(pArgBuffer, nArgLen).getStr()); in test_encode_and_decode()
[all …]
/trunk/main/sal/qa/osl/security/
H A Dosl_Security.cxx45 ( sal_True == bOk ) ? printf("TRUE!\n" ): printf("FALSE!\n" ); in printBool()
56 printf("%s\n", aString.getStr( ) ); in printUString()
297 printf("#Initializing ...\n" ); in main()
298 printf("#\n#logonUser function need root/Administrator account to test.\n" ); in main()
299 printf("#You can test by login with root/Administrator, and excute:\n" ); in main()
300 printf("#testshl2 -forward \"username password\" ../../../wntmsci9/bin/Security.dll\n" ); in main()
301 printf("# where username and password are forwarded account info.\n" ); in main()
302 printf("#if no text forwarded, this function will be skipped.\n" ); in main()
529 printf("#\n#Retrieved system information is below:\n"); in main()
531 printf("Computer Name: "); in main()
[all …]
/trunk/main/sal/qa/osl/pipe/
H A Dosl_Pipe.cxx80 printf("#printBool# " ); in printBool()
81 ( sal_True == bOk ) ? printf("YES!\n" ): printf("NO!\n" ); in printBool()
90 printf("#printUString_u# " ); in printUString()
92 printf("%s\n", aString.getStr( ) ); in printUString()
100 printf("#printPipeError# " ); in printPipeError()
103 printf("Success!\n" ); in printPipeError()
106 printf("The returned error is: Not found!\n" ); in printPipeError()
109 printf("The returned error is: Already exist!\n" ); in printPipeError()
112 printf("The returned error is: No protocol!\n" ); in printPipeError()
115 printf("The returned error is: Network reset!\n" ); in printPipeError()
[all …]
/trunk/main/stoc/test/
H A Dtestconv.cxx61 printf( "(%s)", aStr.getStr() ); in printValue()
66 printf( "void" ); in printValue()
73 printf( "%s", (*(sal_Bool *)rVal.getValue() ? "true" : "false") ); in printValue()
80 printf( ar ); in printValue()
84 printf( "%x", (int)*(sal_Int8 *)rVal.getValue() ); in printValue()
87 printf( "%x", *(sal_Int16 *)rVal.getValue() ); in printValue()
90 printf( "%x", *(sal_uInt16 *)rVal.getValue() ); in printValue()
93 printf( "%lx", static_cast<long>(*(sal_Int32 *)rVal.getValue()) ); in printValue()
96 printf( "%lx", static_cast<unsigned long>(*(sal_uInt32 *)rVal.getValue()) ); in printValue()
99 printf( "%lx", (long)*(sal_Int64 *)rVal.getValue() ); in printValue()
[all …]
/trunk/main/sal/test/unloading/
H A DunloadTest.cxx151 if( ret1) printf( "\n Test 1 successful \n"); in main()
152 else printf("\n !!!!!! Test 1 failed\n"); in main()
154 if( ret2) printf( "\n Test 2 successful \n"); in main()
155 else printf("\n !!!!!! Test 2 failed\n"); in main()
157 if( ret3) printf( "\n Test 3 successful \n"); in main()
158 else printf("\n !!!!!! Test 3 failed\n"); in main()
160 if( ret4) printf( "\n Test 4 successful \n"); in main()
161 else printf("\n !!!!!! Test 4 failed\n"); in main()
163 if( ret5) printf( "\n Test 5 successful \n"); in main()
164 else printf("\n !!!!!! Test 5 failed\n"); in main()
[all …]
/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/
H A DSchemaReader.java55 System.err.printf("usage: SchemaParser <driver-file>\n"); in main()
56 System.err.printf(" driver file can contain these lines:\n"); in main()
57 System.err.printf("# Comments\n"); in main()
58 System.err.printf(" are ignored\n"); in main()
59 System.err.printf("schema <mark> <file-name>\n"); in main()
60 System.err.printf(" specifies a top-level schema file to read\n"); in main()
61 System.err.printf("output-schema <file-name>\n"); in main()
62 System.err.printf(" write schema information to file\n"); in main()
63 System.err.printf("output-optimized-schema <file-name>\n"); in main()
64 System.err.printf(" write information about optimized schema to file\n"); in main()
[all …]
/trunk/main/odk/examples/cpp/remoteclient/
H A Dremoteclient.cxx85 printf( "got inputstream and outputstream from remote process\n" ); in testPipe()
95 printf( "error : Couldn't read the expected number of bytes\n" ); in testPipe()
103 printf( "error : The array doesn't contain the expected values\n" ); in testPipe()
110 printf( "error : Got an unexpected number of bytes\n" ); in testPipe()
118 printf( "error : The array doesn't contain the expected values\n" ); in testPipe()
122 printf( "pipe test worked perfect\n" ); in testPipe()
126 printf( "Couldn't get inputstream and outputstream\n" ); in testPipe()
133 printf( "Connecting ....\n" ); in run()
147 printf( "got the remote initial object\n" ); in run()
152 printf( "error : didn't get the initial object\n" ); in run()
[all …]
/trunk/main/sal/qa/testHelperFunctions/
H A DtestHelperFunctions.cxx45 printf("t_abs64(%ld)\n", _nValue); in t_abs64()
60 printf("-"); in printf64()
67 printf("0x%.8x ", n32); in printf64()
69 printf("%.8x (64bit)", n32); in printf64()
74 printf("0x%.8x (32bit) ", n32); in printf64()
76 printf("\n"); in printf64()
90 printf("n32 should be -2^31 is: %d\n", n32); in TEST_F()
100 printf("Value of n is "); in TEST_F()
109 printf("Value of n is "); in TEST_F()
117 printf("Value of n is "); in TEST_F()
[all …]
/trunk/main/jvmaccess/workbench/javainfo/
H A Djavainfotest.cxx72 printf("Errors occurred\n"); in main()
78 printf("\ntest JavaInfo::JavaInfo(const OUString& usJavaHome\n" \ in test_constructor1()
96 printf("\ntest JavaInfo::JavaInfo(const OUString& usVersion, int requirements)\n" \ in test_constructor2()
187 printf("ok\n"); in test_constructor2()
189 printf("failed\n"); in test_constructor2()
196 printf("\ntest JavaInfo::createAllInfo\n" \ in test_createAllInfo()
208 printf("\ntest JavaInfo::compareVersions \n" \ in test_compareVersions()
285 printf("failed\n"); in test_compareVersions()
287 printf("ok\n"); in test_compareVersions()
294 printf("\ntest JavaInfo::createBestInfo\n" \ in test_createBestInfo()
[all …]
/trunk/main/store/workben/
H A Dt_store.cxx191 printf ("Visit(%d,%d): %s [0x%08x] %d [Bytes]\n", in visit()
297 printf ("Error: can't open file: %s\n", argv[i]); in main()
306 printf ("Usage:\tt_store " in main()
310 printf ("\nOptions:\n"); in main()
311 printf ("-c\tcreate\n"); in main()
312 printf ("-t\ttruncate\n"); in main()
313 printf ("-r\tread\n"); in main()
314 printf ("-w\twrite\n"); in main()
315 printf ("-i\titerate\n"); in main()
316 printf ("-d\tdump\n"); in main()
[all …]
/trunk/main/extensions/test/sax/
H A Dtestsax.cxx370 printf( "Error !\n" ); in error()
375 printf( "Fatal Error !\n" ); in fatalError()
379 printf( "Warning !\n" ); in warning()
393 printf( "document started\n" ); in startDocument()
399 printf( "document finished\n" ); in endDocument()
400 printf( "(ElementCount %d),(AttributeCount %d),(WhitespaceCount %d),(CharCount %d)\n", in endDocument()
410 printf( "%s(%d):" , USTRING_TO_PCHAR( m_rLocator->getSystemId() ) , in startElement()
416 printf( " " ); in startElement()
418 printf( "<%s> " , USTRING_TO_PCHAR( aName ) ); in startElement()
421 printf( "(%s,%s,'%s')" , USTRING_TO_PCHAR( xAttribs->getNameByIndex( i ) ) , in startElement()
[all …]
/trunk/main/extensions/workben/
H A Dtestcomponent.cxx64 printf( "usage : testcomponent service dll [additional dlls]\n" ); in main()
95 printf( "%s\n" , OWStringToOString( e.getName() , CHARSET_SYSTEM ).getStr() ); in main()
115 printf( "Couldn't reach dll %s\n" , szBuf ); in main()
116 printf( "%s\n" , OWStringToOString( e.getName() , CHARSET_SYSTEM ).getStr() ); in main()
135 printf( "Couldn't reach dll %s\n" , szBuf ); in main()
136 printf( "%s\n" , OWStringToOString( e.getName() , CHARSET_SYSTEM ).getStr() ); in main()
149 printf( "Couldn't instantiate test service \n" ); in main()
165 printf( "Couldn't instantiate service !\n" ); in main()
174 printf( "testcomponent : uncaught exception %s\n" , in main()
179 printf( "testcomponent : uncaught unknown exception\n" ); in main()
[all …]
/trunk/main/i18npool/source/search/
H A Dlevdis.cxx338 printf(" nRepS: %d ", nRepS ); in WLD()
349 printf(" nRepSdiff: %d ", nRepS ); in WLD()
571 printf(" | "); in ShowMatrix()
574 printf( " %c ", cpPattern[c] ); in ShowMatrix()
575 printf("\n---+---"); in ShowMatrix()
577 printf( "---" ); in ShowMatrix()
581 printf( "\n %c |", ( r==0 ? ' ' : cString[r-1] ) ); in ShowMatrix()
583 printf( "%2d ", npMatrix[r][c] ); in ShowMatrix()
585 printf("\n\n"); in ShowMatrix()
595 printf(" \n"); in ShowTest()
[all …]
/trunk/main/sax/test/sax/
H A Dtestsax.cxx297 printf( "Error !\n" ); in error()
305 printf( "Fatal Error !\n" ); in fatalError()
309 printf( "Warning !\n" ); in warning()
323 printf( "document started\n" ); in startDocument()
329 printf( "document finished\n" ); in endDocument()
330 printf( "(ElementCount %d),(AttributeCount %d),(WhitespaceCount %d),(CharCount %d)\n", in endDocument()
343 printf( "%s(%d):" , o.getStr() , m_rLocator->getLineNumber() ); in startElement()
349 printf( " " ); in startElement()
352 printf( "<%s> " , aName.getStr() ); in startElement()
359 printf( "(%s,%s,'%s')" , o1.getStr(), o2.getStr(), o3.getStr() ); in startElement()
[all …]
/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/
H A DParserTablesGenerator.java102 System.out.printf("wrote parse tables to %s in %fs\n", in Generate()
171 aOut.printf("# namespaces\n"); in WriteNamespaceList()
174 aOut.printf("namespace %-8s %2d %s\n", in WriteNamespaceList()
186 aOut.printf("\n# start and end states\n"); in WriteGlobalStartEndStates()
190 aOut.printf("start-state %4d %s\n", in WriteGlobalStartEndStates()
194 aOut.printf("end-state %4d %s\n", in WriteGlobalStartEndStates()
204 aOut.printf("\n# %d names\n", maNameToIdMap.size()); in WriteNameList()
207 aOut.printf("name %4d %s\n", in WriteNameList()
212 aOut.printf("\n# %s states\n", maTypeNameToIdMap.size()); in WriteNameList()
215 aOut.printf("state-name %4d %s\n", in WriteNameList()
[all …]

1234567891011