Home
last modified time | relevance | path

Searched refs:l_onoff (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/android/system/
DStructLinger.java30 public final int l_onoff; field in StructLinger
37 public StructLinger(int l_onoff, int l_linger) { in StructLinger() argument
38 this.l_onoff = l_onoff; in StructLinger()
44 return l_onoff != 0; in isOn()
/libcore/ojluni/src/main/native/
DNet.c492 return linger.l_onoff ? (jint)linger.l_linger : (jint)-1; in Java_sun_nio_ch_Net_getIntOption0()
525 linger.l_onoff = 1; in Java_sun_nio_ch_Net_setIntOption0()
528 linger.l_onoff = 0; in Java_sun_nio_ch_Net_setIntOption0()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp522 return env->NewObject(JniConstants::GetStructLingerClass(env), ctor, l.l_onoff, l.l_linger); in makeStructLinger()
2345 value.l_onoff = env->GetIntField(javaLinger, lOnoffFid); in Linux_setsockoptLinger()