aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.c
AgeCommit message (Expand)AuthorFilesLines
2011-04-04From jakub Zawadzki:Anders Broman1-0/+2
2011-01-30Fix various instances of "unreachable code".Bill Meier1-2/+0
2011-01-28Mention that the fake tvb unicode functions have been supercededStephen Fisher1-0/+1
2011-01-20Fix the dead initialization warnings found by clang's static analysisStephen Fisher1-1/+1
2011-01-14Add tvb_get_[n|le]toh[40|48|56]() accessors. Addresses bug 5082.Chris Maynard1-0/+54
2011-01-12There's no need to call tvb_get_ptr() in here: just call ensure_contiguous() ...Jeff Morriss1-5/+5
2011-01-12Introduce, and start using, tvb_get_const_stringz(). This function returns aJeff Morriss1-9/+34
2011-01-03Introduce two new functions for Unicode (UTF-16) string handling:Stephen Fisher1-1/+98
2010-12-28Add tvb_bcd_dig_to_ep_str()Anders Broman1-0/+65
2010-12-23Add a couple more comments to new unicode function to remind us when aStephen Fisher1-2/+2
2010-12-23Remove comment to myself that I forgot to remove before commiting r35253Stephen Fisher1-4/+7
2010-12-23Introduce new function called tvb_get_ephemeral_unicode_stringz(), whichStephen Fisher1-0/+68
2010-11-23From Vincent Helfre:Anders Broman1-1/+1
2010-10-30Make tvb_strncaseeql()'s size parameter be a size_t. Cast the size to int be...Jeff Morriss1-3/+3
2010-10-30Make tvb_strneql()'s size parameter be a size_t. Remove some now-unnecessary...Jeff Morriss1-3/+3
2010-08-16Clean up indentation.Guy Harris1-24/+25
2010-08-16From rodebiet:Anders Broman1-16/+24
2010-05-24Refer to the endianness arguments as "encoding" rather thanGuy Harris1-2/+8
2010-04-28From Jakub Zawadzki:Anders Broman1-16/+1
2010-04-28From Jakub Zawadzki:Anders Broman1-15/+13
2010-04-03 From Yaniv Kaul: constify parametersBill Meier1-100/+100
2010-04-02Revert SVN #32360 until Windows compilation errors corrected.Bill Meier1-100/+100
2010-04-02From Yaniv Kaul: constify parametersBill Meier1-100/+100
2010-03-08Make tvb_pbrk_guint8() return the found needle.Anders Broman1-11/+14
2010-01-28Fix various gcc -Wshadow warnings.Bill Meier1-16/+16
2010-01-25parent is not unused in tvb_child_uncompress().Stig Bjørlykke1-1/+1
2009-11-23Make more output parameters optional.Jaap Keuter1-8/+16
2009-11-14From yy:Gerasimos Dimitriadis1-0/+22
2009-11-04tvb_format_text() always returns a non NULL pointer so don't check return val...Kovarththanan Rajaratnam1-5/+2
2009-10-08Add DISSECTOR_ASSERT() before dereferencing a possible NULL pointerKovarththanan Rajaratnam1-0/+2
2009-10-04Use g_new0() when allocating z_streamKovarththanan Rajaratnam1-1/+1
2009-10-04Use GLibs CLAMP(). The current inlined implementation seems to be wrong:Kovarththanan Rajaratnam1-8/+1
2009-10-04Delay allocation of z_streamKovarththanan Rajaratnam1-6/+2
2009-10-04g_malloc0() doesn't return NULL so remove NULL error pathsKovarththanan Rajaratnam1-27/+1
2009-09-20Remove 'type' formal parameter from tvb_new_with_subset()Kovarththanan Rajaratnam1-83/+83
2009-09-10offset_from_real_beginning() is only called with 0 as second argument, so rem...Kovarththanan Rajaratnam1-4/+10
2009-08-16Add a new function, tvb_new_subset_remaining(), which is a sligtly optimized ...Kovarththanan Rajaratnam1-3/+35
2009-08-16Remove unused parametersKovarththanan Rajaratnam1-4/+3
2009-08-16Remove the non-thread safe usage of 'last_tvb' variable in tvb_new_subset()Kovarththanan Rajaratnam1-27/+29
2009-08-16Make some of the check_XXX functions accept the length/reported length of the...Kovarththanan Rajaratnam1-35/+53
2009-08-16Remove a non thread-safe usage (useful when/if we ever support threading) of ...Kovarththanan Rajaratnam1-22/+14
2009-08-15Use the slice allocator if GLIB >= 2,10,0 as suggested by Anders BromanKovarththanan Rajaratnam1-0/+17
2009-08-15Add a missing DISSECTOR_ASSERT in tvb_init()Kovarththanan Rajaratnam1-0/+4
2009-08-15Make mem chunk staticKovarththanan Rajaratnam1-4/+1
2009-08-11(Trivial change) move ensure_contiguous() to reflect call hierarchyKovarththanan Rajaratnam1-16/+14
2009-08-11Turn a comment in fast_ensure_contiguous() into a DISSECTOR_ASSERT() to make ...Kovarththanan Rajaratnam1-3/+4
2009-06-11Remove some "statement not reached" warnings.Stig Bjørlykke1-6/+1
2009-06-08Fixed check for no_of_bits in tvb_get_bits16(), tvb_get_bits32() andStig Bjørlykke1-14/+10
2009-04-24Added tvb_format_stringzpad_wsp().Stig Bjørlykke1-0/+24
2009-04-05Reapply the change from revision 27946.Guy Harris1-1/+12