(c2, d2)
| 13398 | return d2 === null ? (this.ea && G("null is not a valid " + this.name), 0) : (d2.M || G('Cannot pass "' + et2(d2) + '" as a ' + this.name), d2.M.O || G("Cannot pass deleted object as a pointer of type " + this.name), ee(d2.M.O, d2.M.P.N, this.N)); |
| 13399 | } |
| 13400 | function ot(c2, d2) { |
| 13401 | if (d2 === null) { |
| 13402 | if (this.ea && G("null is not a valid " + this.name), this.da) { |
| 13403 | var g2 = this.fa(); |
| 13404 | return c2 !== null && c2.push(this.W, g2), g2; |
| 13405 | } |
| 13406 | return 0; |
| 13407 | } |
| 13408 | if (d2.M || G('Cannot pass "' + et2(d2) + '" as a ' + this.name), d2.M.O || G("Cannot pass deleted object as a pointer of type " + this.name), !this.ca && d2.M.P.ca && G("Cannot convert argument of type " + (d2.M.U ? d2.M.U.name : d2.M.P.name) + " to parameter type " + this.name), g2 = ee(d2.M.O, d2.M.P.N, this.N), this.da) |
| 13409 | switch (d2.M.T === void 0 && G("Passing raw pointer to smart pointer is illegal"), this.Ba) { |
| 13410 | case 0: |
| 13411 | d2.M.U === this ? g2 = d2.M.T : G("Cannot convert argument of type " + (d2.M.U ? d2.M.U.name : d2.M.P.name) + " to parameter type " + this.name); |
| 13412 | break; |
| 13413 | case 1: |
| 13414 | g2 = d2.M.T; |
| 13415 | break; |
| 13416 | case 2: |
| 13417 | if (d2.M.U === this) |
| 13418 | g2 = d2.M.T; |
| 13419 | else { |
| 13420 | var v2 = d2.clone(); |
| 13421 | g2 = this.xa(g2, De(function() { |
| 13422 | v2.delete(); |
| 13423 | })), c2 !== null && c2.push(this.W, g2); |
| 13424 | } |
| 13425 | break; |
| 13426 | default: |
| 13427 | G("Unsupporting sharing policy"); |
| 13428 | } |
| 13429 | return g2; |
| 13430 | } |
| 13431 | function Q(c2, d2) { |
| 13432 | return d2 === null ? (this.ea && G("null is not a valid " + this.name), 0) : (d2.M || G('Cannot pass "' + et2(d2) + '" as a ' + this.name), d2.M.O || G("Cannot pass deleted object as a pointer of type " + this.name), d2.M.P.ca && G("Cannot convert argument of type " + d2.M.P.name + " to parameter type " + this.name), ee(d2.M.O, d2.M.P.N, this.N)); |
| 13433 | } |
no test coverage detected