Lines Matching refs:i
39 for(sal_uInt16 i(0); i < 32; i++) in IsEmpty() local
41 if(aData[i] != 0) in IsEmpty()
50 for(sal_uInt16 i(0); i < 32; i++) in IsFull() local
52 if(aData[i] != 0xFF) in IsFull()
63 for(sal_uInt16 i(0); i < 32; i++) in GetSetCount() local
65 sal_uInt8 a(aData[i]); in GetSetCount()
86 sal_uInt16 i(0), j(0); in GetSetBit() local
89 while(j < nNum && i < 256) in GetSetBit()
91 if(IsSet(sal_uInt8(i))) in GetSetBit()
93 i++; in GetSetBit()
97 nRet = i - 1; in GetSetBit()
110 sal_uInt16 i(0), j(0); in GetClearBit() local
113 while(j < nNum && i < 256) in GetClearBit()
115 if(!IsSet(sal_uInt8(i))) in GetClearBit()
117 i++; in GetClearBit()
121 nRet = i - 1; in GetClearBit()
128 for(sal_uInt16 i(0); i < 32; i++) in operator &=() local
130 aData[i] &= r2ndSet.aData[i]; in operator &=()
136 for(sal_uInt16 i(0); i < 32; i++) in operator |=() local
138 aData[i] |= r2ndSet.aData[i]; in operator |=()
277 sal_uInt16 i; in operator =() local
279 for (i=0; i<nAnz; i++) { in operator =()
280 aLayer.Insert(new SdrLayer(*rSrcLayerAdmin.GetLayer(i)),CONTAINER_APPEND); in operator =()
292 sal_uInt16 i=0; in operator ==() local
293 while (bOk && i<nAnz) { in operator ==()
294 bOk=*GetLayer(i)==*rCmpLayerAdmin.GetLayer(i); in operator ==()
295 i++; in operator ==()
305 sal_uInt16 i; in SetModel() local
306 for (i=0; i<nAnz; i++) { in SetModel()
307 GetLayer(i)->SetModel(pNewModel); in SetModel()
384 sal_uInt16 i(0); in GetLayer() local
387 while(i < GetLayerCount() && !pLay) in GetLayer()
389 if(rName.Equals(GetLayer(i)->GetName())) in GetLayer()
390 pLay = GetLayer(i); in GetLayer()
392 i++; in GetLayer()
413 sal_uInt16 i=0; in GetLayerPerID() local
415 while (i<GetLayerCount() && pLay==NULL) { in GetLayerPerID()
416 if (nID==GetLayer(i)->GetID()) pLay=GetLayer(i); in GetLayerPerID()
417 else i++; in GetLayerPerID()
435 SdrLayerID i; in GetUniqueLayerID() local
438 i=254; in GetUniqueLayerID()
439 while (i && aSet.IsSet(sal_uInt8(i))) in GetUniqueLayerID()
440 --i; in GetUniqueLayerID()
441 if (i == 0) in GetUniqueLayerID()
442 i=254; in GetUniqueLayerID()
446 i=0; in GetUniqueLayerID()
447 while (i<=254 && aSet.IsSet(sal_uInt8(i))) in GetUniqueLayerID()
448 i++; in GetUniqueLayerID()
449 if (i>254) in GetUniqueLayerID()
450 i=0; in GetUniqueLayerID()
452 return i; in GetUniqueLayerID()