| 101 | } |
| 102 | |
| 103 | void DataWalker::walk_array ( char * pa, uint32_t stride, uint64_t count, TypeInfo * ti ) { |
| 104 | if ( !canVisitArrayData(ti,count) ) return; |
| 105 | char * pe = pa; |
| 106 | beforeArrayData(pa, stride, count, ti); |
| 107 | if ( cancel() ) return; |
| 108 | for ( uint64_t i=0, ic=count; i!=ic; ++i ) { |
| 109 | bool last = i==ic-1; |
| 110 | beforeArrayElement(pa, ti, pe, i, last); |
| 111 | if ( cancel() ) return; |
| 112 | walk(pe, ti); |
| 113 | if ( cancel() ) return; |
| 114 | afterArrayElement(pa, ti, pe, i, last); |
| 115 | if ( cancel() ) return; |
| 116 | pe += stride; |
| 117 | } |
| 118 | afterArrayData(pa, stride, count, ti); |
| 119 | } |
| 120 | |
| 121 | void DataWalker::walk_dim ( char * pa, TypeInfo * ti ) { |
| 122 | TypeInfo copyInfo = *ti; |
nothing calls this directly
no test coverage detected