Home
last modified time | relevance | path

Searched refs:itemlen (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/pictures/
H A DJpegParse.cpp170 unsigned short itemlen = 0; in ExtractInfo() local
171 bytesRead = infile.Read(&itemlen, sizeof(itemlen)); in ExtractInfo()
172 itemlen = CExifParse::Get16(&itemlen); in ExtractInfo()
174 if ((bytesRead != sizeof(itemlen)) || (itemlen < sizeof(itemlen))) in ExtractInfo()
191 GetSection(infile, itemlen); in ExtractInfo()
215 GetSection(infile, itemlen); in ExtractInfo()
216 if ((m_SectionBuffer != NULL) && (itemlen >= 7)) in ExtractInfo()
225 GetSection(infile, itemlen); in ExtractInfo()
237 GetSection(infile, itemlen); in ExtractInfo()
241 exif.Process(m_SectionBuffer, itemlen, &m_ExifInfo); in ExtractInfo()
[all …]
/dports/security/ncrack/ncrack-0.7/
H A DNcrackOutputTable.cc176 bool copy, const char *item, int itemlen) { in addItem() argument
180 addItem(row, column, copy, item, itemlen); in addItem()
191 int itemlen) { in addItem() argument
197 if (itemlen < 0) in addItem()
198 itemlen = strlen(item); in addItem()
200 if (itemlen == 0) in addItem()
207 cell->strlength = itemlen; in addItem()
211 memcpy(cell->str, item, itemlen); in addItem()
212 cell->str[itemlen] = '\0'; in addItem()
218 if (maxColLen[column] < itemlen) in addItem()
[all …]
/dports/security/nmap/nmap-7.91/
H A DNmapOutputTable.cc111 addItem(row, column, copy, item, itemlen); in addItem()
122 int itemlen) { in addItem() argument
128 if (itemlen < 0) in addItem()
129 itemlen = strlen(item); in addItem()
131 if (itemlen == 0) in addItem()
138 cell->strlength = itemlen; in addItem()
141 cell->str = (char *) safe_malloc(itemlen + 1); in addItem()
142 memcpy(cell->str, item, itemlen); in addItem()
143 cell->str[itemlen] = '\0'; in addItem()
149 if (maxColLen[column] < itemlen) in addItem()
[all …]
/dports/net/gerbera/gerbera-1.9.2/src/util/
H A Djpeg_resolution.cc94 int itemlen; in get_jpeg_resolution() local
117 itemlen = (lh << 8) | ll; in get_jpeg_resolution()
119 if (itemlen < 2) in get_jpeg_resolution()
123 if (itemlen > ITEM_BUF_SIZE) { in get_jpeg_resolution()
124 skip = itemlen - ITEM_BUF_SIZE; in get_jpeg_resolution()
125 itemlen = ITEM_BUF_SIZE; in get_jpeg_resolution()
132 got = ioh->read(reinterpret_cast<char*>(Data + 2), itemlen - 2); in get_jpeg_resolution()
133 if (got != itemlen - 2) in get_jpeg_resolution()
/dports/devel/jrtplib/JRTPLIB-3.11.2/src/
H A Drtpinternalsourcedata.cpp189 int RTPInternalSourceData::ProcessSDESItem(uint8_t sdesid,const uint8_t *data,size_t itemlen,const … in ProcessSDESItem() argument
207 SDESinf.SetCNAME(data,itemlen); in ProcessSDESItem()
212 if (curlen != itemlen) in ProcessSDESItem()
216 if (memcmp(data,oldcname,itemlen) != 0) in ProcessSDESItem()
228 return SDESinf.SetName(data,itemlen); in ProcessSDESItem()
237 return SDESinf.SetEMail(data,itemlen); in ProcessSDESItem()
241 return SDESinf.SetPhone(data,itemlen); in ProcessSDESItem()
243 return SDESinf.SetLocation(data,itemlen); in ProcessSDESItem()
250 return SDESinf.SetTool(data,itemlen); in ProcessSDESItem()
255 return SDESinf.SetNote(data,itemlen); in ProcessSDESItem()
H A Drtcpsdespacket.cpp122 size_t itemlen = (size_t)(sdeshdr->length); in RTCPSDESPacket() local
123 if (itemlen > len) in RTCPSDESPacket()
126 len -= itemlen; in RTCPSDESPacket()
127 chunkoffset += itemlen; in RTCPSDESPacket()
/dports/devel/bullet/bullet3-3.21/Extras/Serialize/BulletXmlWorldImporter/
H A Dstring_split.cpp45 size_t itemlen) in str_array_append() argument
53 copy = (char *)malloc(itemlen + 1); in str_array_append()
56 memcpy(copy, item, itemlen); in str_array_append()
57 copy[itemlen] = '\0'; in str_array_append()
97 size_t itemlen; in str_split() local
120 itemlen = 0; in str_split()
125 itemlen = next - item; in str_split()
127 char **newstr = str_array_append(array, nitems, item, itemlen); in str_split()
/dports/devel/py-bullet3/bullet3-3.21/Extras/Serialize/BulletXmlWorldImporter/
H A Dstring_split.cpp45 size_t itemlen) in str_array_append() argument
53 copy = (char *)malloc(itemlen + 1); in str_array_append()
56 memcpy(copy, item, itemlen); in str_array_append()
57 copy[itemlen] = '\0'; in str_array_append()
97 size_t itemlen; in str_split() local
120 itemlen = 0; in str_split()
125 itemlen = next - item; in str_split()
127 char **newstr = str_array_append(array, nitems, item, itemlen); in str_split()
/dports/editors/tea/tea-qt-60.5.1/
H A Dexif_reader.cpp39 int itemlen; in readJpegSections() local
57 itemlen = (lh << 8) | ll; in readJpegSections()
59 if (itemlen < 2) // Invalid marker in readJpegSections()
62 data = new QByteArray (file.read (itemlen - 2)); // Read the whole section. in readJpegSections()
66 if(data->size() != itemlen - 2) in readJpegSections()
86 if (itemlen >= 16){ // if Jfif header not too short in readJpegSections()
97 processEXIF (data, itemlen, Orientation); in readJpegSections()
306 int Exif::processEXIF(QByteArray *data, int itemlen, int *Orientation) in processEXIF() argument
333 if (FirstOffset < 16 || int (FirstOffset) > itemlen - 16) in processEXIF()
344 …processEXIFDir (dirStart, offsetBase, itemlen - 8, 0, MotorolaOrder, &numOrientations, Orientation… in processEXIF()
/dports/devel/bullet/bullet3-3.21/examples/Importers/ImportURDFDemo/
H A DurdfStringSplit.cpp41 size_t itemlen) in urdfStrArrayAppend() argument
49 copy = (char *)malloc(itemlen + 1); in urdfStrArrayAppend()
52 memcpy(copy, item, itemlen); in urdfStrArrayAppend()
53 copy[itemlen] = '\0'; in urdfStrArrayAppend()
93 size_t itemlen; in urdfStrSplit() local
116 itemlen = 0; in urdfStrSplit()
121 itemlen = next - item; in urdfStrSplit()
123 char **newstr = urdfStrArrayAppend(array, nitems, item, itemlen); in urdfStrSplit()
/dports/devel/py-bullet3/bullet3-3.21/examples/Importers/ImportURDFDemo/
H A DurdfStringSplit.cpp41 size_t itemlen) in urdfStrArrayAppend() argument
49 copy = (char *)malloc(itemlen + 1); in urdfStrArrayAppend()
52 memcpy(copy, item, itemlen); in urdfStrArrayAppend()
53 copy[itemlen] = '\0'; in urdfStrArrayAppend()
93 size_t itemlen; in urdfStrSplit() local
116 itemlen = 0; in urdfStrSplit()
121 itemlen = next - item; in urdfStrSplit()
123 char **newstr = urdfStrArrayAppend(array, nitems, item, itemlen); in urdfStrSplit()
/dports/graphics/jhead/jhead-3.06.0.1/
H A Djpgfile.c133 int itemlen; in ReadJpegSections() local
164 itemlen = (lh << 8) | ll; in ReadJpegSections()
166 if (itemlen < 2){ in ReadJpegSections()
170 Sections[SectionsRead].Size = itemlen; in ReadJpegSections()
175 Data = (uchar *)malloc(itemlen+20); in ReadJpegSections()
186 if (got != itemlen-2){ in ReadJpegSections()
225 process_DQT(Data, itemlen); in ReadJpegSections()
230 process_DHT(Data, itemlen); in ReadJpegSections()
243 process_COM(Data, itemlen); in ReadJpegSections()
253 if (itemlen < 16){ in ReadJpegSections()
[all …]
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/external/jhead-3.04/
H A Djpgfile.c134 int itemlen; in ReadJpegSections() local
165 itemlen = (lh << 8) | ll; in ReadJpegSections()
167 if (itemlen < 2){ in ReadJpegSections()
171 Sections[SectionsRead].Size = itemlen; in ReadJpegSections()
173 Data = (uchar *)malloc(itemlen); in ReadJpegSections()
184 if (got != itemlen-2){ in ReadJpegSections()
223 process_DQT(Data, itemlen); in ReadJpegSections()
228 process_DHT(Data, itemlen); in ReadJpegSections()
241 process_COM(Data, itemlen); in ReadJpegSections()
251 if (itemlen < 16){ in ReadJpegSections()
[all …]
H A Diptc.c52 void show_IPTC (unsigned char* Data, unsigned int itemlen) in show_IPTC() argument
59 unsigned char * maxpos = Data+itemlen; in show_IPTC()
63 if (itemlen < 25) goto corrupt; in show_IPTC()
114 while (pos < (Data + itemlen-5)) { in show_IPTC()
/dports/graphics/pho/pho/exif/
H A Djpgfile.c136 int itemlen; in ReadJpegSections() local
166 itemlen = (lh << 8) | ll; in ReadJpegSections()
168 if (itemlen < 2){ in ReadJpegSections()
172 Sections[SectionsRead].Size = itemlen; in ReadJpegSections()
174 Data = (uchar *)malloc(itemlen); in ReadJpegSections()
184 got = fread(Data+2, 1, itemlen-2, infile); // Read the whole section. in ReadJpegSections()
185 if (got != itemlen-2){ in ReadJpegSections()
230 process_COM(Data, itemlen); in ReadJpegSections()
248 process_EXIF(Data, itemlen); in ReadJpegSections()
273 printf("Jpeg section marker 0x%02x size %d\n",marker, itemlen); in ReadJpegSections()
/dports/graphics/gpicview/gpicview-0.2.5/src/
H A Djpgfile.c129 int itemlen; in ReadJpegSections() local
152 itemlen = (lh << 8) | ll; in ReadJpegSections()
154 if (itemlen < 2){ in ReadJpegSections()
158 Sections[SectionsRead].Size = itemlen; in ReadJpegSections()
160 Data = (uchar *)malloc(itemlen); in ReadJpegSections()
170 got = fread(Data+2, 1, itemlen-2, infile); // Read the whole section. in ReadJpegSections()
171 if (got != itemlen-2){ in ReadJpegSections()
217 process_COM(Data, itemlen); in ReadJpegSections()
234 process_EXIF(Data, itemlen); in ReadJpegSections()
254 printf("Image cotains IPTC section, %d bytes long\n", itemlen); in ReadJpegSections()
[all …]
/dports/x11-toolkits/open-motif/motif-2.3.8/lib/Xm/
H A DResEncod.c702 ctx->itemlen = 0; in XmCvtCTToXmString()
745 ctx->itemlen = 0; in XmCvtCTToXmString()
796 ctx->itemlen = 0; in XmCvtCTToXmString()
858 ctx->itemlen = 0; in XmCvtCTToXmString()
1151 ctx->itemlen = 0; in cvtTextToXmString()
1195 ctx->itemlen = 0; in cvtTextToXmString()
1246 ctx->itemlen = 0; in cvtTextToXmString()
1308 ctx->itemlen = 0; in cvtTextToXmString()
1491 ctx->itemlen, in outputXmString()
1566 ctx->itemlen - start, in outputXmString()
[all …]
/dports/deskutils/gworkspace/gworkspace-0.9.4/GWMetadata/gmds/mdextractor/Extractors/JpegExtractor/
H A Djpgfile.m108 int itemlen;
143 itemlen = (lh << 8) | ll;
145 if (itemlen < 2){
150 Sections[SectionsRead].Size = itemlen;
152 Data = (uchar *)malloc(itemlen);
163 got = fread(Data + 2, 1, itemlen - 2, infile); // Read the whole section.
164 if (got != itemlen-2) {
184 process_COM(Data, itemlen, imageInfo);
202 process_EXIF(Data, itemlen, imageInfo);
/dports/deskutils/gworkspace-gwmetadata/gworkspace-0.9.4/GWMetadata/gmds/mdextractor/Extractors/JpegExtractor/
H A Djpgfile.m108 int itemlen;
143 itemlen = (lh << 8) | ll;
145 if (itemlen < 2){
150 Sections[SectionsRead].Size = itemlen;
152 Data = (uchar *)malloc(itemlen);
163 got = fread(Data + 2, 1, itemlen - 2, infile); // Read the whole section.
164 if (got != itemlen-2) {
184 process_COM(Data, itemlen, imageInfo);
202 process_EXIF(Data, itemlen, imageInfo);
/dports/news/mmail/mmail-0.52/interfac/
H A Dinterfac.cc166 int x, z, width, itemlen, c, curitem, def_val = 0; in WarningWindow() local
174 for (p = selectors, itemlen = 0, curitem = 0; curitem < items; in WarningWindow()
178 if (z > itemlen) in WarningWindow()
179 itemlen = z; in WarningWindow()
181 itemlen += 2; in WarningWindow()
182 x = itemlen * items + 3; in WarningWindow()
186 itemlen = z / items; in WarningWindow()
196 x = curitem * itemlen + ((itemlen - strlen(*p) + 5) >> 1); in WarningWindow()
210 x = curitem * itemlen + ((itemlen - z + 5) >> 1); in WarningWindow()
240 x = curitem * itemlen + ((itemlen - z + 5) >> 1) + in WarningWindow()
/dports/databases/timescaledb/timescaledb-2.5.1/src/
H A Dagg_bookend.c143 int itemlen; in polydatum_deserialize() local
158 itemlen = pq_getmsgint(buf, 4); in polydatum_deserialize()
159 if (itemlen < -1 || itemlen > (buf->len - buf->cursor)) in polydatum_deserialize()
162 errmsg("insufficient data left in message %d %d", itemlen, buf->len))); in polydatum_deserialize()
164 if (itemlen == -1) in polydatum_deserialize()
180 item_buf.maxlen = itemlen + 1; in polydatum_deserialize()
181 item_buf.len = itemlen; in polydatum_deserialize()
184 buf->cursor += itemlen; in polydatum_deserialize()
208 if (item_buf.cursor != itemlen) in polydatum_deserialize()
/dports/databases/py-gdbm/Python-3.8.12/Objects/stringlib/
H A Djoin.h59 Py_ssize_t itemlen; in STRINGLIB() local
76 itemlen = buffers[i].len; in STRINGLIB()
77 if (itemlen > PY_SSIZE_T_MAX - sz) { in STRINGLIB()
82 sz += itemlen; in STRINGLIB()
/dports/lang/python-tools/Python-3.8.12/Objects/stringlib/
H A Djoin.h59 Py_ssize_t itemlen; in STRINGLIB() local
76 itemlen = buffers[i].len; in STRINGLIB()
77 if (itemlen > PY_SSIZE_T_MAX - sz) { in STRINGLIB()
82 sz += itemlen; in STRINGLIB()
/dports/lang/python38/Python-3.8.12/Objects/stringlib/
H A Djoin.h59 Py_ssize_t itemlen; in STRINGLIB() local
76 itemlen = buffers[i].len; in STRINGLIB()
77 if (itemlen > PY_SSIZE_T_MAX - sz) { in STRINGLIB()
82 sz += itemlen; in STRINGLIB()
/dports/databases/py-sqlite3/Python-3.8.12/Objects/stringlib/
H A Djoin.h59 Py_ssize_t itemlen; in STRINGLIB() local
76 itemlen = buffers[i].len; in STRINGLIB()
77 if (itemlen > PY_SSIZE_T_MAX - sz) { in STRINGLIB()
82 sz += itemlen; in STRINGLIB()

12345678910>>...19