Lines Matching refs:if
17 if !mu.Incref() {
20 if mu.Decref() {
24 if !mu.RWLock(true) {
27 if mu.RWUnlock(true) {
31 if !mu.RWLock(false) {
34 if mu.RWUnlock(false) {
41 if !mu.IncrefAndClose() {
45 if mu.Incref() {
48 if mu.RWLock(true) {
51 if mu.RWLock(false) {
54 if mu.IncrefAndClose() {
65 if mu.RWLock(true) {
87 if mu.Decref() {
90 if !mu.RWUnlock(true) {
98 if recover() == nil {
126 if testing.Short() {
141 if !mu.Incref() {
145 if mu.Decref() {
150 if !mu.RWLock(true) {
155 if readState[0] != readState[1] {
161 if mu.RWUnlock(true) {
166 if !mu.RWLock(false) {
171 if writeState[0] != writeState[1] {
177 if mu.RWUnlock(false) {
189 if !mu.IncrefAndClose() {
192 if !mu.Decref() {