Searched refs:nbytes (Results 1 – 4 of 4) sorted by relevance
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 158 size_t nbytes = 0; in ReadFullyWithoutChecks() local 159 while (nbytes < ndata) { in ReadFullyWithoutChecks() 160 int res = TEMP_FAILURE_RETRY(read(read_fd_, bdata + nbytes, ndata - nbytes)); in ReadFullyWithoutChecks() 167 nbytes += res; in ReadFullyWithoutChecks() 199 size_t nbytes = 0; in ReadFully() local 200 while (nbytes < ndata) { in ReadFully() 212 IOResult res = ReadUpToMax(reinterpret_cast<uint8_t*>(data) + nbytes, in ReadFully() 213 ndata - nbytes, in ReadFully() 218 nbytes += read_len; in ReadFully() 263 size_t nbytes = 0; in WriteFullyWithoutChecks() local [all …]
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 101 JNIEXPORT jint JVM_Read(jint fd, char* buf, jint nbytes) { in JVM_Read() argument 102 return TEMP_FAILURE_RETRY(read(fd, buf, nbytes)); in JVM_Read() 106 JNIEXPORT jint JVM_Write(jint fd, char* buf, jint nbytes) { in JVM_Write() argument 107 return TEMP_FAILURE_RETRY(write(fd, buf, nbytes)); in JVM_Write()
|
/art/tools/dmtracedump/ |
D | tracedump.cc | 254 int32_t nbytes = 0; in htmlEscape() local 257 nbytes += 4; in htmlEscape() 258 if (nbytes >= len) break; in htmlEscape() 264 nbytes += 4; in htmlEscape() 265 if (nbytes >= len) break; in htmlEscape() 271 nbytes += 5; in htmlEscape() 272 if (nbytes >= len) break; in htmlEscape() 279 nbytes += 1; in htmlEscape() 280 if (nbytes >= len) break; in htmlEscape() 285 if (nbytes >= len) { in htmlEscape()
|
/art/openjdkjvmti/ |
D | ti_stack.cc | 984 auto nbytes = sizeof(jvmtiMonitorStackDepthInfo) * mons.size(); in GetOwnedMonitorStackDepthInfo() local 985 err = env->Allocate(nbytes, reinterpret_cast<unsigned char**>(info_ptr)); in GetOwnedMonitorStackDepthInfo() 1018 auto nbytes = sizeof(jobject) * mons.size(); in GetOwnedMonitorInfo() local 1019 err = env->Allocate(nbytes, reinterpret_cast<unsigned char**>(owned_monitors_ptr)); in GetOwnedMonitorInfo()
|