/dports/www/mnogosearch/mnogosearch-3.4.1/src/ |
H A D | section.c | 65 List->Coord= (UDM_COORD2*) UdmMalloc(ncoords * sizeof(UDM_COORD2)); in UdmSearchSectionListAlloc() 66 List->Section= (UDM_SEARCHSECTION*) UdmMalloc(nsections * sizeof(UDM_SEARCHSECTION)); in UdmSearchSectionListAlloc() 176 …if (!(Tape= (UDM_SEARCHSECTION_TAPE*) UdmMalloc(SrcList->nitems * sizeof(UDM_SEARCHSECTION_TAPE)))) in UdmSearchSectionListListMergeSorted1() 212 if (!(Section= (UDM_SEARCHSECTION*)UdmMalloc(nsections * sizeof(UDM_SEARCHSECTION)))) in UdmSearchSectionListListMergeSorted1() 324 …if (!(Tape= (UDM_SEARCHSECTION_TAPE*) UdmMalloc(SrcList->nitems * sizeof(UDM_SEARCHSECTION_TAPE)))) in UdmSearchSectionListListMergeSorted() 326 if (!(id= (urlid_t*) UdmMalloc(SrcList->nitems * sizeof(urlid_t)))) in UdmSearchSectionListListMergeSorted() 377 if (!(Section= (UDM_SEARCHSECTION*)UdmMalloc(nsections * sizeof(UDM_SEARCHSECTION)))) in UdmSearchSectionListListMergeSorted() 486 if (!(p= UdmMalloc(SrcList->nitems * sizeof(UDM_SEARCHSECTIONLIST*) * 2))) 489 if (!(id= (urlid_t*) UdmMalloc(SrcList->nitems * sizeof(urlid_t)))) 540 if (!(Section= (UDM_SEARCHSECTION*)UdmMalloc(nsections * sizeof(UDM_SEARCHSECTION))))
|
H A D | parsedate.c | 105 copy = (char*) UdmMalloc(strlen(datestring+offset)+1); in UdmDateParse() 162 res= (char*) UdmMalloc(allocsize); in UdmDateParse() 168 if ((res= (char*) UdmMalloc(20))) in UdmDateParse()
|
H A D | chinese.c | 195 position = (int*)UdmMalloc(maxid * sizeof(int)); in UdmSegmentProcess() 196 next = (int*)UdmMalloc(maxid * sizeof(int)); in UdmSegmentProcess() 197 value = (double*)UdmMalloc(maxid * sizeof(double)); in UdmSegmentProcess() 198 result = (int **)UdmMalloc(maxid * sizeof(int *)); in UdmSegmentProcess() 348 out = (int*)UdmMalloc(l * sizeof(int)); in UdmSegmentByFreq() 351 mid = (int*)UdmMalloc(l * sizeof(int)); in UdmSegmentByFreq()
|
H A D | sql-ibase.c | 373 var->sqldata = (char*)UdmMalloc(sizeof(short)); in UdmIBExecInternal() 376 var->sqldata = (char*)UdmMalloc(sizeof(ISC_LONG)); in UdmIBExecInternal() 379 var->sqldata = (char*)UdmMalloc(sizeof(float)); in UdmIBExecInternal() 382 var->sqldata = (char*)UdmMalloc(sizeof(double)); in UdmIBExecInternal() 387 var->sqldata = (char*)UdmMalloc(sizeof(ISC_QUAD)); in UdmIBExecInternal() 390 var->sqldata = (char*)UdmMalloc((size_t)(osqlda->sqlvar[i].sqllen)); in UdmIBExecInternal() 393 … osqlda->sqlvar[i].sqldata = (char*)UdmMalloc((size_t)(osqlda->sqlvar[i].sqllen+sizeof(short))); in UdmIBExecInternal() 427 p=(char*)UdmMalloc((size_t)(var->sqllen+1)); in UdmIBExecInternal() 434 p=(char*)UdmMalloc((size_t)(vary->len+1)); in UdmIBExecInternal() 502 p= (char*) UdmMalloc(blob_length + 1); in UdmIBExecInternal()
|
H A D | sql-sqlite.c | 105 res->Fields=(UDM_SQLFIELD*)UdmMalloc(res->nCols*sizeof(UDM_SQLFIELD)); in xCallBack() 123 res->Items[offs].val= (char*)UdmMalloc(len+1); in xCallBack() 275 res->Fields=(UDM_SQLFIELD*)UdmMalloc(res->nCols*sizeof(UDM_SQLFIELD)); 294 res->Items[offs].val= (char*)UdmMalloc(len+1); 354 res->Fields=(UDM_SQLFIELD*)UdmMalloc(res->nCols*sizeof(UDM_SQLFIELD)); in UdmSQLite3Query() 380 Item->str= (char*)UdmMalloc(bytes + 1); in UdmSQLite3Query()
|
H A D | alias.c | 47 arg= (char*)UdmMalloc(arg_len= (2 * strlen(argument) + 1)); in UdmAliasProg() 50 cmd= (char*)UdmMalloc(cmd_len= (arg_len + 2 * strlen(alias_prog) + 1)); in UdmAliasProg()
|
H A D | efence.c | 429 newAllocation = UdmMalloc(newSize); in allocateMoreSlots() 834 newBuffer = UdmMalloc(newSize); in UdmRealloc() 873 extern C_LINKAGE void *UdmMalloc(size_t size) { in UdmMalloc() function 882 void * allocation = UdmMalloc(size); in UdmCalloc() 903 if ((copy = UdmMalloc(len)) == NULL) in UdmStrdup()
|
H A D | url.c | 454 url->path= (char*)UdmMalloc(strlen(url->specific) + 2); in UdmURLParse() 497 url->filename= (char*) UdmMalloc(newlen); in UdmURLParse() 507 if (!(path= (char*) UdmMalloc(newlen))) in UdmURLParse() 516 url->filename= (char*) UdmMalloc(newlen); in UdmURLParse() 523 url->filename= (char*) UdmMalloc(newlen); in UdmURLParse() 686 if ((anchor= (char*) UdmMalloc(nbytes))) in UdmURLCanonize()
|
H A D | mirror.c | 145 if ((str= (char*) UdmMalloc(str_len)) == NULL) in UdmMirrorGET() 148 if ((estr= (char*) UdmMalloc(estr_len)) == NULL) in UdmMirrorGET() 274 if ((str= (char*)UdmMalloc(str_len)) == NULL) in UdmMirrorPUT() 277 if ((estr= (char*) UdmMalloc(estr_len)) == NULL) in UdmMirrorPUT()
|
H A D | unicode.c | 45 if((res=(int*)UdmMalloc(size))==NULL) in UdmUniDup() 56 if((res = (int*)UdmMalloc((size + 1) * sizeof(*s))) == NULL) return(NULL); in UdmUniNDup()
|
H A D | segment.c | 63 if (!(dst0= (int*) UdmMalloc(dstlen))) in UdmSegmentCJK_internal() 117 eucstr = (char*)UdmMalloc(12 * dstlen + 1); in UdmUniSegmentChasen() 151 sjisstr= (char*)UdmMalloc(12 * dstlen + 1); in UdmUniSegmentMecab()
|
H A D | sql-pgsql.c | 111 UDM_PGSQL *pgdb= (UDM_PGSQL*) UdmMalloc(sizeof(UDM_PGSQL)); in UdmPgSQLConnect() 214 res->Items= (UDM_STR*)UdmMalloc(res->nRows * res->nCols * sizeof(UDM_STR)); in UdmPgSQLResultUnescape() 223 I->str= (char*) UdmMalloc(len + 1); in UdmPgSQLResultUnescape() 306 res->Fields=(UDM_SQLFIELD*)UdmMalloc(res->nCols*sizeof(UDM_SQLFIELD)); in UdmPgSQLProcessResult()
|
H A D | udmxmalloc.c | 33 value = UdmMalloc (size); in UdmXmalloc()
|
H A D | sql-ctlib.c | 531 coldata = (EX_COLUMN_DATA *)UdmMalloc(num_cols * sizeof (EX_COLUMN_DATA)); in ex_fetch_data() 532 datafmt = (CS_DATAFMT *)UdmMalloc(num_cols * sizeof (CS_DATAFMT)); in ex_fetch_data() 555 coldata[i].value = (CS_CHAR *)UdmMalloc((size_t)datafmt[i].maxlength); in ex_fetch_data() 579 res->Fields=(UDM_SQLFIELD*)UdmMalloc(res->nCols*sizeof(UDM_SQLFIELD)); in ex_fetch_data() 633 Item->str= (char*) UdmMalloc(valuelen + 1); in ex_fetch_data()
|
H A D | find.c | 84 Res->Doc= (UDM_DOCUMENT*) UdmMalloc(sizeof(UDM_DOCUMENT) * in UdmResAllocDoc() 177 Query->URLData.Item= (UDM_URLDATA*)UdmMalloc(sizeof(UDM_URLDATA) in UdmResultJoin() 284 search_param[i].Agent= (UDM_AGENT*) UdmMalloc(sizeof(UDM_AGENT)); in UdmFindWordsMulDB() 401 aliastr= (char*)UdmMalloc(nbytes); in CreateAlias() 488 char *eu= (char*)UdmMalloc(ulen * 10 + 30); in UdmResultAddCachedCopyLinks() 585 TmpQuery= (UDM_QUERY*) UdmMalloc(nbytes); in UdmFind()
|
H A D | highlight.c | 294 uni= (int *)UdmMalloc(unimaxlen); in UdmHlConvertExtWithConv() 421 dst= (char*)UdmMalloc(dstmaxlen + 1); in UdmHlConvertExtQuick() 558 char *newval= (char*)UdmMalloc(newlen + 1); in UdmQueryConvert() 658 char *res= (char*) UdmMalloc(length + 1); in UdmRemoveHiLightDup()
|
H A D | sqldbms.c | 57 if (!(dst->str= (char*) UdmMalloc(size / 2 + 1))) in DecodeHexStr() 347 !(dst= (char*) UdmMalloc(UdmSQLEscStrLength(db, srclen)))) in UdmSQLEscStrAlloc() 414 if (!dst && !(dst= (char*) UdmMalloc(len * multiply + 1))) in UdmSQLEscStrSimple() 813 if ((db->ps= (UDM_PS*) UdmMalloc(sizeof(UDM_PS)))) in alloc_ps() 987 if (!(qbuf= (char*) UdmMalloc(qlen))) in UdmSQLExecGeneric()
|
H A D | searchtool.c | 526 ustr=(int*)(UdmMalloc((sizeof(int))*(ulen+1))); in UdmQueryPrepare() 532 ltxt=(char*)UdmMalloc(llen); in UdmQueryPrepare() 539 ltxt=(char*)UdmMalloc(llen*14+1); in UdmQueryPrepare() 567 ltxt= (char*) UdmMalloc(llen); in UdmQueryPrepare()
|
H A D | agent.c | 47 result->LangMap= (UDM_LANGMAP*)UdmMalloc(sizeof(UDM_LANGMAP)); in UdmAgentInit()
|
H A D | sql-mysql.c | 143 UDM_MYSQL *mydb= (UDM_MYSQL*) UdmMalloc(sizeof(UDM_MYSQL)); in UdmMySQLConnect() 267 I->str= (char*) UdmMalloc(len+1); in UdmMySQLStoreResult() 288 R->Fields=(UDM_SQLFIELD*)UdmMalloc(R->nCols*sizeof(UDM_SQLFIELD)); in UdmMySQLStoreMetaData()
|
H A D | boolean.c | 39 if (!(s->cstack= (udm_boolcmd_t*) UdmMalloc(UDM_MAXSTACK * sizeof(udm_boolcmd_t)))) in UdmBoolStackInit() 41 if (!(s->astack= (unsigned long*)UdmMalloc(UDM_MAXSTACK * sizeof(unsigned long)))) in UdmBoolStackInit()
|
H A D | dbmode-single.c | 70 qb=(char*)UdmMalloc(mlen); in StoreWordsMySQL() 226 CoordList->Coords= (UDM_URL_CRD*) UdmMalloc(numrows*sizeof(UDM_URL_CRD)); in UdmFindWordSingleInternal()
|
H A D | server.c | 107 if ((urlstr= (char*)UdmMalloc(len)) == NULL) return UDM_ERROR; in UdmServerAdd() 285 *aliastr = (char*)UdmMalloc(aliastrlen); in UdmServerFind()
|
H A D | dbug.c | 112 UDM_PARANOIA_PARAM *p= (UDM_PARANOIA_PARAM*)UdmMalloc(sizeof(UDM_PARANOIA_PARAM)); in UdmViolationEnter()
|
H A D | dbmode-multi.c | 71 _ = (char*) UdmMalloc((alloced_length= cache->nintags * multiply + 3)); in UdmMultiCachePutIntagUsingEncoding() 132 _= (char*) UdmMalloc(cache->nintags * COORD_MAX_LEN + 1); in UdmMultiCachePutIntagUsingRaw() 500 CoordList.Coords= (UDM_URL_CRD*)UdmMalloc((CoordList.acoords) * sizeof(UDM_URL_CRD)); in UdmMultiAddCoords()
|