Searched refs:nbytes (Results 1 – 4 of 4) sorted by relevance
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 160 size_t nbytes = 0; in ReadFullyWithoutChecks() local 161 while (nbytes < ndata) { in ReadFullyWithoutChecks() 162 int res = TEMP_FAILURE_RETRY(read(read_fd_, bdata + nbytes, ndata - nbytes)); in ReadFullyWithoutChecks() 169 nbytes += res; in ReadFullyWithoutChecks() 201 size_t nbytes = 0; in ReadFully() local 202 while (nbytes < ndata) { in ReadFully() 214 IOResult res = ReadUpToMax(reinterpret_cast<uint8_t*>(data) + nbytes, in ReadFully() 215 ndata - nbytes, in ReadFully() 220 nbytes += read_len; in ReadFully() 265 size_t nbytes = 0; in WriteFullyWithoutChecks() local [all …]
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 102 JNIEXPORT jint JVM_Read(jint fd, char* buf, jint nbytes) { in JVM_Read() argument 103 return TEMP_FAILURE_RETRY(read(fd, buf, nbytes)); in JVM_Read() 107 JNIEXPORT jint JVM_Write(jint fd, char* buf, jint nbytes) { in JVM_Write() argument 108 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()
|