Home | History | Annotate | Download | only in src

Lines Matching defs:bYte

29 Description: Reads a byte of data from the file handle
33 SyncML_DM_WBXMLReader::readByte(UINT8* byte) {
34 return this->fileHandle->read(byte, 1);
47 UINT8 bYte;
50 if (this->readByte(&bYte) != SYNCML_DM_SUCCESS
51 || bYte != SyncML_DM_WBXMLArchive::WBXML_VERSION) {
56 if (this->readByte(&bYte) != SYNCML_DM_SUCCESS
57 || bYte != SyncML_DM_WBXMLArchive::PUBLIC_ID) {
62 if (this->readByte(&bYte) != SYNCML_DM_SUCCESS
63 || bYte != SyncML_DM_WBXMLArchive::CHARSET) {
68 if (this->readByte(&bYte) != SYNCML_DM_SUCCESS
69 || bYte != 0) {
87 UINT8 bYte;
90 * Note! The first byte of the length not expected to have the continue bit set (in msb).
94 if ((ret = this->readByte(&bYte)) != SYNCML_DM_SUCCESS) {
97 *pLen = bYte & 0x7F;
98 while(bYte & 0x80) {
99 if ((ret = this->readByte(&bYte)) != SYNCML_DM_SUCCESS)
101 *pLen = ( (*pLen)<<7) |(bYte & 0x7F);
116 Description: Reads opaquely encoded data expected to immediately follow the OPAQUE_CODE byte in the
118 32 bit unsigned integer, encoded in multi-byte integer format, to precede the data.
160 Description: Reads opaquely encoded data expected to immediately follow the OPAQUE_CODE byte in the
162 32 bit unsigned integer, encoded in multi-byte integer format, to precede the data.
217 Returns: - The byte that caused the node to stop (END_TAG or NODE_START_TAG w/content bit)
230 UINT8 bYte;
237 /* While a byte is read correctly */
238 while((ret_stat = this->readByte(&bYte)) == SYNCML_DM_SUCCESS) {
240 /* Switch on that byte as an indicator of the data to follow
243 switch(bYte) {
246 *stopByte = bYte;
251 if((ret_stat = this->readESNFileName(node, &bYte)) != SYNCML_DM_SUCCESS)
256 if((ret_stat = this->readNodeName(node, &bYte)) != SYNCML_DM_SUCCESS)
263 if((ret_stat = this->skipTag(&bYte)) != SYNCML_DM_SUCCESS)
268 if((ret_stat = this->readAccess(node, &bYte)) != SYNCML_DM_SUCCESS)
273 if((ret_stat = this->readScope(node, &bYte)) != SYNCML_DM_SUCCESS)
278 if((ret_stat = this->readClassID(node, &bYte)) != SYNCML_DM_SUCCESS)
283 if((ret_stat = this->readFormat(node, &bYte)) != SYNCML_DM_SUCCESS)
288 if((ret_stat = this->readFormatOld(node, &bYte)) != SYNCML_DM_SUCCESS)
301 if((ret_stat = this->readMime(node, &bYte)) != SYNCML_DM_SUCCESS)
306 if((ret_stat = this->readData(node, &bYte)) != SYNCML_DM_SUCCESS)
311 if((ret_stat = this->readTitle(node, &bYte)) != SYNCML_DM_SUCCESS)
318 if((ret_stat = this->readVersion(node, &bYte)) != SYNCML_DM_SUCCESS)
323 if((ret_stat = this->readIntTStamp(node, &bYte)) != SYNCML_DM_SUCCESS)
330 if((ret_stat = this->readFlag(node, &bYte)) != SYNCML_DM_SUCCESS)
336 if((ret_stat = this->readOPiData(node, &bYte)) != SYNCML_DM_SUCCESS)
347 * or else an unexpected byte value was read (and we exited the switch via a break).
377 UINT8 bYte;
386 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS
387 || bYte != (SyncML_DM_WBXMLArchive::CMDTYPE_START_TAG | SyncML_DM_WBXMLArchive::TAG_CONTENT_MASK))
395 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS ||
396 bYte != SyncML_DM_WBXMLArchive::END_TAG)
400 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS
401 || bYte != (SyncML_DM_WBXMLArchive::URI_START_TAG | SyncML_DM_WBXMLArchive::TAG_CONTENT_MASK))
405 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS
406 || bYte != SyncML_DM_WBXMLArchive::OPAQUE_CODE)
414 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS
415 || bYte != SyncML_DM_WBXMLArchive::END_TAG)
422 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS
423 || bYte != (SyncML_DM_WBXMLArchive::NODE_START_TAG | SyncML_DM_WBXMLArchive::TAG_CONTENT_MASK))
442 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS
443 || bYte != (SyncML_DM_WBXMLArchive::DATA_START_TAG | SyncML_DM_WBXMLArchive::TAG_CONTENT_MASK))
452 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS
453 || bYte != (SyncML_DM_WBXMLArchive::NAME_START_TAG | SyncML_DM_WBXMLArchive::TAG_CONTENT_MASK))
461 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS
462 || bYte != (SyncML_DM_WBXMLArchive::TITLE_START_TAG | SyncML_DM_WBXMLArchive::TAG_CONTENT_MASK))
470 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS)
473 if(bYte == (SyncML_DM_WBXMLArchive::ESN_File_NAME_START_TAG | SyncML_DM_WBXMLArchive::TAG_CONTENT_MASK))
478 if(bYte != SyncML_DM_WBXMLArchive::END_TAG)
509 UINT8 bYte;
518 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS
519 || bYte != (SyncML_DM_WBXMLArchive::CMDTYPE_START_TAG | SyncML_DM_WBXMLArchive::TAG_CONTENT_MASK))
527 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS ||
528 bYte != SyncML_DM_WBXMLArchive::END_TAG)
532 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS
533 || bYte != (SyncML_DM_WBXMLArchive::TARGET_FILE_TAG | SyncML_DM_WBXMLArchive::TAG_CONTENT_MASK))
537 if((ret_code = this->readOpaqueTag(&bYte, targetFileName)) != SYNCML_DM_SUCCESS)
542 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS)
545 if(bYte == (SyncML_DM_WBXMLArchive::SOURCE_FILE_TAG | SyncML_DM_WBXMLArchive::TAG_CONTENT_MASK))
548 if((ret_code = this->readOpaqueTag(&bYte, sourceFileName)) != SYNCML_DM_SUCCESS)
552 if((ret_code = this->readByte(&bYte)) != SYNCML_DM_SUCCESS
553 || bYte != SyncML_DM_WBXMLArchive::END_TAG)