ret = (this->*Constructp)(filePath, openMode, createParentDirectories);
if(postBlockBegin(blockresult)) {
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
WcharToChar(temp_path,filePath.GetPointer());
WcharToChar(temp_mode,openMode.GetPointer());
PACK_RESOURCE(0, (unsigned long)this, FD_API_OPEN, size, temp_path);
FLUSH_LOCAL_BUF();
- postBlockEnd();
+ postBlockEnd();
}
return ret;
if(postBlockBegin(blockresult)) {
WcharToChar(temp_path,filePath.GetPointer());
WcharToChar(temp_mode,openMode.GetPointer());
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
PREPARE_LOCAL_BUF();
PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,
PACK_RESOURCE(0, (unsigned long)this, FD_API_OPEN, size, temp_path);
FLUSH_LOCAL_BUF();
- postBlockEnd();
+ postBlockEnd();
}
return ret;
if(postBlockBegin(blockresult)) {
WcharToChar(temp,filePath.GetPointer());
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
PREPARE_LOCAL_BUF();
PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,
PACK_RESOURCE(0, (unsigned long)this, FD_API_OPEN, size, temp);
FLUSH_LOCAL_BUF();
- postBlockEnd();
+ postBlockEnd();
}
return ret;
if(postBlockBegin(blockresult)) {
WcharToChar(temp,filePath.GetPointer());
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
PREPARE_LOCAL_BUF();
PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,
PACK_RESOURCE(0, (unsigned long)this, FD_API_OPEN, size, temp);
FLUSH_LOCAL_BUF();
- postBlockEnd();
+ postBlockEnd();
}
return ret;
if(postBlockBegin(blockresult)) {
WcharToChar(temp,this->GetName().GetPointer());
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
PREPARE_LOCAL_BUF();
PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,
PACK_RESOURCE(0, (unsigned long)this, FD_API_OTHER, size, temp);
FLUSH_LOCAL_BUF();
- postBlockEnd();
+ postBlockEnd();
}
return ret;
if(postBlockBegin(blockresult)) {
WcharToChar(temp,ret.GetPointer());
if (E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
+ size = attr.GetFileSize();
PREPARE_LOCAL_BUF();
PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,
if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, _sopt)) != 0) {
setProbePoint(&probeInfo);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
+ WcharToChar(temp, this->GetName().GetPointer());
+
+ PREPARE_LOCAL_BUF();
+ PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,
+ API_ID_result_File__Read_Tizen__Base__String__buffer_,
+ "x", (unsigned long)&buffer);
+ PACK_COMMON_END(0, 0, blockresult);
+ PACK_RESOURCE(0, (unsigned long)this, FD_API_READ_START, size, temp);
+ FLUSH_LOCAL_BUF();
+
preBlockEnd();
}
ret = (this->*Readp)(buffer);
if(postBlockBegin(blockresult)) {
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
- WcharToChar(temp,this->GetName().GetPointer());
+ setProbePoint(&probeInfo);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
+ WcharToChar(temp, this->GetName().GetPointer());
nRead = buffer.GetLength();
PREPARE_LOCAL_BUF();
PACK_RESOURCE(nRead, (unsigned long)this, FD_API_READ_END, size, temp);
FLUSH_LOCAL_BUF();
- postBlockEnd();
+ postBlockEnd();
}
return ret;
if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, _sopt)) != 0) {
setProbePoint(&probeInfo);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
+ WcharToChar(temp, this->GetName().GetPointer());
+
+ PREPARE_LOCAL_BUF();
+ PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,
+ API_ID_result_File__Read_Tizen__Base__ByteBuffer__buffer_,
+ "x", (unsigned long)&buffer);
+ PACK_COMMON_END(0, 0, blockresult);
+ PACK_RESOURCE(0, (unsigned long)this, FD_API_READ_START, size, temp);
+ FLUSH_LOCAL_BUF();
+
preBlockEnd();
}
ret = (this->*Readp)(buffer);
if(postBlockBegin(blockresult)) {
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
- WcharToChar(temp,this->GetName().GetPointer());
+ setProbePoint(&probeInfo);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
+ WcharToChar(temp, this->GetName().GetPointer());
buffer.GetInt(nRead);
PREPARE_LOCAL_BUF();
PACK_RESOURCE(nRead, (unsigned long)this, FD_API_READ_END, size, temp);
FLUSH_LOCAL_BUF();
- postBlockEnd();
+ postBlockEnd();
}
return ret;
if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, _sopt)) != 0) {
setProbePoint(&probeInfo);
nRead = Tell();
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
+ WcharToChar(temp, this->GetName().GetPointer());
+
+ PREPARE_LOCAL_BUF();
+ PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,
+ API_ID_int_File__Read_void__buffer__int_length_,
+ "xd", (unsigned long)buffer, length);
+ PACK_COMMON_END(0, 0, blockresult);
+ PACK_RESOURCE(0, (unsigned long)this, FD_API_READ_START, size, temp);
+ FLUSH_LOCAL_BUF();
+
preBlockEnd();
}
result res = GetLastResult();
if(postBlockBegin(blockresult)) {
- File::GetAttributes(this->GetName(),attr);
- WcharToChar(temp,this->GetName().GetPointer());
- size = attr.GetFileSize();
+ setProbePoint(&probeInfo);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
+ WcharToChar(temp, this->GetName().GetPointer());
nRead = Tell() - nRead;
PREPARE_LOCAL_BUF();
PACK_RESOURCE(nRead, (unsigned long)this, FD_API_READ_END, size, temp);
FLUSH_LOCAL_BUF();
- postBlockEnd();
+ postBlockEnd();
}
return ret;
sprintf(temp_pos, "%d", position);
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
- WcharToChar(temp,this->GetName().GetPointer());
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
+ WcharToChar(temp, this->GetName().GetPointer());
PREPARE_LOCAL_BUF();
PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,
result res = GetLastResult();
if(postBlockBegin(blockresult)) {
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
PREPARE_LOCAL_BUF();
ret = (this->*Truncatep)(length);
if(postBlockBegin(blockresult)) {
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
PREPARE_LOCAL_BUF();
if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, _sopt)) != 0) {
setProbePoint(&probeInfo);
nWritten = Tell();
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
+ WcharToChar(temp, this->GetName().GetPointer());
+
+ PREPARE_LOCAL_BUF();
+ PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,
+ API_ID_result_File__Write_const_void__buffer__int_length_,
+ "xd", (unsigned long)buffer, length);
+ PACK_COMMON_END(0, 0, blockresult);
+ PACK_RESOURCE(0, (unsigned long)this, FD_API_WRITE_START, size, temp);
+ FLUSH_LOCAL_BUF();
+
preBlockEnd();
}
ret = (this->*Writep)(buffer, length);
if(postBlockBegin(blockresult)) {
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
- WcharToChar(temp,this->GetName().GetPointer());
+ setProbePoint(&probeInfo);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
+ WcharToChar(temp, this->GetName().GetPointer());
nWritten = Tell() - nWritten;
PREPARE_LOCAL_BUF();
PACK_RESOURCE(nWritten, (unsigned long)this, FD_API_WRITE_END, size, temp);
FLUSH_LOCAL_BUF();
- postBlockEnd();
+ postBlockEnd();
}
return ret;
if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, _sopt)) != 0) {
setProbePoint(&probeInfo);
nWritten = Tell();
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
+ WcharToChar(temp,this->GetName().GetPointer());
+
+ PREPARE_LOCAL_BUF();
+ PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,
+ API_ID_result_File__Write_const_Tizen__Base__ByteBuffer__buffer_,
+ "x", (unsigned long)&buffer);
+ PACK_COMMON_END(0, 0, blockresult);
+ PACK_RESOURCE(0, (unsigned long)this, FD_API_WRITE_START, size, temp);
+ FLUSH_LOCAL_BUF();
+
preBlockEnd();
}
ret = (this->*Writep)(buffer);
if(postBlockBegin(blockresult)) {
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
+ setProbePoint(&probeInfo);
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
WcharToChar(temp,this->GetName().GetPointer());
nWritten = Tell() - nWritten;
PACK_RESOURCE(nWritten, (unsigned long)this, FD_API_WRITE_END, size, temp);
FLUSH_LOCAL_BUF();
- postBlockEnd();
+ postBlockEnd();
}
return ret;
if((blockresult = preBlockBegin(CALLER_ADDRESS, bfiltering, _sopt)) != 0) {
setProbePoint(&probeInfo);
nWritten = Tell();
+ WcharToChar(temp_buf, buffer.GetPointer());
+ if(E_SUCCESS == File::GetAttributes(this->GetName(), attr))
+ size = attr.GetFileSize();
+ WcharToChar(temp_path, this->GetName().GetPointer());
+
+ PREPARE_LOCAL_BUF();
+ PACK_COMMON_BEGIN(MSG_PROBE_RESOURCE,
+ API_ID_result_File__Write_const_Tizen__Base__String__buffer_,
+ "s", temp_buf);
+ PACK_COMMON_END(0, 0, blockresult);
+ PACK_RESOURCE(0, (unsigned long)this, FD_API_WRITE_START, size, temp_path);
+ FLUSH_LOCAL_BUF();
+
preBlockEnd();
}
ret = (this->*Writep)(buffer);
if(postBlockBegin(blockresult)) {
+ setProbePoint(&probeInfo);
WcharToChar(temp_buf,buffer.GetPointer());
WcharToChar(temp_path,this->GetName().GetPointer());
nWritten = Tell() - nWritten;
- if (ret == E_SUCCESS &&
- E_SUCCESS == File::GetAttributes(this->GetName(), attr))
- size = attr.GetFileSize();
+ if(E_SUCCESS == File::GetAttributes(this->GetName(),attr))
+ size = attr.GetFileSize();
nWritten = Tell() - nWritten;
PREPARE_LOCAL_BUF();
PACK_RESOURCE(nWritten, (unsigned long)this, FD_API_WRITE_END, size, temp_path);
FLUSH_LOCAL_BUF();
- postBlockEnd();
+ postBlockEnd();
}
return ret;
}